/* ========================================
   基準フォントサイズ設定
======================================== */
body {
  font-size: 1em;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

html {
  font-size: 20px;
}


/* レスポンシブ（タブレット） */

@media screen and (max-width: 1000px) and (min-width: 601px) {
  html {
    font-size: clamp(14px, 2vw, 20px);
  }
}

/* レスポンシブ（スマホ） */

@media screen and (max-width: 600px) {
  html {
    font-size: 16px;
  }
}

/* ========================================
   共通レイアウトここから
======================================== */

.wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.wrap-contents {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
    gap:4em;
    padding: 5em 0;
}

/* レスポンシブ（タブレット：601px〜1000px） */

@media screen and (max-width: 1000px) and (min-width: 601px) {
  .wrap-contents {
    padding: 7vw 2em;
      gap: 4vw;
  }
}

/* レスポンシブ（スマホ：600px以下） */

@media screen and (max-width: 600px) {
  .wrap-contents {
    padding:4em 0.875em;
      gap:3em;
  }
}

/* ========================================
   共通レイアウトここまで
======================================== */

/* ========================================
   表示切替クラスここから
======================================== */

/* PC・タブレット表示（601px以上） */

.br-sp {
  display: none;
}

.br-pc {
  display: block;
}

.image-sp {
  display: none;
}

.image-pc {
  display: block;
}

/* レスポンシブ（スマホ：600px以下） */

@media screen and (max-width: 600px) {
  .br-sp {
    display: block;
  }

  .br-pc {
    display: none;
  }

  .image-sp {
    display: block;
  }

  .image-pc {
    display: none;
  }
}

/* ========================================
   表示切替クラスここまで
======================================== */

p {
  text-align: left;
  font-size: 1em;
  color: #111;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  letter-spacing: .1em;
}

.bold {
  font-weight: bold;
}

.marker-beige {
  background: linear-gradient(transparent 60%, #F2DFB5 60%);
  padding-bottom: .3em;
}

.noto-serif {
  font-family: "Noto Serif", serif;
  font-weight: 300;
  font-style: normal;
}

.yu-go {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

.center {
  text-align: center;
}

/* ========================================
   headerここから
======================================== */

.header {
  width: 100%;
  height: 5em;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-contents {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.header-logo {
  display: block;
  width: auto;
  height: 4em;
  object-fit: contain;
}

/* レスポンシブ（タブレット：601px〜1000px） */

@media screen and (max-width: 1000px) and (min-width: 601px) {
  .header {
    height: 8vw;
  }
  
  .header-logo {
    height: 7vw;
  }
}

/* レスポンシブ（スマホ：600px以下） */

@media screen and (max-width: 600px) {
  .header {
    height: 4em;
  }
  
  .header-logo {
    height: 3em;
  }
}

/* ========================================
   headerここまで
======================================== */

/* ========================================
   firstviewここから
======================================== */

.firstview {
    position: relative;
    background: url(../img/firstview-bg.webp), linear-gradient(90deg, #1A2A4A 0%, #223355 50%, #1E2E4D 100%);
    background-size: auto 94%, cover;
    background-repeat: no-repeat;
    background-position: right 5% bottom -10px, center;
    min-height: 25em;
    overflow: hidden;
    border-bottom: 5px #B8924A solid;
}

/* 四隅の装飾 */

.fv-corner {
  position: absolute;
  width: 4em;
  height: 4em;
  border-color: rgba(184, 146, 74, 0.7);
  border-style: solid;
  border-width: 0;
  z-index: 2;
  pointer-events: none;
}

.fv-corner--top-left {
  top: 1em;
  left: 1em;
  border-top-width: 2px;
  border-left-width: 2px;
}

.fv-corner--top-right {
  top: 1em;
  right: 1em;
  border-top-width: 2px;
  border-right-width: 2px;
}

.fv-corner--bottom-left {
  bottom: 1em;
  left: 1em;
  border-bottom-width: 2px;
  border-left-width: 2px;
}

.fv-corner--bottom-right {
  bottom: 1em;
  right: 1em;
  border-bottom-width: 2px;
  border-right-width: 2px;
}

/* コンテンツ */

.firstview_contents {
  position: relative;
  z-index: 3;
  padding-top: 3.5em;
  padding-bottom: 3.5em;
  margin: auto;
  align-items: flex-start;
}

/* テキストエリア */

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2.4em;
  max-width: 50em;
}

.firstview-text-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5em;
}

.hero__label {
  display: inline-block;
  padding: 0.5em 0.6em;
  background: linear-gradient(180deg, #FFEFCF 0%, #FAD588 100%);
  color: #333;
  font-size: 1em;
  font-weight: 500;
  line-height: 1;
}

.hero__label span {
  font-size: 1.2em;
  font-weight: 700;
}

.hero__title img {
  width: 30em;
  height: auto;
}

.hero__subtitle {
  color: #fff;
  font-size: 1em;
  line-height: 2.2;
}

.hero__subtitle--highlight {
  display: inline-block;
  padding: 0.3em 0.4em;
  border: 1px solid #fff;
  color: #fff;
  font-size: 1.2em;
  font-weight: 700;
  line-height: 1;
}

.dotts {
  position: relative;
}

.dotts::after {
  content: '・・・・・・・';
  position: absolute;
  top: -1.6em;
  left: 0;
  color: #fff;
  font-size: inherit;
  letter-spacing: 0.1em;
}

/* 信頼バッジ */

.firstview-text-point {
  display: flex;
  gap: 0.8em;
}

.badge img {
  width: auto;
  height: 6em;
}

/* レスポンシブ（タブレット：601px〜1000px） */

@media screen and (max-width: 1000px) and (min-width: 601px) {
  .firstview {
    min-height: 25vw;
  }
  
  .firstview_contents {
    padding-top: 4vw;
    padding-bottom: 4vw;
  }
  
  .fv-corner {
    display:none;
  }
  
  .hero__text {
    gap: 2.4vw;
  }
  
  .hero__title img {
    width: 55vw;
  }
  
  .hero__label {
    font-size: 2vw;
  }
  
  .hero__subtitle {
    font-size: 2vw;
  }
  
  .hero__subtitle--highlight {
    font-size: 2vw;
  }
  
  .firstview-text-point {
    gap: 1.5vw;
  }
  
  .badge img {
    height: 12vw;
  }
}

/* レスポンシブ（スマホ：600px以下） */

@media screen and (max-width: 600px) {
  .firstview {
    background: url(../img/firstview-bg-sp.png), linear-gradient(90deg, #1A2A4A 0%, #223355 50%, #1E2E4D 100%);
    background-size: 66% auto, cover;
    background-repeat: no-repeat;
    background-position: bottom right 10%, center;
    min-height: auto;
    border-bottom:none;
  }
  
  .fv-corner {
    display: none;
  }
  
  .firstview_contents {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
  }
  
  .hero__text {
    position: relative;
    z-index: 2;
    align-items: flex-start;
    text-align: left;
    gap: 2em;
  }

.hero__label {
  padding: 0.4em 0.6em;
  font-size: .95em;
    }
  
  .firstview-text-main {
    align-items: flex-start;
  }
  
  .hero__title img {
    width: 90vw;
    max-width: none;
  }
    
.hero__subtitle {
    font-size: .95em;
    }
  
  .firstview-text-point {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
  }
  
  .badge img {
    height: clamp(5.5em, 22vw, 6em);
  }
}

/* ========================================
   firstviewここまで
======================================== */





/* ========================================
   CTAここから
======================================== */

.cta {
  background-image: url(../img/cta-bg.webp);
  background-size: cover;
  border-top: 1px solid #B8924A;
  border-bottom: 1px solid #B8924A;
}

.cta-contents {
    padding-top: 2.5em;
    padding-bottom: 2.5em;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
    gap:0;
}

/* タイトル部分 */

.cta-ttl {
  width: 100%;
  max-width: 1000px;
  padding: 1em 0;
  background: linear-gradient(180deg, #CF1C00 0%, #AA0B00 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
}

.cta-ttl img {
  width: auto;
  height: 1.2em;
}

.cta-ttl-text {
  color: #fff;
  font-size: 1.45em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-shadow: 0px 4px 4px rgba(178, 15, 1, 0.2);
}

/* ボックス部分 */

.cta-box {
  width: 100%;
  max-width: 1000px;
  padding: 1.6em 5em 1.7em;
  background: url(../img/cta-box-bg.webp), #fff;
  background-size: cover, cover;
  border-left: 16px solid #AA0B00;
  border-right: 16px solid #AA0B00;
  border-bottom: 16px solid #AA0B00;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5em;
}

.cta-box-text {
  display: flex;
  align-items: center;
  gap: 0.2em;
}

.cta-box-text img {
  width: auto;
  height: 3.5em;
}

.cta-box-text02 {
  color: #111;
  font-size: 1.95em;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ボタンエリア */

.cta-btn-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

/* 共通ボタンスタイル */

.btn-line,
.btn-mail,
.btn-tel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  padding: 1em 1.5em;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.3s;
font-family: 'Inter', sans-serif;
}

.btn-line:hover,
.btn-mail:hover,
.btn-tel:hover {
  opacity: 0.9;
}

.btn-text {
  color: #fff;
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
}

/* Font Awesome アイコン共通 */

.btn-line i,
.btn-mail i,
.btn-tel i {
  color: #fff;
  font-size: 1.2em;
}

/* LINEボタン */

.btn-line {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 4em;
  background: linear-gradient(180deg, #00BD4D 0%, #009B3F 100%);
}

.btn-icon-line {
  width: 1.5em;
  height: auto;
}

/* おすすめバッジ */

.icon-osusume {
  position: absolute;
  top: -1em;
  right: -2em;
  width: 4em;
  height: 4em;
  background: linear-gradient(360deg, #F9DC82 0%, #FBE8A4 25%, #FFFFE1 48%, #FEFAD4 52%, #FCEEB2 75%, #F9DA7C 100%);
  border-radius: 50%;
  border: 2px solid #D59643;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(15deg);
  color: #8B5A00;
  font-size: 0.85em;
  font-weight: 900;
}

.icon-osusume span {
  font-size: 0.75em;
}

/* メール・電話ボタン横並び */

.btn-2col {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1em;
}

.btn-2col a {
  max-width: 350px;
}

.btn-mail {
  flex: 1;
  height: 4em;
  background: linear-gradient(180deg, #FF8400 0%, #D06800 100%);
}

.btn-tel {
  flex: 1;
  height: 4em;
  background: linear-gradient(180deg, #CF1C00 0%, #AA0B00 100%);
}

/* 電話ボタンのテキスト */

.btn-tel .btn-text {
  font-size: 1em;
  line-height: 1.4;
}

/* レスポンシブ（タブレット：601px〜1000px） */

@media screen and (max-width: 1000px) and (min-width: 601px) {
.cta-contents {
    padding-top: 4vw;
    padding-bottom: 4vw;
    }
  
  .cta-ttl {
    padding: 1.4vw 0;
    gap: 0.8vw;
  }
  
  .cta-ttl img {
    height: 2.4vw;
  }
  
  .cta-ttl-text {
    font-size: 2.5vw;
  }
  
  .cta-box {
    padding: 2vw 3vw 3vw;
    border-left-width: 1.6vw;
    border-right-width: 1.6vw;
    border-bottom-width: 1.6vw;
    gap: 2vw;
  }
  
  .cta-box-text {
  }
  
  .cta-box-text img {
    height: 7vw;
  }
  
  .cta-box-text02 {
    font-size: 3.5vw;
  }
  
  .cta-btn-box {
    gap: 1.5vw;
  }
  
  .btn-line,
  .btn-mail,
  .btn-tel {
    gap: 1.5vw;
    padding: 1.5vw 2vw;
    border-radius: 1vw;
  }
  
  .btn-line {
    height: 8vw;
    max-width: 55vw;
  }
  
  .btn-icon-line {
    width: 3vw;
  }
  
  .btn-text {
    font-size: 2.2vw;
  }
  
  .btn-line i,
  .btn-mail i,
  .btn-tel i {
    font-size: 2.8vw;
  }
  
  .icon-osusume {
    width: 8vw;
    height: 8vw;
    top: -1.5vw;
    right: -3vw;
  }
  
  .icon-osusume span {
    font-size: 1.5vw;
  }
  
  .btn-2col {
    gap: 1.5vw;
  }
  
  .btn-2col a {
    max-width: 40vw;
  }
  
  .btn-mail,
  .btn-tel {
    height: 8vw;
  }
  
  .btn-tel .btn-text {
    font-size: 2vw;
    line-height: 1.4;
  }
}

/* レスポンシブ（スマホ：600px以下） */

@media screen and (max-width: 600px) {

.cta{
    border-top: 4px solid #B8924A;
    border-bottom: 4px solid #B8924A;
    }
.cta-contents {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    }
  
  .cta-ttl {
    padding: 0.8em 0;
    gap: 0;
  }
  
  .cta-ttl img {
    height: 1em;
  }
  
  .cta-ttl-text {
    font-size: 1.05em;
  }
  
  .cta-box {
    padding: 1.2em 1em 1.2em;
    border-left-width: 8px;
    border-right-width: 8px;
    border-bottom-width: 8px;
    gap: 1.2em;
  }
  
  .cta-box-text {
    flex-direction: column;
    gap: 0.3em;
  }
  
  .cta-box-text img {
    height: 3.3em;
  }
  
  .cta-box-text02 {
    font-size: 1.4em;
  }
  
  .cta-btn-box {
    gap: 0.8em;
  }
  
  /* ボタン共通 */
  .btn-line,
  .btn-mail,
  .btn-tel {
    position: relative;
    justify-content: flex-start;
    gap: 0.8em;
    padding: .5em 2.5em .5em 2em;
    height: auto;
    min-height: 4em;
  }
  
  .btn-line {
    max-width: 100%;
  }
  
  /* LINEアイコン（画像）*/
  .btn-icon-line {
    width: 1.6em;
    height: auto;
    flex-shrink: 0;
  }
  
  /* メール・電話アイコン（Font Awesome）*/
  .btn-mail i.fa-envelope,
  .btn-tel i.fa-phone {
    font-size: 1.6em;
    flex-shrink: 0;
    text-align: left;
  }
  
  .btn-text {
    flex: 1;
    font-size: 0.95em;
    text-align: left;
      line-height: 1.4;
  }
  
  /* 右矢印を右端に固定 */
  .btn-line > i.fa-chevron-right,
  .btn-mail > i.fa-chevron-right,
  .btn-tel > i.fa-chevron-right {
    position: absolute;
    right: 2em;
    font-size: 0.9em;
  }
  
  /* おすすめバッジ：右上に配置、矢印と被らない */
  .icon-osusume {
width: 3.8em;
        height: 3.8em;
        top: -1.8em;
        right: -1em;
  }
  
  .icon-osusume span {
    font-size: 0.7em;
  }
  
  .btn-2col {
    flex-direction: column;
    gap: 0.8em;
  }
  
  .btn-2col a {
    max-width: 100%;
  }
  
  .btn-tel .btn-text {
    font-size: 0.9em;
  }
}



/* ========================================
   CTAここまで
======================================== */



/* ========================================
   troublesここから
======================================== */

.troubles {
  background: linear-gradient(90deg, #383838 0%, #4D4D55 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

/* タイトル部分 */

.troubles-ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.troubles-ttl-text01 {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.sub-heading {
  color: #fff;
  font-size: 1.4em;
  font-weight: 600;
  letter-spacing: 0.15em;
padding: .3em .5em;
  border: 1px solid #fff;
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.sub-heading-text {
  color: #fff;
  font-size: 1.4em;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.troubles-ttl-text02 {
  display: flex;
  align-items: center;
  gap: 0.75em;
}

.troubles-ttl-text02-img {
  height: auto;
}

.troubles-ttl-icon {
  width: 2.1em;
  height: auto;
}

/* コンテンツ部分 */

.troubles-contents {
  position: relative;
  display: flex;
  justify-content: center;
  overflow: visible;
  max-width: 1000px;
  width: 100%;
  align-items: center;
    gap:3em;
    padding-top: 5em;
    padding-bottom:3em;
}

.troubles-list {
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.6);
    width: 100%;
}

.troubles-list-inner {
  background: #fff url(../img/troubles-list-bg.webp) no-repeat right bottom;
  background-size: cover;
  padding: 3em;
  display: flex;
  flex-direction: column;
  gap: 1.4em;
}

/* チェックリストアイテム */

.check-item {
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.check-icon {
  width: 1.5em;
  height: auto;
  flex-shrink: 0;
}

.check-text {
  display: flex;
  align-items: center;
  gap: 0.2em;
}

.check-text-normal {
  color: #111;
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.check-text-emphasis {
  color: #244483;
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding-bottom: 0.1em;
  border-bottom: 2px dotted #244483;
  font-family: "Noto Serif", serif;
}

/* 人物画像 */

.troubles-img01 {
  position: absolute;
    top: 12em;
    right: 1em;
    width: 13em;
  height: auto;
}

.troubles-img02 {
  position: absolute;
    top: 24em;
    right: -4em;
    width: 10em;
  height: auto;
}

/* レスポンシブ（タブレット：601px〜1000px） */

@media screen and (max-width: 1000px) and (min-width: 601px) {
    
    .troubles-contents {
    padding-top: 6vw;
    padding-bottom:5vw;
    gap: 3vw;
    }
  
  .troubles-ttl {
    gap: 1vw;
  }
  
  .troubles-ttl-text01 {
    gap: 0.8vw;
  }
  
  .sub-heading {
    font-size: 2.2vw;
    padding: 0.6vw 1.2vw;
  }
  
  .sub-heading-text {
    font-size: 2.2vw;
  }
  
  .troubles-ttl-text02 {
    gap: 1vw;
  }
  
  .troubles-ttl-text02-img {
    height: 5.8vw;
  }
  
  .troubles-ttl-icon {
    width: 3vw;
  }
  
  .troubles-list {
    padding: 0.6vw;
  }
  
  .troubles-list-inner {
    padding: 3vw;
    gap: 1.8vw;
  }
  
  .check-icon {
    width: 2vw;
  }
  
  .check-item {
    gap: 1vw;
  }
  
  .check-text {
    gap: 0.3vw;
  }
  
  .check-text-normal {
    font-size: 1.8vw;
  }
  
  .check-text-emphasis {
    font-size: 2.2vw;
  }
  
  .troubles-img01 {
      top: 18vw;
      right: 8vw;
    width: 20vw;
  }
  
  .troubles-img02 {
    top: 38vw;
    right: 4vw;
    width: 16vw;
  }
}

/* レスポンシブ（スマホ：600px以下） */

@media screen and (max-width: 600px) {

  .troubles-contents {
    padding-top: 4em;
    padding-bottom: 3em;
      gap:2em;
    }
  .troubles-ttl {
    gap: 0.8em;
    align-items: flex-start;
  }
  
  .troubles-ttl-text01 {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4em;
      font-size: 1.1em;
  }
  
  .sub-heading {
    font-size: 1em;
    padding: 0.3em 0.4em;
  }
  
  .sub-heading-text {
    font-size: 1em;
  }
  
  .troubles-ttl-text02 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.3em;
  }
  
  .troubles-ttl-icon {
    position: static; /* absolute → static に変更 */
    width: 2em;
  }
  
  .troubles-ttl-text02-img {
    height: auto;
    width: 88%;
  }
  
  .troubles-contents {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .troubles-list {
    width: 100%;
  }
  
  .troubles-list-inner {
    padding: 1.5em .7em;
    gap: 0;
    background: #fff;
  }
  
  .check-item {
    align-items: flex-start;
    padding: .7em 0;
    gap: .4em;
  }
  
  .check-item:last-child {
    border-bottom: none;
  }
  
  .check-icon {
    width: 1.2em;
    margin-top: 0.2em;
  }
  
  .check-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3em;
    line-height: 1.4;
  }
  
  .check-text-normal {
    font-size: 1em;
  }
  
  .check-text-emphasis {
    font-size: 1.15em;
  }

.check-item:nth-child(4),
.check-item:nth-child(5) {
  justify-content: flex-end;
}

.check-item:nth-child(4) .check-text,
.check-item:nth-child(5) .check-text {
  text-align: left;
}
  
  /* SP用人物画像を表示 */
.troubles-img01 {
    top: 19em;
    right: -1.5em;
    width: 10em;
}
    
.troubles-img02 {
    top: 12em;
    right: 0em;
    width: 7em;
}
    
  .troubles-img03 {
      position: absolute;
        top: 37em;
        left: 0;
        width: 9em;
        height: auto;
  }
}

/* ========================================
   troublesここまで
======================================== */

/* ========================================
   矢印（独立配置）
======================================== */
.solution-arrow-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  display: flex;
  justify-content: center;
  z-index: 999;
  pointer-events: none;
}

.solution-arrow-wrapper img {
  position: absolute;
  top: 10px;
  width: 14px;
  height: 130px;
}

@media screen and (max-width: 1000px) and (min-width: 601px) {
  .solution-arrow-wrapper img {
    top: -1vw;
    width: 1.4vw;
    height: 11vw;
  }
}

@media screen and (max-width: 600px) {
  .solution-arrow-wrapper img {
    top: -10px;
    width: 10px;
    height: 80px;
  }
}


/* ========================================
   Solution01セクションここから
======================================== */

.solution01 {
  position: relative;
  background-color: #fff;
  background-image: 
    url(../img/solution-bg-img01.png),
    url(../img/solution-bg-img02.webp),
    url(../img/solution01-bg.webp);
  background-repeat: no-repeat;
  background-position: 
    top right,
    bottom left,
    center center;
  background-size: 
    50%,
    45%,
    cover;
}

/* 上部を斜めにする（border方式） */
.solution01::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 12vw;
  background: linear-gradient(90deg, #383838 0%, #4D4D55 100%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 1;
}

/* コンテンツ */
.solution01-contents {
  position: relative;
  z-index: 2;
  padding-top: 10em;
}

/* タイトル部分 */
.solution01-ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5em;
}

.solution-ttl-label {
  background: #835C10;
  padding: 0.4em 0.8em;
}

.solution-ttl-label span {
  color: #fff;
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.solution-ttl-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.solution-ttl-text01,
.solution-ttl-text02 {
  position: relative;
  display: inline-block;
  color: #244483;
  font-size: 2em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow:
    0px 0px 5px rgba(255, 255, 255, 1),
    0px 0px 10px rgba(255, 255, 255, 0.8),
    0px 0px 30px rgba(255, 255, 255, 0.5);
  text-align: center;
}

.solution-ttl-text01::before,
.solution-ttl-text02::before {
  content: "";
  position: absolute;
  bottom: -0.1em;
  right: 50%;
  width: 100%;
  height: 0.4em;
  background: linear-gradient(270deg, 
    rgba(255, 243, 169, 0.3) 0%, 
    rgba(255, 232, 158, 0.5) 21%, 
    #F5D274 70%, 
    #EEBB4D 100%
  );
  box-shadow: 
    0px 0px 30px rgba(255, 255, 255, 0.5), 
    0px 0px 10px white;
  transform: translateX(50%);
  z-index: -1;
}

.solution-ttl-text02 {
  font-size: 3.15em;
}

.solution-ttl-text02::before {
  height: 0.3em;
  bottom: 0;
}

/* ポイント3つ */
.solution01-points {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5em;
}

.solution-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.solution-point-img {
  width: 11em;
  height: 11em;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-point-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-point-label {
  position: absolute;
  bottom: -0.5em;
  left: 50%;
  transform: translateX(-50%);
  background: #244483;
  padding: 0.5em;
  border-radius: 2em;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.08);
  width: 11em;
  text-align: center;
}

.solution-point-label span {
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* 説明テキスト */
.solution01-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5em;
  padding-top:0;
}

.solution01-text p {
  color: #111;
  font-size: 1.1em;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: center;
  text-shadow: 0px 0px 30px rgba(255, 255, 255, 0.5);
}

.text-red {
  color: #BE1600;
  font-weight: 700;
}

/* レスポンシブ（タブレット：601px〜1000px） */
@media screen and (max-width: 1000px) and (min-width: 601px) {
  .solution01::before {
   height: 10vw;
  }
  
  .solution01-contents {
    padding-top: 13vw;
      gap: 7vw;
  }
  
  .solution-ttl-label span {
    font-size: 2vw;
  }
  
  .solution-ttl-text01 {
    font-size: 3.5vw;
  }
  
  .solution-ttl-text02 {
    font-size: 5.5vw;
  }
  
  .solution01-points {
    gap: 2vw;
  }
  
  .solution-point-img {
    width: 18vw;
    height: 18vw;
  }
  
  .solution-point-label {
    width: 18vw;
    padding: 0.8vw;
  }
  
  .solution-point-label span {
    font-size: 1.8vw;
  }
  
  .solution01-text p {
    font-size: 2vw;
  }
}

/* レスポンシブ（スマホ：600px以下） */
@media screen and (max-width: 600px) {
  
  .solution01 {
    background-size: 70%, 60%, cover;
  }
  
  .solution01::before {
    height: 15vw;
  }
  
  .solution01-contents {
    padding-top: 6em;
    padding-bottom: 4em;
    gap: 3em;
  }
  
  .solution-ttl-label {
    padding: 0.3em 0.6em;
  }
  
  .solution-ttl-label span {
    font-size: 1em;
  }
  
  .solution-ttl-main {
    gap: 1em;
  }
  
  .solution-ttl-text01 {
    font-size: 1.5em;
  }
  
  .solution-ttl-text02 {
    font-size: 2.1em;
  }
  
  .solution01-points {
        flex-direction: row;
        align-items: center;
        gap: 2em;
        flex-wrap: wrap;
  }
  
  .solution-point-img {
    width: 8em;
    height: 8em;
  }
  
  .solution-point-label {
    width: 9em;
    padding: 0.4em;
  }
  
  .solution-point-label span {
    font-size: 0.9em;
  }
  
  .solution01-text {
    padding-top:0;
    gap: 1em;
  }
  
  .solution01-text p {
    font-size: 1em;
    line-height: 2;
  }
}

/* ========================================
   Solution01セクションここまで
======================================== */


/* ========================================
   矢印（独立配置）
======================================== */

.solution-arrow-wrapper02 {
  position: relative;
  width: 100%;
  height: 0;
  display: flex;
  justify-content: center;
  z-index: 999;
  pointer-events: none;
}

.solution-arrow-wrapper02 img {
    position: absolute;
    top: -1em;
    width: 8em;
    height: auto;
}

@media screen and (max-width: 1000px) and (min-width: 601px) {
}

@media screen and (max-width: 600px) {
  .solution-arrow-wrapper02 img {
    top: -1em;
    width: auto;
    height: 2em;
  }
}

.case02-arrow img {
    position: absolute;
    top: -1em;
    width: 10em;
    height: auto;
}

@media screen and (max-width: 1000px) and (min-width: 601px) {
}

@media screen and (max-width: 600px) {
  .case02-arrow img {
    top: -1em;
    width: auto;
    height: 2.5em;
  }
}


/* ========================================
   solution02セクションここから
======================================== */

.solution02 {
  background-image: url(../img/solution02-bg.webp);
  background-size: cover;
  background-position: center;
}

.solution02-contents {
  justify-content: center;
  flex-direction: row;
  align-items: center;
  gap: 1.5em;
  margin: auto;
    padding-top: 3em;
    padding-bottom: 3em;
}

/* テキスト部分 */
.solution02-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5em;
}

.solution02-text01,
.solution02-text02 {
  display: inline-block;
  background: #fff;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.05);
  font-weight: 700;
}

.solution02-text01 {
  padding: 0.2em 0.5em;
  color: #111;
  font-size: 1.45em;
}

.solution02-text02 {
  padding: 0.2em 0.2em 0.1em;
  color: #BE1600;
  font-size: 2.2em;
}

.solution02-text02 span {
  letter-spacing: -0.05em;
}

.solution02-text02 .quote {
  font-family: "Times New Roman", serif;
  letter-spacing: 0.1em;
  padding-bottom: 0.5em;
}

/* 下部（テキスト3＋画像）PC時 */
.solution02-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.solution02-text03 {
  color: #111;
  font-size: 1.3em;
  font-weight: 700;
  letter-spacing: 0.1em;
    margin-top: 1em;
  order: 2; /* テキストを下に */
}

/* 画像部分 */
.solution02-img {
  flex-shrink: 0;
  order: 1; /* 画像を上に */
}

.solution02-img img {
  width: 12em;
  height: auto;
}

/* レスポンシブ（タブレット：601px〜1000px） */
@media screen and (max-width: 1000px) and (min-width: 601px) {
  .solution02-contents {
    gap: 2vw;
  }
  
  .solution02-text01 {
    font-size: 2.5vw;
  }
  
  .solution02-text02 {
    font-size: 4vw;
  }
  
  .solution02-text03 {
    font-size: 2.2vw;
  }
  
  .solution02-img img {
    width: 20vw;
  }
}

/* レスポンシブ（スマホ：600px以下） */
@media screen and (max-width: 600px) {
  .solution02-contents {
    flex-direction: column;
    align-items: center;
    gap: 1em;
            padding-bottom: 1.5em;
  }
  
  .solution02-text {
    align-items: center;
  }
  
  .solution02-text01 {
    font-size: 1.2em;
  }
  
  .solution02-text02 {
    font-size: 1.6em;
  }
  
  /* 下部を横並びに */
  .solution02-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    width: 100%;
  }
  
  .solution02-text03 {
    font-size: 1em;
    text-align: left;
    line-height: 1.8;
      margin-top: 0;
    order: 1; /* テキストを左に */
  }
  
  .solution02-img {
    order: 2; /* 画像を右に */
  }
  
  .solution02-img img {
    width: 8em;
  }
}

/* ========================================
   solution02セクションここまで
======================================== */



/* ========================================
   reasonセクションここから
======================================== */

/* ========================================
   reasonセクション - PC用（基本スタイル）
======================================== */

.reason {
  width: 100%;
  overflow: hidden;
}

/* タイトル部分 */
.reason-ttl {
  width: 100%;
  padding: 3em 0;
  background: linear-gradient(90deg, #1A2A4A 0%, rgba(34, 51, 85, 0.95) 50%, #101B31 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75em;
}

.reason-ttl-text01 {
  font-size: 1.7em;
  color: #fff;
  letter-spacing: 0.05em;
}

.reason-ttl-text02 {
  height: 4em;
  width: auto;
}

/* コンテンツ部分 */
.reason-contents {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 5em 0;
  background: url(../img/reason-contents-bg.png), #fff;
  background-size: cover;
  display: flex;
  flex-direction: column;
  gap: 5em;
}

/* 各理由アイテム */
.reason-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  gap: 3em;
}

/* 画像右パターン（01, 03） */
.reason-item--img-right {
  flex-direction: row;
}

.reason-item--img-right .reason-item-inner {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
}

.reason-item--img-right .reason-img {
  flex: 0 0 45%;
  max-width: 45%;
}

/* 画像左パターン（02） */
.reason-item--img-left {
  flex-direction: row;
}

.reason-item--img-left .reason-item-inner {
  flex: 0 0 50%;
  max-width: 50%;
  display: flex;
  flex-direction: column;
}

.reason-item--img-left .reason-img {
  flex: 0 0 45%;
  max-width: 45%;
}

.reason-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* テキスト部分 */
.reason-text {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  padding-top: 2.5em;
}

/* 番号 */
.reason-num {
  position: absolute;
  top: -0.18em;
  left: -0.6em;
  font-size: 9em;
  font-weight: 400;
  color: #F1E9DB;
  line-height: 1;
  z-index: 0;
}

.reason-text--right .reason-num {
  left: auto;
  right: -0.1em;
}

/* サブタイトル */
.reason-subtitle {
  position: relative;
  z-index: 1;
  font-size: 1.7em;
  font-weight: 700;
  color: #253555;
  letter-spacing: 0.1em;
}

/* メインタイトル */
.reason-title {
  position: relative;
  z-index: 1;
}

.gold-label {
  display: inline-block;
  padding: 0.2em 0.4em;
  background: linear-gradient(308deg, #F3D89A 0%, #FFF9EE 49%, #F3D89A 100%);
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.05);
  font-size: 2.6em;
  font-weight: 700;
  color: #253555;
  letter-spacing: 0.1em;
  text-shadow: 0px 0px 10px rgba(255, 255, 255, 0.25);
}

/* 本文 */
.reason-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  margin-top: 2em;
}

.reason-body p {
  font-size: 1em;
  font-weight: 500;
  color: #111;
  line-height: 2;
  letter-spacing: 0.1em;
}

/* 02の右寄せ */
.reason-text--right {
  text-align: right;
}

/* ========================================
   タブレット（601px〜1000px）
======================================== */
@media screen and (max-width: 1000px) and (min-width: 601px) {
  .reason-ttl {
    padding: 4vw 0;
    gap: 1vw;
  }
  
  .reason-ttl-text01 {
    font-size: 2.5vw;
  }
  
  .reason-ttl-text02 {
    height: 6vw;
  }
  
  .reason-contents {
    padding: 5vw 3vw;
    gap: 5vw;
  }
  
  .reason-item {
    gap: 2vw;
  }
  
  .reason-num {
    font-size: 7em;
  }
  
  .reason-subtitle {
    font-size: 1.4em;
  }
  
  .gold-label {
    font-size: 2em;
  }
  
  .reason-body p {
    font-size: 0.9em;
  }
}

/* ========================================
   スマホ（600px以下）
======================================== */
@media screen and (max-width: 600px) {
  .reason-ttl {
    padding: 2em 0;
    gap: 0.5em;
  }
  
  .reason-ttl-text01 {
    font-size: 1.2em;
  }
  
  .reason-ttl-text02 {
    height: 2.5em;
  }
  
  .reason-contents {
    padding: 2em 1em 4em;
    gap: 3em;
  }
  
  /* 縦並びに変更 */
  .reason-item,
  .reason-item--img-right,
  .reason-item--img-left {
    flex-direction: column;
    gap: 0;
  }
  
  /* inner と img の幅リセット */
  .reason-item-inner,
  .reason-item--img-right .reason-item-inner,
  .reason-item--img-left .reason-item-inner {
    flex: none;
    max-width: 100%;
    width: 100%;
    display: contents;
  }
  
  .reason-img,
  .reason-item--img-right .reason-img,
  .reason-item--img-left .reason-img {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
  
  /* 順序制御 */
  .reason-text {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3em;
    padding-top: 0;
    position: relative;
    align-items: flex-end;
width: 100%;
  }
  
  .reason-img {
    order: 2;
    margin: 1.5em 0;
  }
  
  .reason-body {
    order: 3;
    margin-top: 0;
  }
  
  /* 番号 */
  .reason-num {
    position: relative;
    top: 0.5em;
    left: 0 !important;
    right: auto !important;
    line-height: 0.8;
    font-size: 7em;
line-height: 0.8;
width: 100%;
  }
  
  .reason-subtitle {
    font-size: 1.3em;
  }
  
  .reason-title {
    margin-top: 0.3em;
  }
  
  .gold-label {
    font-size: 2em;
  }
  
  /* 画像 */
  .reason-img img {
    width: 100%;
    height: 13em;
    object-fit: cover;
    border-radius: 5px;
  }
  
  /* 本文 */
  .reason-body {
    gap: 1em;
  }
  
  .reason-body p {
    font-size: 0.95em;
    line-height: 1.8;
  }
  
  .reason-body p br {
    display: none;
  }
  
  /* 01, 03：左寄せ */
  .reason-item--img-right .reason-num,
  .reason-item--img-right .reason-subtitle,
  .reason-item--img-right .reason-title {
    text-align: left;
  }
  
  /* 02：右寄せ */
  .reason-item--img-left .reason-num {
    text-align: right;
  }
  .reason-item--img-left .reason-subtitle,
  .reason-item--img-left .reason-title {
    text-align: right;
  }
  
  /* 02の右寄せリセット */
  .reason-text--right {
    text-align: left;
    align-items: flex-start;
  }
  
  .reason-text--right .reason-num {
    text-align: right;
  }
}


/* ========================================
   reasonセクションここまで
======================================== */


/* ========================================
   case01セクションここから
======================================== */

.case01 {
  background: #FBFBFB;
  background-image: url(../img/case01-bg.webp);
  background-size: cover;
  overflow: hidden;
}

.case01-contents {
padding: 5em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3em;
    max-width: 100% !important;
}

/* タイトル */
.case01-ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.section-sub {
  color: #A8771B;
  font-size: 1.4em;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.section-main {
  color: #1A2A4A;
  font-size: 2.5em;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* スライダーエリア */
.case01-slider-area {
  position: relative;
  width: 100%;
    max-width: 1000px;
  align-items: center;
  justify-content: center;
}

/* スライダー本体 */
.case01-slider {
  width: 100%;  /* 800px → 100% に変更 */
  overflow: hidden;
}

/* 中央以外のスライドを薄くする（任意） */
.case01-slider .slick-slide {
  opacity: 0.5;
  transition: opacity 0.3s;
}

.case01-slider .slick-slide.slick-center {
  opacity: 1;
}

/* カード間の余白 */
.case01-slider .slick-slide {
  opacity: 0.5;
  transition: opacity 0.3s;
  padding: 0 1em; /* 追加：カード間の余白 */
}

.case01-slider .slick-slide.slick-center {
  opacity: 1;
}

/* Slickドットのスタイル */
.case01-slider .slick-dots {
  display: flex;
  justify-content: center;
  gap: 0.5em;
  margin-top: 1.5em;
  padding: 0;
  list-style: none;
}

.case01-slider .slick-dots li {
  margin: 0;
}

.case01-slider .slick-dots li button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  font-size: 0;
  text-indent: -9999px;
  cursor: pointer;
  padding: 0;
}

.case01-slider .slick-dots li.slick-active button {
  background: #1A2A4A;
}

/* カード幅調整 */
.case01-card {
  width: 1000px;
  max-width: 90vw;
  flex-shrink: 0;
  margin: 0 auto;
}

/* スライダーボタン（絶対配置） */
.slider-btn {
  position: absolute;
  top: 40%;
transform: translateY(40%);
  width: 50px;
  height: 50px;
  background: #1A2A4A;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.3s;
  z-index: 10;
}

.slider-btn-prev {
  left: 4em;
}

.slider-btn-next {
  right: 4em;
}

.slider-btn:hover {
  opacity: 1;
}

.slider-btn i {
  color: #fff;
  font-size: 1.2em;
}

/* カード */
.case01-card {
  width: 800px;
  flex-shrink: 0;
  margin: 0 auto;
}

/* カードヘッダー */
.case01-card-header {
  padding: 1.5em 2em;
  background: #1A2A4A;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5em;
}

.case01-card-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}

.case01-card-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
}

.case01-card-label {
display: inline-block;
    width: fit-content;
    line-height: 1;
    padding: 0.4em 0.5em;
    background: #fff;
    color: #1A2A4A;
    font-size: 0.9em;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.case01-card-title {
  color: #fff;
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.15em;
    font-family: "Noto Serif", serif;
            line-height: 1.6;
}

/* カードボディ */
.case01-card-body {
  padding: 2em;
  background: #fff;
  border: 2px solid #1A2A4A;
  border-top: none;
  border-radius: 0 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.case01-card-review {
  color: #1A2A4A;
  font-size: 0.9em;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

/* セクション（現場の課題・ご利用の流れ） */
.case01-card-section {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.case01-card-section-label {
  display: inline-block;
  width: fit-content;
  padding: 0.35em 0.5em;
  background: #FFF8ED;
  border: 1px solid #966302;
  color: #966302;
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 0.1em;
    line-height: 1;
}

.case01-card-section-text {
  color: #1A2A4A;
  font-size: 0.9em;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.case01-card-section-flow {
  color: #1A2A4A;
  width: fit-content;
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding-bottom: 0.5em;
  border-bottom: 2px dotted #1A2A4A;
}

/* レスポンシブ（タブレット：601px〜1000px） */
@media screen and (max-width: 1000px) and (min-width: 601px) {
  .case01-contents {
    padding: 7vw 0;
    gap: 4vw;
  }

  .section-sub {
    font-size: 2.2vw;
  }

  .section-main {
    font-size: 4vw;
  }

  .case01-slider-area {
    gap: 1.5vw;
  }

  .slider-btn {
    width: 5vw;
    height:5vw;
  }

  .slider-btn i {
    font-size: 2vw;
  }

  .case01-slider {
    width: 100vw;
  }

  .case01-card {
width: 70vw;
    max-width: 800px;
  }

  .case01-card-header {
    padding: 2vw 2.5vw;
    gap: 2vw;
  }

  .case01-card-img {
    width: 12vw;
    height: 12vw;
  }

  .case01-card-label {
    font-size: 1.4vw;
  }

  .case01-card-title {
    font-size: 2.2vw;
  }

  .case01-card-body {
    padding: 2.5vw;
    gap: 2vw;
  }

  .case01-card-review {
    font-size: 1.6vw;
  }

  .case01-card-section-label {
    font-size: 1.4vw;
  }

  .case01-card-section-text {
    font-size: 1.6vw;
  }

  .case01-card-section-flow {
    font-size: 1.6vw;
  }
}

/* レスポンシブ（スマホ：600px以下） */
@media screen and (max-width: 600px) {
  .case01-contents {
  }

  .section-sub {
    font-size: 1.2em;
    line-height: 1.4;
  }

  .section-main {
    font-size: 1.8em;
  }

  .case01-slider-area {
    flex-direction: column;
    gap: 1em;
  }

  .slider-btn {
    width: 2.5em;
    height: 2.5em;
  }
.slider-btn-next {
    right: .5em;
}
.slider-btn-prev {
    left: .5em;
}
    
    .case01-slider .slick-slide{
        padding: 0 .5em;
    }

  .case01-slider {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    display: flex;
    gap: 1em;
  }

  .case01-card {
    min-width: calc(100vw - 3.5em);
    width: calc(100vw - 3.5em);
    scroll-snap-align: center;
  }

  .case01-card-header {
    flex-direction: row-reverse;
    padding: 2em 1.5em;
    gap: 1.5em;
  }

  .case01-card-img {
        width: 6em;
        height: auto;
  }

  .case01-card-label {
  }

  .case01-card-title {
    font-size: 1.08em;
  }

  .case01-card-body {
    padding: 1.5em;
    gap: 1.2em;
  }

  .case01-card-review {

  }

  .case01-card-section-label {
  }

  .case01-card-section-text {

  }

  .case01-card-section-flow {
      line-height: 1.6;
  }
}

/* ========================================
   case01セクションここまで
======================================== */




/* ========================================
   case02セクションここから
======================================== */

/* ========================================
   case02セクションここから
======================================== */

.case02 {
  background: url(../img/case02-bg.webp), #F8F6F3;
  background-size: cover;
  overflow: hidden;
}

.case02-contents {
  padding: 5em 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3em;
  margin: auto;
}

/* 上部エリア */
.case02-upper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5em;
  width: 100%;
}

/* タイトル */
.case02-ttl {
  display: inline-flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1em;
  width: auto;
}

.case02-ttl-text {
  text-align: center;
  font-size: 1.6em;
}

.case02-ttl > img {
  width: 2.5em;
  height: auto;
  flex-shrink: 0;
}

.case02-ttl-text span {
  position: relative;
  display: block;
  color: #7A5000;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.15em;
  text-align: center;
  z-index: 2;
  width: fit-content;
  margin: auto;
}

.case02-ttl-text .big {
  display: inline-flex !important;
}

/* タイトルのマーカーライン */
.case02-ttl-text span::before {
  content: "";
  position: absolute;
  bottom: 0.2em;
  right: 0;
  width: 100%;
  height: 0.4em;
  background: linear-gradient(270deg, rgba(255, 243, 169, 0.7) 0%, rgba(255, 232, 158, 0.7) 50%, #F5D274 100%);
  z-index: -1;
}

.case02-ttl-text .big::before {
  display: none;
}

/* 業種タグ */
.case02-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5em;
  max-width: 90%;
}

.case02-tag {
  padding: 0.6em 1em;
  background: #1A2A4A;
  border-radius: 50px;
  color: #fff;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 0.1em;
}

/* 業種画像 */
.case02-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5em;
}

.case02-images img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 2px 4px 0px rgba(0, 0, 0, 0.1);
}

/* 個人のお客様エリア */
.case02-point {
  position: relative;
  width: 100%;
  padding: 2em 3em;
  padding-right: 15em;
  background: url(../img/case02-point-bg.png), #fff;
  background-size: cover;
  border: 2px solid #B8924A;
  border-radius: 12px;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.06);
}

.case02-point-text {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.case02-point-title img {
  height: 100%;
  width: auto;
}

.case02-point-desc {
  color: #1A2A4A;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.15em;
}

.case02-point-img {
  position: absolute;
  right: 2em;
  bottom: 0;
  width: 40%;
  height: auto;
  max-width: 244px;
}

/* レスポンシブ（タブレット：601px〜1000px） */
@media screen and (max-width: 1000px) and (min-width: 601px) {
  .case02-contents {
    padding: 7vw 2em;
    gap: 4vw;
  }

  .case02-upper {
    gap: 3vw;
  }

  .case02-ttl {
    gap: 1.5vw;
  }

  .case02-ttl > img {
    width: 4vw;
  }

  .case02-ttl-text span {
    font-size: 2.8vw;
  }

  .case02-tags {
    gap: 0.8vw;
    max-width: 80%;
  }

  .case02-tag {
    padding: 0.8vw 1.5vw;
    font-size: 1.6vw;
  }

  .case02-images {
    gap: 2vw;
  }

  .case02-images img {
    width: 16vw;
    height: 16vw;
  }

  .case02-point {
    padding: 2.5vw 4vw;
    padding-right: 22vw;
  }

  .case02-point-title img {
    height: 4vw;
  }

  .case02-point-desc {
    font-size: 1.6vw;
  }

  .case02-point-img {
    right: 2vw;
    max-width: 20vw;
  }
}

/* レスポンシブ（スマホ：600px以下） */
@media screen and (max-width: 600px) {
  .case02-contents {
    padding: 4em 0.875em;
    gap: 3em;
  }

  .case02-upper {
    gap: 3em;
  }

  .case02-ttl {
    flex-direction: column;
    gap: 0.5em;
  }

  .case02-ttl > img {
    display: none;
  }

  .case02-ttl-text {
    font-size: 1.15em;
  }

  .case02-ttl-text span {
    line-height: 1.7;
  }

  .case02-ttl-text .big {
    font-size: 1.5em;
  }

  .case02-ttl-text02 {
    font-size: 1.2em;
  }

  .case02-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
    width: 80%;
  }

  .case02-images img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .case02-tags {
    gap: 0.4em;
    max-width: 100%;
  }

  .case02-tags p {
    font-size: 1.1em;
    color: #1A2A4A;
    font-weight: 600;
    padding-bottom: 0.5em;
  }

  .case02-tag {
    padding: 0.4em 0.8em;
    font-size: 0.92em;
  }

  .case02-point {
    padding: 1.5em;
    padding-bottom: 6em;
  }

  .case02-point-text {
    gap: 0.8em;
  }

  .case02-point-title img {
    height: auto;
    width: 96%;
  }

  .case02-point-desc {
    font-size: 1em;
    line-height: 1.8;
  }

  .case02-point-img {
        position: absolute;
        right: 0;
        bottom: 0;
        height: 9em;
        width: auto;
        margin-left: auto;
        margin-top: 1em;
  }
}

/* ========================================
   case02セクションここまで
======================================== */

/* ========================================
   priceセクションここから
======================================== */

.price {
  background: url(../img/price-bg.webp), #fff;
  background-size: cover;
  overflow: hidden;
}

.price-ttl {
  width: 100%;
  padding: 2em 0;
  background: linear-gradient(90deg, #1A2A4A 0%, rgba(34, 51, 85, 0.95) 50%, #101B31 100%);
  text-align: center;
}

.price-ttl img {
  height: 2.5em;
  width: auto;
}

.price-contents {
  padding: 5em 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3em;
  margin: auto;
}

/* 説明エリア */
.price-about {
  width: 100%;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5em;
}

.price-about-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.price-about-text01 {
  padding: 0 0.5em 1em;
  border-bottom: 1px solid #111;
  color: #111;
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
}

.price-about-text01 .text-gold {
  color: #A16D09;
}

.price-about-text02 {
  color: #111;
  font-size: 1em;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: center;
}

/* 2カラム比較 */
.price-about-2col {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 2em;
}

.price-about-box {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1em;
}

.price-about-box-ttl {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.price-about-box-ttl img {
  width: 1.5em;
  height: auto;
}

.price-about-box-ttl h3 {
  color: #1A2A4A;
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.price-about-img {
  width: 280px;
  height: 340px;
  object-fit: cover;
}

.price-about-desc {
  color: #111;
  font-size: 0.8em;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: center;
}

/* 買取対象/対象外ボックス */
.price-about-info {
  width: 100%;
  padding: 1em;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5em;
}

.price-about-info--target {
  background: rgba(184, 146, 74, 0.08);
  border: 1px solid #B8924A;
}

.price-about-info--nontarget {
  background: #F6F6F6;
  border: 1px solid #1A2A4A;
}

.price-about-info-label {
  display: inline-block;
  padding: 0.3em 0.5em;
  color: #fff;
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.price-about-info--target .price-about-info-label {
  background: #A16D09;
}

.price-about-info--nontarget .price-about-info-label {
  background: #1A2A4A;
}

.price-about-info-text {
  color: #111;
  font-size: 0.8em;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

/* 価格表 */
.price-list {
  width: 100%;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5em;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  border: 2px solid #D5D5D5;
}

.price-table thead {
  background: #1A2A4A;
}

.price-table th {
  padding: 1em;
  color: #fff;
  font-size: 0.8em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .5);
}

.price-table th,
.price-table td{
    vertical-align: middle; /* 追加：上下中央揃え */
    line-height: 1;
}

.tr-th {
  border: 2px solid #1A2A4A;
}

.price-table th:last-child {
  border-right: none;
}

.price-table tbody tr:nth-child(odd) {
  background: #fff;
}

.price-table tbody tr:nth-child(even) {
  background: #F8F6F3;
}

.price-table td {
  padding: 1em;
  color: #1A2A4A;
  font-size: 0.8em;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  border: 1px solid #D5D5D5;
}

.price-table td:first-child {
  font-weight: 700;
}

.price-table .price-cell {
color: #A8771B;
    font-size: 1em;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-family: 'Inter', sans-serif;

}

/* 注釈 */
.price-notes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5em;
}

.price-notes p {
  color: #111;
  font-size: 0.8em;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* 重要メッセージ */
.price-notice {
  width: 100%;
  padding: 1.5em 2em;
  background: #1A2A4A;
  border-radius: 10px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

.price-notice img {
  width: 2.75em;
  height: auto;
}

.price-notice-text {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}

.price-notice-main {
  color: #fff;
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.price-notice-sub {
  color: #fff;
  font-size: 0.8em;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* レスポンシブ（タブレット：601px〜1000px） */
@media screen and (max-width: 1000px) and (min-width: 601px) {
  .price-ttl {
    padding: 2.5vw 0;
  }

  .price-ttl img {
    height: 4vw;
  }

  .price-contents {
    padding: 7vw 2em;
    gap: 4vw;
  }

  .price-about {
    gap: 4vw;
  }

  .price-about-text01 {
    font-size: 2.5vw;
  }

  .price-about-text02 {
    font-size: 1.8vw;
  }

  .price-about-2col {
    gap: 3vw;
  }

  .price-about-box-ttl img {
    width: 2.5vw;
  }

  .price-about-box-ttl h3 {
    font-size: 2vw;
  }

  .price-about-img {
    width: 100%;
    height: auto;
    aspect-ratio: 280 / 340;
  }

  .price-about-desc {
    font-size: 1.5vw;
  }

  .price-about-info {
    padding: 1.5vw;
  }

  .price-about-info-label {
    font-size: 1.5vw;
  }

  .price-about-info-text {
    font-size: 1.4vw;
  }

  .price-table th {
    padding: 1.5vw;
    font-size: 1.5vw;
  }

  .price-table td {
    padding: 1.5vw;
    font-size: 1.4vw;
  }

  .price-table .price-cell {
    font-size: 1.6vw;
  }

  .price-notes p {
    font-size: 1.4vw;
  }

  .price-notice {
    padding: 2vw 3vw;
    gap: 1.5vw;
  }

  .price-notice img {
    width: 5vw;
  }

  .price-notice-main {
    font-size: 1.6vw;
  }

  .price-notice-sub {
    font-size: 1.4vw;
  }
}

/* レスポンシブ（スマホ：600px以下） */
@media screen and (max-width: 600px) {
  .price-ttl {
    padding: 1.5em 0;
  }

  .price-ttl img {
    height: 1.6em;
  }

  .price-contents {
    padding: 4em 0.875em;
    gap: 3em;
  }

  .price-about {
    max-width: 100%;
    gap: 3em;
  }

  .price-about-text {
    gap: 1em;
  }

  .price-about-text01 {
        font-size: 1.4em;
        line-height: 1.6;
  }

  .price-about-text02 {
    line-height: 1.8;
  }

  /* 2カラム→縦並び */
  .price-about-2col {
    flex-direction: column;
    gap: 2.5em;
  }

  .price-about-box {
    max-width: 100%;
    gap: 1.5em;
    font-size: 1.2em;
  }

  .price-about-box-ttl img {
    width: 1.4em;
  }

  .price-about-box-ttl h3 {
    font-size: 1.2em;
  }

  .price-about-img {
    width: 70%;
    height: auto;
    aspect-ratio: 280 / 340;
  }

  .price-about-desc {
    font-size: 0.85em;
  }

  .price-about-info {
    padding: 1em;
    gap: 0.5em;
  }

  .price-about-info-label {
font-size: 0.8em;
    padding: 0.25em 0.5em;
  }


  /* 価格表 */
  .price-list {
    max-width: 100%;
    gap: 2em;
  }

.price-table th,
.price-table td{
    padding: 0.8em 0.6em;
    font-size: 0.95em;
    line-height: 1.6;
letter-spacing: 0.08em;
  }

  .price-table td {

        text-align: left;
      
  }

  .price-table .price-cell {
  }

  .price-notes p {
    font-size: 0.9em;
  }

  /* 重要メッセージ */
  .price-notice {
    flex-direction: column;
    padding: 1.5em;
    gap: 1em;
    text-align: center;
  }

  .price-notice img {
      width: auto;
        height: 3em;
  }

  .price-notice-text {
    align-items: center;
    gap: 0.5em;
  }
    
    .price-notice-text01{
display: flex;
        gap: .5em;
        align-items: center;
        border-bottom: 1px solid #fff;
        width: 100%;
        justify-content: center;
        padding-bottom: 1em;
    }

  .price-notice-main {
    font-size: 1.1em;
    text-align: center;
    line-height: 1.4;
  }

  .price-notice-sub {
        font-size: .9em;
        line-height: 1.6;
        text-align: center;
  }
}

/* ========================================
   priceセクションここまで
======================================== */


/* ========================================
   flowセクションここから
======================================== */

.flow {
  background: url(../img/flow-bg.webp), #F8F6F3;
  background-size: cover;
  border-top: 1px solid #C4A15C;
  border-bottom: 1px solid #C4A15C;
  overflow: hidden;
}

.flow-contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4em;
  margin: auto;
}

/* ---------- タイトル ---------- */
.flow-ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
}

.flow-ttl-sub {
  display: inline-block;
  padding: 0.2em 0.5em;
  color: #fff;
  font-size: 1.3em;
  font-weight: 400;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
}

.flow-ttl-sub:before {
  position: absolute;
  transform: skew(-10deg);
  content: '';
  z-index: -1;
  background: #835C10;
  inset: 0;
}

.flow-ttl-main {
  color: #1A2A4A;
  font-size: 2.7em;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* ---------- ステップリスト ---------- */
.flow-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  width: 100%;
  padding: 0 2.5em;
}

/* 各ステップカード */
.flow-item {
  position: relative;
  display: flex;
  width: 100%;
  background: #fff;
  box-shadow: 0.1em 0.1em 0.5em rgba(0, 0, 0, 0.05);
  border-radius: 0.4em;
  overflow: visible;
}

/* 番号部分 */
.flow-item-no {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5em;
  background: #1A2A4A;
  border-radius: 0.4em 0 0 0.4em;
  min-width: 5em;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  letter-spacing: 0.1em;
}

.flow-step {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.flow-num {
  color: #fff;
  font-size: 2.4em;
  font-weight: 700;
  line-height: 1;
}

/* コンテンツ部分 */
.flow-item-body {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5em;
  gap: 1.5em;
}

.flow-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.85em;
}

.flow-item-title {
  color: #1A2A4A;
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.flow-item-line {
  width: 2em;
  height: 0.1em;
  background: #B8924A;
}

.flow-item-desc {
  color: #111;
  font-size: 0.9em;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.09em;
}

/* 画像 */
.flow-item-img {
  width: 15.4em;
  height: 10em;
  object-fit: cover;
  flex-shrink: 0;
}

/* 吹き出し（STEP01のみ） */
.flow-item-balloon {
  position: absolute;
  top: -1.5em;
  right: -2.5em;
}

.flow-item-balloon img {
  width: 8.65em;
  height: auto;
}

/* 矢印 */
.flow-arrow {
  width: 1.5em;
  height: auto;
}

/* ---------- ポイントリスト ---------- */
.flow-point-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5em;
}

.flow-point {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.9em 1em;
  background: #fff;
  box-shadow: 0 0.1em 0.4em rgba(0, 0, 0, 0.1);
  outline: 0.1em solid #244483;
  outline-offset: -0.1em;
}

.flow-point img {
  width: 1.2em;
  height: 1.2em;
}

.flow-point span {
  color: #1A2A4A;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.075em;
}

/* レスポンシブ（タブレット：601px〜1000px） */
@media screen and (max-width: 1000px) and (min-width: 601px) {
  .flow {
  }

  .flow-contents {
    gap: 5vw;
  }

  .flow-ttl {
    gap: 1.5vw;
  }

  .flow-ttl-sub {
    font-size: 2.2vw;
  }

  .flow-ttl-main {
    font-size: 4.5vw;
  }

  .flow-list {
    padding: 0 3vw;
    gap: 1.5vw;
  }

  .flow-item-no {
    padding: 2vw;
    min-width: 8vw;
  }

  .flow-step {
    font-size: 1.2vw;
  }

  .flow-num {
    font-size: 4vw;
  }

  .flow-item-body {
    padding: 2vw;
    gap: 2vw;
  }

  .flow-item-title {
    font-size: 2vw;
  }

  .flow-item-desc {
    font-size: 1.5vw;
  }

  .flow-item-img {
    width: 25vw;
    height: 16vw;
  }

  .flow-item-balloon {
    top: -2vw;
    right: -3vw;
  }

  .flow-item-balloon img {
    width: 14vw;
  }

  .flow-arrow {
    width: 2.5vw;
  }

  .flow-point-list {
    gap: 2vw;
  }

  .flow-point {
    padding: 1.2vw 1.5vw;
    gap: 0.8vw;
  }

  .flow-point img {
    width: 2vw;
    height: 2vw;
  }

  .flow-point span {
    font-size: 1.6vw;
  }
}

/* レスポンシブ（スマホ：600px以下） */
@media screen and (max-width: 600px) {
  .flow {
      background: url(../img/flow-bg-sp.webp), #F8F6F3;
      background-size: cover;
  }

  .flow-contents {
    gap: 2.5em;
  }

  .flow-ttl {
    gap: 0.8em;
  }

  .flow-ttl-sub {
    font-size: 1.1em;
  }

  .flow-ttl-main {
    font-size: 2em;
  }

  .flow-list {
    padding: 0;
    gap: 1em;
  }

  /* カード縦並び */
  .flow-item {
    flex-direction: column;
    border-radius: 0.5em;
  }

  .flow-item-no {
    justify-content: center;
    padding: 0.8em 1em;
    border-radius: 0.5em 0.5em 0 0;
    min-width: auto;
    width: 100%;
  }

  .flow-step {
    font-size: 0.8em;
  }

  .flow-num {
    font-size: 2.6em;
  }

  .flow-item-body {
    flex-direction: column;
    align-items: center;
    padding: 2em 1.3em;
    gap: 2em;
  }

  .flow-item-text {
    align-items: center;
    text-align: center;
    gap: 1.2em;
      text-align: center;
  }

  .flow-item-title {
font-size: 1.4em;
  }

  .flow-item-line {
    width: 4em;
    height: 2px;
  }

  .flow-item-desc {
    font-size: .98em;
    line-height: 1.8;
      text-align: center;
  }

  .flow-item-img {
    width: 100%;
    height: auto;
  }

  .flow-item:first-child {
    position: relative;
    overflow: visible;
  }

  .flow-item-balloon {
position: absolute;
        right: 3em;
        bottom: 9em;
        order: unset;
        top: inherit;
  }

  .flow-item-balloon img {
    width: 9em;
  }

  .flow-arrow {
    width: 1.2em;
  }

  /* ポイントリスト縦並び */
  .flow-point-list {
    flex-direction: column;
    gap: 0.8em;
    width: 100%;
  }

  .flow-point {
    width: 100%;
    justify-content: center;
    padding: 0.8em 1em;
    gap: 0.5em;
  }

  .flow-point img {
    width: 1.2em;
    height:auto;
  }

  .flow-point span {
    font-size: 0.9em;
    font-size: 1em;
  }
}

/* ========================================
   flowセクションここまで
======================================== */



/* ========================================
   faqセクションここから
======================================== */

.faq {
  background-color: #fff;
}

.faq-contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4em;
    margin: auto;
}

/* タイトル */
.faq-ttl {
  color: #1A2A4A;
  font-size: 2.7em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
}

/* アコーディオン */
.accordion {
  width: 100%;
  max-width: 45em;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

.accordion-hidden {
  display: none;
}

/* 各FAQボックス */
.faq-box {
  background-color: #fff;
  box-shadow: 0 0.1em 0.4em rgba(0, 0, 0, 0.08);
}

/* 質問部分（Q） */
.q-btn-parent {
  display: flex;
  align-items: center;
  padding: 1em 1.25em;
  background-color: #1A2A4A;
  gap: 0.7em;
  cursor: pointer;
}

.q-btn {
  position: relative;
  width: 2em;
  height: 2em;
  flex-shrink: 0;
}

.q-btn-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background-color: #fff;
}

.q {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1A2A4A;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1;
}

.q-text {
  flex: 1;
  color: #fff;
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

/* 回答部分（A） */
.a-btn-parent {
  display: flex;
  align-items: flex-start;
  padding: 1.5em 1.25em;
  background-color: #F4F4F4;
  border: 1px solid #1A2A4A;
  border-top: none;
  gap: 0.7em;
}

.a-btn {
  position: relative;
  width: 2em;
  height: 2em;
  flex-shrink: 0;
}

.a-btn-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background-color:#1A2A4A;
}

.a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.1em;
  font-weight: 700;
  line-height: 1;
}

.a-text p {
  color: #1D3E5F;
  font-size: 1em;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

/* アコーディオン開閉 */
.accordion-open {
  display: block;
  cursor: pointer;
  position: relative;
}

/* ＋／−アイコン */
.accordion-open::before,
.accordion-open::after {
  content: '';
  width: 1em;
  height: 0.1em;
  background: #fff;
  position: absolute;
  top: 50%;
  right: 1.25em;
  transform: translateY(-50%);
}

.accordion-open::after {
  transform: translateY(-50%) rotate(90deg);
  transition: 0.3s;
}

.accordion-hidden:checked + .accordion-open::after {
  transform: translateY(-50%) rotate(0);
}

/* 回答を非表示 → 表示 */
.accordion-inner {
  display: block;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.3s;
  cursor: pointer;
}

.accordion-hidden:checked + .accordion-open + .accordion-inner {
  height: auto;
  opacity: 1;
}

@media screen and (max-width: 1000px) and (min-width: 601px) {
    
}

@media screen and (max-width: 600px) {
    .faq-ttl {
    font-size: 2em;
    }
    .q-text,
    .a-text{
     font-size: 0.94em !important;
    }
    .q-btn-parent{
    padding: .8em 1.6em .8em .8em;
}
    .a-btn-parent{
    padding: 1.2em .8em;
}
    .accordion-open::before,
.accordion-open::after {
  right: .8em;
    }
    .faq-contents {

        gap: 3em;
    }
}

/* ========================================
   faqセクションここまで
======================================== */

/* ========================================
   cta-finalセクションここから
======================================== */
.cta-final .cta-box {
  display: flex;
  flex-direction: column;
}

.cta-final .cta-final-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  margin: 0 0 0.5em;
  position: relative;
}

.cta-final .cta-final-text01 {
  position: relative;
  z-index: 1;
}

.cta-final .cta-final-text01 span {
  position: relative;
  font-size: 1em;
  font-weight: 700;
  display: inline;
}

.cta-final .cta-final-text01 span::before {
  content: "";
  position: absolute;
  bottom: -0.3em;
  left: 0;
  width: 100%;
  height: 0.5em;
  background: linear-gradient(270deg, rgba(255, 243, 169, 0.7) 0%, rgba(255, 232, 158, 0.7) 50%, #F5D274 100%);
  z-index: -1;
}

.cta-final .cta-final-text02 {
  font-size: 0.9em;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-top: 0.5em;
}


/* レスポンシブ（タブレット：601px〜1000px） */
@media screen and (min-width: 601px) and (max-width: 1000px) {
  .cta-final .cta-final-text {
    gap: 0.5vw;
    margin-bottom: 1.5vw;
  }

  .cta-final .cta-final-text01 {
    font-size: 2.2vw;
  }

  .cta-final .cta-final-text02 {
    font-size: 1.6vw;
  }
}

/* レスポンシブ（スマホ：600px以下） */
@media screen and (max-width: 600px) {
  /* cta-boxをflexにして順序変更 */
  .cta-final .cta-box {
    display: flex;
    flex-direction: column;
  }

  /* cta-box-textを最後に配置 */
  .cta-final .cta-box-text {
    order: 1;
    margin-top: .5em;
  }

  /* ボタンを2番目に */
  .cta-final .cta-btn-box {
    order: 2;
  }

  /* cta-final-textを1番目に */
  .cta-final .cta-final-text {
      order: 3;
        gap: 1em;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-end;
  }

  .cta-final .cta-final-text01 {
    font-size: 0.95em;
    text-align: left;
    line-height: 2;
    width: 100%;
  }

  .cta-final .cta-final-text02 {
    font-size: 0.85em;
    text-align: left;
    line-height: 1.8;
    flex: 1;
    margin-top: 0;
  }

  /* アイコン表示 */
  .cta-final .cta-closing-icon {
    width: 5em;
    height: auto;
    flex-shrink: 0;
  }
}
/* ========================================
   cta-finalセクションここまで
======================================== */



/* ========================================
   companyセクションここから
======================================== */

.company {
  background: 
    url(../img/company-bg-left.png) left top no-repeat,
    url(../img/company-bg-right.png) right bottom no-repeat,
    #fff;
  background-size: 30em auto, 30em auto, cover;
  overflow: hidden;
}

.company-contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
}

/* タイトル */
.company-ttl {
  color: #1A2A4A;
  font-size: 2.7em;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
}

/* 会社情報テーブル */
.company-info {
  width: 100%!important;
  display: flex;
  flex-direction: column;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}

.company-row {
  display: flex;
  border: 1px solid #D5D5D5;
  border-bottom: none;
}

.company-row:last-child {
  border-bottom: 1px solid #D5D5D5;
}

.company-label {
  width: 12em;
  padding: 1em;
  background: #F8F6F3;
  color: #1A2A4A;
  font-size: 0.9em;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.company-value {
  flex: 1;
  padding: 1em;
  background: #fff;
  color: #111;
  font-size: 0.9em;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.8;
  display: flex;
  align-items: center;
}

/* Google Map */
.company-map {
  width: 100%;
  height: 15em;
  border-radius: 0.2em;
  overflow: hidden;
}

.company-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* レスポンシブ（タブレット：601px〜1000px） */
@media screen and (max-width: 1000px) and (min-width: 601px) {
  .company {
    background-size: 35vw auto, 35vw auto, cover;
  }

  .company-contents {
    padding: 7vw 2em;
    gap: 4vw;
  }

  .company-ttl {
    font-size: 4.5vw;
  }

  .company-info {

  }

  .company-label {
    width: 15vw;
    padding: 1.5vw;
    font-size: 1.5vw;
  }

  .company-value {
    padding: 1.5vw;
    font-size: 1.5vw;
  }

  .company-map {
    max-width: 100%;
    height: 25vw;
  }
}

/* レスポンシブ（スマホ：600px以下） */
@media screen and (max-width: 600px) {
  .company {
background-size: 80vw auto, 70vw auto, cover;
        background-position: left -3em top, right bottom;
  }

  .company-contents {

  }

  .company-ttl {
    font-size: 2em;
  }

  .company-info {

  }

  /* 縦並びに変更 */
  .company-row {
    flex-direction: column;
    border-bottom: none;
  }

  .company-row:last-child {
    border-bottom: 1px solid #D5D5D5;
  }

  .company-label {
    width: 100%;
    padding: 0.8em 1em;
    font-size: 0.94em;
    justify-content: flex-start;
    text-align: left;
    border-bottom: none;
  }

  .company-value {
    padding: 0.8em 1em;
    font-size: 0.85em;
    border-top: 1px dashed #D5D5D5;
  }

  .company-map {
    max-width: 100%;
    height: 22em;
  }
}

/* ========================================
   companyセクションここまで
======================================== */


/* ========================================
   contactformセクションここから
   ======================================== */

.contactform {
  background: url(../img/case01-bg.webp), #FBFBFB;
  background-size: cover;
}

.contactform-ttl {
  width: 100%;
  padding: 2em 0;
  background: linear-gradient(90deg, #1A2A4A 0%, rgba(34, 51, 85, 0.95) 50%, #101B31 100%);
  text-align: center;
}

.contactform-ttl h2 {
  color: #fff;
  font-size: 2.5em;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contactform-contents {
  padding: 4em 0;
  display: flex;
  justify-content: center;
}

.contactform-form {
  width: 100%;
  max-width: 50em;
  padding: 3em 5em;
  background: #fff;
  border: 1px solid #B8924A;
  border-radius: 0.4em;
  box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4em;
}

.contactform-intro {
  color: #111;
  font-size: 0.9em;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.8;
  text-align: center;
}

/* ハニーポット（非表示） */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* フォームリスト */
.contactform-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.contactform-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5em;
}

.contactform-label {
  width: 15em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  flex-shrink: 0;
  padding-top: 0.7em;
}

.contactform-label span:first-child {
  color: #1A2A4A;
  font-size: 0.9em;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.required {
  padding: 0.1em 0.5em;
  background: #1A2A4A;
  border-radius: 2.5em;
  color: #fff;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.contactform-input {
  flex: 1;
}

.contactform-input input[type="text"],
.contactform-input input[type="email"],
.contactform-input input[type="tel"],
.contactform-input textarea {
  width: 100%;
  padding: 0.7em 1em;
  background: #F5F5F5;
  border: 1px solid #DDD;
  border-radius: 0.2em;
  font-size: 0.9em;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contactform-input input:focus,
.contactform-input textarea:focus {
  outline: none;
  border-color: #B8924A;
  box-shadow: 0 0 0 0.15em rgba(184, 146, 74, 0.2);
}

.contactform-input textarea {
  resize: vertical;
  min-height: 8em;
}

/* カスタムファイルアップロード */
.file-upload-custom {
  display: flex;
  align-items: center;
  gap: 1em;
}

.file-select-btn {
  display: inline-block;
  padding: 0.6em 1.5em;
  background: #1A2A4A;
  color: #fff;
  border: none;
  border-radius: 0.3em;
  font-size: 0.85em;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.file-select-btn:hover {
  background: #2A3A5A;
}

.file-selected-text {
  font-size: 0.85em;
  color: #666;
  word-break: break-all;
}

.file-upload-note {
  font-size: 0.75em;
  color: #888;
  margin-top: 0.5em;
}

/* 任意ラベル */
.optional {
  display: inline-block;
  padding: 0.1em 0.5em;
  background: #999;
  color: #fff;
  font-size: 0.7em;
  border-radius: 0.2em;
  margin-left: 0.5em;
  vertical-align: middle;
}

/* チェックボックス */
.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5em;
  cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 1.2em;
  height: 1.2em;
  accent-color: #1A2A4A;
  border: 2px solid #1A2A4A;
  border-radius: 0.2em;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fff;
  position: relative;
}

/* チェック時のスタイル */
.checkbox-wrapper input[type="checkbox"]:checked {
  background: #1A2A4A;
}

/* チェックマーク */
.checkbox-wrapper input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.3em;
  height: 0.6em;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

.privacy-note {
  margin: 2em 0;
  color: #111;
  font-size: 0.8em;
  line-height: 1.8;
}

.privacy-note a {
  color: #1A2A4A;
  text-decoration: underline;
}

/* 送信ボタン */
.contactform-btn {
  width: 100%;
  max-width: 20em;
  padding: 1em 2em;
  background: #B8924A;
  border: none;
  border-radius: 2.5em;
  box-shadow: 0 0.2em 0.2em rgba(0, 0, 0, 0.1);
  color: #fff;
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  text-align: center;
  display: block;
  margin: 0 auto;
}

.contactform-btn:hover {
  background: #A16D09;
  transform: translateY(-0.1em);
}

.contactform-btn:disabled {
  background: #CCC;
  cursor: not-allowed;
  transform: none;
}

.contactform-note {
  color: #111;
  font-size: 0.8em;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-align: center;
}

/* 送信中オーバーレイ */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1em;
  z-index: 9999;
}

.loading-overlay.active {
  display: flex;
}

.loading-spinner {
  width: 3em;
  height: 3em;
  border: 0.3em solid #fff;
  border-top-color: #B8924A;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-overlay p {
  color: #fff;
  font-size: 1em;
}

/* サンクスページ */
.thanks {
  padding: 5em 0;
  background: #F8F6F3;
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.thanks-box {
  padding: 3em;
  background: #fff;
  border-radius: 0.5em;
  box-shadow: 0 0.2em 1em rgba(0, 0, 0, 0.08);
  text-align: center;
  max-width: 35em;
}

.thanks-icon {
  font-size: 4em;
  color: #4CAF50;
  margin-bottom: 0.3em;
}

.thanks-ttl {
  color: #1A2A4A;
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 0.8em;
}

.thanks-text {
  color: #333;
  font-size: 1em;
  line-height: 1.8;
  margin-bottom: 1em;
}

.thanks-note {
  color: #666;
  font-size: 0.85em;
  line-height: 1.8;
  margin-bottom: 2em;
}

.thanks-btn {
  display: inline-block;
  padding: 1em 2em;
  background: #1A2A4A;
  border-radius: 2.5em;
  color: #fff;
  font-size: 1em;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s;
}

.thanks-btn:hover {
  background: #2A3A5A;
}

/* エラー表示 */
.contactform-errors {
  width: 100%;
  padding: 1em;
  background: #FFF0F0;
  border: 1px solid #BE1600;
  border-radius: 0.2em;
  margin-bottom: 1em;
}

.contactform-errors p {
  color: #BE1600;
  font-size: 0.9em;
  margin: 0.3em 0;
}

/* 成功ポップアップ（※実際の表示はインラインstyleで制御） */
.success-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.success-popup.active {
  display: flex;
}

.success-popup-inner {
  position: relative;
  width: 90%;
  max-width: 25em;
  padding: 2.5em 2em;
  background: #fff;
  border-radius: 0.5em;
  text-align: center;
}

.success-popup-close {
  position: absolute;
  top: 0.5em;
  right: 0.5em;
  width: 2em;
  height: 2em;
  background: none;
  border: none;
  font-size: 1.5em;
  color: #999;
  cursor: pointer;
}

.success-popup-icon {
  font-size: 4em;
  color: #4CAF50;
  margin-bottom: 0.3em;
}

.success-popup-ttl {
  color: #1A2A4A;
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 0.5em;
}

.success-popup-text,
.success-popup-note {
  color: #333;
  font-size: 0.9em;
  line-height: 1.8;
  margin-top: 1em;
  text-align: center;
}

.success-popup-btn {
  padding: 0.8em 2em;
  background: #1A2A4A;
  border: none;
  border-radius: 2em;
  color: #fff;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  margin-top: 1.5em;
}

.success-popup-btn:hover {
  background: #2A3A5A;
}

/* ========================================
   レスポンシブ（タブレット：601px〜1000px）
   ======================================== */
@media screen and (max-width: 1000px) and (min-width: 601px) {
  .contactform-ttl {
    padding: 2.5vw 0;
  }

  .contactform-ttl h2 {
    font-size: 4vw;
  }

  .contactform-contents {
    padding: 5vw 2em;
  }

  .contactform-form {
    max-width: 100%;
    padding: 4vw 5vw;
    gap: 3vw;
  }

  .contactform-intro {
    font-size: 1.6vw;
  }

  .contactform-list {
    gap: 1.5vw;
  }

  .contactform-label {
    width: 18vw;
    padding-top: 1vw;
  }

  .contactform-label span:first-child {
    font-size: 1.5vw;
  }

  .required {
    font-size: 1.2vw;
    padding: 0.2vw 0.8vw;
  }

  .contactform-input input[type="text"],
  .contactform-input input[type="email"],
  .contactform-input input[type="tel"],
  .contactform-input textarea {
    padding: 1vw 1.5vw;
    font-size: 1.5vw;
  }

  /* カスタムファイルアップロード */
  .file-select-btn {
    font-size: 1.4vw;
    padding: 0.8vw 2vw;
  }

  .file-selected-text {
    font-size: 1.4vw;
  }

  .file-upload-note {
    font-size: 1.2vw;
  }

  .privacy-note {
    font-size: 1.3vw;
  }

  .contactform-btn {
    padding: 1.5vw 3vw;
    font-size: 2vw;
  }

  .contactform-note {
    font-size: 1.3vw;
  }
}

/* ========================================
   レスポンシブ（スマホ：600px以下）
   ======================================== */
@media screen and (max-width: 600px) {
  .contactform {
    background: url(../img/case01-bg-sp.webp), #FBFBFB;
    background-size: cover;
  }

  .contactform-ttl {
    padding: 1.6em 0;
  }

  .contactform-ttl img {
    height: 1.6em;
    width: auto;
  }

  .contactform-contents {
    padding: 1.5em 0.875em;
  }

  .contactform-form {
    padding: 1.5em 1em;
    gap: 1.5em;
  }

  .contactform-intro {
    font-size: 0.95em;
    text-align: left;
  }

  .contactform-list {
    gap: 1.2em;
  }

  /* 縦並びに変更 */
  .contactform-row {
    flex-direction: column;
    gap: 1em;
  }

  .contactform-label {
    width: 100%;
    padding-top: 0;
    gap: 0.4em;
  }

  .contactform-label span:first-child {
    font-size: 1em;
  }

  .required {
    font-size: 0.85em;
    padding: 0.3em 0.7em;
    line-height: 1;
  }

  .contactform-input {
    width: 100%;
  }

  .contactform-input input[type="text"],
  .contactform-input input[type="email"],
  .contactform-input input[type="tel"],
  .contactform-input textarea {
    padding: 0.8em 1em;
    font-size: 1em;
  }

  .contactform-input textarea {
    min-height: 6em;
  }

  /* カスタムファイルアップロード */
  .file-upload-custom {
    flex-wrap: wrap;
  }

  .file-select-btn {
    font-size: 0.85em;
    padding: 0.6em 1.2em;
  }

  .file-selected-text {
    font-size: 0.8em;
  }

  .file-upload-note {
    font-size: 0.7em;
  }

  .privacy-note {
    font-size: 0.9em;
    line-height: 1.7;
  }

  .contactform-btn {
    max-width: 100%;
    padding: 1em 2em;
    font-size: 1.1em;
  }

  .contactform-note {
    font-size: 0.9em;
    text-align: left;
  }

  /* サンクスページ */
  .thanks {
    padding: 3em 0.875em;
  }

  .thanks-box {
    padding: 2em 1.5em;
  }

  .thanks-icon {
    font-size: 3em;
  }

  .thanks-ttl {
    font-size: 1.5em;
  }

  .thanks-text {
    font-size: 0.9em;
  }

  .thanks-note {
    font-size: 0.8em;
  }

  /* ポップアップ */
  .success-popup-inner {
    padding: 2em 1.5em;
  }

  .success-popup-icon {
    font-size: 3em;
  }

  .success-popup-ttl {
    font-size: 1.3em;
  }

  .success-popup-text {
    font-size: 0.9em;
  }
}

/* ========================================
   contactformセクションここまで
   ======================================== */

/* ========================================
   footerセクションここから
======================================== */
.footer {
  background: #fff;
}

.footer-contents {
  padding: 2.5em 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5em;
}

.footer-logo {
  height: 4em;
  width: auto;
}

.footer-copyright {
  width: 100%;
  padding: 1em 0;
  background: #1A2A4A;
  color: #fff;
  font-size: 0.8em;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-align: center;
}

/* レスポンシブ（タブレット：601px〜1000px） */
@media screen and (min-width: 601px) and (max-width: 1000px) {
  .footer-contents {
    padding: 3vw 0 0;
    gap: 2vw;
  }

  .footer-logo {
    height: 6vw;
  }

  .footer-copyright {
    padding: 1.5vw 0;
    font-size: 1.4vw;
  }
}

/* レスポンシブ（スマホ：600px以下） */
@media screen and (max-width: 600px) {
  .footer-contents {
    padding: 1.5em 0 0;
    gap: 1em;
  }

  .footer-logo {
    height: 3em;
  }

  .footer-copyright {
    padding: 0.8em 0;
    font-size: 0.75em;
    padding-bottom: 7em;
  }
}
/* ========================================
   footerセクションここまで
======================================== */

/* reCAPTCHA バッジ非表示 */
.grecaptcha-badge {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* ========================================
   フェードインアニメーション
======================================== */

/* 初期状態（非表示） */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示状態 */
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 左からフェードイン */
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* 右からフェードイン */
.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* 拡大フェードイン */
.fade-in-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* 遅延（順番に表示） */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ========================================
   CTAボタンアニメーション
======================================== */

/* LINEボタン：パルスアニメーション */
.btn-line {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 189, 77, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 189, 77, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 189, 77, 0);
  }
}

/* おすすめバッジ：揺れるアニメーション */
/*.icon-osusume {
  animation: shake 2.5s ease-in-out infinite;
}
 */

@keyframes shake {
  0%, 100% { transform: rotate(15deg); }
  25% { transform: rotate(20deg); }
  75% { transform: rotate(10deg); }
}

/* ボタンホバー時：浮き上がり */
/*.btn-line:hover,
.btn-mail:hover,
.btn-tel:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}*/

/* CTAタイトル：キラキラ効果 */
.cta-ttl {
  position: relative;
  overflow: hidden;
}

.cta-ttl::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shine 2s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  40%, 100% { left: 100%; }
}

/* ========================================
   ファーストビューアニメーション
======================================== */

/* メインタイトル：フェードイン + スライド */
.hero__title {
  animation: slideUp 1s ease-out forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ラベル：左からスライド */
.hero__label {
  animation: slideInLeft 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* サブタイトル */
.hero__subtitle {
  animation: fadeIn 1s ease-out 0.5s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* バッジ：順番にポップイン */
.badge:nth-child(1) { animation: popIn 0.5s ease-out 0.7s forwards; opacity: 0; }
.badge:nth-child(2) { animation: popIn 0.5s ease-out 0.9s forwards; opacity: 0; }
.badge:nth-child(3) { animation: popIn 0.5s ease-out 1.1s forwards; opacity: 0; }

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ========================================
   スマホ用固定ボタン（LINE・TOPへ戻る）
======================================== */
.sp-fixed-btns {
  display: none;
}

/* レスポンシブ（スマホ：600px以下） */
@media screen and (max-width: 600px) {
  .sp-fixed-btns {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0.5em 1em;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  }

  .sp-fixed-btns.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .sp-fixed-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    flex: 1;
    padding: 0.8em 1em;
    background: linear-gradient(180deg, #00BD4D 0%, #009B3F 100%);
    color: #fff;
    font-size: 0.9em;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    margin-right: 0.5em;
  }

  .sp-fixed-line img {
    width: 1.5em;
    height: auto;
  }

  .sp-fixed-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3em;
    padding: 0.8em 1.5em;
    background: #1A2A4A;
    color: #fff;
    font-size: 0.75em;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }

  .sp-fixed-top-arrow {
    display: block;
    width: 0.6em;
    height: 0.6em;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(-45deg);
    margin-bottom: -0.1em;
  }
}
