@charset "UTF-8";

/* ==============================
   リセット & ベーススタイル
   ============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  /* font-family: 'Noto Sans JP', sans-serif; */
  font-family: 'Zen Maru Gothic', sans-serif; 
  color: #333;
  background-color: #ffd819; 
  background-image: url('img/bg-pattern.svg'); 
  background-size: 100% auto;
  background-position: top center;
  background-repeat: repeat-y;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ==============================
   ヘッダー
   ============================== */
.header {
  position: sticky; /* 追従ヘッダー */
  top: 0;
  z-index: 110;
  background-color: #ffd819;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}
.header__logo img {
  height: 36px;
  width: auto;
}
.header__nav ul {
  display: flex;
  gap: 20px;
  align-items: center;
  font-weight: bold;
  font-size: 14px;
}
.header__nav a:hover {
  opacity: 0.7;
}
.header__actions {
  display: flex;
  gap: 12px;
}
.header__hamburger {
  display: none; /* PCでは非表示 */
}
.sp-menu {
  display: none; /* PCでは非表示 */
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 14px;
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { opacity: 0.9; transform: translateY(-2px); }
.btn--login { background-color: #f78d1e; color: #fff; }
.btn--register { background-color: #00a48b; color: #fff; }
.btn--partner { background-color: #fff; color: #333; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }

/* ==============================
   メインビジュアル (FV)
   ============================== */
.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
}
.hero__left {
  position: relative;
  width: 55%;
  display: flex;
  justify-content: center;
}
.hero__house-bg {
  background-image: url('img/bg-house.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  padding: 130px 50px 90px;
  text-align: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 650px;
}
.hero__main-logo {
  margin-bottom: 20px;
}
.hero__main-logo img {
  max-width: 340px;
  width: 100%;
}
.hero__catch {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #222;
}
.btn--main {
  background-color: #00a48b;
  color: #fff;
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 40px;
  border: 3px solid #fff; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.btn--main span {
  display: inline-block;
  background: #fff;
  color: #00a48b;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  font-size: 14px;
  margin-left: 12px;
}
.hero__illust-tools {
    position: absolute;
    bottom: -115px;
    left: -30px;
    width: 270px;
    z-index: 3;
}
.hero__illust-worker {
    position: absolute;
    bottom: -50px;
    right: 60px;
    width: 120px;
    z-index: 3;
}

/* ==============================
   右側エリア（お問い合わせフォーム）
   ============================== */
.hero__right {
  width: 42%;
  position: relative;
  z-index: 2;
}
.form-trigger {
  background: transparent;
  border: none;
  width: 100%;
  cursor: pointer;
  text-align: left;
  transition: transform 0.2s;
}
.form-trigger:hover { transform: scale(1.02); }

.form-dummy {
  background-color: #fff;
  border: 4px solid #00a48b;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  height: auto;
  position: relative;
}
.form-dummy::after {
  content: '';
  position: absolute;
  top: 60px;
  right: 6px;
  width: 6px;
  height: 80px;
  background-color: #aaa;
  border-radius: 10px;
}
.form-dummy h2 {
  color: #00a48b;
  text-align: center;
  font-size: 18px;
  margin-bottom: 20px;
}
.form-dummy__body {
  background-color: #eaf5f3;
  padding: 16px;
  border-radius: 8px;
}
.form-dummy__row {
  display: flex;
  margin-bottom: 12px;
}
.form-dummy__row:last-child {
  margin-bottom: 0;
}
.form-dummy__label {
  width: 130px;
  font-size: 11px;
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  padding-top: 8px;
}
.form-dummy__req {
  background-color: #f78d1e;
  color: #fff;
  font-size: 9px;
  padding: 2px 4px;
  border-radius: 3px;
  margin-left: 6px;
  white-space: nowrap;
}
.form-dummy__input-wrap {
  flex-grow: 1;
}
.form-dummy__input {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px;
  font-size: 11px;
  color: #999;
  width: 100%;
}
.form-dummy__input--select {
  position: relative;
}
.form-dummy__input--select::after {
  content: "▼";
  font-size: 8px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}
.form-dummy__sub-label {
  font-size: 10px;
  color: #555;
  margin-bottom: 4px;
}
.form-dummy__sp-btn {
  display: none; /* PCでは非表示 */
}

/* ==============================
   無限ループロゴ (Ticker)
   ============================== */
.logo-ticker {
  background-color: #fff; 
  padding: 40px 0;
  overflow: hidden; 
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.logo-ticker__track {
  display: flex;
  width: fit-content;
  animation: ticker-loop 50s linear infinite; 
}
.logo-ticker__track--reverse {
  animation: ticker-loop 55s linear infinite; 
}
.logo-ticker__list {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px; 
}
.logo-ticker__list li {
  flex-shrink: 0;
}
.logo-ticker__list img {
  width: 160px;
  height: 60px;
  object-fit: contain;
}
@keyframes ticker-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==============================
   コンセプトセクション
   ============================== */
.concept {
  padding: 100px 20px 150px;
  background-color: #fff;
  overflow: hidden;
}
.concept__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.concept__decor {
  position: absolute;
  z-index: 10;
}
.concept__decor--bl {
  bottom: -40px;
  left: -80px;
  width: 100px;
}
.concept__decor--tr {
  top: -40px;
  right: -60px;
  width: 120px;
}
.concept__content {
  width: 50%;
  position: relative;
  z-index: 2;
}
.concept__catch {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  color: #222;
}
.concept__quote {
  position: absolute;
  width: 40px;
  z-index: -1;
}
.concept__quote--left {
  top: -20px;
  left: -30px;
}
.concept__quote--right {
  bottom: -20px;
  right: -40px;
}
.concept__lead {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #333;
}
.concept__text {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}
.concept__image {
  width: 42%;
  position: relative;
  z-index: 2;
}
.concept__image img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  object-fit: cover;
  display: block;
}

/* ==============================
   インフラ投資セクション
   ============================== */
.infra-invest {
  padding: 80px 20px 120px;
  background-color: #FFF7C3;
  background-image: url('img/bg-infra.svg'); 
  
  /* ▼ cover を 100% 100% に変更 */
  background-size: 100% 100%; 
  
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}
/* ==============================
   うねる波（目の錯覚アニメーション）
   ============================== */
.wave-wrap {
  position: absolute;
  left: 0;
  width: 100%;
  height: 60px; /* 波の高さ（お好みで調整可能） */
  overflow: hidden;
  line-height: 0;
  z-index: 5;
}
.wave-wrap--top {
  top: -59px; /* 上にはみ出させる */
}

/* 画面幅全体をカバーする設定 */
.wave-svg {
  display: block;
  width: 200%; /* 横幅を2倍にして無限ループのゆとりを作る */
  height: 100%;
}

/* 波の色をインフラ投資セクションの背景色（#FFF7C3）に合わせる */
.wave-layer {
  fill: #FFF7C3; 
}

/* 3枚の波の透明度と、流れる速度をズラして「うねり」を生み出す */
.wave-layer-1 {
  opacity: 0.3;
  animation: wave-magic 20s linear infinite; 
  animation-delay: -2s; 
}
.wave-layer-2 {
  opacity: 0.5;
  animation: wave-magic 28s linear infinite; 
  animation-delay: -6s; 
}
.wave-layer-3 {
  opacity: 1;
  animation: wave-magic 36s linear infinite; 
  animation-delay: -10s;
}

/* スライドさせてシームレスにループさせる */
@keyframes wave-magic {
  0% { transform: translate3d(0, 0, 0); }
  /* ↓ -50px ではなく -50% が正解です！ */
  100% { transform: translate3d(-50%, 0, 0); } 
}

.infra-invest__inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.infra-invest__title {
  text-align: center;
  font-size: 26px;
  font-weight: bold;
  line-height: 2;
  color: #333;
  margin-bottom: 60px;
}
.hl-teal {
  background-color: #00a48b;
  color: #fff;
  padding: 4px 16px;
  border-radius: 4px;
  display: inline-block;
  line-height: 1.3;
  margin: 0 4px;
}
.infra-invest__columns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  gap: 40px;
}
.infra-invest__text {
  width: 45%;
}
.infra-invest__text p {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}
.infra-invest__figure {
  width: 50%;
}
.infra-invest__figure img {
  width: 100%;
  height: auto;
  display: block;
}
.infra-invest__warning {
  width: 100%;
  text-align: center;
}
.infra-invest__warning img {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: inline-block;
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* ==============================
   3つの基準セクション (PC)
   ============================== */
.criteria {
  padding: 100px 20px;
  background-color: #fff;
  position: relative;
  z-index: 2; /* 下のセクションを上に重ねる */
}

.criteria__inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* 葉っぱの装飾 */
.criteria__decor {
  position: absolute;
  z-index: 1;
}
.criteria__decor--tr {
  top: -20px;
  right: -50px;
  width: 100px;
}
.criteria__decor--bl {
  bottom: -40px;
  left: -80px;
  width: 120px;
}

/* タイトルエリア */
.criteria__header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.criteria__sub-title {
  display: inline-block;
  background-color: #FFDE33; /* カンプの明るい黄色 */
  color: #333;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 20px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.criteria__title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.hl-green {
  color: #00a48b;
}

.criteria__title-line {
  width: 80px; /* 波線の幅 */
  height: auto;
}

/* 3カラムリスト */
.wave-static-wrap {
  position: absolute;
  top: -59px; /* 上の動く波と同じ高さにはみ出させる */
  left: 0;
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
  z-index: 10;
}
.criteria__list {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.criteria__item {
  width: calc(100% / 3);
  text-align: center;
}

.criteria__image {
  margin-bottom: 24px;
}
.criteria__image img {
  width: 100%;
  max-width: 200px;
  height: auto;
  display: inline-block;
}

.criteria__item-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  line-height: 1.5;
  margin-bottom: 12px;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.criteria__item-sub {
  font-size: 13px;
  font-weight: bold;
  color: #333;
  margin-top: -8px;
  margin-bottom: 12px;
}

.criteria__item-text {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}
/* ==============================
   対処的な修繕のリスクセクション (PC)
   ============================== */
.risk {
  padding: 100px 20px;
  background-color: #E6F3EE; /* カンプの薄いグリーン背景 */
  position: relative;
}

.risk__inner {
  max-width: 1000px;
  margin: 0 auto;
}
/* 葉っぱの装飾 */
.risk__decor {
  position: absolute;
  z-index: 1; /* コンテンツより下に配置 */
}
.risk__decor--l {
    top: 60%;
    left: 430px;
    width: 250px;
}
.risk__decor--tr {
  top: 215px;
  right: 265px;
  width: 250px;
}

/* ※コンテンツ（テキストや白い箱）が葉っぱの上に重なるように、
   既存の .risk__header や .risk__box に position: relative; z-index: 2; を追加するとより安全です */
.risk__header,
.risk__box,
.risk__arrow-down,
.risk__solution {
  position: relative;
  z-index: 2;
}
/* タイトルエリア */
.risk__header {
  text-align: center;
  margin-bottom: 40px;
}
.risk__title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.risk__title-line {
  width: 100px;
  margin-bottom: 24px;
}
.risk__lead {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

/* 白いボックス */
.risk__box {
  background-color: #fff;
  border-radius: 24px;
  padding: 40px 60px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  margin-bottom: 20px;
  text-align: center;
}
.risk__box-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
}
.risk__diagram img {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin-bottom: 30px;
}

/* ボックス下部（さらに〜） */
.risk__box-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.risk__badge {
  background-color: #FFDE33;
  color: #333;
  font-weight: bold;
  font-size: 16px;
  padding: 8px 24px;
  border-radius: 30px;
}
.risk__cost-text {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}
.risk__cost-text strong {
  /* 透明な部分と色付きの部分を途中で切り替えてマーカーを表現 */
  background: linear-gradient(transparent 60%, #BCE7DD 60%);
  padding: 0 4px; /* マーカーの左右に少しゆとりを持たせる */
}
.risk__icon-shocked {
  width: 70px;
  height: auto;
}

/* 下向き矢印 */
.risk__arrow-down {
  text-align: center;
  margin-bottom: 40px;
}
.risk__arrow-down img {
  width: 60px;
  height: auto;
}

/* 解決策エリア */
.risk__solution {
  text-align: center;
}
.risk__solution-title {
  display: inline-block;
  background-color: #00A48B;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  padding: 16px 40px;
  border-radius: 10px;
  margin-bottom: 50px;
}
.risk__solution-title .slash {
  font-weight: normal;
  margin: 0 10px;
}

/* 3つのステップ */
.risk__steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.risk__step {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.risk__step img {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin-bottom: 20px;
}
.risk__step p {
  font-size: 13px;
  line-height: 1.6;
  color: #333;
  text-align: left;
  display: inline-block;
}
.risk__step-arrow {
  width: 40px;
  height: auto;
}
/* ==============================
   できることセクション (PC)
   ============================== */
.features {
  padding: 100px 20px;
  position: relative;
  background-color: #FFF7C3;
  background-image: url('img/bg-infra.svg'); 
  background-size: 100% 100%; 
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
}

/* 前のセクションの波を逆向きにして上部に配置 */
.wave-static-wrap--reverse {
  top: 0;
  transform: rotate(180deg);
}

.features__inner {
  max-width: 900px; /* カードの幅に合わせて少し狭めに設定 */
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* タイトルエリア */
.features__header {
  text-align: center;
  margin-bottom: 60px;
}
.features__title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.features__title-line {
  width: 80px;
}

/* カード共通スタイル */
.features__card {
  background-color: #fff;
  border-radius: 24px;
  padding: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

/* ★ 魔法のコード：偶数番目（02）のカードだけ左右を反転させる */
.features__card:nth-child(even) {
  flex-direction: row-reverse;
}

.features__card-content {
  width: 50%;
  text-align: center;
}
.features__card-image {
  width: 45%;
}
.features__card-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* カード内のテキスト要素 */
.features__card-label {
  color: #00A48B;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 16px;
  
  /* ▼ flex を inline-flex に変更（横幅を文字にピッタリ合わせるため） */
  display: inline-flex; 
  align-items: center;
  gap: 6px;
  
  /* ▼ ここから追加：黄色の下線 ▼ */
  border-bottom: 3px solid #FFDE33; 
  padding-bottom: 4px; /* 文字と線のすき間（お好みで調整してください） */
}
.features__card-label .num {
  font-size: 22px;
}
.features__card-label .slash {
  font-weight: normal;
}

.features__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  line-height: 1.5;
  margin-bottom: 20px;
}

.features__card-text {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  text-align: left;
}
/* ==============================
   会員特典セクション (PC)
   ============================== */
/* タイトルエリアの調整 */
.members__header {
  text-align: center;
  margin-bottom: 60px;
}

/* 画像と文字を重ねるための親要素 */
.members__title-wrap {
  position: relative;
  display: inline-block; /* 画像の幅にピッタリ合わせる */
}

/* 背景になる吹き出し画像 */
.members__title-bg {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
}

/* 重ねるテキスト（絶対配置で中央に） */
.members__title-text {
  position: absolute;
    top: 39%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    white-space: nowrap;
}   
.members {
  padding: 100px 20px 120px;
  background-color: #ffd819; /* ブランドカラーの黄色 */
  position: relative;
  z-index: 2;
}

.members__inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* タイトル画像 */
.members__header {
  text-align: center;
  margin-bottom: 60px;
}
.members__title-img {
  width: 100%;
  max-width: 480px; /* 画像サイズに合わせて調整してください */
  height: auto;
}

/* 3カラムリスト */
.members__list {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
}

.members__item {
  width: calc(100% / 3);
  background-color: #fff;
  border-radius: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

/* 左上のバッジ */
.members__badge {
  position: absolute;
  top: -20px;
  left: -15px;
  width: 70px;
  z-index: 2;
}

/* イラストエリア（薄い黄色の背景） */
.members__illust {
  background-color: #FFF9D1; /* カンプの薄い黄色 */
  border-radius: 20px 20px 0 0;
  padding: 40px 20px 30px;
  text-align: center;
  flex-grow: 1; /* 高さ合わせ */
  display: flex;
  align-items: center;
  justify-content: center;
}
.members__illust img {
  width: 100%;
  max-width: 180px;
  height: auto;
}

/* テキストエリア */
.members__text-box {
  padding: 24px 16px;
  text-align: center;
  position: relative;
  height: 130px; /* ▼ ここを変更！高さを完全に固定することで上の赤線が一直線に揃います */
  display: flex;
  align-items: center;
  justify-content: center;
}
.members__text-box p {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  line-height: 1.6;
  position: relative;
  display: inline-block;
}
.members__sparkle {
  position: absolute;
  top: -12px;
  left: -16px;
  width: 20px;
}

/* ボタンを中央揃えに */
.members__cta {
  text-align: center;
}
/* ==============================
   健康診断セクション (PC)
   ============================== */
.health-check {
  padding: 100px 20px 120px;
  position: relative;
  z-index: 2;
  background-color: #FFF7C3;
  background-image: url('img/bg-infra.svg'); 
  background-size: 100% 100%; 
  background-position: center;
  background-repeat: no-repeat;
}

.health-check__inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* タイトル周り */
.health-check__header {
  text-align: center;
  margin-bottom: 50px;
}
.health-check__title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
}
.health-check__title-line {
  width: 80px;
}

/* 白い大きなパネル */
.health-check__box {
  background-color: #fff;
  border-radius: 24px;
  padding: 60px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  border: 10px solid #ffeca8;
}

.health-check__section {
  text-align: center;
}

/* 共通バッジスタイル */
.health-check__badge {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 32px;
  border-radius: 40px;
  margin-bottom: 40px;
}
/* 薄い緑のバッジ */
.health-check__badge--light {
  background-color: #E2F6F0;
  color: #00A48B;
}
/* 濃い緑のバッジ */
.health-check__badge--dark {
  background-color: #00A48B;
  color: #fff;
}

/* 図解・アワード画像の枠 */
.health-check__diagram img,
.health-check__awards img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.health-check__diagram img {
  max-width: 800px;
}
.health-check__awards img {
  max-width: 700px;
}

/* 点線の区切り線 */
.health-check__divider {
  border: none;
  border-top: 2px dotted #E0E0E0;
  margin: 60px 0;
}
/* ==============================
   マトリクスセクション (PC)
   ============================== */
.matrix {
  padding: 100px 20px 120px;
  background-color: #E6F3EE; /* リスクセクションと同じ薄いグリーン */
  position: relative;
  z-index: 2;
}

.matrix__inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
/* 葉っぱの装飾 */
.matrix__decor {
  position: absolute;
  z-index: 0; /* 白い箱やイラストより下に配置 */
}
.matrix__decor--l {
  bottom: 40px;
    left: -290px;
    width: 300px;
}
.matrix__decor--tr {
  top: 30px;
  right: -340px;
  width: 300px;
}

/* ※葉っぱの上に白い箱などが確実に乗るように、z-indexを明示します */
.matrix__header,
.matrix__content,
.matrix__footer {
  position: relative;
  z-index: 2;
}
/* タイトルエリア */
.matrix__header {
  text-align: center;
  margin-bottom: 50px;
}
.matrix__title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.matrix__title-line {
  width: 100px;
}

/* 白い箱とイラストのラッパー */
.matrix__content {
  position: relative; /* イラストを絶対配置するための基準 */
  margin-bottom: 60px;
}

/* 白い箱 */
.matrix__box {
  background-color: #fff;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  text-align: center;
  position: relative;
  z-index: 1;
}
.matrix__box img {
  width: 100%;
  max-width: 600px; /* カンプのバランスに合わせて調整してください */
  height: auto;
  display: inline-block;
}

/* 左下の男性イラスト */
.matrix__man {
  position: absolute;
  bottom: -40px; /* 箱の下にはみ出させる */
  left: -50px;   /* 箱の左にはみ出させる */
  width: 160px;
  height: auto;
  z-index: 2;
}

/* 下部のテキスト */
.matrix__footer {
  text-align: center;
}
.matrix__highlight {
  display: inline; /* ★ inline に変更して文字単位にする */
  font-size: 20px;
  font-weight: bold;
  color: #333;
  background: linear-gradient(transparent 40%, #BCE7DD 40%);
  padding: 0 10px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  line-height: 1.8; /* 行間を少し開けてマーカー同士が重なるのを防ぐ */
}
/* ==============================
   会員限定トピックスセクション (PC)
   ============================== */
.topics {
  padding: 100px 20px;
  background-color: #fff;
  position: relative;
  z-index: 2;
}

.topics__inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* 葉っぱの装飾 */
.topics__decor {
  position: absolute;
  z-index: 0;
}
.topics__decor--bl {
  bottom: -40px;
  left: -80px;
  width: 120px;
}
.topics__decor--tr {
  top: -20px;
  right: -80px;
  width: 120px;
}

.topics__header, 
.topics__layout {
  position: relative;
  z-index: 2;
}

/* タイトル */
.topics__header {
  text-align: center;
  margin-bottom: 60px;
}
.topics__title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.topics__title-line {
  width: 80px;
}

/* --- レイアウトとカードのスタイル --- */
.topics__layout {
  display: flex;
  justify-content: space-between;
  align-items: stretch; /* 高さを揃える */
  gap: 30px;
}

/* カードの共通スタイル */
.topic-card {
  background-color: #FFF9D1; /* カンプの薄い黄色 */
  border-radius: 16px;
  padding: 24px;
  display: flex;
  transition: transform 0.2s, box-shadow 0.2s; /* ホバー時のアニメーション準備 */
}
/* ホバー（マウスオーバー）で少し浮き上がる */
.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.topic-card__thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.topic-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.topic-card__date {
  font-size: 14px;
  color: #888;
}
.topic-card__tag {
  font-size: 11px;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 4px 10px;
  border-radius: 4px;
  color: #555;
}

.topic-card__title {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  font-weight: bold;
}

/* --- 左側（大きなカード） --- */
.topic-card--large {
  width: 48%;
  flex-direction: column;
}
.topic-card--large .topic-card__thumb {
  margin-bottom: 24px;
}
.topic-card--large .topic-card__title {
  font-size: 18px;
}

/* --- 右側（小さなカードリスト） --- */
.topics__list {
  width: 48%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.topic-card--small {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px;
  flex-grow: 1; /* 高さを均等に広げる */
}
.topic-card--small .topic-card__thumb {
  width: 140px;
  flex-shrink: 0;
}
/* ==============================
   各種サービスセクション (PC)
   ============================== */
.services {
  padding: 100px 20px 120px;
  position: relative;
  z-index: 2;
  background-color: #FFF7C3;
  background-image: url('img/bg-infra.svg'); 
  background-size: 100% 100%; 
  background-position: center;
  background-repeat: no-repeat;
}

/* 背景のうねうね */
.services__bg-blob {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  z-index: 0;
}

.services__inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* タイトル */
.services__header {
  text-align: center;
  margin-bottom: 80px;
}
.services__title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.services__title-line {
  width: 80px;
}

/* --- カード共通スタイル --- */
.service-card {
  background-color: #fff;
  border-radius: 24px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  
  /* ▼ 追加：絶対にはみ出しを許可する魔法 ▼ */
  overflow: visible !important; 
}

/* --- 白丸の箱 --- */
.service-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

/* --- 中の文字画像（追加） --- */
.service-card__badge img {
  width: 60px; /* 白丸より一回り小さくして、文字が切れないようにする */
  height: auto;
  display: block;
}

/* --- メインカード (01) --- */
.service-card--large {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 60px 50px;
  margin-bottom: 80px; /* 下のリストとの余白 */
}
.service-card__content {
  width: 55%;
}
.service-card__catch {
  font-size: 22px;
  font-weight: bold;
  color: #00A48B;
  line-height: 1.6;
  margin-bottom: 24px;
}
.service-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 30px;
}
.service-card__diagram {
  width: 45%;
  text-align: center;
}
.service-card__diagram img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

/* 01の黄色いボタン */
.btn-service {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-service:hover {
  opacity: 0.8;
}
.btn-service--primary {
  background-color: #FFDE33;
  color: #333;
  padding: 12px 32px;
  border-radius: 40px;
  font-size: 16px;
}
.btn-service img {
  width: 20px;
}

/* --- サブカードリスト (02〜04) --- */
.services__list {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.service-card--small {
  width: calc(100% / 3);
  padding: 50px 20px 30px; /* バッジが被らないように上部paddingを多めに */
  display: flex;
  flex-direction: column;
}

/* 画像と重なるラベル */
.service-card__thumb-wrap {
  position: relative;
  margin-bottom: 30px;
}
.service-card__thumb {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.service-card__label {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 24px;
    border-radius: 7px;
    white-space: nowrap;
    border: none;
}

/* テキストとリンク */
.service-card__info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-card__desc {
  font-size: 13px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 24px;
  flex-grow: 1;
}
.btn-service--link {
  color: #333;
  font-size: 14px;
  align-self: center; /* リンクを中央揃えに */
}
.service-card__btn-wrap {
  text-align: center;
}
/* ==============================
   業者マッチングセクション (PC)
   ============================== */
.matching {
  padding: 100px 20px;
  background-color: #fff;
  position: relative;
  z-index: 2;
}

.matching__inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* 葉っぱの装飾（絶対配置） */
.matching__decor {
  position: absolute;
  z-index: 0;
}
.matching__decor--bl {
  bottom: -40px;
  left: -105px;
  width: 120px;
}
.matching__decor--tr {
  top: 0;
  right: -80px;
  width: 120px;
}

.matching__header,
.matching__content {
  position: relative;
  z-index: 2;
}

/* --- ヘッダーエリア --- */
.matching__header {
  text-align: center;
  margin-bottom: 60px;
}
.matching__title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
}
.matching__title-line {
  width: 80px;
  margin-bottom: 40px;
}
.matching__lead {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
  color: #333;
}

/* --- コンテンツエリア（2カラム） --- */
.matching__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.matching__diagram {
  width: 50%;
}
.matching__diagram img {
  width: 100%;
  height: auto;
  display: block;
}
.matching__text-wrap {
  width: 50%;
}
.matching__text {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}
/* ==============================
   セミナーセクション (PC)
   ============================== */
.seminar {
  padding: 100px 20px 120px;
  background-color: #E6F3EE; /* 背景の薄いグリーン */
  position: relative;
  z-index: 2;
}

.seminar__inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* 葉っぱの装飾 */
.seminar__decor {
  position: absolute;
  z-index: 0;
}
.seminar__decor--bl {
  bottom: -20px;
  left: -150px;
  width: 180px;
}
.seminar__decor--tr {
  top: 50px;
  right: -150px;
  width: 180px;
}

.seminar__header,
.seminar__layout {
  position: relative;
  z-index: 2;
}

/* タイトル */
.seminar__header {
  text-align: center;
  margin-bottom: 60px;
}
.seminar__title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.seminar__title-line {
  width: 80px;
}

/* --- カード共通スタイル --- */
.seminar-card {
  background-color: #fff;
  border: 4px solid #CDECE1; /* カンプの薄い緑の枠線 */
  border-radius: 16px;
  padding: 30px;
}

.seminar-card__thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* カード内のタイトル（緑の点線付き） */
.seminar-card__title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  text-align: center;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 3px dotted #00A48B; /* 緑の点線 */
}

.seminar-card__text {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 24px;
}

/* 詳しく見るリンクを右寄せに */
.seminar-card__btn-wrap {
  text-align: right;
}

/* --- 上段：大きなカード --- */
.seminar-card--large {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px; /* 下のカードとの余白 */
}
.seminar-card--large .seminar-card__thumb {
  width: 50%;
}
.seminar-card--large .seminar-card__content {
  width: 50%;
}

/* --- 下段：小さなカードリスト --- */
.seminar__grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.seminar-card--small {
  width: calc(50% - 15px);
  display: flex;
  flex-direction: column;
}
.seminar-card--small .seminar-card__thumb {
  margin-bottom: 20px;
}
.seminar-card--small .seminar-card__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* 高さを揃える */
}
.seminar-card--small .seminar-card__text {
  flex-grow: 1; /* テキストエリアを伸ばしてボタンを下に押しやる */
}
.seminar-card--small .seminar-card__text {
  flex-grow: 1; /* テキストエリアを伸ばしてボタンを下に押しやる */
}

.seminar-card--small .seminar-card__btn-wrap {
  text-align: center;
}
/* ==============================
   実績紹介セクション (PC)
   ============================== */
.works {
  padding: 100px 20px 120px;
  background-color: #FFF7C3;
  background-image: url('img/bg-infra.svg'); 
  background-size: 100% 100%; 
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 2;
}

.works__inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* タイトル */
.works__header {
  text-align: center;
  margin-bottom: 60px;
}
.works__title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.works__title-line {
  width: 80px;
}

/* --- カードリスト --- */
.works__list {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
}

.work-card {
  width: calc(100% / 3);
  background-color: #fff;
  border-radius: 16px;
  overflow: hidden; /* 角丸からはみ出る画像を隠す */
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* サムネイル */
.work-card__thumb {
  background-color: #d9d9d9; /* 画像がない時の仮のグレー背景 */
  aspect-ratio: 4 / 3; /* 画像の比率を固定 */
}
.work-card__thumb img {
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/
  display: block;
}

/* テキストエリア */
.work-card__info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* 高さを揃える */
}
.work-card__title {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.6;
  color: #333;
  margin-bottom: 24px;
  flex-grow: 1; /* テキストを伸ばしてラベルを下に押しやる */
}
.work-card__client {
  align-self: flex-start; /* 左寄せ */
  font-size: 12px;
  color: #555;
  border: 1px solid #ccc; /* 薄いグレーの枠線 */
  padding: 6px 16px;
  border-radius: 30px;
}

/* --- 下部のリンク --- */
.works__footer {
  text-align: center;
}
.btn-works {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  border-bottom: 2px solid #d9d9d9; /* カンプの下線 */
  padding-bottom: 4px;
  transition: opacity 0.2s;
}
.btn-works:hover {
  opacity: 0.7;
}
.btn-works img {
  width: 20px;
}
/* ==============================
   協賛メーカーセクション (PC)
   ============================== */
.sponsors {
  padding: 100px 20px 120px;
  background-color: #fff;
  position: relative;
  z-index: 2;
}

.sponsors__inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

/* 葉っぱの装飾 */
.sponsors__decor {
  position: absolute;
  z-index: 0;
}
.sponsors__decor--bl {
  bottom: -40px;
  left: -80px;
  width: 100px;
}
.sponsors__decor--tr {
  top: 0;
  right: -80px;
  width: 100px;
}

.sponsors__header,
.sponsors__list {
  position: relative;
  z-index: 2;
}

/* タイトル */
.sponsors__header {
  text-align: center;
  margin-bottom: 60px;
}
.sponsors__title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.sponsors__title-line {
  width: 80px;
}

/* --- ロゴリスト（CSS Gridで3列に並べる） --- */
.sponsors__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列を均等な幅にする魔法 */
  gap: 20px; /* 枠と枠の隙間 */
  list-style: none; /* ulの黒ポチを消す */
}

/* ロゴの枠 */
.sponsors__item {
  background-color: #fff;
  border: 2px solid #E5E5E5; /* カンプの薄いグレーの線 */
  border-radius: 12px;
  height: 100px; /* 枠の高さ */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.sponsors__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* 画像がはみ出さないように調整 */
}

/* 仮の文字のスタイル */
.sponsors__placeholder {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
/* ==============================
   健康診断の未来セクション (PC)
   ============================== */
.future {
  padding: 100px 20px 120px;
  background-color: #E6F3EE; /* 背景の薄いグリーン */
  position: relative;
  z-index: 2;
}

.future__inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* 葉っぱの装飾 */
.future__decor {
  position: absolute;
  z-index: 0;
}
.future__decor--tr {
  top: 185px;
  right: -230px;
  width: 250px;
}
.future__decor--ml {
  top: 35%;
  left: -120px;
  width: 250px;
}
.future__decor--br {
  bottom: 225px;
  right: -230px;
  width: 250px;
}

/* 前面に出す要素 */
.future__header,
.future__block {
  position: relative;
  z-index: 2;
}

/* タイトルエリア */
.future__header {
  text-align: center;
  margin-bottom: 60px;
}
.future__title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.future__title-line {
  width: 80px;
}

/* ブロック共通（AI×建物管理 / 自治体の監査ツールに） */
.future__block {
  text-align: center;
  margin-bottom: 80px;
}
.future__block:last-child {
  margin-bottom: 0;
}

/* サブタイトル（\ スラッシュ付き /） */
.future__subtitle {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 24px;
}
.future__subtitle .slash {
  color: #00A48B;
  margin: 0 6px;
}

/* リード文 */
.future__text {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 40px;
}

/* 白い箱（図解コンテナ） */
.future__box {
  background-color: #fff;
  border-radius: 24px;
  padding: 60px 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.future__box img {
  width: 100%;
  height: auto;
  display: block;
}

/* バナー */
.future__banner img {
  width: 100%;
  max-width: 500px; /* バナーの最大幅（カンプに合わせて調整してください） */
  height: auto;
  display: inline-block;
  border-radius: 12px;
  transition: opacity 0.2s;
}
.future__banner a:hover img {
  opacity: 0.8; /* リンクにする場合のホバーエフェクト */
}
/* ==============================
   フッター (PC)
   ============================== */
.footer {
  background-color: #fff;
  padding: 80px 20px 40px;
}

.footer__inner {
  max-width: 1100px; /* カンプの横幅に合わせて広めに設定 */
  margin: 0 auto;
}

/* ロゴを中央揃え */
.footer__logo {
  text-align: center;
  margin-bottom: 50px;
}
.footer__logo img {
  width: 200px; /* 実際のロゴサイズに合わせて微調整してください */
  height: auto;
}

/* ナビとボタンを左右に振り分ける */
.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

/* --- 左側：リンクメニュー --- */
.footer__nav {
  display: flex;
  gap: 24px;
  list-style: none; /* デフォルトの黒ポチを消す */
}
.footer__nav a {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer__nav a:hover {
  opacity: 0.7;
}

/* --- 右側：ボタン群 --- */
.footer__actions {
  display: flex;
  gap: 16px;
}
.btn-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-footer:hover {
  opacity: 0.8;
}

/* 各ボタンの色設定 */
.btn-footer--orange {
  background-color: #F28C00; /* カンプのオレンジ色（適宜調整してください） */
  color: #fff;
}
.btn-footer--green {
  background-color: #00A48B;
  color: #fff;
}
.btn-footer--white {
  background-color: #fff;
  color: #333;
  border: 1px solid #ccc;
}

/* --- コピーライト --- */
.footer__copyright {
  text-align: center;
}
.footer__copyright small {
  font-size: 12px;
  color: #aaa;
}
/* =========================================
   コンタクトフォーム用スタイル
========================================= */
.contact-section {
  background-color: #E6F3EE; /* 背景の薄い緑 */
  padding: 80px 20px;
}
.contact-section__inner {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.contact-section__header {
  text-align: center;
  margin-bottom: 40px;
}
.contact-section__title {
  font-size: 28px;
  color: #118A6A;
  margin-bottom: 10px;
  font-weight: bold;
}
.contact-section__lead {
  font-size: 15px;
  color: #666;
}
.contact-form__row {
  margin-bottom: 24px;
}
.contact-form__label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}
.contact-form__label .req {
  background-color: #E53935;
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: middle;
  font-weight: normal;
}
/* ▼ 追加：任意ラベル ▼ */
.contact-form__label .opt {
  background-color: #999;
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}
.contact-form__input {
  width: 100%;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s;
}
.contact-form__input:focus {
  outline: none;
  border-color: #118A6A;
  box-shadow: 0 0 0 2px rgba(17, 138, 106, 0.2);
}
.contact-form__address-wrap input {
  margin-bottom: 12px;
}
.contact-form__address-wrap input:last-child {
  margin-bottom: 0;
}
.contact-form__submit {
  text-align: center;
  margin-top: 50px;
}

/* ==============================
   スマートフォン表示用 (SP)
   ============================== */
@media (max-width: 768px) {
  body {
    /* 画像を画面幅の2.5倍に拡大し、葉っぱをPCと同じくらいのサイズ感で見せる */
    background-size: 250% auto; 
    /* 縦の繰り返しをストップし、汚いつなぎ目を消す */
    background-repeat: no-repeat; 
  }
  /* --- ヘッダー・メニュー --- */
  .header {
    padding: 15px 20px;
  }
  .header__logo img {
    height: 30px;
  }
  .header__nav,
  .header__actions {
    display: none; 
  }
  .header__hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 44px;
    height: 44px;
    background-color: #333;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 14px 10px;
    z-index: 101;
    position: relative;
  }
  .header__hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #fff;
    transition: transform 0.3s, opacity 0.3s;
  }
  .header__hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header__hamburger.is-active span:nth-child(2) { opacity: 0; }
  .header__hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .sp-menu {
    display: block;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background-color: #ffd819;
    background-image: url('img/bg-pattern.svg');
    background-size: cover;
    z-index: 100;
    padding: 100px 20px 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    overflow-y: auto;
  }
  .sp-menu.is-active {
    opacity: 1; visibility: visible;
  }
  .sp-menu__nav ul {
    display: flex; flex-direction: column; gap: 24px;
    text-align: center; margin-bottom: 40px;
    font-size: 16px; font-weight: bold; color: #333;
  }
  .sp-menu__actions {
    display: flex; flex-direction: column; gap: 16px;
  }
  .sp-menu__actions .btn {
    width: 100%; padding: 16px; font-size: 16px;
  }

  /* --- メインビジュアル --- */
  .hero { flex-direction: column; align-items: center; padding: 20px 15px 40px; }
  .hero__left { width: 100%; margin-bottom: 40px; }
  .hero__house-bg { padding: 100px 30px 80px; max-width: 100%; }
  .hero__main-logo img { max-width: 240px; }
  .hero__catch { font-size: 15px; margin-bottom: 24px; }
  .btn--main { font-size: 16px; padding: 12px 24px; }
  .hero__illust-tools { width: 150px; bottom: -40px; left: -15px; }
  .hero__illust-worker { width: 75px; bottom: 0px; right: 20px; }
  
  /* --- お問い合わせフォーム --- */
  .hero__right { width: 100%; }
  .form-dummy { padding: 20px 15px; }
  .form-dummy h2 { font-size: 16px; }
  .form-dummy__row { flex-direction: column; padding: 15px; margin-bottom: 0; }
  .form-dummy__row:nth-child(odd) { background-color: #eaf5f3; }
  .form-dummy__label { width: 100%; margin-bottom: 8px; font-size: 12px; }
  .form-dummy__input { font-size: 14px; padding: 10px; }
  .form-dummy__body { display: none; }
  .form-dummy__sp-btn {
    display: flex; justify-content: center; align-items: center;
    background-color: #f78d1e; color: #fff;
    font-size: 16px; font-weight: bold;
    padding: 16px; border-radius: 40px; margin-top: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  .form-dummy::after { display: none; }

  /* --- ロゴTicer --- */
  .logo-ticker { padding: 20px 0; gap: 20px; }
  .logo-ticker__list { gap: 20px; padding-right: 20px; }
  .logo-ticker__list img { width: 120px; height: 45px; }

  /* --- コンセプトセクション --- */
  .concept { padding: 60px 15px 105px; }
  .concept__inner { flex-direction: column; }
  .concept__content { width: 100%; margin-bottom: 40px; padding: 0 10px; }
  .concept__catch { font-size: 20px; margin-left: 20px; }
  .concept__quote { width: 30px; }
  .concept__quote--left { left: -20px; }
  .concept__quote--right { right: -10px; }
  .concept__image { width: 100%; }
  .concept__decor--bl { bottom: -20px; left: -20px; width: 70px; }
  .concept__decor--tr { top: -20px; right: -20px; width: 80px; }

  /* --- インフラ投資セクション --- */
  .infra-invest { padding: 60px 15px; }
  .infra-invest::before { top: -20px; height: 25px; }
  .infra-invest::after { bottom: -20px; height: 25px; }
  .infra-invest__title { font-size: 18px; line-height: 1.8; margin-bottom: 40px; }
  .hl-teal { padding: 2px 8px; }
  .infra-invest__columns { flex-direction: column; gap: 40px; margin-bottom: 50px; }
  .infra-invest__text, .infra-invest__figure { width: 100%; }
  .infra-invest__figure { max-width: 400px; margin: 0 auto; }
  /* --- 3つの基準セクション（SP） --- */
  .criteria {
    padding: 60px 15px;
  }
  
  /* スマホ表示では波線の高さも縮める */
  .criteria::before {
    top: -20px;
    height: 25px;
  }
  
  .criteria__title {
    font-size: 20px;
  }
  
  .criteria__sub-title {
    font-size: 12px;
    padding: 4px 16px;
    margin-bottom: 16px;
  }
  
  .criteria__title-line {
    width: 60px;
  }
  
  .criteria__list {
    flex-direction: column;
    gap: 40px;
  }
  
  .criteria__item {
    width: 100%;
  }
  
  .criteria__item-title {
    min-height: auto;
    margin-bottom: 8px;
  }
  
  .criteria__decor--tr {
    top: 0;
    right: -10px;
    width: 60px;
  }
  .criteria__decor--bl {
    bottom: -20px;
    left: -10px;
    width: 70px;
  }
  /* --- 対処的な修繕のリスク（SP） --- */
  .risk {
    padding: 60px 15px;
  }
  .risk__title { font-size: 22px; }
  .risk__lead { font-size: 14px; text-align: left; }
  
  .risk__box {
    padding: 30px 20px;
  }
  .risk__box-title { font-size: 16px; margin-bottom: 20px; }
  
  .risk__box-bottom {
    flex-direction: column; /* スマホでは縦積みに */
    gap: 12px;
  }
  .risk__cost-text { font-size: 18px; }
  
  .risk__solution-title {
    font-size: 16px;
    padding: 12px 20px;
    margin-bottom: 30px;
  }
  
  .risk__steps {
    flex-direction: column; /* スマホでは縦積みに */
    gap: 30px;
  }
  .risk__step { width: 100%; }
  .risk__step p { text-align: center; }
  
  /* スマホの時は黄色の矢印を90度回転させて下向きにする */
  .risk__step-arrow {
    transform: rotate(90deg); 
  }
  /* --- 対処的な修繕のリスク（SP）の葉っぱ --- */
  .risk__decor--l {
    top: 50%;
    left: -20px;
    width: 80px;
  }
  .risk__decor--tr {
    top: 0;
    right: -20px;
    width: 70px;
  }
  /* --- できることセクション（SP） --- */
  .features {
    padding: 60px 15px;
  }
  .features__title {
    font-size: 22px;
  }
  
  /* スマホでは左右反転を解除し、全て縦積みにする */
  .features__card,
  .features__card:nth-child(even) {
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
  }
  
  /* 画像を上に、テキストを下に並び替える */
  .features__card-image {
    width: 100%;
    order: 1; /* 表示順を1番にする */
  }
  .features__card-content {
    width: 100%;
    order: 2; /* 表示順を2番にする */
  }
  
  .features__card-title {
    font-size: 18px;
  }
  /* --- できることセクション（SP）のどこかに追加 --- */
  .features__card-text {
    text-align: center; /* スマホでは説明テキストも中央揃えにする */
  }
  /* --- 会員特典セクション（SP） --- */
  .members {
    padding: 60px 15px 80px;
  }
  
  .members__title-img {
    max-width: 320px;
  }
  
  .members__list {
    flex-direction: column; /* スマホでは縦並びに */
    gap: 50px;
  }
  
  .members__item {
    width: 100%;
  }
  
  .members__badge {
    width: 60px;
    top: -15px;
    left: -10px;
  }
  .members__title-bg {
    max-width: 320px;
  }
  .members__title-text {
    font-size: 25px; /* スマホの画像サイズに合わせて文字も小さくする */
  }
  /* --- 健康診断セクション（SP） --- */
  .health-check {
    padding: 60px 15px;
  }
  
  .health-check__box {
    padding: 40px 20px;
  }
  
  .health-check__badge {
    font-size: 14px;
    padding: 10px 20px;
    margin-bottom: 30px;
    width: 100%; /* スマホでは横幅いっぱいに */
  }
  
  .health-check__divider {
    margin: 40px 0;
  }
  /* --- マトリクスセクション（SP） --- */
  .matrix {
    padding: 60px 15px;
  }
  
  .matrix__box {
    padding: 30px 15px;
  }
  
  /* スマホではイラストを少し小さくし、位置を調整 */
  .matrix__man {
    width: 100px;
    bottom: -20px;
    left: -10px;
  }
  
  .matrix__highlight {
    font-size: 15px;
    line-height: 1.6;
    /* スマホで改行されたときのために背景の塗りを調整 */
    background: linear-gradient(transparent 40%, #BCE7DD 40%);
  }
  /* --- マトリクスセクション（SP）の葉っぱ --- */
  .matrix__decor--l {
    bottom: 50px;
    left: -20px;
    width: 100px;
  }
  .matrix__decor--tr {
    top: 20px;
    right: -20px;
    width: 100px;
  }
  /* --- 会員限定トピックス（SP） --- */
  .topics {
    padding: 60px 15px;
  }
  
  .topics__layout {
    flex-direction: column;
    gap: 20px;
  }
  
  .topic-card--large, 
  .topics__list {
    width: 100%;
  }
  
  /* スマホでは小カードも縦並びにする */
  .topic-card--small {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .topic-card--small .topic-card__thumb {
    width: 100%;
  }
  
  .topics__decor--bl {
    bottom: -20px;
    left: -10px;
    width: 70px;
  }
  .topics__decor--tr {
    top: 20px;
    right: -10px;
    width: 70px;
  }
  /* --- 各種サービスセクション（SP） --- */
  .services {
    padding: 60px 15px;
  }
  
  .services__header {
    margin-bottom: 50px;
  }
  
  .service-card__badge {
    width: 100px;
  }
  
  /* メインカードを縦並びに */
  .service-card--large {
    flex-direction: column;
    padding: 50px 20px 40px;
    gap: 30px;
    margin-bottom: 50px;
  }
  .service-card__content,
  .service-card__diagram {
    width: 100%;
  }
  .service-card__catch {
    font-size: 18px;
  }
  .service-card__btn-wrap {
    text-align: center;
  }
  
  /* サブカードを縦並びに */
  .services__list {
    flex-direction: column;
    gap: 50px;
  }
  .service-card--small {
    width: 100%;
  }
  /* --- 業者マッチング（SP） --- */
  .matching {
    padding: 60px 15px;
  }
  
  .matching__lead {
    font-size: 15px; /* スマホ用に文字サイズを少し小さく */
  }
  
  /* 2カラムを縦並びに */
  .matching__content {
    flex-direction: column;
    gap: 30px;
  }
  .matching__diagram,
  .matching__text-wrap {
    width: 100%;
  }
  
  /* 葉っぱの装飾の位置・サイズ調整 */
  .matching__decor--bl {
    bottom: -20px;
    left: -10px;
    width: 70px;
  }
  .matching__decor--tr {
    top: 20px;
    right: -10px;
    width: 70px;
  }
  /* --- セミナーセクション（SP） --- */
  .seminar {
    padding: 60px 15px;
  }
  
  /* 上段のカードを縦並びに */
  .seminar-card--large {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }
  .seminar-card--large .seminar-card__thumb,
  .seminar-card--large .seminar-card__content {
    width: 100%;
  }
  
  /* 下段の2カラムを縦並びに */
  .seminar__grid {
    flex-direction: column;
    gap: 30px;
  }
  .seminar-card--small {
    width: 100%;
    padding: 24px;
  }
  
  /* 葉っぱの調整 */
  .seminar__decor--bl {
    bottom: -10px;
    left: -30px;
    width: 90px;
  }
  .seminar__decor--tr {
    top: 20px;
    right: -30px;
    width: 90px;
  }
  /* --- 実績紹介セクション（SP） --- */
  .works {
    padding: 60px 15px;
  }
  
  .works__list {
    flex-direction: column;
    gap: 30px;
  }
  
  .work-card {
    width: 100%;
  }
  /* --- 協賛メーカーセクション（SP） --- */
  .sponsors {
    padding: 60px 15px;
  }
  
  /* スマホでは2列に変更する */
  .sponsors__list {
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
  }
  
  .sponsors__item {
    height: 80px; /* スマホ用に少し高さを低く */
  }
  
  .sponsors__decor--bl {
    bottom: -20px;
    left: -10px;
    width: 60px;
  }
  .sponsors__decor--tr {
    top: 20px;
    right: -10px;
    width: 60px;
  }
  /* --- 健康診断の未来セクション（SP） --- */
  .future {
    padding: 60px 15px;
  }
  
  .future__subtitle {
    font-size: 18px;
  }
  
  .future__box {
    padding: 30px 15px; /* スマホでは箱の余白を狭める */
  }
  
  /* スマホの画面幅に合わせて葉っぱのサイズと位置を調整 */
  .future__decor--tr {
    top: 20px;
    right: -20px;
    width: 70px;
  }
  .future__decor--ml {
    display: none; /* スマホではコンテンツに被りやすい中央の葉っぱは非表示にするのがオススメです */
  }
  .future__decor--br {
    bottom: 50px;
    right: -20px;
    width: 70px;
  }
  /* --- フッター（SP） --- */
  .footer {
    padding: 60px 15px 30px;
  }
  
  .footer__logo {
    margin-bottom: 40px;
  }
  
  /* メニューとボタンを縦並びに */
  .footer__content {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
  }
  
  /* メニューは中央揃えで折り返しを許可 */
  .footer__nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  /* ボタンは縦に並べて押しやすくする */
  .footer__actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px; /* ボタンが横に長くなりすぎないように制限 */
  }
  .btn-footer {
    width: 100%;
  }
  /* SP用調整 */
  .contact-section {
    padding: 60px 15px;
  }
  .contact-section__inner {
    padding: 30px 20px;
  }
  .contact-section__title {
    font-size: 24px;
  }
}