/*
Theme Name: あさんぽ
Theme URI:
Author: あさんぽ
Description: ナースの訪問フットケア あさんぽ
Version: 1.0
*/

    :root {
      --green-dark:   #085041;
      --green-main:   #0F6E56;
      --green-mid:    #1D9E75;
      --green-light:  #5DCAA5;
      --green-pale:   #9FE1CB;
      --green-bg:     #E1F5EE;
      --amber-bg:     #FAEEDA;
      --amber-text:   #633806;
      --text-main:    #1a1a1a;
      --text-sub:     #555;
      --border:       rgba(0,0,0,0.08);
      --white:        #ffffff;
      --bg:           #f7faf9;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Noto Sans JP', sans-serif;
      background: var(--bg);
      color: var(--text-main);
      line-height: 1.7;
    }

    /* ナビゲーション */
    nav {
      background: var(--white);
      border-bottom: 1px solid var(--border);
      padding: 0 2rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .nav-logo {
      font-family: 'Yomogi', cursive;
      font-size: 20px;
      font-weight: 700;
      color: var(--green-main);
      text-decoration: none;
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
    }

    .nav-links a {
      font-size: 13px;
      color: var(--text-sub);
      text-decoration: none;
      transition: color 0.2s;
    }

    .nav-links a:hover { color: var(--green-main); }

    .nav-cta {
      background: var(--green-main);
      color: var(--white) !important;
      padding: 8px 20px;
      border-radius: 24px;
      font-size: 13px !important;
    }

    .nav-cta:hover { background: var(--green-dark); color: var(--white) !important; }

    /* ヒーロー */
    .hero {
      background: var(--green-bg);
      padding: 5rem 2rem 4rem;
      text-align: center;
    }

    .logo-area {
      margin-bottom: 2rem;
    }

    .logo-main {
      font-family: 'Yomogi', cursive;
      font-size: clamp(40px, 8vw, 64px);
      font-weight: 700;
      color: var(--green-main);
      display: block;
      letter-spacing: 0.08em;
    }

    .logo-line {
      width: 320px;
      max-width: 90%;
      height: 2px;
      background: var(--green-pale);
      margin: 0.5rem auto;
    }

    .logo-sub {
      font-size: 14px;
      color: var(--green-mid);
      letter-spacing: 0.1em;
    }

    .logo-en {
      font-size: 12px;
      color: var(--green-light);
      letter-spacing: 0.15em;
      margin-top: 2px;
    }

    .hero-catch {
      font-size: clamp(14px, 2.5vw, 16px);
      color: var(--green-dark);
      max-width: 560px;
      margin: 0 auto 2rem;
      line-height: 1.9;
    }

    .badges {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: center;
    }

    .badge {
      background: var(--green-main);
      color: var(--white);
      font-size: 12px;
      padding: 5px 16px;
      border-radius: 20px;
    }

    /* コンテンツ共通 */
    .container {
      max-width: 800px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    section {
      padding: 4rem 0;
      border-bottom: 1px solid var(--border);
    }

    section:last-of-type { border-bottom: none; }

    .section-title {
      font-family: 'Yomogi', cursive;
      font-size: 22px;
      font-weight: 700;
      color: var(--green-main);
      margin-bottom: 1.75rem;
      padding-left: 14px;
      border-left: 4px solid var(--green-mid);
    }

    /* ケア内容 */
    .care-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: 0.75rem;
    }

    .care-item {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 0.9rem 1.1rem;
      font-size: 14px;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .care-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--green-light);
      flex-shrink: 0;
    }

    .care-note {
      margin-top: 1rem;
      font-size: 13px;
      color: var(--green-mid);
      background: var(--green-bg);
      padding: 0.75rem 1rem;
      border-radius: 8px;
    }

    /* メニュー */
    .menu-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 1.5rem;
      margin-bottom: 1.5rem;
    }

    .menu-card-title {
      font-size: 16px;
      font-weight: 700;
      color: var(--green-dark);
      margin-bottom: 0.5rem;
    }

    .menu-card-detail {
      font-size: 13px;
      color: var(--text-sub);
    }

    .menu-price {
      font-size: 26px;
      font-weight: 700;
      color: var(--green-main);
      margin-top: 0.75rem;
    }

    .menu-price-note {
      font-size: 12px;
      color: var(--text-sub);
      margin-top: 4px;
    }

    .option-title {
      font-size: 18px;
      font-weight: 500;
      color: var(--green-main);
      margin-bottom: 1rem;
    }

    .option-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
      gap: 0.75rem;
      margin-bottom: 0.75rem;
    }

    .option-card {
      background: var(--green-bg);
      border-radius: 10px;
      padding: 0.9rem 1rem;
    }

    .option-name {
      font-size: 13px;
      font-weight: 700;
      color: var(--green-dark);
      margin-bottom: 4px;
    }

    .option-price {
      font-size: 18px;
      font-weight: 700;
      color: var(--green-main);
    }

    .option-time {
      font-size: 11px;
      color: var(--green-mid);
      margin-top: 2px;
    }

    .price-note {
      font-size: 12px;
      color: var(--text-sub);
      margin-top: 0.5rem;
    }

    /* 訪問日時 */
    .schedule-days {
      display: flex;
      flex-wrap: wrap;
      gap: 0.6rem;
      margin-bottom: 1rem;
    }

    .day-pill {
      background: var(--green-main);
      color: var(--white);
      font-size: 14px;
      font-weight: 700;
      padding: 8px 22px;
      border-radius: 24px;
    }

    .schedule-time {
      font-size: 15px;
      color: var(--text-sub);
    }

    .schedule-time span {
      font-weight: 700;
      color: var(--green-main);
    }

    /* 対象エリア */
    .area-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
      background: var(--white);
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid var(--border);
    }

    .area-table th {
      background: var(--green-main);
      color: var(--white);
      padding: 10px 16px;
      text-align: left;
      font-weight: 500;
      font-size: 13px;
    }

    .area-table td {
      padding: 12px 16px;
      border-bottom: 1px solid var(--border);
      color: var(--text-main);
    }

    .area-table tr:last-child td { border-bottom: none; }

    .area-table td:last-child {
      font-weight: 700;
      color: var(--green-main);
      text-align: right;
      white-space: nowrap;
    }

    /* 注意事項 */
    .notice-list {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }

    .notice-item {
      background: var(--amber-bg);
      border-radius: 8px;
      padding: 0.75rem 1rem;
      font-size: 13px;
      color: var(--amber-text);
      line-height: 1.6;
      display: flex;
      gap: 8px;
      align-items: flex-start;
    }

    .notice-icon {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: #FAC775;
      flex-shrink: 0;
      margin-top: 2px;
    }

    /* 資格 */
    .qual-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 1.5rem;
      font-size: 14px;
      color: var(--text-sub);
      line-height: 1.9;
    }

    .qual-highlight {
      font-weight: 700;
      color: var(--green-main);
    }

    /* FAQ */
    .faq-item {
      border-left: 4px solid var(--green-pale);
      padding-left: 1rem;
      margin-bottom: 1.5rem;
    }

    .faq-q {
      font-size: 15px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 0.5rem;
    }

    .faq-a {
      font-size: 14px;
      color: var(--text-sub);
      line-height: 1.7;
    }

    /* CTA */
    .cta-section {
      background: var(--green-main);
      padding: 4rem 2rem;
      text-align: center;
    }

    .cta-title {
      font-family: 'Yomogi', cursive;
      font-size: 24px;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 0.75rem;
    }

    .cta-text {
      font-size: 14px;
      color: var(--green-pale);
      margin-bottom: 2rem;
      line-height: 1.8;
    }

    .cta-btn {
      display: inline-block;
      background: var(--white);
      color: var(--green-main);
      font-size: 15px;
      font-weight: 700;
      padding: 14px 40px;
      border-radius: 32px;
      text-decoration: none;
      transition: transform 0.2s, background 0.2s;
    }

    .cta-btn:hover {
      transform: translateY(-2px);
      background: var(--green-bg);
    }

    /* フッター */
    footer {
      background: var(--green-dark);
      color: var(--green-pale);
      text-align: center;
      padding: 2rem 1.5rem;
      font-size: 12px;
    }

    footer .footer-logo {
      font-family: 'Yomogi', cursive;
      font-size: 18px;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 0.5rem;
    }

    /* プライバシーポリシー モーダル */
    .modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.5);
      z-index: 200;
      overflow-y: auto;
      padding: 2rem 1rem;
    }

    .modal-overlay.open { display: block; }

    .modal-box {
      background: var(--white);
      max-width: 720px;
      margin: 0 auto;
      border-radius: 16px;
      overflow: hidden;
    }

    .modal-header {
      background: #e1f5ef;
      padding: 2rem 2rem 1.5rem;
      text-align: center;
      border-bottom: 1px solid var(--border);
      position: relative;
    }

    .modal-label {
      font-size: 11px;
      letter-spacing: 0.35em;
      color: var(--green-mid);
      display: block;
      margin-bottom: 8px;
    }

    .modal-title {
      font-family: 'Yomogi', cursive;
      font-size: 22px;
      font-weight: 700;
      color: var(--green-main);
    }

    .modal-date {
      font-size: 12px;
      color: var(--text-sub);
      margin-top: 8px;
    }

    .modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1px solid var(--border);
      background: var(--white);
      font-size: 18px;
      cursor: pointer;
      color: var(--text-sub);
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
    }

    .modal-close:hover { background: var(--green-bg); }

    .modal-body {
      padding: 2rem;
    }

    .policy-section {
      margin-bottom: 2.5rem;
    }

    .policy-section:last-child { margin-bottom: 0; }

    .policy-num {
      font-size: 10px;
      letter-spacing: 0.3em;
      color: var(--green-mid);
      display: block;
      margin-bottom: 6px;
    }

    .policy-heading {
      font-family: 'Yomogi', cursive;
      font-size: 16px;
      font-weight: 700;
      color: var(--green-dark);
      margin-bottom: 12px;
      padding-bottom: 10px;
      border-bottom: 1px solid var(--border);
    }

    .policy-text {
      font-size: 13px;
      color: var(--text-sub);
      line-height: 2;
    }

    .policy-text p { margin-bottom: 10px; }
    .policy-text p:last-child { margin-bottom: 0; }

    .policy-list {
      list-style: none;
      margin: 10px 0;
    }

    .policy-list li {
      font-size: 13px;
      color: var(--text-sub);
      padding: 7px 0 7px 18px;
      position: relative;
      border-bottom: 1px dotted var(--border);
      line-height: 1.8;
    }

    .policy-list li:last-child { border-bottom: none; }

    .policy-list li::before {
      content: '';
      position: absolute;
      left: 0;
      top: 15px;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--green-pale);
    }

    .policy-contact-box {
      background: var(--green-bg);
      border-left: 3px solid var(--green-mid);
      padding: 1.25rem 1.5rem;
      margin-top: 12px;
      border-radius: 0 8px 8px 0;
    }

    .policy-contact-item {
      display: flex;
      gap: 14px;
      margin-bottom: 10px;
      font-size: 13px;
      color: var(--text-sub);
      align-items: flex-start;
    }

    .policy-contact-item:last-child { margin-bottom: 0; }

    .policy-contact-label {
      font-size: 11px;
      color: var(--green-dark);
      background: var(--white);
      border: 1px solid var(--green-pale);
      padding: 2px 8px;
      border-radius: 4px;
      min-width: 58px;
      text-align: center;
      flex-shrink: 0;
      margin-top: 1px;
    }

    /* フッターリンク */
    .footer-link {
      color: var(--green-pale);
      text-decoration: underline;
      cursor: pointer;
      background: none;
      border: none;
      font-size: 12px;
      font-family: 'Noto Sans JP', sans-serif;
    }

    .footer-link:hover { color: var(--white); }

    /* レスポンシブ */
    @media (max-width: 600px) {
      nav { padding: 0 1rem; }
      .nav-links { display: none; }
      .hero { padding: 3rem 1.25rem 2.5rem; }
      section { padding: 3rem 0; }
      .modal-body { padding: 1.25rem; }
      .policy-contact-item { flex-direction: column; gap: 4px; }
    }
