/*全体設定-------------------------------*/

html {
  scroll-behavior: smooth;
}

body {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  color: #1b1b1e;
  font-size: 15px;
  line-height: 2em;
  font-weight: 500;
  margin-top: 85px;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a:link {
  color: #fff;
}

/*
a:visited {
  color: #4da8a5;
}


a:hover {
  color: #4da8a5;
  text-decoration: none;
}
*/
a:active {
  color: #4da8a5;
}

#container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#nav li a,
#g-nav-list li a {
  color: #4da8a5;
  /* 通常時の文字色 */
  text-decoration: none;
  /* 下線なし */
  font-size: 1rem;
  transition: color 0.3s;
  /* ホバー時に色が変わるアニメーション */
}

#nav li a:hover,
#g-nav-list li a:hover {
  color: #f76c5e;
  /* ホバー時の色 */
  text-decoration: underline;
  /* ホバー時に下線 */
}

.no-underline {
  text-decoration: none;
  /* 下線を消す */
}

/*メニュー------------------------*/
#nav {
  display: block;
  margin: 10px 100px 20px auto;
}


#nav ul {
  display: flex;
  list-style-type: none;
}

#nav li a {
  display: block;
  text-decoration: none;
  padding: 0.5rem 1rem;
  color: #4da8a5;
}

#g-nav-list ul {
  display: block;
  list-style-type: none;
  text-decoration: none;
  padding: 2rem 1rem;
  font-size: 120%;
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  /* 画面の下から20px */
  right: 20px;
  /* 画面の右から20px */
  padding: 10px 15px;
  z-index: 1000;
  /* 他の要素より前に出すため */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  color: inherit;
  background-color: transparent;
}

@media screen and (max-width: 920px) {
  #nav {
    display: none;
  }
}

/*ヘッダー-------------------------*/
header {
  position: absolute;
  z-index: 999;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 80px;
  display: flex;
  background: #fff;

}

#top_logo {
  display: block;
  width: 200px;
  margin: 25px;
}

/*メインビジュアル-------------------------*/
.main-visual {
  background: linear-gradient(to bottom, #e5f7fb 0%, #b5dffc 100%);
  width: 100%;
  background-color: #eef6fb;
  position: relative;
  overflow: hidden;

  /* PCでは大きめでもOK */
  margin-bottom: 0;
  /* あるいは小さめの数値に */
  padding-bottom: 0;
}

.main-visual-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  width: 100%;

}

.main-content01,
.main-content02,
.main-content03 {
  box-sizing: border-box;
  z-index: 5;
  align-self: start;
  justify-self: start;
}


.main-content01 {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-left: 30%;
  grid-column: 1;
  grid-row: 1;
  margin-top: 10%;
}

.main-content02 {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  grid-column: 1;
  grid-row: 2;
  /* ボタンを左下へ */
  margin: -10% 0 0 15%;
}

.main-content03 {
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 5;
  grid-column: 2;
  grid-row: 1 / span 2;
  /* イラストを2行分に */
}

.main-visual h2 {
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-weight: bold;
  text-align: center;
  margin-right: 30%;
}

.main-visual h2 span {
  background: linear-gradient(to top, #f3c87f 40%, transparent 40%);
}


.headline {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  /* 画面サイズに応じて調整 */
  font-weight: bold;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.headline img {
  height: auto;
  width: clamp(40px, 8vw, 150px);
  /* 画面幅に応じて可変 */
  flex-shrink: 0;
}

.headline p {
  margin-top: 10px;
  line-height: 0.8;
  font-size: clamp(1rem, 2vw, 5rem);
}

.headline strong {
  display: block;
  font-size: clamp(1.5rem, 5vw, 7rem);
  /* 太字部分は大きめに */
  margin-top: 0.2em;
}

.cta-container {
  text-align: center;
  width: 100%;
}

.cta-container p {
  font-size: 150%;
  font-weight: bold;
  text-align: center;
  margin-bottom: 3px;
}

.cta-button {
  display: inline-block;
  background: #ff6b6b;
  color: white;
  padding: 3% 10%;
  border: 4px solid #000;
  font-weight: bold;
  font-size: 200%;
  text-decoration: none;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.cta-button:hover {
  background: #13c3ac;
  transform: scale(1.1, 1.1);
}

.cta-button:active {
  color: #fff;
}

.visual-elements {
  position: relative;
  width: 130%;
  aspect-ratio: 5 / 3;
  /* 必要に応じて調整（例: 横長なら 3:2） */
  max-width: 100%;
  overflow: visible;
  /* はみ出しも表示 */
}

.yomigana {
  display: flex;
  align-items: center;
  margin-left: 20%;
  margin-bottom: 20px;
  font-size: 25px;
}

.pc-image {
  position: absolute;
}

/* PC画像の配置 */
.pc-image {
  top: 7%;
  right: 20%;
  width: 80%;
  z-index: 1;
}

.clouds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 0;
  /* 背面に配置 */
  pointer-events: none;
  /* 雲をクリックできないように */
}

.cloud {
  position: absolute;
  width: 100%;
  margin-top: 20vh;
  /* 必要に応じて調整 */
}

/* PCサイズで表示 */
.cloud-desktop {
  display: block;

}

/* スマホサイズではPC画像を隠し、スマホ用画像を表示 */
.cloud-mobile {
  display: none;
}

/* スマホ */
@media screen and (max-width: 1150px) {
  .main-content03 {
    margin: 15% 0 0 0;
  }

  .yomigana {
    display: flex;
    align-items: center;
    margin-left: 10%;
    margin-bottom: 20px;
    font-size: 25px;
  }
}

@media screen and (max-width: 880px) {
  .main-content03 {
    margin: 20% 0 0 0;
  }
}

@media screen and (max-width: 768px) {
  .main-visual {
    position: relative;
    overflow: hidden;
    max-height: 100vh;
    padding-bottom: 30px;
  }

  .main-visual-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .main-content01 {
    width: 100%;
    text-align: center;
    padding: 20px;
    margin-left: 0%;
  }

  .main-content01 h2 {
    font-size: 1.8rem;
    margin: 0 0 10px;
  }

  .headline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
    text-align: left;
    margin-top: 12px;
  }

  .headline img {
    width: 120px;
    /* アイコンを大きめに */
    height: auto;
    flex-shrink: 0;
  }

  .headline p {
    font-size: 1.5rem;
    line-height: 1;
    margin: 0;
  }

  .headline strong {
    display: block;
    font-size: 4rem;
    font-weight: bold;
    margin-top: 4px;

  }

  .main-content02 {
    margin: -60px 0 0 0;
    padding: 10px 0;
    height: auto;
  }

  .cta-container p {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
  }

  .cta-button {
    width: 70%;
    max-width: 300px;
    text-align: center;
    font-size: 20px;
    /* ← フォントを少し大きく */
    padding: 18px 0;
    /* ← 高さを強調 */
    margin-top: 12px;
    border-width: 3px;
    /* ← ボーダーも太めにしたければ調整可能 */
  }

  .main-content03 {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 20px;
    position: relative;
    margin-bottom: 0 !important;
  }

  .visual-elements {
    position: relative;
    width: 75%;
    aspect-ratio: auto;
  }

  .pc-image {
    position: relative;
    width: 75%;
    margin-left: 25%;
    margin-top: 0px;
    z-index: 1;
  }

  .clouds {
    top: 10%;
    /* 少し上に寄せる */
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
    /* 背面に配置 */
  }

  .cloud-desktop {
    display: none;
    /* PC画像を非表示 */
  }

  .cloud-mobile {
    display: block;
    /* スマホ画像を表示 */
    margin-top: 40vh;
  }

}

/* スマホ */
@media screen and (max-width: 600px) {
  .pc-image {
    position: relative;
    width: 90%;
    margin-left: 15%;
    margin-top: 0px;
    z-index: 1;
  }

}


/* *メインビジュアルend */

/* おこまり吹き出し箇所 */
.bubble-section {
  background-color: #4da8a5;
  margin: 40px 0;
  padding: 60px 20px 200px;
  width: 100vw;
  position: relative;
  color: #ffffff;
  font-size: 1.1rem;
  text-align: center;
  overflow: visible;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 55% 85%, 50% 100%, 45% 85%, 0 85%);
  margin-top: 0;
}

.bubble-section>p {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 40px;
}

/* 画像表示（共通） */
.bubble-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.bubble-images img {
  width: 32%;
  max-width: 220px;
  height: auto;
  border-radius: 10px;
  box-shadow: none;
  margin-bottom: 16px;
}

@media screen and (max-width: 768px) {
  .bubble-section {
    margin-top: 0px;
    padding-top: 20px;
    padding: 80px 20px 200px;
    /* 上下のpaddingをスマホ時に増加 */
    font-size: 1.2rem;
    /* 必要なら文字サイズも少し大きく */
    min-height: 650px;
  }

  .bubble-section>p {
    font-size: 2.0rem;
    margin-top: 0;
    margin-bottom: 50px;
    padding-top: 0;
  }

  .bubble-images {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0;
    margin: 0 auto;
  }

  .bubble-images img {
    width: 90%;
    max-width: 280px;
    height: auto;
    border-radius: 10px;
    position: relative;
    margin-bottom: -15%;
    /* 高さの間隔を狭くする */
  }

  /* 画像を交互に左右にずらす */
  .bubble-images img:nth-child(odd) {
    left: -25%;
  }

  .bubble-images img:nth-child(even) {
    left: 25%;
  }
}



@media screen and (max-width: 689px) and (min-width: 571px) {
  .bubble-section {
    height: 60vh;
    /* 少し高くしてスペースを確保 */
  }

  .speech-bubble-image {
    bottom: 80px;
    /* 吹き出しを少し上に調整 */
    height: auto;
    max-height: 250px;
    /* 吹き出しの最大高さを設定 */
  }

  .bubble-images img {
    max-height: 180px;
    /* 鳥の画像が埋もれないように調整 */
    object-fit: contain;
  }
}

/* おこまり吹き出し箇所end */

/* 機能紹介 */
.explanation-text {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

.explanation-detail-wide {
  max-width: 100%;
  width: 100%;
  text-align: left;
  margin-left: 13%;
  /* 既存と揃えるなら */
  margin-right: 3%;
}

.explanation-text.wide-detail-text {
  flex: 1 1 100%;
  max-width: 100%;
  margin-left: 13%;
  margin-right: 3%;
  text-align: left;
}

.explanation-text-detail.wide-detail {
  width: 150%;
  /* 親要素の150% */
  max-width: none;
  /* max-widthを無効化して100%を超える */
  overflow: hidden;
  /* はみ出しを隠す */
}

.explanation-image {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
  margin-right: 3%;
  overflow-x: auto;
}

.explanation-image img {
  height: auto;
  border-radius: 8px;
  display: block;
}

.explanation-subtitle {
  display: block;
  width: 100%;
  background-color: #4da8a5;
  color: #ffffff;
  padding: 12px 20px;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 6px;
  margin-bottom: 16px;
  margin-right: auto;
}

.explanation-text-detail {
  font-size: 16px;
  line-height: 1.3;
  margin-bottom: 16px;
  text-align: left;
}

.docoitter-fee-title {
  text-align: center;
  /* テキストを中央寄せ */
  text-decoration: underline;
  /* 下線を引く */
  font-weight: bold;
  text-decoration-color: #4da8a5;
  text-decoration-thickness: 3px;
  /* 下線を太く */
  text-underline-offset: 4px;
  /* 下線と文字の間隔 */
}


/* 機能紹介end */

/* こんな企業に */
.recommend-section {
  max-width: 1400px;
  /* ← さらに広げる */
  margin: 0 auto;
  padding: 40px 20px;
  margin-top: -70px;
}

.recommend-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.recommend-item {
  flex: 1 1 calc(33.333% - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.recommend-item img {
  width: 100%;
  max-width: 360px;
  /* 画像サイズを広めに */
  height: auto;
}

.syousai-image {
  flex: 1 1 calc(33.333% - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.syousai-image img {
  width: 100%;
  /* 画像サイズを広めに */
  height: auto;
}

.sub-rec {
  display: flex;
  flex-direction: row;

}

.syousai-image2 {
  flex: 1 1 calc(33.333% - 40px);
  display: flex;
  margin-top: 20px;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.syousai-image2 img {
  width: 85%;
  /* 画像サイズを広めに */
  height: auto;
}

.recommend-caption {
  display: flex;
  align-items: center;
  /* 縦位置を中央揃え */
  gap: 8px;
  /* アイコンとテキストの隙間 */
  justify-content: flex-start;
  margin-top: 8px;
  /* 上の画像との隙間 */
}

.recommend-caption p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

.check-icon {
  width: 16px !important;
  height: 16px !important;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.recommend-sub-title {
  text-align: center;
  font-weight: bold;
  font-size: 2rem;
  color: #4da8a5;
  margin-top: 40px;
  margin-bottom: 20px;
}

.recommend-usage-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.recommend-usage-row img {
  width: 28%;
  /* 上段よりやや小さく */
  max-width: 220px;
  /* 最大サイズ制限 */
  height: auto;
}

@media screen and (max-width: 768px) and (min-width: 689px) {
  .bubble-section {
    height: 55vh;
  }
}

@media screen and (max-width: 768px) {
  .recommend-row {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .recommend-item {
    width: 80%;
    max-width: 320px;
  }

  .recommend-caption {
    display: flex;
    align-items: flex-start;
    /* 上揃え */
    gap: 8px;
  }

  .recommend-caption .check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 4px;
    /* 必要なら微調整 */
  }

  .recommend-caption p {
    text-align: left;
    margin: 0;
  }

  .recommend-usage-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    /* 縦の間隔 */
  }

  .recommend-usage-row img {
    width: 80%;
    max-width: 300px;
    height: auto;
  }

  .sub-rec {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
}

/* こんな企業にend */

/* 金額 */
.price-table {
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  border-collapse: collapse;
  font-size: 1rem;
  text-align: center;
  table-layout: fixed;
  border-radius: 2px;
  overflow: hidden;
}

.price-table th,
.price-table td {
  border: 1px solid #e0e0e0;
  padding: 20px 16px;
}

.price-table thead th {
  background-color: #f76c5e;
  color: #ffffff;
  font-size: 1.1rem;
  padding: 18px;
}

.price-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-cell .label {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}

.price-cell .amount {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

/* 画面中央各種ボタン */
* {
  box-sizing: border-box;
}

.dtn-mid-field {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
  width: 100%;
}

.button-row {
  display: flex;
  /* 横並びにするためにflexboxを使う */
  justify-content: center;
  /* ボタンを中央に配置 */
  gap: 24px;
  /* ボタン間にスペースを作る */
  width: 100%;
  /* 親要素の幅を100%に */
}

.button-block {
  flex: 0 1 280px;
  /* 横並び */
  text-align: center;
}

.button-description {
  font-size: 1rem;
  color: #555;
  margin-bottom: 14px;
}

/* ボタンスタイル */
.lp-button {
  display: inline-block;
  padding: 25px 35px;
  font-size: 1.15rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  min-width: 220px;
  max-width: 100%;
  color: white !important;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.lp-button:visited,
.lp-button:focus,
.lp-button:hover,
.lp-button:active {
  color: white !important;
  text-decoration: none;
}

.lp-default {
  background-color: #4da8a5;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.lp-default:hover {
  background-color: #f3c87f;
  transform: scale(1.1, 1.1);
}

.lp-trial {
  background-color: #f76c5e;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.lp-trial:hover {
  background-color: #f3c87f;
  transform: scale(1.1, 1.1);
}

/* レスポンシブ対応（画面が小さい場合）*/
@media screen and (max-width: 887px) {
  .button-row {
    flex-direction: column;
    /* 小さい画面サイズでボタンを縦並びに変更 */
    gap: 16px;
    /* ボタン間のスペースを調整 */
    width: 100%;
    /* 親要素の幅を100%に */
  }

  .button-block {
    flex: 1 1 100%;
    /* ボタンの幅を100%に設定 */
    margin-bottom: 16px;
    /* ボタン間の余白 */
    text-align: center;
    /* ボタンのテキストを中央揃え */
  }
}

/*使い方 */
.how-to-use-media-title-text {
  flex: 1;
  margin-left: 20%;
  min-width: 250px;
}

/* 各種問い合わせボタンend */



/* モバイル対応 */
@media screen and (max-width: 768px) {
  .bubble-images {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .bubble-images img {
    width: 60%;
    max-width: 160px;
    height: auto;
  }

  .bubble-section {
    clip-path: polygon(0 0, 100% 0, 100% 90%,
        55% 90%, 50% 100%, 45% 90%,
        0 90%);
  }
}

/* おこまり吹き出し箇所end */

/* ドコイッターなら解決*/
.bubble-bottom-visual {
  width: 100%;
  margin-top: -0px;
  /* ← ここを小さくした */
  padding: 50px;
  /* ← 必要に応じてパディングも調整 */
  display: flex;
  justify-content: center;
}

.bubble-bottom-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  width: 100%;
  flex-wrap: wrap;
}

.bubble-bottom-image {
  width: 250px;
  height: auto;
  flex-shrink: 0;
}

.bubble-bottom-speech {
  max-width: 70%;
  height: auto;
}

@media screen and (max-width: 768px) {
  .bubble-bottom-visual {
    padding: 10px;
  }

  .bubble-bottom-inner {
    flex-direction: column;
    align-items: center;
    max-width: 75%;
    transform: scale(0.9);
    margin: 0 auto;
  }

  .bubble-bottom-image {
    width: 60%;
    max-width: 200px;
  }

  .bubble-bottom-speech {
    width: 80%;
    max-width: 300px;
  }

  .bubble-bottom-image {
    margin-top: -20%;
  }
}

@media screen and (max-width: 768px) and (min-width: 584px) {
  .bubble-bottom-inner {
    margin-top: 30px;
  }
}

/* ドコイッターなら解決end */

/* 機能紹介 */
.feature-block {
  position: relative;
  margin: 60px auto;
  padding: 60px 20px;
  border-radius: 24px;
  background-color: #d8f3f3;
  width: 50%;
  max-width: 1200px;
  overflow: visible;
}

/* 数字のスタイル（01など） */
.feature-number {
  position: absolute;
  top: -40px;
  width: 100px;
  height: auto;
  z-index: 2;
}

.feature-left .feature-number {
  left: -20px;
}

.feature-right .feature-number {
  right: -20px;
}

/* 内部レイアウト */
.feature-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.feature-left .feature-image {
  order: 1;
}

.feature-left .feature-text {
  order: 2;
}

.feature-right .feature-text {
  order: 1;
}

.feature-right .feature-image {
  order: 2;
}

.feature-image {
  flex: 1 1 45%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.feature-image img {
  width: 100%;
  height: auto;
  max-width: 380px;
  border: none;
  box-shadow: none;
}

.feature-text {
  flex: 1 1 50%;
}

.feature-text h3 {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 16px;
}

.feature-text p {
  font-size: 1rem;
  color: #333;
}

.bird-overlay-container {
  position: relative;
}

.bird-overlay {
  position: absolute;
  bottom: 25%;
  right: 0%;
  width: 90px !important;
  height: auto !important;
  z-index: 2;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .feature-inner {
    flex-direction: column;
    text-align: center;
  }

  .feature-number {
    width: 60px;
    top: -30px;
  }

  .feature-block {
    width: 90%;
    padding: 40px 16px;
  }

  .feature-text {
    text-align: left;
    padding-left: 10px;
  }

  .feature-text h3 {
    font-size: 1.3rem;
  }

  .feature-text p {
    font-size: 0.8rem;
  }

  .bird-overlay {
    position: absolute;
    bottom: 25%;
    right: -10%;
    width: 90px !important;
    height: auto !important;
    z-index: 2;
  }
}

/* 機能紹介end */

/* できる事 */
.explanation-subtitle.docoitter-sub-title {
  margin-top: -200px;
  /* 上の余白を減らす */
}

.explanation-subtitle.wide-sub {
  max-width: 544px;
}


.explanation-image {
  flex: 0 0 50%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  margin: auto;
}

.explanation-image img {
  width: 48%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.image-caption {
  font-size: 0.9rem;
  color: #555;
  text-align: center;
  margin-top: 8px;
  width: 100%;
}

.description-block {
  background-color: #bfe2e1;
  width: 100%;
  padding: 20px;
  margin-top: 60px;
  text-align: center;
}

/* descriptionブロック中央揃えの修正 */
.description {
  display: flex;
  justify-content: center;
  /* 中央揃え */
  align-items: flex-start;
  gap: 20px;
  margin: 0 30px 40px;
  max-width: 1200px;
  flex-wrap: wrap;
}

.explanation-text.wide-detail-text {
  max-width: none;
  width: 100%;
  margin-left: 13%;
  margin-right: 3%;
  text-align: left;
}

.explanation-subtitle.wide-detail-sub {
  width: 100%;
  max-width: 700px;
}

/* モーダル背景 */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* 拡大画像 */
.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px #000;
  cursor: pointer;
}

.explanation-text.center-text {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .description {
    flex-direction: column;
    padding: 0 16px;
    gap: 32px;
  }

  .explanation-text,
  .explanation-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .explanation-image {
    flex-wrap: wrap;
    justify-content: center;
  }

  .explanation-image img {
    width: 100%;
    max-width: 300px;
  }

  .explanation-subtitle {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-bottom: 16px;
  }
}

/* 画面が狭いときの修正 */
@media screen and (max-width: 887px) {
  .button-row {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .button-block {
    flex: 1 1 100%;
    margin-bottom: 16px;
    text-align: center;
  }
}

/* 画面の幅が1040px以下のときの調整 */
@media screen and (max-width: 1040px) and (min-width: 769px) {
  .description-block {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }

  /* 以下は768px以下のレイアウトをそのまま適用 */
  .description {
    flex-direction: column;
    gap: 32px;
  }

  .explanation-text,
  .explanation-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .explanation-image {
    flex-wrap: wrap;
    justify-content: center;
  }

  .explanation-image img {
    width: 100%;
    max-width: 300px;
  }

  .explanation-subtitle {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-bottom: 16px;
  }

  .explanation-text-detail.wide-detail {
    width: 100%;
  }
}

/* スマホサイズ修正 */
@media screen and (max-width: 500px) {
  .explanation-text-detail.wide-detail {
    max-width: 100%;
    width: 90%;
    margin-left: 5%;
  }
}

@media (max-width: 768px) {
  .explanation-text {
    display: block;
    text-align: left;
    margin: 0 auto;
  }

  .explanation-subtitle {
    text-align: left;
    margin-left: 0;
  }

  .explanation-text-detail {
    text-align: left;
    margin-left: 0;
  }

  .center-text {
    margin-left: 30px;
  }

  .center-text .explanation-text-detail {
    text-align: left;
  }

  .explanation-text.wide-detail-text .explanation-text-detail {
    max-width: 100%;
    width: 100%;
    margin-left: 0%;
  }

  .explanation-subtitle.wide-sub {
    max-width: 90%;
    /* モバイルで横幅をフルに */
    width: 65%;
    margin-left: 15%;
  }

  .explanation-text-detail.wide-detail {
    max-width: 100%;
    /* モバイルで横幅をフルに */
    width: 65%;
    margin-left: 15%;
  }
}

@media screen and (max-width: 500px) {
  .explanation-subtitle.wide-sub {
    max-width: 100%;
    /* モバイルで横幅をフルに */
    width: 100%;
    margin-left: 0%;
  }

  .explanation-text-detail.wide-detail {
    max-width: 100%;
    /* モバイルで横幅をフルに */
    width: 90%;
    margin-left: 5%;
  }
}

@media screen and (min-width: 1041px) {

  .explanation-text-detail.wide-detail {
    margin-left: -65%;
  }
}

/* できる事end */

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
}

.faq-block {
  padding-bottom: 28px;
  margin-bottom: 28px;
  position: relative;
  text-align: left;
  /* ← 読みやすくするため左寄せ */
}

.faq-block::after {
  content: '';
  display: block;
  margin: 12px auto 0 auto;
  width: 100%;
  max-width: 600px;
  height: 1px;
  background-color: #ccc;
}

.faq-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
  margin-top: 4px;
}

.faq-icon-q {
  background-color: #4da8a5;
}

.faq-icon-a {
  background-color: #caa56a;
}

.faq-question,
.faq-answer {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
}

/* サブタイトル */
.sub-title {
  text-align: center;
  /* テキストを中央寄せ */
  text-decoration: underline;
  /* 下線を引く */
  font-weight: bold;
  text-decoration-color: #4da8a5;
  text-decoration-thickness: 7px;
  /* 下線を太く */
  text-underline-offset: 4px;
  /* 下線と文字の間隔 */
  margin: 60px 0;
  font-size: 3rem;
  line-height: 1.5;
}

/* フッターのスタイル */
.footer {
  background-color: #4da8a5;
  /* 背景色 */
  color: #fff;
  /* 文字色 */
  padding: 20px;
  margin-top: 40px;
}

/* フッターのコンテナ */
.footer-container {
  display: flex;
  justify-content: space-between;
  /* 左右に分ける */
  align-items: flex-start;
  max-width: 1600px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* 左側（ロゴと会社情報） */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  width: 420px;
  /* 左側の幅 */
  padding-top: 5%;
}

.company-logo img {
  width: 150px;
  height: auto;
  transition: opacity 0.3s;
}

.company-logo:hover img {
  opacity: 0.8;
}

.company-info {
  font-size: 1.0rem;
  color: #fff;
  font-weight: bold;
}

.back-logo img {
  width: 70px;
  height: auto;
  transition: opacity 0.3s;
}

.back-logo img {
  opacity: 0.8;
}

/* 右側（ボタンとメニュー） */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10% 2%;
  justify-content: flex-start;
  /* 左寄せ */
  margin-left: auto;
  /* 右寄せ */
}

.footer-buttons {
  display: flex;
  flex-direction: column;
  /* 縦並び */
  gap: 16px;
  margin-bottom: 20px;
}

.footer-menu-buttons {
  display: flex;
  gap: 16px;
  margin-top: 50px;
  margin-bottom: 20px;
  min-width: 300px;
}

.footer-buttons {
  padding: 12px 24px;
  font-size: 1rem;
  background-color: #fff;
  color: #4da8a5;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.footer-buttons:hover {
  background-color: #f76c5e;
  color: #fff;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-menu li a:hover {
  color: #f76c5e;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1158px) and (min-width: 769px) {
  .footer-container {
    justify-content: space-between;
    max-width: 100%;
    /* 最大幅を100%にする */
    width: 100%;
    /* 幅を100%にして右側の空白を防ぐ */
  }

  .footer-left,
  .footer-right {
    width: 50%;
    /* 幅を50%ずつにして均等に分ける */
  }

  /* 右側のボタンとメニューのサイズ調整 */
  .footer-right {
    margin-left: 0;
    /* 右寄せを解除 */
  }
}

/* モバイルサイズ調整 */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    padding: 20px;
  }

  .footer-left,
  .footer-right {
    width: 100%;
  }

  .footer-right {
    padding: 50px 0 0 0;

  }

  .footer-buttons {
    flex-direction: row;
    /* 横並びに変更 */
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
  }

  .footer-menu-buttons {
    flex-direction: row;
    /* 横並びに変更 */
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
  }
}

.step-title1 {
  background-color: #4da8a5;
  /* 水色 */
  width: 70%;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  /* 楕円形にする */
  font-size: 30px;
  text-align: center;
  margin-left: 15%;
}

.step-title-end1 {
  background-color: #4da8a5;
  /* 水色 */
  width: 70%;
  height: 50px;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  /* 楕円形にする */
  font-size: 30px;
  text-align: center;
  margin-left: 15%;

  margin-bottom: 20px;
}

.step-title2 {
  background-color: #4d82a8;
  /* 水色 */
  width: 70%;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  /* 楕円形にする */
  font-size: 30px;
  text-align: center;
  margin-left: 15%;
}

.step-title-end2 {
  background-color: #4d82a8;
  /* 水色 */
  width: 100%;
  height: 50px;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 50px;
  /* 楕円形にする */
  cursor: pointer;
  font-size: 30px;
  text-align: center;
  transition: background-color 0.3s;
  margin-bottom: 20px;
}

/* 小見出し（content-subtitle）のスタイル */
.content-subtitle {
  background-color: #f76c5e;
  color: #fff;
  /* 白文字 */
  padding: 10px;
  font-size: 30px;
  text-align: center;
  width: 320px;
  /* 文字数に合わせた幅 */
  margin-left: 20%;
  /* 左寄せ */
  margin-bottom: 15px;
  border-radius: 5px;
}

.contnt-setsumei {
  margin-left: 20%;
  text-align: left;
}

/* 画像コンテンツのスタイル */
.image-content {
  display: flex;
  justify-content: center;
  /* 画像を中央に配置 */
  margin-bottom: 20px;
  /* 画像の下に余白を追加 */
}

.image-content img {
  width: 40%;
  /* 画像の横幅を最大に */
  height: auto;
  /* アスペクト比を保ちながら表示 */
}

.kome {
  text-align: right;
  margin-right: 15%;
}

/* モバイルサイズ調整 */
@media screen and (max-width: 1400px) {
  .contnt-setsumei {
    margin-left: 20%;
    text-align: left;
    max-width: 65%;
  }
  .image-content img {
    width: 60%;
    /* 画像の横幅を最大に */
    height: auto;
    /* アスペクト比を保ちながら表示 */
  }
}

@media screen and (max-width: 720px) {
  .kome {
    margin-left: 20%;
    font-size: 15px;
    text-align: center;
  }

  .step-title1 {
    font-size: 25px;
  }

  .step-title2 {
    font-size: 25px;
  }

  .content-subtitle {
    margin-left: 18%;
    font-size: 25px;
    align-items: center;
  }
  .image-content img {
    width: 60%;
    /* 画像の横幅を最大に */
    height: auto;
    /* アスペクト比を保ちながら表示 */
  }
}

@media screen and (max-width: 490px) {
  .content-subtitle {
    margin-left: 15%;
    width: 70%;
    font-size: 18px;
  }

  .step-title2 {
    font-size: 20px;
  }

  .image-content img {
    width: 80%;
    /* 画像の横幅を最大に */
    height: auto;
    /* アスペクト比を保ちながら表示 */
  }
}

@media screen and (max-width: 320px) {
  .step-title2 {
    font-size: 15px;
  }

  .image-content img {
    width: 80%;
    /* 画像の横幅を最大に */
    height: auto;
    /* アスペクト比を保ちながら表示 */
  }
}