/* =======================================
メインビジュアル
======================================== */

.main-visual {
  position: relative;
}

.mv-content {
  position: absolute;
  right: 3%;
  bottom: 28%;
  z-index: 100;
}

.mv-copy {
  font-size: 52px;
  color: #fff;
  font-weight: 700;
  display: table;
  line-height: 1;
/*  background-color: var(--red-color); */
}

.mv-copy  + .mv-copy {
  margin-top: 16px;
}
/*
.gradient-box {
  position: relative;
  display: inline-block; 
  overflow: hidden;
}

.gradient-box .curtain {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(0);       
  background-color: #bf0019; 
}

.mv-copy span:not(.curtain) {
  padding: 15px 24px;
  background: transparent;   
  opacity: 0;                
  transform: translateY(0.6em); 

}



.mv-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  gap: 16px;
}
*/

.gradient-box span {
  padding: 15px 24px;
  display: table;
  background-color: var(--red-color);
}

.mv-curve {
  position: relative;
  width: 100%;
}

.scroll-down {
  z-index: 2;
  left: 40px;
  bottom: 160px;
  width: 41px;
  position: absolute;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.scroll-down {
  animation: yura 1.8s ease-in-out infinite;
}

@keyframes yura {
  0% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 10px);
  }
  100% {
    transform: translate(-50%, 0);
  }
}

.mv-img {
  z-index: 2;
  width: calc(100vw * (1740 / 2000));
  position: absolute;
}


.mv-wrap {
  width: 100%;
  overflow: hidden;
}

.mv-img li picture,
.mv-img li img {
  width: 100%;
  height: auto;
  display: block;
}

.mv-img img {
  max-width: inherit;
  width: 100%;
}

@media (max-width: 1600px) {
  .mv-copy {
    font-size: min(calc(40px + (52 - 40) * (100vw - 991px) / (1600 - 991)),
        52px);
  }

  .mv-content {
    position: absolute;
    right: min(calc(30px + (42 - 30) * (100vw - 991px) / (1600 - 991)),
        42px);
    bottom: 24%;
    z-index: 2;
  }

  .scroll-down {
    z-index: 2;
    left: min(calc(20px + (40 - 20) * (100vw - 991px) / (1600 - 991)),
        40px);
    bottom: 16%;
    width: min(calc(30px + (41 - 30) * (100vw - 991px) / (1600 - 991)),
        41px);
    position: absolute;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 12px;
    letter-spacing: 0.15em;
    font-weight: 500;
  }
}

@media (max-width: 991px) {

  .mv-img {
    z-index: 2;
    right: 0;
    width: 1200px;
    position: absolute;
  }

  img.mv-curve {
    height: 730px;
    width: 100%;
    object-position: right bottom;
    object-fit: cover;
  }

  .scroll-down {
    z-index: 2;
    left: 20px;
    bottom: 80px;
    width: 30px;
  }

}

@media (max-width: 660px) {
  .mv-img {
    z-index: 2;
    right: 0;
    width: 100%;
    width: 100%;
    position: static;
  }

  .mv-img img {
    height: 90vh;
    z-index: 2;
    right: 0;
    width: 100%;
    object-position: bottom right;
    object-fit: cover;
    width: 100%;
    position: static;
  }
  img.mv-curve {
      height: 85vh;
      width: 100%;
      object-position: right bottom;
      object-fit: cover;
  }

  .mv-curve {
    bottom: -20%;
    position: absolute;
    z-index: -1;
  }

  .scroll-down {
    bottom: -20px;
  }

  .scroll-down {
    width: 24px;
  }

}

@media (max-width: 480px) {
  .mv-curve {
    bottom: -25%;
    position: absolute;
    z-index: -1;
  }

  .mv-img img {
    height: 75vh;
    z-index: 2;
    right: 0;
    width: 100%;
    object-position: bottom right;
    object-fit: cover;
    width: 100%;
    position: static;
  }

  .scroll-down {
    bottom: -120px;
  }

  .mv-copy {
    font-size: 24px;
  }
.mv-copy span:not(.curtain) {
    padding: 10px 15px;
  /*background: transparent; */
}

.gradient-box span {
    padding: 10px 15px;
  display: inline-block;
}
}

/* =======================================
TOPヘッド
======================================== */
.top-head-area {
  margin-top: 120px;
  position: relative;
  padding-bottom: 150px;
}

.top-head-area .inner {
  max-width: 1170px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.top-head-area .flex-box {
  display: flex;
  gap: 0 80px;
  justify-content: center;
}

.top-head-area h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--red-color);
}

.top-head-area p {
  font-size: 18px;
  letter-spacing: 0.04em;
  line-height: 1.8;
}

/* 表示枠（はみ出しを隠す） */
.loop-text-box {
  position: absolute;
  bottom: 0;
  overflow: hidden;
  width: 100%;
}

/* 横に伸びるレール本体 */
.loop-text-track {
  display: inline-flex;
  animation: loopTextScroll 20s linear infinite;
  will-change: transform;
}

/* テキスト画像 */
.loop-text-img {
  width: 870px;
  /* ← 画像の実寸幅 */
  height: auto;
  flex-shrink: 0;
  margin-right: 40px;
  /* 画像同士の間隔（調整自由） */
}

/* 左方向に無限スクロール */
@keyframes loopTextScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-1 * var(--loop-text-distance)));
  }
}

@media (max-width: 1600px) {
  .top-head-area {
    margin-top: min(calc(80px + (120 - 80) * (100vw - 991px) / (1600 - 991)),
        120px);
  }
}

@media (max-width: 1200px) {
  .top-head-area .inner {
    padding-left: calc(15px + 50 * (100vw - 320px) / 1180);
    padding-right: calc(15px + 50 * (100vw - 320px) / 1180);
  }

  .top-head-area .flex-box {
    display: block;
    gap: 0 80px;
    justify-content: center;
  }

  .top-head-area h3 {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .top-head-area {
    margin-top: 100px;
    position: relative;
    padding-bottom: 100px;
  }

  .top-head-area h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--red-color);
  }

  .top-head-area p {
    font-size: 16px;
    letter-spacing: 0.04em;
    line-height: 1.8;
  }

  .top-head-area br.pc {
    display: none;
  }

  .loop-text-img {
    width: 570px;
    height: auto;
    flex-shrink: 0;
    margin-right: 40px;
  }
}

@media (max-width: 660px) {
  .top-head-area {
    margin-top: 40%;
  }
}

@media (max-width: 480px) {
  .top-head-area h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .top-head-area p {
    font-size: 14px;
    letter-spacing: 0.04em;
    line-height: 1.8;
  }

  .top-head-area {
    position: relative;
    padding-bottom: 80px;
  }

  .loop-text-img {
    width: 470px;
    height: auto;
    flex-shrink: 0;
    margin-right: 40px;
  }
}

/* =======================================
FEATURE
======================================== */
.feature-area {
  position: relative;
  padding-top: 150px;
  padding-bottom: 120px;
}

.feature-area .container {
  position: relative;
  z-index: 2;
}

.feature-bg {
  top: 100px;
  position: absolute;
  background-size: cover;
  width: 100%;
  z-index: -1;
}

.feature-area .sec-ttl-box {
  text-align: right;
  margin-bottom: 100px;
}

.feature-img {
  margin-bottom: 20px;
}

.feature-item h4 {
  font-size: 20px;
  text-align: center;
  font-weight: 700;
  margin-bottom: 5px;
}

.feature-item h4 span {
  color: var(--red-color);
}

.feature-item p {
  line-height: 2;
  display: table;
  margin: 0 auto;
  max-width: 380px;
  letter-spacing: 0.04em;
  font-size: 16px;
}

.feature-list_02 {
  margin-top: -80px;
}

.feature-list_01 {
  margin-top: -160px;
}

@media (max-width: 1520px) {
  .feature-area .container {
    padding-left: calc(15px + 50 * (100vw - 320px) / 1180);
    padding-right: calc(15px + 50 * (100vw - 320px) / 1180);
  }
}

@media (max-width: 1220px) {
  .feature-area .sec-ttl-box {
    margin-bottom: 180px;
  }

  .feature-area .row.gutter-76 {
    margin-left: -15px !important;
    margin-right: -15px !important;
  }

  /* その row 内の col の左右 padding を調整 */
  .feature-area .row.gutter-76>[class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .feature-item h4 {
    font-size: 18px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0;
  }

  .feature-item p {
    line-height: 2;
    display: table;
    margin: 0 auto;
    max-width: 380px;
    letter-spacing: 0;
    font-size: 16px;
  }

}

@media (max-width: 991px) {
  .feature-area .sec-ttl-box {
    margin-bottom: 60px;
  }

  .feature-list_01 {
    margin-top: 0;
  }

  .feature-area .row>div+div {
    margin-top: 40px;
  }

  .feature-item p {
    line-height: 2;
    display: table;
    margin: 0 auto;
    max-width: 100%;
    letter-spacing: 0;
    font-size: 16px;
  }

  .feature-area {
    position: relative;
    padding-top: 150px;
    padding-bottom: 100px;
  }
}

@media (max-width:480px) {
  .feature-area .sec-ttl-box {
    margin-bottom: 40px;
  }

  .feature-item p {
    line-height: 2;
    display: table;
    margin: 0 auto;
    max-width: 100%;
    letter-spacing: 0;
    font-size: 14px;
  }

  .feature-area {
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
  }
}

/* =======================================
SERVICE
======================================== */
.service-area {
  margin-bottom: 200px;
}

.service-area .sec-ttl-box {
  margin-bottom: 60px;
}

.service-item {
  position: relative;
  box-shadow: 0 2px 12px rgba(143, 133, 134, 0.35);
}

.secvice-ttl {
  height: 60px;
  display: flex;
  align-items: center;
  background-color: #fff;
  position: absolute;
  right: 0;
  bottom: 0;
  padding-left: 24px;
  padding-right: 24px;
  border-radius: 16px 0 0 0;
  max-width: 280px;
  width: 100%;
  justify-content: space-between;
}

.secvice-ttl h4 {
  font-size: 18px;
  font-weight: 500;
}

.service-list .row {
  gap: 40px 0;
}

.service-item .circle {
  width: 25px;
}

/* 枠から画像が飛び出さないように */
.service-img {
  overflow: hidden;
}

/* 画像の初期状態 */
.service-img img {
  transition: transform 0.6s ease;
  transform: scale(1);
}

/* a に hoverしたら画像だけ拡大 */
.service-item a:hover .service-img img {
  transform: scale(1.2); /* ←大きく */
}

@media (max-width: 1280px) {
  .secvice-ttl {
    height: 50px;
    display: flex;
    align-items: center;
    background-color: #fff;
    position: absolute;
    right: 0;
    bottom: 0;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 16px 0 0 0;
    max-width: 220px;
    width: 100%;
    justify-content: space-between;
  }

  .secvice-ttl h4 {
    font-size: 17px;
    font-weight: 500;
  }
}

@media (max-width: 991px) {

  .service-list .row {
    gap: 30px 0;
  }

  .service-area .row.gutter-40 {
    margin-left: -15px !important;
    margin-right: -15px !important;
  }

  .service-area .row.gutter-40>[class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 768px) {

  .service-list .row {
    gap: 20px 0;
  }

  .service-area .row.gutter-40 {
    margin-left: -10px !important;
    margin-right: -10px !important;
  }

  .service-area .row.gutter-40>[class*="col-"] {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .secvice-ttl {
    height: 50px;
    display: flex;
    align-items: center;
    background-color: #fff;
    position: absolute;
    right: 0;
    bottom: 0;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 16px 0 0 0;
    max-width: 160px;
    width: 100%;
    justify-content: space-between;
  }

  .secvice-ttl h4 {
    font-size: 15px;
    font-weight: 500;
  }

  .service-item .circle {
    width: 16px;
    font-size: 0;
  }

  .service-area {
    margin-bottom: 100px;
  }
}

@media (max-width: 480px) {
  .service-area {
    margin-bottom: 80px;
  }

  .service-area .sec-ttl-box {
    margin-bottom: 40px;
  }

  .service-area .row.gutter-40 {
    display: block;
  }

  .service-area .row.gutter-40>div {
    width: 100% !important;
    max-width: 100% !important;
  }

  .service-area .row.gutter-40>div+div {
    margin-top: 30px;
  }
}

/* =======================================
WORKS
======================================== */
.works-area {
  padding: 80px 0;
}

/* 中央 1670px コンテナ */
.works-inner {
  max-width: 1670px;
  margin: 0 auto;
  display: flex;
  position: relative;
  /* 疑似要素の基準 */
}

/* ベージュ背景（テキスト側にフィットしつつ、右だけブリード） */
.works-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  /* 上下左右 0（まずはコンテナ内いっぱい） */
  background-color: #ebe6e7;
  border-radius: 40px 0 0 40px;
  z-index: -1;
  /* テキストや画像の下に敷く */
}

/* 左テキストブロック */
.works-left {
  width: 420px;
  /* テキスト幅 */
  margin-left: 100px;
  /* 左余白 */
  margin-right: 83px;
  /* テキストと画像の間 */
}

.works-left .sec-ttl-box {
  margin-bottom: 60px;
  margin-top: -70px;
}

.works-left .works-text {
  line-height: 1.8;
  font-size: 16px;
}

/* 右画像ブロック */
.works-right {
  flex: 1;
  min-width: 0;
  position: relative;
}

/* 画像を少し上に持ち上げるラッパー */
.works-img-wrap {
  width: 100%;
  transform: translateY(-30px);
}

/* 実際の画像 */
.works-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 40px 0 0 40px;
}



/* 1670px を超えたら、右だけビュー幅いっぱいにブリード */
@media (min-width: 1670px) {
  .works-inner::before {
    /* ベージュ背景を右方向へ画面端まで伸ばす */
    right: calc((100vw - 1670px) / -2);
  }

  .works-right {
    /* 画像ブロックも右方向へ画面端まで伸ばす */
    margin-right: calc((100vw - 1670px) / -2);
  }
}

@media (max-width: 1700px) {

  .works-area {
    padding-left: calc(15px + 50 * (100vw - 320px) / 1180);
    max-width: 1670px;
    margin: 0 auto;
    display: flex;
    position: relative;
  }
}

@media (max-width: 1150px) {

  .works-left {
    width: 420px;
    margin-left: 80px;
    margin-right: 40px;
  }
}

@media (max-width:991px) {

  .works-left {
    width: 320px;
    margin-left: 40px;
    margin-right: 40px;
  }

  .works-area .more-btn {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
    font-weight: 500;
    font-size: 16px;
    gap: 0 20px;
    color: var(--main-color);
  }
}

@media (max-width:768px) {

  .works-left {
    width: 100%;
    margin-left: 40px;
    margin-right: 0;
  }

  .works-left .works-text {
    margin-right: 40px;
  }

  .works-inner {
    max-width: 1670px;
    margin: 0 auto;
    display: flex;
    padding-bottom: 40px;
    position: relative;
    /* 疑似要素の基準 */
  }

  .works-area .more-btn {
    margin-right: 40px;
  }

  .works-area {
    margin-bottom: 80px;
  }
}

@media (max-width:480px) {
  .works-area {
    margin-bottom: 0;
  }

  .works-left {
    width: 100%;
    margin-left: 20px;
    margin-right: 0;
  }

  .works-left .works-text {
    margin-right: 20px;
    font-size: 14px;
  }

  .works-inner {
    max-width: 1670px;
    margin: 0 auto;
    display: flex;
    padding-bottom: 40px;
    position: relative;
    /* 疑似要素の基準 */
  }

  .works-area .more-btn {
    margin-right: 20px;
  }
.works-img-wrap img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 40px 0 0 40px;
}
}

/* =======================================
   FAQ（左画像が突き出す版）
======================================== */
.faq-area {
  padding: 65px 0 0;
}

/* 中央 1670px コンテナ */
.faq-inner {
  max-width: 1670px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  /* 疑似要素の基準 */
}

/* ベージュ背景（右テキスト側にフィットしつつ、左だけブリード） */
.faq-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  /* まずはコンテナ内いっぱい */
  background-color: #ebe6e7;
  border-radius: 0 40px 40px 0;
  /* 右側だけ角丸 */
  z-index: -1;
}

/* 左画像ブロック（突き出し側） */
.faq-left {
  flex: 1;
  min-width: 0;
  position: relative;
}

.faq-right .sec-ttl-box {
  margin-bottom: 60px;
  margin-top: -170px;
  margin-left: auto;
  display: table;
  text-align: right;
}

/* 画像を少し上に持ち上げるラッパー（WORKS と同じテク） */
.faq-img-wrap {
  width: 100%;
  height: calc(100% + 30px);
  transform: translateY(-30px);
}

.faq-img-wrap img {
  width: 100%;
  height: 420px;
  border-radius: 0 40px 40px 0;
  object-fit: cover;
  display: block;
}

/* 右テキストブロック（WORKS の .works-left を反転） */
.faq-right {
  width: 420px;
  /* テキスト幅 */
  margin-right: 100px;
  /* 右余白 */
  margin-left: 83px;
  /* 画像との間隔 */
}

.faq-right .faq-text {
  line-height: 1.8;
}

/* 1670px を超えたら、左だけビュー幅いっぱいにブリード */
@media (min-width: 1670px) {
  .faq-inner::before {
    /* ベージュ背景を左方向へ画面端まで伸ばす */
    left: calc((100vw - 1670px) / -2);
  }

  .faq-left {
    /* 画像ブロックも左方向へ画面端まで伸ばす */
    margin-left: calc((100vw - 1670px) / -2);
  }
}

@media (max-width: 1700px) {

  .faq-area {
    padding-right: calc(15px + 50 * (100vw - 320px) / 1180);
  }
}

@media (max-width: 1150px) {

  .faq-right {
    width: 420px;
    margin-left: 40px;
    margin-right: 80px;
  }
}

@media (max-width:991px) {

  .faq-right {
    width: 320px;
    margin-left: 40px;
    margin-right: 40px;
  }

  .more-btn {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
    font-weight: 500;
    font-size: 16px;
    gap: 0 20px;
    color: var(--main-color);
  }
}

@media (max-width:768px) {
  .faq-right .sec-ttl-box {
    margin-bottom: 60px;
    margin-top: -80px;
    margin-left: auto;
    display: table;
    text-align: right;
  }

  .faq-right {
    width: 100%;
    margin-left: 0;
    margin-right: 40px;
  }

  .faq-right .faq-text {
    margin-left: 40px;
  }

  .faq-inner {
    max-width: 1670px;
    margin: 0 auto;
    display: flex;
    padding-bottom: 40px;
    position: relative;
    /* 疑似要素の基準 */
  }

  .faq-area .more-btn {
    margin-left: 40px;
    justify-content: flex-start;
  }
}

@media (max-width:480px) {

  .faq-right {
    width: 100%;
    margin-left: 0;
    margin-right: 20px;
  }

  .faq-right .faq-text {
    margin-right: 0;
    margin-left: 20px;
    font-size: 14px;
  }

  .faq-area .more-btn {
    margin-left: 20px;
  }

}

/* =======================================
ボタンエリア
======================================== */

.btn-area {
  padding-top: 160px;
  padding-bottom: 220px;
}

.long-btn {
  padding: 0 40px;
  display: flex;
  align-items: center;
  width: 100%;
  color: #000;
  height: 100px;
  justify-content: space-between;
  background-color: #fff;
  box-shadow: 0 2px 12px rgba(143, 133, 134, 0.35);
}

.long-btn-left {
  display: flex;
  white-space: nowrap;
}

.long-btn .text-box {
  display: flex;
  align-items: flex-end;
}

.long-btn .en {
  line-height: 1;
  margin-right: 10px;
  font-size: 48px;
  letter-spacing: 0;
  font-family: "Fjalla One", sans-serif;
}

.long-btn h3 {
  font-size: 20px;
  font-weight: 700;
}

.long-btn .circle {
  width: 33px;
}

.long-btn.shop .icon {
  width: 53px;
  margin-right: 20px;
}

.long-btn.map .icon {
  width: 33px;
  margin-right: 20px;
}

.long-btn .icon {
  position: relative;
}

.long-btn.shop .icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/common/icon--shop-on.svg") no-repeat center / contain;
  opacity: 0;
  transition: opacity 0.4s ease; /* ← フェード */
}

.long-btn.map .icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/common/icon--map-on.svg") no-repeat center / contain;
  opacity: 0;
  transition: opacity 0.4s ease; /* ← フェード */
}

.long-btn:hover .icon::after {
  opacity: 1;
}


/* ▼ 2つ目の赤いSVGを重ねる */
.long-btn .circle {
  position: relative;
}
.long-btn .circle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/common/circle-on-red.svg") no-repeat center / contain;
  opacity: 0;
  transition: opacity 0.4s ease; /* ← フェード */
}

/* ▼ hover したら赤いSVGをフェードイン */
.long-btn:hover .circle::after {
  opacity: 1;
}

@media (max-width:1220px) {
  .btn-area {
    padding-top: 100px;
    padding-bottom: 140px;
  }


  .btn-area .row.gutter-60 {
    margin-left: -15px !important;
    margin-right: -15px !important;
  }

  /* その row 内の col の左右 padding を調整 */
  .btn-area .row.gutter-60>[class*="col-"] {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width:1100px) {
  .btn-area {
    padding-top: 80px;
    padding-bottom: 140px;
  }

  .long-btn .en {
    line-height: 1;
    margin-right: 10px;
    font-size: 34px;
    letter-spacing: 0;
    font-family: "Fjalla One", sans-serif;
  }

  .long-btn {
    padding: 0 20px;
    display: flex;
    align-items: center;
    width: 100%;
    color: #000;
    height: 80px;
    justify-content: space-between;
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(143, 133, 134, 0.35);
  }

  .long-btn.shop .icon {
    width: 38px;
    margin-right: 10px;
  }

  .long-btn.map .icon {
    width: 24px;
    margin-right: 10px;
  }

  .long-btn .circle {
    width: 26px;
  }
}

@media (max-width:767px) {

  .btn-area .row>div+div {
    margin-top: 20px;
  }

}

@media (max-width:480px) {

  .btn-area {
    padding-top: 60px;
    padding-bottom: 120px;
  }
}