/* PROMOTE / JIKEI Dock LP
   - Minimal colors: Green + Dark Gray + White
   - Mobile first, readable, quiet but strong
*/

:root{
  --green:#00A3A3;
  /* 見出し用：ボタンより少し落ち着いたグリーン */
  --green-title:#007F7F;
  --green-weak: rgba(0,163,163,.08);
  --green-weak-2: rgba(0,163,163,.12);
  --text:#202325;
  --muted:#5B6166;
  --line: rgba(20, 30, 35, .14);
  --line-strong: rgba(0,163,163,.35);
  --bg:#ffffff;
  --card:#ffffff;
  --shadow: 0 10px 30px rgba(12, 18, 22, .08);
  --radius: 16px;
  --radius-sm: 12px;
  --max: 1100px;

  /* ==== Design tokens: edit here ==== */
  --accent: var(--green);
  --accent-title: var(--green-title);
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-head: 700;
  --fw-bold: 800;

  --fs-xs: 12px;
  --fs-sm: 13px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --fs-2xl: 32px;
  --fs-3xl: 44px;

  --space-1: 6px;
  --space-2: 10px;
  --space-3: 14px;
  --space-4: 18px;
  --space-5: 22px;
  --space-6: 28px;
  --space-7: 36px;
  --space-8: 48px;

  --card-border: 1px solid var(--border);
  --card-shadow: var(--shadow);
  --card-pad: 18px;
  --card-pad-lg: 22px;
  --card-pad-xl: 26px;

  --section-pad: 44px;
  --section-pad-sm: 34px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}

img{ max-width:100%; height:auto; display:block; }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  /* ロゴが上端ギリギリに見えないよう、上下余白を増やす */
  padding: 24px 0 18px;
  gap: 14px;
}

.brand{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  flex-shrink: 0;
}

.brand-logo{
  /* スマホで潰れて見えないよう、比率維持で縮小 */
  height: auto;
  max-height: 92px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
}

.header-actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

.header-tel{
  text-decoration:none;
  color: var(--text);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 999px;
  padding: 8px 12px;
  display:flex;
  flex-direction:column;
  line-height:1.2;
  flex-shrink: 0;
}
.header-tel__label{ font-size: 12px; color: var(--muted); }
.header-tel__value{ font-weight: var(--fw-head); letter-spacing: .02em; white-space: nowrap; }

.header-home{
  text-decoration:none;
  color: var(--text);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 999px;
  padding: 10px 12px;
  display:inline-flex;
  align-items:center;
  gap: 8px;
}
.header-home svg{ width: 16px; height: 16px; display:block; }
.header-home span{ font-weight: var(--fw-head); font-size: 12px; letter-spacing: .02em; }

/* Mobile header: ロゴの下に「電話 / HOME」を回して、欠け・隠れを防ぐ */
@media (max-width: 560px){
  .header-inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 22px 0 14px;
  }
  .header-actions{
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }
  .header-tel{
    flex: 1 1 240px;
    width: 100%;
    grid-template-columns: auto 1fr;
    column-gap: 10px;
    align-items: center;
  }
  .header-tel__label{
    font-size: 12px;
  }
  .header-tel__value{
    font-size: var(--fs-md);
    justify-self: end;
  }
  .header-home{
    padding: 11px 12px;
  }
}

@media (max-width: 420px){
  .header-inner{ padding: 20px 0 12px; }
  .brand-logo{ max-height: 76px; max-width: 240px; }
  .header-home span{ display:none; }
  .header-home{ padding: 10px; }
}

@media (max-width: 360px){
  .header-actions{
    flex-direction: column;
    align-items: stretch;
  }
  .header-home{
    justify-content: center;
  }
  .header-tel__value{ justify-self: start; }
}

.hero{
  padding: 36px 0 34px;
}
.hero-inner{
  display:grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.kicker{
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--muted);
  display:inline-block;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}

.hero-title{
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: .01em;
  /* 日本語の不自然な折り返し（例：『判断材料で｜す。』）を抑える */
  word-break: keep-all;
  line-break: strict;
}

.br-mobile{display:inline;}
@media (min-width: 560px){
  .br-mobile{display:none;}
}

.hero-lead{
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.hl{
  background: linear-gradient(transparent 60%, var(--green-weak-2) 0);
  padding: 0 .2em;
  border-radius: 6px;
}

.hero-cta{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.micro{
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.note-card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 14px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.note-card__title{
  font-weight: var(--fw-head);
  margin: 0 0 8px;
  font-size: 14px;
}
.note-list{
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.note-list li{ margin: 4px 0; }

.section{
  padding: var(--section-pad) 0;
}
.section-head{
  margin-bottom: 14px;
}
.section-title{
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: .01em;
  color: var(--accent-title);
}
.section-lead{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.panel{
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.panel-accent{
  border-color: var(--line-strong);
  background: linear-gradient(180deg, var(--green-weak) 0%, #fff 60%);
}
.panel-head{
  padding: 16px 16px 8px;
}
.panel-title{
  margin: 0;
  font-size: 18px;
}
.panel-sub{
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.checklist{
  list-style: none;
  margin: 0;
  padding: 0 16px 10px;
}
.checklist li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 8px 0;
  border-top: 1px solid rgba(0,0,0,.06);
}
.checklist li:first-child{ border-top: 0; }

.check{
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0,163,163,.45);
  border-radius: 6px;
  margin-top: 2px;
  position: relative;
  flex: 0 0 auto;
}
.check::after{
  content:"";
  position:absolute;
  left: 4px; top: 1px;
  width: 6px; height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(40deg);
}

.panel-cta{
  margin: 0;
  padding: 10px 16px 0;
  color: var(--text);
}
.panel-cta .soft{
  display:block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.panel-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 16px 16px;
}

.card{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
}
.card-soft{
  border-color: rgba(0,163,163,.18);
  background: linear-gradient(180deg, var(--green-weak) 0%, #fff 55%);
}
.card-body{ padding: 16px; }
.card-strong{ margin: 0 0 8px; font-weight: var(--fw-head); }
.card-note{ margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.card-actions{ display:flex; gap: 10px; flex-wrap: wrap; }

.grid{
  display:grid;
  gap: 12px;
}
.grid-courses{
  grid-template-columns: 1fr;
}

.course{
  border-radius: var(--radius);
  border: 2px solid rgba(0,0,0,.12);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.course-featured{
  border: 3px solid rgba(0,163,163,.35);
}
.course-head{
  padding: 16px 16px 0;
}
.course-title-row{
  display:flex;
  align-items: center;
  gap: 10px;
}
.course-title{
  margin: 0;
  font-size: var(--fs-md);
}
.badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size: 12px;
  font-weight: var(--fw-head);
  color: var(--accent);
  border: 1px solid rgba(0,163,163,.40);
  background: rgba(0,163,163,.08);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.course-price{
  margin: 8px 0 0;
  font-size: 24px;
  font-weight: var(--fw-head);
  letter-spacing: .01em;
}
.course-price .yen{
  font-size: 14px;
  margin-right: 4px;
  color: var(--muted);
}
.course-desc{
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.course-list{
  margin: 12px 0 0;
  padding: 0 16px 0 34px;
  color: var(--muted);
  font-size: 13px;
}
.course-list li{ margin: 5px 0; }
.course-foot{
  padding: 14px 16px 16px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tiny{
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.stack{
  display:flex;
  flex-direction: column;
  gap: 14px;
}
.equip{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  display:grid;
  grid-template-columns: 1fr;
}
.equip-media img{
  width:100%;
  height: 220px;
  object-fit: cover;
}

.equip-placeholder{
  width: 100%;
  height: 220px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #f6f7f8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
}

.equip-body{
  padding: 16px;
}
.equip-title{
  margin: 0 0 6px;
  font-size: var(--fs-md);
}
.equip-text{
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
}
.equip-points{
  margin: 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  font-size: 13px;
}
.equip-points li{ margin: 4px 0; }

.flow{
  margin: 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 10px;
}
.flow li{
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 14px;
  background: #fff;
}
.flow-title{
  margin: 0 0 4px;
  font-weight: var(--fw-semibold);
}
.flow-text{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.faq{
  display:grid;
  gap: 10px;
}
.faq-item{
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 12px;
  background: #fff;
}
.faq-item summary{
  cursor: pointer;
  font-weight: var(--fw-semibold);
}
.faq-item p{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.after{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, var(--green-weak) 100%);
  box-shadow: var(--shadow);
  padding: 16px;
}
.after-lead{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.after-lead strong{
  color: var(--text);
}

.form-wrap{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items:start;
}
.form-embed{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:#fff;
  box-shadow: var(--shadow);
  overflow:hidden;
}

.form-iframe{
  width: 100%;
  border: 0;
  border-radius: 16px;
  background: #fff;
  /* 内部スクロールバー（右のサイドバー）が出ないよう、十分な高さを確保 */
  height: 1450px;
  min-height: 900px;
}

@media (min-width: 900px){
  .form-iframe{ height: 1200px;
  min-height: 900px; }
}

.form-fallback{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.form-fallback a{
  color: var(--accent);
  font-weight: var(--fw-semibold);
}

.form-placeholder{
  padding: 16px;
}
.form-placeholder__title{
  margin: 0 0 6px;
  font-weight: var(--fw-semibold);
}
.form-placeholder__text{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-aside{
  display:grid;
  gap: 12px;
}
.aside-card{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:#fff;
  box-shadow: var(--shadow);
  padding: 14px 14px;
}
.aside-title{
  margin: 0 0 6px;
  font-weight: var(--fw-semibold);
}
.aside-tel{
  display:inline-block;
  text-decoration:none;
  color: var(--text);
  font-weight: var(--fw-bold);
  letter-spacing: .02em;
  margin: 4px 0 6px;
}
.aside-note{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer{
  border-top: 1px solid var(--border);
  padding: 22px 0 80px; /* space for fixed CTA */
}
.footer-inner{
  display:flex;
  flex-direction: column;
  gap: 6px;
}
.footer-brand{
  margin:0;
  /* フッターの病院名は重すぎると硬く見えるので、少し軽く */
  font-weight: var(--fw-semibold);
}
.footer-note{
  margin:0;
  color: var(--muted);
  font-size: 12px;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  color: var(--text);
  text-decoration:none;
  font-weight: var(--fw-bold);
  font-size: 14px;
}
.btn:hover{ filter: brightness(.98); }
.btn:active{ transform: translateY(1px); }

.btn-primary{
  border-color: rgba(0,163,163,.35);
  background: var(--accent);
  color: #fff;
}
.btn-ghost{
  background: #fff;
  border-color: rgba(0,0,0,.14);
  color: var(--text);
}
.btn-lg{
  padding: 12px 16px;
  font-size: 15px;
}

/* Fixed CTA */
.fixed-cta{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 10px 12px;
  display:flex;
  gap: 10px;
  justify-content:center;
}
.fixed-cta .btn{
  min-width: 44%;
}

/* Responsive */
@media (min-width: 860px){
  .hero-inner{
    /* 右のボックスの余白を詰め、左のコピー幅を少し広げる */
    grid-template-columns: 1.35fr .65fr;
    align-items: start;
    gap: 22px;
  }
  .hero-aside{ justify-self: end; }
  .hero-title{ font-size: 34px; }
  .grid-courses{ grid-template-columns: repeat(2, 1fr); }
  .equip{
    grid-template-columns: 1fr 1fr;
  }
  .equip-media img{ height: 100%; min-height: 240px; }
  .form-wrap{
    grid-template-columns: 1.2fr .8fr;
  }
  .fixed-cta{
    display:none;
  }
  .site-footer{ padding-bottom: 30px; }
}


/* Director message */
.message-card{
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
.message-photo{
  background: rgba(0,0,0,.02);
}
.message-photo img{
  width: 100%;
  height: 280px;
  object-fit: cover;
  /* 頭上の余白を少し確保 */
  object-position: center 30%;
}
.message-body{
  padding: 16px;
}
.message-quote{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.message-sign{
  margin: 12px 0 0;
  font-weight: var(--fw-semibold);
  letter-spacing: .02em;
}
.message-name{
  color: var(--text);
}
@media (min-width: 860px){
  .message-card{ grid-template-columns: .9fr 1.1fr; }
  .message-photo img{ height: 420px; }
}
