/*
Theme Name: HARU - 訪問看護ステーション
Theme URI: https://h-a-r-u.com/
Author: 株式会社 花琉
Author URI: https://h-a-r-u.com/
Description: 訪問看護ステーション「はるちゃん」(株式会社 花琉) のための、和モダンでレスポンシブなWordPressテーマ。桜ピンク × 新緑グリーン × 生成りベージュを基調にした、信頼感と温もりのあるデザイン。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: haru
Tags: one-column, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, theme-options, threaded-comments, translation-ready
*/

/* ===== Design Tokens ===== */
:root{
  --sakura: #f5c6c6;
  --sakura-deep: #e89a9a;
  --sakura-soft: #fdeeee;
  --sage: #7fa78a;
  --sage-deep: #4f7a60;
  --sage-soft: #eaf1ec;
  --cream: #faf6f0;
  --ink: #2b2722;
  --ink-mute: #6e655c;
  --line: #e8e0d4;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(60, 50, 40, .08);
  --shadow-lg: 0 20px 60px rgba(60, 50, 40, .12);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1120px;
}

/* ===== Reset & Base ===== */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; height:auto; }
a{ color: var(--sage-deep); text-decoration: none; transition: color .2s; }
a:hover{ color: var(--sakura-deep); }
h1,h2,h3,h4{ font-family: "Noto Serif JP", "Yu Mincho", serif; letter-spacing: .04em; line-height:1.4; }
.container{ max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.screen-reader-text{ position:absolute; left:-9999px; }

/* ===== Header ===== */
.site-header{
  position: sticky; top:0; z-index: 100;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 24px; max-width: var(--container); margin: 0 auto;
  gap: 16px;
}
.site-logo{ display:flex; align-items:center; gap:10px; }
.logo-mark{
  width:42px; height:42px; border-radius:50%;
  background: radial-gradient(circle at 30% 30%, var(--sakura) 0%, var(--sakura-deep) 80%);
  display:flex; align-items:center; justify-content:center;
  color: white; font-family: "Noto Serif JP", serif; font-weight:700; font-size:20px;
  box-shadow: 0 4px 12px rgba(232,154,154,.4);
  flex-shrink: 0;
}
.logo-text{ display:flex; flex-direction:column; line-height:1.2; }
.logo-jp{ font-family: "Noto Serif JP", serif; font-weight:700; font-size:17px; color: var(--ink); }
.logo-sub{ font-size:11px; color: var(--ink-mute); letter-spacing:.1em; }
.site-logo img,
.custom-logo-link img,
.custom-logo{ width: 80px; height: 80px; max-height: 80px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 4px 16px rgba(232,154,154,.25); border: 3px solid white; }
.custom-logo-link{ display: flex; align-items: center; text-decoration: none; }
.custom-logo-link{ display: flex; align-items: center; text-decoration: none; }

.main-nav{ display:flex; align-items:center; gap: 28px; }
.main-nav ul{ display:flex; gap: 28px; list-style:none; margin:0; padding:0; }
.main-nav a{ color: var(--ink); font-weight:500; font-size:15px; position:relative; padding: 6px 0; }
.main-nav a:hover{ color: var(--sage-deep); }
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:0;
  width:0; height:2px; background: var(--sakura-deep);
  transition: width .25s;
}
.main-nav a:hover::after{ width:100%; }

.tel-btn{
  background: var(--sage-deep); color: white !important; padding: 10px 18px;
  border-radius: 999px; font-weight:700; font-size:14px;
  display:inline-flex; align-items:center; gap:8px;
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.tel-btn:hover{ transform: translateY(-2px); box-shadow: 0 8px 20px rgba(79,122,96,.3); color:white !important; }

.menu-toggle{
  display:none; background:none; border:none; cursor:pointer; padding: 8px;
}
.menu-toggle span{
  display:block; width:24px; height:2px; background: var(--ink);
  margin: 5px 0; transition: .3s;
}
.menu-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2){ opacity: 0; }
.menu-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero{
  position: relative; overflow:hidden;
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse at top right, var(--sakura-soft) 0%, transparent 60%),
    radial-gradient(ellipse at bottom left, var(--sage-soft) 0%, transparent 55%),
    var(--cream);
}
.hero-inner{ display:grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items:center; }
.hero-eyebrow{
  display:inline-block; background: white; padding: 6px 16px;
  border-radius: 999px; font-size:13px; color: var(--sage-deep);
  font-weight:700; letter-spacing:.1em; margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.hero h1{
  font-size: clamp(28px, 4.2vw, 48px); margin: 0 0 24px;
  color: var(--ink); font-weight:700;
}
.hero h1 .accent{ color: var(--sakura-deep); }
.hero p.lead{
  font-size: 17px; color: var(--ink-mute); margin: 0 0 36px;
  max-width: 480px;
}
.hero-cta{ display:flex; gap: 14px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 16px 28px; border-radius: 999px;
  font-weight:700; font-size:15px; cursor:pointer; border:none;
  transition: all .25s; text-align:center;
}
.btn-primary{
  background: var(--sakura-deep); color: white !important;
  box-shadow: 0 10px 24px rgba(232,154,154,.35);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 32px rgba(232,154,154,.45); }
.btn-secondary{
  background: white; color: var(--sage-deep) !important;
  border: 2px solid var(--sage);
}
.btn-secondary:hover{ background: var(--sage-soft); transform: translateY(-2px); }

.hero-visual{
  position: relative; height: 460px;
}
.hero-photo{
  position: absolute;
  border-radius: var(--radius-lg); overflow:hidden;
  box-shadow: var(--shadow-lg);
}
.hero-photo img{ width: 100%; height: 100%; object-fit: cover; }
.hero-photo-1{ top: 0; right: 0; width: 70%; height: 280px; }
.hero-photo-2{ bottom: 0; left: 0; width: 60%; height: 220px; }
.hero-badge{
  position:absolute; bottom: 30px; right: 0;
  background: white; padding: 16px 22px; border-radius: 16px;
  box-shadow: var(--shadow);
  display:flex; align-items:center; gap:12px;
  z-index: 2;
}
.hero-badge-icon{
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sakura-soft);
  display:flex; align-items:center; justify-content:center; font-size: 20px;
}
.hero-badge-text{ font-size: 13px; line-height: 1.4; }
.hero-badge-text strong{ font-family: "Noto Serif JP", serif; font-size: 15px; display:block; }

/* ===== Section ===== */
.section{ padding: 90px 0; }
.section-head{ text-align:center; margin-bottom: 56px; }
.section-tag{
  display:inline-block; color: var(--sakura-deep); font-weight:700;
  font-size: 13px; letter-spacing:.2em; margin-bottom: 10px;
}
.section-head h2{
  font-size: clamp(24px, 3vw, 36px); margin: 0 0 12px;
}
.section-head p{ color: var(--ink-mute); margin:0; }

/* ===== About ===== */
.about{ background: white; }
.about-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center;
}
.about-visual{
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.about-visual img{
  width: 100%; height: 100%; object-fit: cover;
}
.about-visual::before{
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(245,198,198,.15), rgba(127,167,138,.15));
  z-index: 1;
}
.about h3{ font-size: 26px; margin: 0 0 20px; }
.about p{ color: var(--ink-mute); margin: 0 0 18px; }
.about-points{ list-style:none; padding:0; margin: 24px 0 0; display:grid; gap:12px; }
.about-points li{
  display:flex; align-items:flex-start; gap:12px;
  background: var(--sage-soft); padding: 14px 18px; border-radius: 12px;
  font-size:14px;
}
.about-points .check{
  flex-shrink:0; width: 24px; height: 24px; border-radius:50%;
  background: var(--sage-deep); color: white;
  display:flex; align-items:center; justify-content:center; font-size:13px;
}

/* ===== Services ===== */
.services{ background: var(--cream); }
.services-grid{
  display:grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.service-card{
  background: white; border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  border: 1px solid transparent;
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sakura);
}
.service-icon{
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--sakura-soft); display:flex; align-items:center; justify-content:center;
  font-size: 32px; margin-bottom: 20px;
}
.service-card:nth-child(2) .service-icon{ background: var(--sage-soft); }
.service-card:nth-child(3) .service-icon{ background: #fff4e6; }
.service-card:nth-child(4) .service-icon{ background: #e9efff; }
.service-card h3{ font-size: 20px; margin: 0 0 14px; }
.service-card ul{ list-style:none; padding:0; margin:0; }
.service-card li{
  position:relative; padding-left: 18px; color: var(--ink-mute);
  font-size: 14.5px; margin-bottom: 6px;
}
.service-card li::before{
  content:""; position:absolute; left:0; top: 12px;
  width: 6px; height: 6px; border-radius:50%; background: var(--sakura-deep);
}

/* ===== Target ===== */
.target{ background: white; }
.target-card{
  background: linear-gradient(135deg, var(--sakura-soft), var(--sage-soft));
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align:center;
  position:relative; overflow:hidden;
}
.target-card::before, .target-card::after{
  content:"❀"; position:absolute; font-size:80px;
  color: white; opacity:.4;
}
.target-card::before{ top:-10px; left:-10px; }
.target-card::after{ bottom:-20px; right:-10px; transform: rotate(45deg); }
.target-card h3{ font-size: 24px; margin: 0 0 16px; position:relative; }
.target-card p{ font-size: 16px; color: var(--ink); margin: 0 auto; max-width: 640px; position:relative; }
.insurance-tags{
  display:flex; gap: 12px; justify-content:center; margin-top: 24px; flex-wrap:wrap; position:relative;
}
.insurance-tags span{
  background: white; padding: 8px 18px; border-radius: 999px;
  font-size: 14px; font-weight:500; box-shadow: var(--shadow);
}

/* ===== Contact ===== */
.contact{
  background: linear-gradient(180deg, var(--cream) 0%, var(--sakura-soft) 100%);
}
.contact-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.contact-card{
  background: white; border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow);
}
.contact-card h3{ margin: 0 0 8px; font-size: 22px; }
.contact-card .desc{ color: var(--ink-mute); margin: 0 0 28px; font-size: 14px; }
.contact-tel{
  display:block; text-align:center; padding: 24px;
  background: var(--sage-soft); border-radius: var(--radius);
  margin-bottom: 16px;
}
.contact-tel-label{ font-size: 12px; color: var(--sage-deep); font-weight:700; letter-spacing:.1em; }
.contact-tel-number{
  display:block; font-family: "Noto Serif JP", serif;
  font-size: 32px; font-weight:700; color: var(--ink); margin-top: 6px;
}
.btn-block{ width:100%; justify-content:center; }
.contact-info dl{ margin:0; display:grid; gap: 12px; }
.contact-info .row{
  display:grid; grid-template-columns: 80px 1fr; gap: 12px;
  padding: 12px 0; border-bottom: 1px dashed var(--line);
}
.contact-info .row:last-child{ border-bottom: none; }
.contact-info dt{ color: var(--ink-mute); font-size: 13px; font-weight:500; }
.contact-info dd{ margin:0; font-size: 14.5px; }

/* ===== Footer ===== */
.site-footer{
  background: var(--ink); color: #d8cfc2;
  padding: 56px 0 28px;
}
.footer-inner{
  display:grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
.site-footer .logo-jp{ color: white; }
.site-footer .logo-sub{ color: #b3a999; }
.site-footer p{ font-size: 14px; line-height:1.9; }
.site-footer h4{ color: white; font-size: 15px; margin: 0 0 16px; }
.site-footer ul{ list-style:none; padding:0; margin:0; }
.site-footer ul li{ margin-bottom: 8px; font-size: 14px; }
.site-footer ul a{ color: #d8cfc2; }
.site-footer ul a:hover{ color: var(--sakura); }
.copyright{
  border-top: 1px solid #3d3832; padding-top: 24px;
  text-align:center; font-size: 12px; color: #998f7f;
}

/* ===== Mobile sticky CTA ===== */
.mobile-cta{
  display:none;
  position: fixed; bottom: 0; left:0; right:0; z-index:99;
  background: white; padding: 12px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
  gap: 8px;
}
.mobile-cta a{
  flex:1; text-align:center; padding: 14px;
  border-radius: 12px; font-weight:700; font-size: 14px;
}
.mobile-cta .m-tel{ background: var(--sage-deep); color: white !important; }
.mobile-cta .m-contact{ background: var(--sakura-deep); color: white !important; }

/* ===== Responsive ===== */
@media (max-width: 900px){
  .main-nav{
    display: none;
    position: absolute; top: 70px; left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .main-nav.is-open{ display: flex; }
  .main-nav ul{ flex-direction: column; gap: 12px; width: 100%; }
  .main-nav a{ display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }

  .menu-toggle{ display:block; }
  .site-header .tel-btn{ display:none; }

  .hero-inner, .about-grid, .contact-grid, .footer-inner{
    grid-template-columns: 1fr; gap: 40px;
  }
  .services-grid{ grid-template-columns: 1fr; }
  .section{ padding: 60px 0; }
  .hero{ padding: 50px 0 70px; }
  .hero-visual{ height: 380px; }
  .target-card{ padding: 36px 24px; }
  .contact-card{ padding: 28px; }
  .mobile-cta{ display:flex; }
  body{ padding-bottom: 80px; }
}
@media (max-width: 480px){
  .hero h1{ font-size: 26px; }
  .hero p.lead{ font-size: 15px; }
  .contact-tel-number{ font-size: 26px; }
  .hero-photo-1{ width: 80%; }
  .hero-photo-2{ width: 70%; }
  .hero-badge{ padding: 12px 16px; }
}

/* ===== WordPress core ===== */
.alignleft{ float:left; margin-right: 1.5em; }
.alignright{ float:right; margin-left: 1.5em; }
.aligncenter{ display:block; margin-left:auto; margin-right:auto; }
.wp-caption{ max-width: 100%; }
.wp-caption-text{ font-size: 13px; color: var(--ink-mute); text-align:center; }
.sticky{ display: block; }
