@charset "UTF-8";

/* ===== 色設計（ロゴ準拠） =====
   primary: ロゴ外周のミント
   primary-deep: ロゴ葉っぱの深緑
   accent-yellow/pink/sky: ロゴ内の花色トーン
*/
:root{
  --primary: #8EC9AC;
  --primary-deep: #3DA083;
  --sky: #A8DADC;
  --yellow: #F7E58D;
  --pink: #F6B3B9;

  --text: #0f1419;
  --muted: #6b7a7a;
  --bg: #FAFAF8;
  --panel: #ffffff;
  --border: #DDE7E0;
  --shadow: 0 2px 20px rgba(0,0,0,.08);
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ font-size:100%; }

body{
  font-family: 'Hiragino Kaku Gothic ProN','Hiragino Sans',Meiryo,sans-serif;
  line-height:1.6;
  color:var(--text);
  background:var(--bg);
}
a{ text-decoration:none; }

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

/* ===== Header ===== */
.header{
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  position:fixed; top:0; left:0; right:0; z-index:1000;
  box-shadow: var(--shadow);
}
.header-content{
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 0;
}
.logo{
  font-size:28px; font-weight:700;
  color: var(--primary-deep);
}

/* nav */
.nav{ display:flex; gap:35px; }
.nav a{
  color: var(--text); font-weight:600; font-size:16px;
  position:relative; padding:6px 2px; transition:color .25s ease;
}
.nav a::after{
  content:""; position:absolute; left:0; bottom:-2px; height:2px; width:100%;
  background: var(--primary-deep);
  transform: scaleX(0); transform-origin:left; transition: transform .25s ease;
}
.nav a:hover{ color: var(--primary-deep); }
.nav a:hover::after{ transform: scaleX(1); }

/* ===== Mobile Menu ===== */
.hamburger{ display:none; flex-direction:column; cursor:pointer; padding:5px; }
.hamburger span{ width:25px; height:3px; background:#333; margin:3px 0; border-radius:2px; transition:.3s; }

.mobile-menu{
  display:none; position:absolute; top:100%; left:0; right:0;
  background:var(--panel); box-shadow:0 5px 20px rgba(0,0,0,.08); padding:20px;
}
.mobile-menu.active{ display:block; }
.mobile-menu a{
  display:block; padding:15px 0; color:var(--text); font-weight:600;
  border-bottom:1px solid #eee;
}
.mobile-menu a:last-child{ border-bottom:none; }

/* ===== Hero ===== */
/* Hero image section */
.hero--image{
  width: 100%;
  text-align: center;
  background: #fff;
  /* overflow: hidden;  ← 見切れの原因になるため外します */
  padding: 0;          /* 余白は不要。位置調整は menu-spacer に任せる */
}

.hero--image picture,
.hero--image img {
  width: 100%;
  height: auto;
  display: block;
}


/* .hero--image img{
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;        /* 縦横比維持 */
  max-height: 70vh;    /* 画像を小さめに。全体が画面内に収まりやすい */
  object-fit: contain; /* 念のため全体表示を保証 */
} */



/* Hero text (separated section) */
.hero-text-section {
  padding: 80px 20px;
  margin-bottom: 32px;
  text-align: center;
  background: #fff;     /* 背景は白、他にグラデも可 */
}
.hero-text-section h1 {
  font-size: 2.5rem;
  margin: 32px 0px;
  color: var(--text);
}
.hero-text-section .subtitle {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-text-section .hero-button {
  background: linear-gradient(135deg, var(--yellow) 0%, #F3D870 100%);
  color: #3a3a3a;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: .3s ease;
  box-shadow: 0 8px 25px rgba(243,216,112,.35);
}
.hero-text-section .hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(243,216,112,.45);
}


/* モバイル最適化 */
@media (max-width: 768px){
  .hero--cover{
    min-height: 78vh;
    text-align: center;
  }
  .hero-cover-content{
    text-align: center;
  }

  .hero--image img {
    max-height: none;      /* 高さ制限を外す */
  }
}


/* CTAはロゴのやさしい黄色を基調に */
.hero-button{
  display:inline-flex; align-items:center;
  margin-bottom: 60px;
  background: linear-gradient(135deg, var(--yellow) 0%, #F3D870 100%);
  color:#3a3a3a; padding:15px 35px; border-radius:50px; font-weight:700; font-size:1rem;
  transition:.3s ease; box-shadow:0 8px 25px rgba(243,216,112,.35);
 
}
.hero-button:hover{ transform:translateY(-2px); box-shadow:0 12px 35px rgba(243,216,112,.45); }
.hero-button::after{ content:'▶'; margin-left:10px; font-size:12px; }

.hero-image{ position:relative; border-radius:20px; overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,.12); }
.hero-image img{ width:100%; height:auto; display:block; }

/* ===== Sections ===== */
.about{ padding:100px 0; background:var(--panel); }

.section-title{
  text-align:center; font-size:2.5rem; color:var(--text); margin-bottom:20px; position:relative;
}
.section-title::after{
  content:""; position:absolute; bottom:-10px; left:50%; transform:translateX(-50%);
  width:60px; height:4px; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); border-radius:2px;
}
.section-subtitle{ text-align:center; font-size:1.1rem; color:var(--muted); margin-bottom:60px; }

.about-content{ display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.about-text p{ font-size:1.1rem; color:#0f1419; margin-bottom:25px; line-height:1.8; }
.about-image img{ width:100%; border-radius:15px; box-shadow:0 15px 50px rgba(0,0,0,.08); }

/* ===== Features ===== */
.features{
  padding:100px 0;
  background: linear-gradient(135deg, #f7fbf9 0%, #eef7f2 100%); /* ロゴ寄りの淡い緑グラデ */
}
.features-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:40px; }
.feature-card{
  background:var(--panel); padding:40px 30px; border-radius:15px; box-shadow:0 8px 30px rgba(0,0,0,.08);
  text-align:center; transition:.3s ease; position:relative; overflow:hidden;
}
.feature-card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
}
.feature-card:hover{ transform:translateY(-8px); box-shadow:0 15px 45px rgba(0,0,0,.12); }
.feature-icon{ font-size:3rem; margin-bottom:20px; }
.feature-card h3{ font-size:1.4rem; color:var(--text); margin-bottom:15px; font-weight:700; }
.feature-card p{ color:#0f1419; line-height:1.7; font-size:1rem; }

/* Features アイコン丸枠スタイル */
.feature-icon-circle {
  width: 80px;
  height: 80px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.feature-icon-circle img {
  width: 40px;
  height: auto;
  filter: brightness(0) saturate(100%) invert(62%) sepia(14%) saturate(608%) hue-rotate(103deg) brightness(94%) contrast(90%);
}

/* ===== 精神科訪問看護とは  ===== */
.psychiatric-care {
  padding: 100px 0;
  background: linear-gradient(135deg, #f7fbf9 0%, #fdf9fb 100%);
}

.care-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 50px;
}

.care-intro img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.care-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.care-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

.care-message {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  text-align: center;
  line-height: 1.8;
}
.care-message strong {
  color: var(--primary-deep);
  font-weight: 700;
}



/* ===== Flow (ご利用の流れ) ===== */
.flow { 
  padding:100px 0; 
  background: linear-gradient(135deg, #fffefc 0%, #fdf9fb 100%);
}
.flow-steps {
  list-style: none;
  padding: 0;
  margin: 60px auto 0;
  max-width: 900px;
  display: grid;
  gap: 50px;
}
.flow-step {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 15px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
  transition: transform .3s, box-shadow .3s;
  position: relative;
}
.flow-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,.08);
}
.flow-icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
  display: inline-block;
}
.flow-step h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--primary-deep);
}
.flow-step p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
}

/* ===== Flow SVG Icons ===== */
.flow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background:
    radial-gradient(100% 100% at 30% 30%, #fff 0, #fff 58%, #fff5f8 59%)
    padding-box;
  border: 2px solid transparent;
  box-shadow: 0 10px 24px rgba(18,16,41,.06);
  position: relative;
}

/* きらっと装飾（控えめ） */
.flow-icon::after{
  content:"✦";
  position:absolute;
  right:-6px; bottom:-6px;
  font-size:14px;
  color:#f3a7c6;
  filter: drop-shadow(0 4px 6px rgba(243,167,198,.25));
}

.flow-icon .icon{
  width: 30px;
  height: 30px;
  stroke: var(--primary-deep);
  stroke-width: 1.8;
  fill: none;
}

/* ハートだけ塗りを活かす */
.flow-icon .icon .icon-fill{
  fill: var(--primary);
  stroke: none;
}

/* ホバー時の軽いアニメーション（任意） */
.flow-step:hover .flow-icon{
  transform: translateY(-1px);
  transition: transform .2s ease;
}

/* ===== Documents (料金・重要事項) ===== */
.documents {
  padding: 80px 0;
  background: #ffffff;
}

.documents-box {
  max-width: 800px;
  margin: 40px auto 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  padding: 28px 24px;
}

.documents-text {
  font-size: 0.98rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 18px;
}

.documents-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.documents-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  margin-bottom: 10px;
}

.documents-list a {
  color: var(--primary-deep);
  font-weight: 700;
  text-decoration: underline;
}

.documents-list a:hover {
  opacity: 0.8;
}

.documents-note {
  font-size: 0.85rem;
  color: var(--muted);
}



/* ===== News ===== */
.news-background{
  background: linear-gradient(135deg, #f7fbf9 0%, #eef7f2 100%);
  padding:100px 20px;
}
.news-container{
  border:2px solid var(--primary); border-radius:12px; padding:24px;
  max-width:960px; margin:0 auto; background:#fff;
}
.news-title{ text-align:center; font-size:28px; font-weight:700; margin-bottom:30px; color:var(--text); }
.news-list{ display:flex; flex-direction:column; gap:24px; }
.news-item{
  display:flex; align-items:center; border-bottom:1px solid var(--border);
  padding:12px 0; flex-wrap:wrap; color:inherit; transition:background-color .2s;
}
.news-item:hover{ background:#f3faf6; cursor:pointer; }
.news-date{
  background: var(--primary-deep); color:#fff; padding:6px 16px; border-radius:4px; font-weight:700;
  white-space:nowrap; font-size:14px; margin-right:16px; margin-bottom:6px;
}
.news-text{ flex:1; font-size:16px; min-width:200px; }
.news-arrow{ color: var(--primary-deep); font-size:20px; margin-left:auto; margin-top:6px; }
.news-more{ text-align:right; margin-top:20px; }
.news-more a{ color: var(--primary-deep); text-decoration:underline; font-weight:700; }

/* ===== Contact ===== */
/* ===== Contact (Phone Only) ===== */
/* 2カラムレイアウト */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.contact-call {
  background: var(--primary-deep);
  padding: 60px 20px;
}

.call-card {
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  min-height: 300px;
}

.call-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-deep);
  letter-spacing: .05em;
  margin-bottom: 18px;
}

.call-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
}

.call-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--primary-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(61,160,131,.25);
}
.call-icon img {
  width: 26px;
  height: auto;
  filter: brightness(0) invert(1);
}

.call-number {
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 2.2rem);
  letter-spacing: .08em;
  color: #3a3a3a;
  text-decoration: none;
}
.call-number:hover {
  color: var(--primary-deep);
}

.call-hours {
  text-align: center;
  color: #586565;
  margin-top: 6px;
  font-size: .98rem;
  letter-spacing: .05em;
}

/* 入場アニメ用。初期は薄く下に、見えたら自然に戻す */
.reveal    { opacity:0; transform:translateY(24px); transition:opacity .6s, transform .6s; }
.reveal.on { opacity:1; transform:none; }


/* Responsive */
@media (max-width: 640px){
  .call-card{ padding: 22px 18px; }
  .call-icon{ width: 44px; height: 44px; }
  .call-icon img{ width: 24px; }
  .call-number{ letter-spacing: .04em; }
}

.documents-box {
  margin: 30px 10px 0;
  padding: 20px 16px;
}


/* ===== Footer ===== */
.footer-section{ background:#f4f6f4; padding:40px 20px; }
.footer-container{ max-width:1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; }
.footer-logo{ display:flex; align-items:center; gap:10px; }
.logo-icon{
  width:40px; height:40px; border-radius:50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color:#fff; display:flex; align-items:center; justify-content:center; font-weight:700;
}
.logo-text{ display:flex; flex-direction:column; }
.logo-company{ font-size:12px; color:var(--muted); }
.logo-name{ font-size:20px; font-weight:800; color: var(--primary-deep); }

/* ===== Footer Nav ===== */
.footer-nav{
  display: flex;
  flex-wrap: wrap;              /* ← ここがポイント：複数段に折り返す */
  gap: 8px 24px;                /* 行間8px／左右24pxのすき間 */
  align-items: center;
  justify-content: flex-end;    /* 右寄せ（お好みで center にしてもOK） */
}

.footer-nav a{
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;          /* 1つのリンク内で文字がバラバラに折り返されるのを防ぐ */
  transition: color .25s ease;
}

.footer-nav a:hover{
  color: var(--primary-deep);
}

/* ===== プライバシーポリシーなど共通 ===== */
.menu-spacer{ height:74.8px; }
.main-content{
  max-width:800px; margin:0 auto; padding:40px 20px; background:#fff; margin-top:20px; margin-bottom:40px;
  border-radius:8px; box-shadow:0 2px 10px rgba(0,0,0,.1);
}
.page-title{
  color: var(--primary); font-size:2.3rem; margin-bottom:30px; font-weight:700;
  border-bottom:2px solid var(--primary); padding-bottom:10px; text-align:center;
}
.intro-text{ font-size:.95rem; line-height:1.8; margin-bottom:40px; color:#555; }
.section-title.small{ color: var(--primary); font-size:1.8rem; margin-bottom:20px; font-weight:700; }
.purpose-list{ list-style:none; padding-left:0; }
.purpose-list li{
  font-size:.95rem; line-height:1.8; margin-bottom:15px; padding-left:20px; position:relative; color:#555;
}
.purpose-list li::before{ content:"•"; color: var(--primary); font-size:1.2rem; position:absolute; left:0; top:0; }

/* ===== Responsive ===== */
@media (max-width: 768px){
  .nav{ display:none; }
  .hamburger{ display:flex; }

  .hero-content{ grid-template-columns:1fr; gap:40px; text-align:center; }
  .hero-text h1{ font-size:2.2rem; }
  .logo img { height: 60px;  }
  .about-content{ grid-template-columns:1fr; gap:40px; }

  .news-background{ padding:60px 16px; }
  .news-container{ padding:16px; }
  .news-title{ font-size:22px; }
  .news-item{ flex-direction:column; align-items:flex-start; }
  .news-text{ font-size:15px; }
  .news-arrow{ align-self:flex-end; font-size:18px; margin-top:4px; }
  .news-date{ font-size:13px; margin-right:0; }

  .contact-container{ flex-direction:column; text-align:center; padding:30px 20px; }
  .contact-left{ padding-right:0; margin-bottom:30px; }
  .contact-buttons{ width:100%; }

  .footer-container{ flex-direction:column; gap:20px; text-align:center; }
  .footer-nav{ flex-wrap:wrap; justify-content:center; gap:15px; }

  .section-title{ font-size:2rem; }
  .usage-steps{ gap:30px; }

  .features-grid{ grid-template-columns:1fr; gap:30px; }

  .container{ padding:0 15px; }

  .main-content{ margin:10px; padding:30px 15px; }
  .page-title{ font-size:1.5rem; }
  .contact-split { grid-template-columns: 1fr;}
  .map-wrap {
    height: 300px;
  }
  .care-intro {
    grid-template-columns: 1fr;   /* 1カラムにする */
    gap: 24px;                    /* 余白を少し狭める */
  }

  .care-intro img {
    max-width: 100%;
    margin: 0 auto;
  }

  .care-text {
    text-align: center;           /* テキスト中央寄せにしても可 */
  }

    .footer-container{
    flex-direction: column;     /* ロゴの下にメニューを縦に並べる */
    align-items: flex-start;
    gap: 16px;
  }

  .footer-nav{
    justify-content: flex-start;
  }

}

/* ===== 表示アニメーション ===== */
@keyframes fadeInUp{
  from{ opacity:0; transform:translateY(30px); }
  to{ opacity:1; transform:translateY(0); }
}
.feature-card,.step,.contact-method{ animation:fadeInUp .6s ease-out both; }
.feature-card:nth-child(2),.step:nth-child(2){ animation-delay:.1s; }
.feature-card:nth-child(3),.step:nth-child(3){ animation-delay:.2s; }
.feature-card:nth-child(4),.step:nth-child(4){ animation-delay:.3s; }
