@charset "UTF-8";
/*
Theme Name: message
*/
.main_img {
  position: absolute;
  max-width: 266px;
  margin-top: 1rem;
  top: 12.5rem;
  right: calc((100vw - 1200px) / 2 - -6.5rem);
}
.main_img img {
  width: 100%;
}
.btn-box {
  display: flex;
  justify-content: center;
  gap: 0 3rem;
  margin-top: 15rem;
  margin-bottom: 10rem;
}
.btn-box .button01 a {
  display: block;
  height: 7rem;
  background: #222 url(../img/common/arrow01.png) right 1.7rem center no-repeat;
  border-radius: 7.2rem;
  box-sizing: border-box;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.5;
  text-align: left;
  text-indent: 35px;
  transition: all .2s;
  padding: 1.7rem 0 0;
  width: 28rem;
  letter-spacing: 0.05em;
  border: 2px solid #222;
  background-size: 30px auto;
}
.message_main {
  margin-top: 6rem;
}
.representative h4 {
  line-height: 1.583;
  font-size: 4.8rem;
  color: #222;
  margin-top: 2.5rem;
  white-space: nowrap;
}
.representative p.sub {
  color: #444;
  font-size: 1.6rem;
  margin-top: 4.6rem;
}
.representative p.name {
  color: #444;
  font-size: 2.4rem;
  margin-top: -0.5rem;
}
.representative .cont {
  display: flex;
  justify-content: space-between;
  margin-top: -9rem;
  gap: 9.25rem;
}
.representative .en {
  color: #e74921;
  font-family: "Outfit", sans-serif;
  font-size: 2.1rem;
  position: relative;
  margin-top: 3rem;
  font-weight: 500 !important;
  letter-spacing: 1.6px;
  margin-left: 8px;
}
.representative .en::before {
  content: "";
  position: absolute;
  left: -130px;
  top: 52%;
  transform: translateY(-50%);
  width: 100px;
  height: 2px;
  background-color: #e74921;
  z-index: 3;
}
.representative .img {
  max-width: 400px;
}
.representative .img img {
  width: 100%;
  z-index: 2;
  position: relative;
}
.representative {
  position: relative;
}
.representative::before {
  content: "";
  background: url(../img/message/bg_1.png) center center / cover no-repeat;
  width: 35.5rem;
  height: 24.1rem;
  position: absolute;
  bottom: -8.4rem;
  right: -2.5rem;
  z-index: -2;
}
@media screen and (min-width: 751px) {
  .message_main .enbig {
    font-size: 16rem;
    letter-spacing: 0.03em;
  }
}
@media screen and (min-width: 1200px) {
  .representative .img {
    min-width: 400px !important;
  }
}
.g_2 {
  margin-top: 14.5rem;
}
.g_2 .cont {
  display: grid;
  grid-template-columns: 10fr 9fr;
  column-gap: clamp(16px, 3vw, 35px);
  align-items: start;
  max-width: 1200px;
  margin-inline: auto;
  overflow: visible;
}
.g_2 .txt {
  min-width: 0;
  margin-top: -1rem;
}
.g_2 .img {
  margin-right: 0;
  width: calc(100% + (50vw - 100%) + env(safe-area-inset-right));
  max-height: 550px;
}
.g_2 .img img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 550px;
  object-fit: contain !important;
}
.g_3 .cont {
  display: grid;
  grid-template-columns: 20fr 21fr; /* 左: 画像, 右: テキスト */
  column-gap: clamp(16px, 3vw, 35px);
  align-items: start;
  max-width: 1200px;
  margin-inline: auto;
  overflow: visible;
}
.g_3 .txt {
  min-width: 0;
  margin-top: 2rem;
}
.g_3 {
  margin-top: 13rem;
}
/* 画像を左端フルブリード */
.g_3 .img {
  margin-left: calc(50% - 50vw - env(safe-area-inset-left));
  width: calc(100% + (50vw - 6%) + env(safe-area-inset-left));
  max-height: 550px;
  height: 100%;
}
.g_3 .img img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: contain; /* contain / cover で調整可能 */
}
.g_3 h5, .g_2 h5 {
  font-size: 4rem;
  color: #e74921;
  line-height: 1.5;
}
.g_3 .txt p, .g_2 .txt p {
  line-height: 2.25;
  font-size: 1.6rem;
  margin-top: 2.8rem;
  letter-spacing: -0.05em;
}
.g_3, .g_2 {
  position: relative;
}
.g_3::before {
  content: "";
  background: url(../img/message/bg_3.png) center center / cover no-repeat;
  width: 37.5rem;
  height: 34.1rem;
  position: absolute;
  bottom: -12.4rem;
  right: -6.5rem;
  z-index: -2;
}
.g_2::before {
  content: "";
  background: url(../img/message/bg_2.png) center center / cover no-repeat;
  width: 35.5rem;
  height: 28.1rem;
  position: absolute;
  bottom: -26.4rem;
  left: -8.5rem;
  z-index: -2;
}
@media screen and (min-width: 751px) and (max-width: 1550px) {
  .g_2 .cont {
    display: grid;
    grid-template-columns: 5fr 4fr;
    column-gap: 60px;
  }
  .g_3 .cont {
    display: grid;
    grid-template-columns: 4fr 5fr;
    column-gap: 60px;
  }
}
@media screen and (min-width: 751px) and (max-width: 1450px) {
  .g_2 .cont {
    column-gap: 100px;
  }
  .g_3 .img {
    width: calc(100% + (50vw - 22%) + env(safe-area-inset-left));
  }
}
@media screen and (min-width: 751px) and (max-width: 1200px) {
  .inner {
    padding-right: 2.6em;
    padding-left: 2.6em;
  }
  .g_2 .txt {
    padding-left: 2.6em;
  }
  .g_3 .txt {
    margin-right: 2.6rem;
  }
  .g_3 .img, .g_2 .img {
    width: initial;
  }
  .g_2 .cont, .g_3 .cont {
    column-gap: 80px;
  }
  .g_2 .img img, .g_3 .img img {
    height: 400px;
  }
  .g_2 .img, .g_3 .img {
    margin-right: 0;
    max-height: 400px;
    margin-left: 0;
  }
}
@media screen and (min-width: 751px) and (max-width: 960px) {
  .g_2 .cont, .g_3 .cont {
    column-gap: 40px;
  }
  .representative h4 {
    font-size: 4.4rem;
  }
  .message_main {
    margin-top: 16.7rem;
  }
}
@media screen and (min-width: 751px) and (max-width: 880px) {
  .representative h4 {
    font-size: 3.6rem;
  }
  .g_2::before {
    top: 22.6rem;
    right: -19.5rem;
    z-index: -2;
    left: inherit;
    bottom: inherit;
  }
  .g_3::before {
    bottom: 6.6rem;
    left: -6.5rem;
    z-index: -2;
    right: inherit;
  }
  .g_2 .img img, .g_3 .img img {
    height: inherit;
  }
  .g_3 .txt {
    margin-top: 0;
  }
}
@media screen and (min-width: 1701px) {
  .g_2 .img img {
    height: inherit;
    max-height: 550px;
  }
  g_2 .img {
    max-height: inherit;
  }
  .g_2 .cont {
    display: grid;
    grid-template-columns: 4fr 3fr;
    column-gap: 40px;
  }
  .g_2 .img {
    margin-right: 0;
    width: calc(100% + (50vw - 100%) + env(safe-area-inset-right));
    max-height: 550px;
  }
  .g_3 .img img {
    height: inherit;
    max-height: 550px;
  }
  g_3 .img {
    max-height: inherit;
  }
  .g_3 .cont {
    display: grid;
    grid-template-columns: 3fr 4fr;
    column-gap: 0px;
  }
}
/*要素の大きさ調整*/
@media screen and (min-width: 751px) and (max-width: 1100px) {
  .main_img {
    max-width: 226px;
    margin-top: 3rem;
    top: 13.5rem;
    right: 4rem;
  }
}
/*スマホ*/
@media screen and (min-width: 751px) and (max-width: 960px) {
  .main_img {
    margin-top: 8rem;
  }
}
@media screen and (min-width: 751px) and (max-width: 781px) {
  .main_img {
    margin-top: 12rem;
    max-width: 196px;
  }
}
@media screen and (max-width: 750px) {
  .main_img {
    width: 20vw;
    top: 54vw;
    right: 10px;
  }
  .message_box .message_main {
    margin-top: 45px;
  }
  .representative .ttl-01.mv02_on.mv02_off.with_enbig {
    margin-bottom: -2.2rem;
  }
  .representative .enbig {
    font-size: 10.5rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
    margin-left: -13px;
  }
  .representative .cont {
    display: block;
    margin-top: 0;
    margin-top: 15rem;
  }
  .representative .img {
    max-width: unset;
  }
  .representative .ttl-01.with_enbig .sp {
        position: absolute;
        left: 50%;
        transform: translate(-50%, 0px);
        top: -54px;
  }
  .representative .ttl-01.with_enbig .sp img {
    width: 100vw;
  }
  section#message_box {
    padding: 0 5.333vw;
  }
  .g_2 .cont, .g_3 .cont {
    display: block;
  }
  .g_2 .img img, .g_3 .img img {
    height: inherit;
  }
  .g_2 .img {
    margin-right: 0;
    width: 100%;
    max-height: inherit;
  }
  .g_3 .img {
    margin-left: 0;
    width: 100%;
    max-height: inherit;
  }
  .representative .en {
    font-size: 3.6vw;
    margin-left: 60px;
  }
  .representative .en::before {
    left: -60px;
    width: 40px;
  }
  .representative h4 {
    line-height: 1.583;
    font-size: 5.8vw;
    margin-top: 2vw;
  }
  .representative p.sub {
    font-size: 3.2vw;
    margin-top: 4rem;
    text-align: right;
  }
  .representative p.name {
    font-size: 5vw;
    text-align: right;
    margin-top: 0vw;
  }
  .representative::before {
    content: "";
    background: url(../img/message/bg_1.png) center center / cover no-repeat;
    width: 22rem;
    height: 15.1rem;
    position: absolute;
    bottom: -5rem;
    right: inherit;
    z-index: -2;
    left: -6rem;
    transform: scaleX(-1);
  }
  .g_3 h5, .g_2 h5 {
    line-height: 1.5;
    font-size: 5.8vw;
    margin-top: 0;
    text-align: center;
    margin-bottom: 15px;
  }
  .g_3 .txt p, .g_2 .txt p {
    letter-spacing: -0.05em;
    font-size: 14px;
    line-height: 1.85;
    margin-top: 24px;
    text-align: left;
  }
  .g_2::before {
    content: "";
    background: url(../img/message/bg_2.png) center center / cover no-repeat;
    width: 18.5rem;
    height: 14.8rem;
    position: absolute;
    bottom: -10rem;
    left: inherit;
    z-index: -2;
    right: -12rem;
  }
  .g_2 {
    margin-top: 9rem;
  }
  .g_3 {
    margin-top: 6rem;
  }
  .g_3::before {
    content: "";
    background: url(../img/message/bg_3.png) center center / cover no-repeat;
    width: 22.5rem;
    height: 21.1rem;
    position: absolute;
    bottom: -8.4rem;
    right: inherit;
    z-index: -2;
    transform: scaleX(-1);
    left: -10rem;
  }
}