@charset "UTF-8";

/* =========================================================
   Base Settings (Color Palette & Senior-Friendly Typography)
========================================================= */
:root {
  --color-primary: #388c84;
  --color-secondary: #eef5f3;
  --color-accent: #4b928f;
  --color-text: #333333;
  --color-text-light: #5c736b;
  --color-bg: #ffffff;
  --color-white: #ffffff;
  --border-radius: 8px;
  --bg-light: #fcfbf9;
  --border-color: #dbeae6;
  
  /* LP特有の目立たせるカラー（ボタンや警告用） */
  --color-cta: #db5000;
  --color-warning: #d90000;
}

body {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--color-text);
  background-color: var(--bg-light);
  font-size: 18px; 
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: opacity 0.3s ease;
}
a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* 共通のインナーコンテナ */
.fv-container,
.sitemenu-inner,
.summary-inner,
.history-inner,
.inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.pc-only { display: block; }

/* 共通見出しスタイル */
.section-title {
  text-align: center;
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 40px;
  color: var(--color-primary);
  font-weight: bold;
  line-height: 1.5;
}
.section-title span {
  display: block;
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

/* =========================================================
   Screen 1: First View (FV)
========================================================= */
.fv-section {
  background-color: var(--color-secondary);
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}
.fv-columns {
  display: flex;
  align-items: center;
  gap: 40px;
}
.fv-content {
  flex: 1.2;
}
.fv-sub {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-light);
  margin-bottom: 10px;
}
.fv-title {
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.5;
  margin-bottom: 20px;
  color: var(--color-primary);
  word-break: keep-all;
}
.fv-title span {
  font-size: 1.1em;
  display: block;
  color: var(--color-accent);
}
.fv-catch {
  font-size: 18px;
  margin-bottom: 30px;
}
.fv-image {
  flex: 1;
}
.fv-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.fv-bottom-single {
  margin-top: 50px; /* 上の2カラムとの余白 */
  text-align: center; /* 中身を中央揃えにする */
}

/* FV内のアラート枠 */
.fv-alert {
  background-color: #fff;
  border: 2px solid #ffcccc;
  border-radius: var(--border-radius);
  padding: 20px 30px;
  margin: 0 auto 40px; /* 左右autoでボックス全体を中央に配置 */
  max-width: 1100px; /* 幅が広がりすぎないように制限 */
  text-align: left; /* ボックスは中央でも、中の文章は左揃えにして読みやすく */
}
.fv-alert .alert-title {
  color: var(--color-warning);
  font-weight: bold;
  margin-bottom: 10px;
}
.fv-alert p {
  font-size: 16px;
  color: #a30000;
  margin: 0;
  line-height: 1.6;
}
.fv-alert strong {
  background: linear-gradient(transparent 60%, #ffff66 60%);
  color: #333;
}

/* CTAボタン（LP用コンバージョンボタン） */
.fv-cta-wrapper {
  text-align: center; /* 確実に中央配置 */
}
.btn-cta {
  display: inline-block;
  background-color: var(--color-cta);
  color: var(--color-white);
  padding: 18px 40px; /* 1カラムで目立つよう、少しだけボタンを大きく */
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(219, 80, 0, 0.2);
}
.btn-cta:hover {
  text-decoration: none;
  background-color: #c74800;
  color: var(--color-white);
}
.btn-cta .btn-sub {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}
.btn-cta .btn-main {
  display: block;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: bold;
}
/* =========================================================
   Section 2: Issues (課題)
========================================================= */
.issues-section {
  padding: 80px 0;
  background-color: var(--color-bg);
}
.issue-boxes-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

/* 2カラムレイアウト部分 */
.issue-columns {
  display: flex;
  gap: 30px; /* 左右の箱の隙間 */
}
.issue-col {
  flex: 1; /* 左右を均等な幅（50%ずつ）にする */
  display: flex;
  flex-direction: column;
}

/* 個別の課題ボックス */
.issue-box {
  background: var(--color-white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 30px 30px 30px 60px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  /* flex: 1 を指定することで、左右で文字数が違っても箱の高さを綺麗に揃えます */
  flex: 1; 
}
.issue-box::before {
  content: "✔";
  position: absolute;
  left: 25px;
  top: 32px;
  font-size: 24px;
  color: var(--color-primary);
  font-weight: bold;
}
.issue-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  color: var(--color-white);
  margin-bottom: 15px;
}
.issue-label.temple { background-color: #658c88; }
.issue-label.stone { background-color: #8c7c65; }
.issue-label.both { background-color: var(--color-primary); }
.issue-box p {
  margin: 0;
  font-weight: bold;
}

/* 矢印部分 */
.issue-arrow {
  text-align: center; /* センター寄せ */
  color: var(--color-primary);
  font-size: 32px; /* 矢印の大きさ */
  margin: 15px 0; /* 箱と矢印の間の余白 */
  line-height: 1;
}

/* 共通の悩み（1カラム） */
.issue-box.common {
  border: 2px solid var(--color-primary);
  background-color: var(--color-secondary);
  flex: none; /* 高さを揃えるflexを解除 */
}
/* =========================================================
   Section 3: Reasons (選ばれる理由)
========================================================= */
.reasons-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}
.reason-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.reason-card {
  background: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.reason-head {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.step-num {
  background: var(--color-white);
  color: var(--color-primary);
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  white-space: nowrap;
}
h3.step-title {
  margin: 0 auto;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: bold;
  color: #fff;
}
.reason-body {
  padding: 30px;
}
.reason-body p {
  margin-bottom: 1.5em;
}
.reason-body p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Section 4: Conditions (提携条件)
========================================================= */
.conditions-section {
  padding: 60px 0 100px;
  background-color: var(--color-bg);
}
.condition-box {
  background-color: var(--color-secondary);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 50px;
  margin-bottom: 50px;
  max-width: 1100px;
  margin: 0 auto 50px;
}
.condition-title {
  text-align: center;
  font-size: 26px;
  color: var(--color-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 15px;
  font-weight: bold;
}
.condition-sub {
  text-align: center;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--color-text-light);
}
.condition-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}
.condition-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}
.condition-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--color-accent);
}
.warning-text {
  color: var(--color-warning);
  font-size: 15px;
  font-weight: bold;
  margin: 0;
}

.bottom-cta {
  text-align: center;
}
/* セクション全体 */
.industry-section {
  padding: 60px 20px;
  background-color: #f9f9f9; /* 背景色（サイトに合わせて変更してください） */
}

.industry-section .inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* セクションタイトル */
.industry-section .section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
  color: #333;
  line-height: 1.4;
}

.industry-section .section-title span {
  display: block;
  font-size: 16px;
  color: #666; /* サブタイトルの色 */
  margin-bottom: 8px;
  font-weight: normal;
}

/* カードを並べる親要素（Gridレイアウト） */
.industry-box-wrapper {
  display: grid;
  /* ▼ 4列にする場合 */
  grid-template-columns: repeat(4, 1fr);
  /* ▼ 3列にしたい場合は上の行を消して下のコメントを解除してください */
  /* grid-template-columns: repeat(3, 1fr); */
  gap: 24px; /* カード同士の隙間 */
}

/* 各カードのデザイン */
.industry-card {
  position: relative; /* aタグをカード全体に広げるための基準 */
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ホバー時のアニメーション（少し浮き上がる） */
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* 空のaタグをカード全体に広げてクリック可能にする */
.industry-card > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* カード内の見出し（業種名） */
.industry-card h3 {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin: 0 0 15px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #eee; /* タイトル下の線 */
  color: #333;
}

/* カード内の画像 */
.industry-card img {
  width: 100%;
  aspect-ratio: 16 / 10; /* 画像の縦横比を統一（画像のサイズがバラバラでも揃います） */
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}

/* カード内のリスト */
.industry-card ul {
  margin: 0;
  padding-left: 20px;
  color: #555;
  font-size: 16px;
  line-height: 1.7;
}

.industry-card ul li {
  margin-bottom: 4px;
}

/* =========================================
   レスポンシブ対応（画面幅に応じた列数変更）
   ========================================= */

/* 画面幅が1024px以下（小さめのPC・タブレット横）は3列 */
@media (max-width: 1024px) {
  .industry-box-wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* 画面幅が768px以下（タブレット縦・大きめスマホ）は2列 */
@media (max-width: 768px) {
  .industry-box-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .industry-section .section-title {
    font-size: 24px;
  }
}

/* 画面幅が480px以下（スマホ）は1列 */
@media (max-width: 480px) {
  .industry-box-wrapper {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Media Queries (Mobile)
========================================================= */
@media (max-width: 768px) {
  .pc-only { display: none; }
  
  .fv-columns {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .fv-cta-wrapper {
    text-align: center;
  }
  .fv-alert {
    text-align: left;
  }
  
  .issue-box {
    padding: 20px 20px 20px 45px;
  }
  .issue-box::before {
    left: 15px;
    top: 22px;
  }
  
  .reason-head {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .reason-body {
    padding: 20px;
  }
  
  .condition-box {
    padding: 30px 20px;
  }
  .condition-list li {
    padding-left: 25px;
  }
}