/*
 * Softlanding LP スタイル
 * 既存テーマの css/ フォルダに配置: css/softlanding.css
 */

/* 既存テーマのヘッダー・フッターを非表示 */
.softlanding-page #header,
.softlanding-page .site-header,
.softlanding-page #masthead,
.softlanding-page #colophon,
.softlanding-page .site-footer {
  display: none !important;
}



/* ===== リセット ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
.softlanding-page {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  background: #FFFEF2;
  color: #211715;
  line-height: 1.8;
}
.softlanding-page a { color: inherit; text-decoration: none; }

/* ===== 共通レイアウト ===== */
.sl-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.section {
  padding: 56px 0;
}
.section-title {
  text-align: center;
  color: #00733F;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

/* ===== ヘッダー ===== */
.softlanding-page header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  background: rgba(255,254,242,0.93);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,115,63,0.12);
  display: flex;
  align-items: center;
}
header .sl-wrap {
  width: 100%;
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.softlanding-page header h1 {
  color: #00733F;
  font-size: clamp(0.75rem, 2vw, 1rem);
  font-weight: bold;
  letter-spacing: 0.06em;
}
.softlanding-page header button {
  background: #00733F;
  color: white;
  font-size: 0.8rem;
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.softlanding-page header button:hover { background: #005a32; }

/* ===== メイン ===== */
.softlanding-page main { padding-top: 60px; }

/* ===== ヒーロー ===== */
#hero {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 20px 24px;
  text-align: center;
}
#hero h2 {
  color: #00733F;
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
#hero h2 .yellow {
  color: #FDD000;
  display: inline-block;
  text-shadow: 1px 1px 0 #00733F;
}
#hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}

/* ===== イントロボックス ===== */
.intro-box {
  background: #FFFEE5;
  border: 1.5px solid #00733F;
  border-radius: 16px;
  padding: clamp(24px, 5vw, 48px);
}
.intro-box h3 {
  text-align: center;
  color: #00733F;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  font-weight: bold;
  line-height: 1.8;
  margin-bottom: 16px;
  padding-bottom: 16px;
}
.intro-box h3 span{
  border-bottom:5px solid #FDD000;
}
.intro-box p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

/* ===== ステップ ===== */
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
  justify-content: space-between;
}
.step img,
.step svg { width: 100%; max-width: 320px; height: auto; }

/* ステップ画像クラス */
.step-img          { width: 100%; max-width: 320px; height: auto; display: block; }
.step-img--sm      { max-width: 240px; }
.step-img--tall    { max-width: 320px; max-height: 300px; width: auto; }
.step .text { width: 100%; }
.step .num-title {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}
.step .num { flex-shrink: 0; }
.step h3 {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: bold;
  color:#00733f;
  text-decoration: underline;
  letter-spacing: 0.1em;
  text-align: left;
  margin: 0;
  padding-bottom:12px;
}
.step p.step_sub{
  color:#00733f;
  margin-bottom:1rem;
  font-weight: bold;
}
.step p { font-size: 0.93rem; margin-bottom: 6px;max-width: 500px;
  margin: 0 auto; }

@media (max-width: 639px) {
  .step { flex-wrap: wrap; }

  .step .text {
    width: 100%;
    display: contents; 
  }

  .step .num-title { order: 1; width: 100%;margin-bottom:0; }
  .step img        { order: 2;max-width: 200px; }
  .step p.step_sub { order: 3; width: 100%;margin-bottom:0; }
  .step p:not(.step_sub) { order: 4; width: 100%; }

  /* スマホでは最大幅200px */
  .step-img          { max-width: 200px; }
  .step-img--sm      { max-width: 200px; }
  .step-img--tall    { max-width: 200px; max-height: none; width: 100%; }
}

/* ===== PC: 横並び ===== */
@media (min-width: 640px) {
  .step { flex-direction: row; align-items: center; }
  .step img,
  .step svg { flex: 0 0 44%; }
  .step img { padding: 20px; }
  .step .text { text-align: left; }
  .step .num-title { justify-content: flex-start; max-width: 500px; margin: 0 auto; }
  .step.reverse { flex-direction: row-reverse; }
}

/* ===== 地元接続ボックス ===== */
.local-box {
  background: #FFFAC2;
  border: 2px solid #00733F;
  border-radius: 999px;
  padding: clamp(32px, 7vw, 60px);
  text-align: center;
}
.local-box h3 {
  color: #00733F;
  font-weight: bold;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  line-height: 1.7;
}
.local-box .badge {
  display: inline-block;
  background: #FDD000;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 4px 18px;
  margin-bottom: 16px;
}
.local-box p { font-size: 0.93rem; line-height: 2;text-align: left; }

/* ===== プログラム詳細 ===== */
.detail-box {
  border: 2px solid #00733F;
  border-radius: 12px;
  padding: clamp(24px, 5vw, 40px);
  background: white;
}
.detail-box .subtitle {
  border-radius: 8px;
  font-weight: bold;
  margin-bottom: 24px;
}
.detail-row { margin-bottom: 20px; }
.detail-row h4 {
  font-weight: bold;
  border-bottom: 1px solid rgba(0,115,63,0.2);
  padding-bottom: 6px;
  margin-bottom: 8px;
}
.detail-row ul { padding-left: 20px; }
.detail-row li,
.detail-row p { font-size: 0.92rem; line-height: 1.8; margin-bottom: 4px; }
.detail-row .note { font-size: 0.82rem; color: #666; }

/* ===== 滞在事例 ===== */
.case-study {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: space-around;
}
.case-study p { font-size: 0.93rem; line-height: 2; margin-bottom: 10px; }
.case-study .photo {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.85rem;
  border: 4px solid white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .case-study { flex-direction: row; }
}
@media (max-width: 639px) {
  .local-box .badge{padding:4px 6px;}
  .local-box h3{white-space: nowrap;letter-spacing:0;}
}


/* ===== FAQ ===== */
.faq-item {
  border-bottom: 1px solid rgba(0,115,63,0.2);
  padding: 4px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 14px 0;
  font-family: inherit;
}
.faq-btn .q-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #00733F;
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-btn .q-text {
  flex: 1;
  font-weight: bold;
  color: #00733F;
  font-size: clamp(0.93rem, 2.5vw, 1.05rem);
  line-height: 1.5;
}
.faq-btn .arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-btn .arrow::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #00733F;
  border-bottom: 2px solid #00733F;
  transform: rotate(45deg);
  margin-top: -5px;
  transition: transform 0.25s, margin-top 0.25s;
}
.faq-btn.open .arrow::before {
  transform: rotate(-135deg);
  margin-top: 5px;
}
.faq-answer {
  display: none;
  padding: 4px 0 16px 42px;
  font-size: 0.92rem;
  line-height: 1.9;
}
.faq-answer.open {
  display: block;
  animation: drop 0.2s ease;
}
@keyframes drop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== 利用のしかた ===== */
.usage-box {
  border: 2px solid #00733F;
  border-radius: 16px;
  padding: clamp(28px, 5vw, 44px);
  background: white;
  max-width: 600px;
  margin: 40px auto 0;
}
.usage-box h3 {
  text-align: center;
  color: #00733F;
  font-weight: bold;
  font-size: clamp(1rem, 3vw, 1.2rem);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.usage-step {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}
.usage-step:last-child { margin-bottom: 0; }
.usage-step .num {
  font-size: 2rem;
  font-weight: bold;
  color: #00733F;
  line-height: 1;
  flex-shrink: 0;
}
.usage-step h4 { font-weight: bold; margin-bottom: 4px; }
.usage-step p { font-size: 0.88rem; line-height: 1.7; }

/* ===== CTA ===== */
#cta {
  background: #FFF5C2;
  padding: 64px 20px;
  text-align: center;
  margin-top: 80px;
}
#cta .label {
  display: inline-block;
  color: #00733F;
  font-weight: bold;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  letter-spacing: 0.1em;
  border-bottom: 2px solid #00733F;
  margin-bottom: 4px;
}
#cta .free {
  display: block;
  color: #00733F;
  font-weight: bold;
  font-size: clamp(1rem, 3vw, 1.2rem);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.tel-block {
  max-width: 380px;
  margin: 20px auto 20px;
  background: #FDD000;
  border:5px solid #00733f;
  border-radius: 999px;
  padding: 14px 32px;
  transition: transform 0.2s;
}
.tel-block:hover { transform: scale(1.03); }
.tel-block a {
  color:#00733f;
  display: block;
  font-weight: bold;
  font-size: clamp(1.4rem, 5vw, 2rem);
  letter-spacing: 0.08em;
}
.tel-block p { font-size: 0.85rem; font-weight: bold; margin-top: 2px;color:#00733f; }
.cta-btn {
  display: inline-block;
  background: #00733F;
  border:5px solid #FDD000;
  color: white;
  font-weight: bold;
  font-size: clamp(1.2rem, 4vw, 1.4rem);
  padding: 16px 48px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  transition: background 0.2s;
}
a.cta-btn{
  color:white;
}
.cta-btn:hover { background: #005a32; }

/* ===== 運営主体 ===== */
#organizer {
  padding: 56px 20px;
}
#organizer .inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (min-width: 640px) {
  #organizer .inner { flex-direction: row; justify-content: space-between; }
}
#organizer h2 {
  color: #00733F;
  font-weight: bold;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
#organizer h3 { font-size: 1rem; font-weight: bold; margin-bottom: 12px; }
#organizer p { font-size: 0.88rem; line-height: 1.9; margin-bottom: 6px; }
#organizer .map {
  width: 50%; height: 400px;
  background: #ddd;
  margin-right:calc(-50vw + 380px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.only_sp{
    display: none;
  }
@media (max-width: 640px) {
  .section{
    padding:30px 0;
  }
  .local-box{
    padding: 50px clamp(32px, 7vw, 60px);
    border-radius: 100px;
  }
  #organizer .map {
    width: 100%; 
  }
  .only_sp{
    display: block;
  }
  #cta{
    padding: 30px 20px;
  }
}

/* ===== フッター ===== */
.softlanding-page footer {
  background: #00733F;
  color: white;
  text-align: center;
  padding: 16px;
  font-size: 0.75rem;
}