@charset "utf-8";
/* CSS Document */


/*========================================================

   Base

======================================================== */
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Zen Maru Gothic', sans-serif;
  color: #666;
  overflow-x: hidden;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}
.section-title {
  width: 100%;
  text-align: center;
  padding-bottom: 14px;
  border-bottom: 2px dotted #C9DBB3;
 font-size: 32px;
 font-weight: 600;
 letter-spacing: 0.15em;
 margin-bottom: 50px;
}
.sp-only { display: none; }
.pc-only { display: block; }
/* ======================
  レスポンシブ
====================== */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .section-title {
    font-size: 26px;      
    padding-bottom: 10px; 
    margin-bottom: 30px; 
  }
  .pc-only { display: none; }
  .sp-only { display: inline; }
}
/* ========================================================

   Header

======================================================== */

.header {
  background: transparent; 
  padding: 15px 0;
  position: sticky;        
  top: 0;
  z-index: 100;
  
  margin-bottom: -100px;   /* ヘッダーの高さに合わせて数値を調整（目安100px） */
}

.header-inner {
  max-width: 1600px;
  margin: 0 auto;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo img {
  height: 32px; 
  width: auto;
  display: block;
  position: relative;
  top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}


/* ----- ナビゲーション ----- */

.nav {
  /* 白の半透明背景 */
  background: rgba(255, 255, 255, 0.7); 
  backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 25px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.nav-list {
  display: flex;
  gap: 25px; /* PCでの間隔を少しだけ詰める */
  font-weight: 600;
  list-style: none;
  white-space: nowrap; /* これで絶対に改行されません */
}

.nav a {
  font-size: 0.95rem;
}

.nav a:hover {
  color: #90BE68;
}


/* ----- 電話ボタン ----- */
.tel-btn {
  background: #90BE68;
  color: white;
  padding: 6px 22px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 110;
}

.tel-icon {
  width: 18px;
  height: 18px;
  fill: white;
}

.tel-btn:hover {
  opacity: 0.8;
  transform: scale(1.05);
}


/* ----- ハンバーガーボタン ----- */

.hamburger {
  width: 50px;
  height: 50px;
  display: none; /* PCでは非表示 */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

/* ハンバーガー span */
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #8B6239;
  border-radius: 3px;
  transition: all 0.3s ease;
  margin-bottom: 5px; 
}


.hamburger span:last-child {
  margin-bottom: 0;
}

/* 活性時（ばってん） */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


/* ======================
   スマホ固定電話
====================== */
.tel-fixed {
  display: none;
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: #90BE68;
  color: white;
  padding: 10px 28px;
  border-radius: 40px;
  font-weight: bold;
  z-index: 9999;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}


/* ======================
  レスポンシブ 1280px以下【崩れ防止】
====================== */

@media (max-width: 1280px) {
  .header-inner {
    width: 95%; 
    gap: 10px; 
  }

  .nav {
    padding: 6px 15px; 
  }

  .nav-list {
    gap: 15px; 
    white-space: nowrap; /* 【変更】改行を絶対に防ぐ */
  }

  .nav a {
    font-size: 0.9rem;
  }

  .tel-btn {
    padding: 6px 15px;
    font-size: 1.1rem;
    gap: 5px;
  }
  
  .logo img {
    height: 30px;
    /* 【変更】小さくした時に上に上がって見えるのを微調整 */
    position: relative;
    top: 2px;
  }
}

/* ======================
   タブレット（〜1100px） 
   【変更】1024pxから1100pxに早め、窮屈な時間をなくしました
====================== */
@media (max-width: 1100px) {
  .nav {
    visibility: hidden;
    opacity: 0;
    border-radius: 0px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 90;
    transition: all 0.4s ease;
    transform: translateY(-20px);
    display: flex;       
    align-items: center;    
    justify-content: center; 
  }

  /* --- メニューが開いた時 --- */
  .nav.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  /* --- リストのレイアウト --- */
  .nav-list {
    flex-direction: column;
    gap: 30px;
    align-items: center; 
    text-align: center;
    white-space: normal; /* 【変更】スマホ時は改行を許可 */
  }

  .nav a {
    font-size: 1.4rem; 
    display: block;
    padding: 10px;
  }

  /* --- ハンバーガーボタン自体の調整 --- */
  .hamburger {
    display: flex;
    z-index: 110; 
  }
  
  .hamburger.active span {
    background: #90BE68;
  }

  .logo {
    position: relative;
    z-index: 110;
  }

  /* 【追加】ヘッダー内の電話ボタンをこの段階で消すとスッキリします */
  .tel-btn {
    display: none;
  }
}

/* ======================
   スマホ（〜768px）
====================== */
@media (max-width: 768px) {
  /* .tel-btn は1100pxで消しているので記述不要ですが、土台を維持 */
  .tel-btn {
    display: none;
  }

  .tel-fixed {
    display: flex;
  }
  
  .logo img {
    height: 26px; /* 【追加】スマホではさらに少し小さくしてバランス調整 */
  }
}



/* ========================================================

   main-visual Section　

========================================================= */

.main-visual {
  min-height: calc(100vh - 120px);
  padding-top: clamp(140px, 22vh, 220px);
  padding-bottom: clamp(50px, 7vh, 70px);
  background-color: #fff;
  overflow: hidden;
}


.mv-inner {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-width: 1400px;
  height: 600px; /* PCでの表示高さ */
  margin: 0 auto;
  padding: 0 3%;
  align-content: space-between;
}


/* --- PC版の配置制御 --- */
.mv-copy-area,
.mv-bottom-content {
  width: 48%;
}

.mv-copy-area {
  order: 1;
  margin-bottom: 35px;
}

.mv-bottom-content {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 写真の位置をPCで上に上げる調整 */
.mv-right {
  width: 50%;
  flex: 1 1 50%;
  justify-content: center;
  order: 3;
  display: flex;
  align-items: flex-start; /* 上揃えに変更 */
  padding-top: 10px;       /* 上部の余白。ここを減らすとさらに上がります */
  flex-shrink: 0;
}

/* --- パーツ別デザイン --- */
.mv-copy {
  font-size: 17px;
  color: #90BE68;
  line-height: 1.7;
  letter-spacing: 0.15em;
  font-weight: 600;
  text-align: center;
}

.mv-logo-wrapper {
  width: 100%;
  max-width: 200px;
  margin-bottom: 30px;
}

.mv-logo { width: 100%; height: auto; }

.mv-info {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}

.mv-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

.tag {
  background: #93c06d; 
  color: #fff; 
  border-radius: 50px;
  font-size: 13px; 
  font-weight: bold; 
  display: inline-block;
  width: 90px; 
  text-align: center; 
  flex-shrink: 0; 
  padding: 4px 0;
}

.mv-image-group {
  position: relative;
  width: 100%;
  max-width: 580px;
}

.mv-photo-main { width: 100%; height: auto; display: block; position: relative; z-index: 1; }



/* ========================================================
   レスポンシブ (768px以下)
========================================================= */

@media (max-width: 768px) {
	.main-visual {
    padding: 120px 0 40px 0; /* スマホではヘッダーが少し低くなるので調整 */
  }
	
  .mv-inner {
    height: auto;
    flex-direction: column;
    align-content: center;
    gap: 20px;
    padding: 0 6%; 
    align-items: center;
  }

  .mv-copy-area {
    order: 1;
    width: 100%;
  }

  .mv-right {
    order: 2;
    width: 100%;
    margin-top: -15px;
    margin-bottom: 20px; /* 写真下の余白を少し確保 */
    padding-top: 0;
    display: flex;
    justify-content: center;
  }

  .mv-bottom-content {
    order: 3;
    width: 100%;
    flex-direction: row;
    justify-content: center;  /* 既にあるが念のため */
    align-items: center;
    text-align: left; /* 情報は左揃え維持 */
    gap: 40px;              /* ロゴと情報の間の溝を広げる */
    margin-top: 40px;       
    padding: 0 20px;
  }

  .mv-copy {
    text-align: left;
    margin-bottom: 0;
    font-size: 18px;
  }

  .mv-logo-wrapper {
    flex: 0 0 170px; 
    margin-bottom: 0;
  }

  .mv-info {
    flex: 1;
  }

  .mv-info li {
    align-items: flex-start;
    gap: 10px;
    white-space: normal;
    font-size: 12px;
    line-height: 1.5;
  }

.tag {
        width: 70px;
        font-size: 12px;
    }

  .main-visual .sp-only{
    display: none;
  }
}
@media (max-width: 530px) {
	  .mv-bottom-content {
    padding: 0;
    gap: 10px;
	}
	  .mv-logo-wrapper {
    flex: 0 0 110px; 
  }
	  .tag {
        width: 60px;
        font-size: 10px;
    }
	.mv-info li{
		font-size: 11px;
	}
  .main-visual .sp-only {
    display: inline;
  }
}
/* ======================================================== 

   About Section

========================================================= */
.about {
  width: 100%;
  background-color: #fff;
  overflow: hidden; /* 画像のはみ出し防止 */
  padding: 200px 0;
}

.about-inner {
  display: flex;
  min-height: 500px; /* 必要に応じて高さを確保 */
}

/* 画像エリア：左にぴったり */
.about-image {
  width: 45%; /* 画面の45%を占有 */
  flex-shrink: 0;
}

.about-image img {
  width: 100%;
  height: 100%; /* 親の高さに合わせる */
  object-fit: cover;
  display: block;
}

/* テキストエリア */
.about-content {
  flex-grow: 1;
  display: flex;
  align-items: center; /* 上下中央 */
  padding: 80px 5%;   /* 上下余白と、右側のゆとり */
}

/* テキストの幅を抑えて読みやすくする */
.about-content-inner {
  max-width: 600px; 
  margin-left: 40px; 
  letter-spacing: 0.15em;
}

.about-title {
  font-size: 32px;
  color: #90BE68;
  margin-bottom: 30px;
  font-weight: 600;
}

.about-text p {
  font-size: 16px;
  line-height: 2;
  color: #555;
  margin-bottom: 20px;
  font-weight: 500;
  text-align: justify;
}

/* ========================================================
   レスポンシブ 
========================================================= */
@media (max-width: 1024px) {
  .about {
    /* タブレット：少しコンパクトに */
    padding: 120px 0;
  }
}
@media (max-width: 960px) {
  .about-inner {
    flex-direction: column; /* スマホでは縦並び */
  }
  
  .about-image {
    width: 100%;
    height: 300px; /* スマホでは適度な高さに */
  }
	.about-title {
		font-size: 26px;
	}
  .about-content {
    padding: 60px 6%;
  }
  
  .about-content-inner {
    margin-left: 0;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .about {
    /* スマホ：1画面が埋まらない程度に */
    padding: 80px 0;
  }
	.about-text p{
		letter-spacing: 0;
	}
}

/* ========================================================

   Features Section

========================================================= */
.features {
  background-color: #fff;
  padding: 160px 0; 
}

.features-title {
  color: #90BE68;
  border-bottom: 2px dotted #C9DBB3;
}

/* カードグリッド */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.feature-card {
  padding: 40px 20px;
  text-align: center;
  background-color: #fff;
}

.feature-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 25px;
}

.feature-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.feature-label {
  background-color: #90BE68;
  color: #fff;
  display: inline-block;
  padding: 3px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  font-weight: 500;
}

/* 下部リストエリア */
.features-list-box {
  background-color: #F2F8E8;
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.features-list li {
  position: relative;
  padding-left: 25px;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 12px;
  font-weight: 500;
}

.features-list li:last-child {
  margin-bottom: 0;
}

/* リストのドット（緑の丸） */
.features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 15px;
  height: 15px;
  background-color: #93C06D;
  border-radius: 50%;
}

/* ========================================================
   レスポンシブ 
========================================================= */
@media (max-width: 1024px) {
  .features { padding: 100px 0; }
  .features-grid { gap: 15px; }
  .features-list-box { padding: 40px; }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr; /* 1列に */
    gap: 20px;
  }
  
  .features-list-box {
    flex-direction: column;
    padding: 30px 20px;
    gap: 0;
  }
  
  .features-list:first-child {
    margin-bottom: 12px;
  }
}

/* ========================================================

   Doctor Section

========================================================= */
.doctor {
  padding: 120px 0;
  background-color: #fff;
  overflow: hidden; 
  position: relative;
}

.doctor-title {
  font-size: 32px;
  color: #90BE68;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 50px;
  text-align: left;
}

.doctor-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* --- PC版：プロフィールカード（背景を左に突き抜けさせる） --- */
.doctor-profile-card {
  flex: 1.1;
  background-image: url('../images/syoukai_back.png');
  background-size: cover;
  background-position: center;
  border-radius: 0 40px 40px 0;
  padding: 100px 0;
}

.doctor-profile-content {
  max-width: 500px;
  margin-left: 0;
  padding-right: 40px;
}


/* 名前エリア・装飾 */
.doctor-name-area {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}


.doctor-label {
  background-color: #8B6239;
  color: #fff;
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}


.doctor-name-group {
  display: flex;
  align-items: baseline;
  gap: 12px;
}


.doctor-name {
  font-size: 28px;
  color: #8B6239;
  margin: 0;
  font-weight: 700;
}


.doctor-kana {
  font-size: 15px;
  color: #8B6239;
  font-weight: 500;
}


.doctor-biography p {
  font-size: 16px;
  line-height: 2;
  color: #666;
  font-weight: 500;
  text-align: left;
  text-align: justify;
}

.doctor-history {
  margin-top: 30px;
  padding-top: 25px;
}


.history-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #90BE68;
}

.birth-place {
font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}


/* 年号と内容を揃える設定 */
.history-list div {
  display: flex;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
}


.history-list dt {
    width: 4.5em;
    flex-shrink: 0;
    font-weight: 500;
}


.history-list dd {
  margin: 0;
  color: #555;
  flex: 1; /* 残りの幅を埋める */
  font-weight: 500;
}


/* --- 右側：写真 --- */
.doctor-image-container {
  flex: 1;
  padding-left: 60px;
  display: flex;
  justify-content: center;
}


.doctor-image img {
  width: 100%;
  max-width: 550px;
  display: block;
}



/* ========================================================

   レスポンシブ (スマホ版はAboutセクションの挙動に合わせる)

========================================================= */

/* --- 1025px以上の時だけ「突き抜け」を適用する --- */
@media (min-width: 1025px) {
  .doctor-profile-card {
    margin-left: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-block: 50px;
  }
}


@media (max-width: 1024px) {
  .doctor {
    padding: 80px 0; /* Aboutセクションと統一 */
  }

  .doctor-flex {
    flex-direction: column; /* 縦並び */
  }


  .doctor-image-container {
    order: 1;
    padding-left: 0;
    margin-bottom: 40px;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
.doctor-left {
	order: 2;
	}
  .doctor-profile-card {
    width: 100%;      
    margin-left: 0;       

    background-image: url("../images/syoukai_back.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding: 60px 20px;    
    border-radius: 30px;   
  }



  .doctor-profile-content {
    max-width: 100%;
    text-align: left;      
    padding-right: 0;      
  }


  .doctor-name-area {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .doctor-name-area {
    flex-direction: column; 
    align-items: flex-start; 
    gap: 8px;
  }

  .doctor-title {
    margin-bottom: 26px;
    text-align: left;
  }

  .doctor-label {
    padding: 3px 12px;
    font-size: 14px;
  }

.doctor-history {
    margin-top: 20px;
    padding-top: 20px;
  }

 
  .history-list div {
    font-size: 14px; /* スマホは少し小さく */
    margin-bottom: 12px;
  }
  

  .history-list dt {
    width: 5em; /* 年号の幅をスマホに合わせて調整 */

  }

}

/* ========================================================

   Home Care Section (訪問診療とは？)

========================================================= */
.home-care {
  width: 100%;
  background-color: #fff;
  overflow: hidden;
  padding: 200px 0;
}


.home-care-inner {
  display: flex;
  min-height: 500px;
}


/* 画像エリア：左にぴったり */
.home-care-image {
  width: 45%;
  flex-shrink: 0;
}


.home-care-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* テキストエリア */
.home-care-content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  padding: 80px 5%;
}


.home-care-content-inner {
  max-width: 600px;
  margin-left: 40px;
  letter-spacing: 0.15em;
}


.home-care-title {
  font-size: 32px;
  color: #90BE68;
  margin-bottom: 30px;
  font-weight: 600;
}


.home-care-text p {
  font-size: 16px;
  line-height: 2;
  color: #555;
  margin-bottom: 20px;
  font-weight: 500;
  text-align: justify;
}


.u-dotted {
  border-bottom: 2px dotted #C9DBB3;
  padding-bottom: 2px;
  display: inline;
}


.home-care-target {
  background-color: #F7FBF1; 
  padding: 40px 30px;
  margin-top: 40px;
}



.home-care-target-label {
  display: inline-block;
  background-color: #93C06D;
  color: #fff;
  padding: 5px 20px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}


.home-care-list {
  list-style: none;
  padding: 0;
  margin: 0;
}


.home-care-list li {
  position: relative;
  padding-left: 30px;
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 12px;
  font-weight: 500;
}



/* チェックアイコンの装飾 */
.home-care-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 20px;
  height: 20px;
  background-color: #AED38C; 
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFFFFF'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.home-care-list li:last-child {
  margin-bottom: 0;
}



/* ========================================================
   レスポンシブ
========================================================= */

/* PCサイズ（961px以上など）の時だけ改行を有効化 */

@media (min-width: 961px) {
  .pc-only {
    display: inline;
  }
}

/* スマホ版 */

@media (max-width: 1024px) {
  .home-care { padding: 120px 0; }
}

@media (max-width: 960px) {
  .home-care-inner { flex-direction: column; }
  .home-care-image { width: 100%; height: 350px; }
  .home-care-content { padding: 60px 6%; }
  .home-care-content-inner { margin-left: 0; max-width: 100%; }
  .home-care-target { padding: 30px 20px; }
}

@media (max-width: 768px) {
  .home-care { padding: 80px 0; }
  .home-care-title {
font-size: 26px;
}
  .home-care-target-label{
	  letter-spacing: 0.1rem;
	}
  .home-care-text p {
letter-spacing: 0;
}
}
/* ========================================================

   Services Section (当院でできること)

========================================================= */
.services {
  padding: 120px 0;
  background-color: #fff;
}

.services-title {
  color: #90BE68;
}

/* グリッドの設定 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px;
  margin-bottom: 20px;
}

/* 各アイテム（カード） */
.services-item {
  background-color: #FFFFEF;
  border-radius: 12px;
  padding: 30px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.services-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
}

.services-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.services-name {
  font-size: 16px;
  color: #8B6239;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.services-sub {
  font-size: 12px;
  color: #8B6239;
  line-height: 1.5;
  font-weight: 500;
}

.services-note {
  text-align: center;
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

/* ========================================================
   レスポンシブ
========================================================= */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr); /* タブレットは3列 */
  }
}

@media (max-width: 768px) {
  .services {
    padding: 80px 0;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr); /* スマホは2列 */
    gap: 15px;
  }
  .services-item {
    padding: 20px 10px;
    min-height: 180px;
  }
  .services-name {
    font-size: 14px;
  }
}

/* ========================================================

   Flow Section (ご利用の流れ)

========================================================= */
.flow {
  padding: 120px 0;
  background-color: #fff;
}

.flow-title,.pricing-title,.transport-title,.area-title{
  color: #90BE68; 
  margin-bottom: 30px;
  display: flex;
  align-items: center; 
  gap: 20px;    
  border-bottom: 0;
  overflow: hidden;
}

.flow-title::after,.pricing-title::after,.transport-title::after,.area-title::after {
  content: "";
  flex-grow: 1;       
  height: 1px;        
  border-top: 2px dotted #C9DBB3; 
}

.flow-lead {
  font-size: 16px;
  margin-bottom: 60px;
  font-weight: 500;
}

.flow-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%; /* widthからmax-widthに変更 */
  margin: 0 auto;
  box-sizing: border-box;
}

.flow-item {
  width: 20%;        /* 22%から20%に少し下げて余裕を持たせる */
  text-align: center;
  flex-shrink: 0;    /* 勝手に縮まないようにする */
}

.flow-img {
  width: 100%;
  aspect-ratio: 4 / 3.1; /* 画像を同じ比率に揃える */
  margin-bottom: 20px;
  overflow: hidden;
}

.flow-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flow-text {
  font-size: 18px;
  color: #8B6239; /* 茶色系 */
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* 矢印（▶）の設定 */
.flow-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 20px;/* 三角形の形を作成 */
  border-color: transparent transparent transparent #C0DC93;
  margin-bottom: 40px; 
}

/* ========================================================
   レスポンシブ
========================================================= */
@media (max-width: 960px) {
  .flow-title{
		gap:10px;
	}
  .flow-list {
    flex-direction: column; /* スマホでは縦並び */
  }
  .flow-item {
    width: 80%;
    margin-bottom: 20px;
  }
  .flow-arrow {
    transform: rotate(90deg); /* 矢印を下に向けたい場合 */
    margin: 10px 0 30px;
  }
}
/* ========================================================

   Pricing Section (診療費のご案内)

========================================================= */
.pricing {
  padding: 120px 0;
  background-color: #fff;
}
.pricing-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 60px;
  font-weight: 500;
  text-align: justify;
}


.pricing-subtitle {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.pricing-subtitle .dot {
  color: #90BE68;  
  margin-right: 8px; 
}


/* テーブル設定 */
.pricing-table-wrapper {
  width: 100%;
  overflow-x: auto; /* スマホはみ出し対策 */
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  /* 表の「外枠」として上下左右を囲う */
  border: 1px solid #90BE68;
}

.pricing-table th, 
.pricing-table td {
  /* 横線を一度すべてリセット */
  border-top: none;
  border-bottom: none;
  border-left: 1px solid #90BE68;
  border-right: 1px solid #90BE68;
  color: #A57C52;
  font-weight: 600;
  padding: 20px 10px;
  text-align: center;
  font-size: 18px !important;
}
.pricing-table thead th {
  background-color: #90BE68;
  color: #ffffff;            /* 文字を白にして読みやすく */
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 10px 10px;
  border-top: none;
  border-bottom: 1px solid #ffffff; 
  border-left: 1px solid #90BE68;
  border-right: 1px solid #90BE68;
	
}

.pricing-table thead tr {
  border-bottom: 1px solid #90BE68;
}

/* 1行目（ご自宅）の背景を白に */
.pricing-table tbody tr:nth-child(1) {
  background-color: #ffffff;
}

/* 2行目（介護施設）の背景を薄緑に */
.pricing-table tbody tr:nth-child(2) {
  background-color: #E6F2DA;
}

/* 「療養場所」列の特別な背景色（オレンジ）を維持する場合 */
.cell-place {
  font-weight: 700 !important;
}

.cell-place {
  font-weight: 700 !important;
  font-size: 18px !important;
}

.pricing-note {
  text-align: right;
  font-size: 14px;
  color: #666;
  margin-top: 15px;
  font-weight: 500;
}

/* レスポンシブ */
/* レスポンシブ */
@media (max-width: 768px) {
  .pricing { 
    padding: 60px 0; 
  }
  
  .pricing-title { 
    font-size: 24px; 
    gap: 8px; 
  }

  /* 金額が途中で改行されないようにしつつ、最低幅を確保 */
  .pricing-table td { 
    font-size: 14px; 
    padding: 15px 8px; 
    white-space: nowrap; /* 金額が途中で折れ曲がるのを防ぐ */
    min-width: 100px;    /* スクロール時に潰れすぎないように */
  }

  .pricing-table th { 
    font-size: 13px; 
    padding: 12px 5px; 
    white-space: nowrap;
  }

  .cell-place { 
    font-size: 14px !important; 
    min-width: 80px; 
  }

  /* スマホの時だけ、スクロールできることを示す影を少し入れる */
  .pricing-table-wrapper {
    box-shadow: inset -10px 0 10px -10px rgba(0,0,0,0.1);
    margin-bottom: 10px;
  }
	.pricing-note {
    text-align: left;
}
	}

/* ========================================================

   交通費

======================================================== */
.transport{
    padding: 120px 0;
    background-color: #fff;
}
.transport-lead{
    font-size: 16px;
    margin-bottom: 60px;
    font-weight: 500;
}

/* ========================================================

   診療エリア

======================================================== */
.area{
    padding: 120px 0;
    background-color: #fff;
}

.area-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.area-content {
  flex: 1;
  max-width: 630px;
}

.area-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.area-list li {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}

.area-list li span {
  color: #90BE68; /* ●の色 */
  flex-shrink: 0;
}

/* マップ画像エリア */
.area-map {
  width: 40%;
  max-width: 400px;
  text-align: center;
}

.area-map img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.map-caption {
  font-size: 14px;
  color: #90BE68;
  font-weight: 600;
}

/* --- レスポンシブ（スマホ対応） --- */
@media (max-width: 768px) {
.area { padding: 60px 0; }
    
    .area-inner {
        flex-direction: column;
        gap: 30px;
    }

    .area-map {
        width: 100%; 
        order: 2;    
		margin: 0 auto;
    }
}

/* ========================================================

   お問い合わせセクション

======================================================== */
.contact {
  padding: 100px 0;
  background-color: #fff;
}

.contact-box {
  position: relative; /* 背景ロゴの基準にする */
  border: 10px solid #E6F2DA; /* 周囲の薄緑の太線 */
  padding: 60px 40px;
  text-align: center;
  overflow: hidden; /* ロゴが枠からはみ出さないように */
}

/* 左下の薄いロゴ */
.contact-bg-logo {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 300px; /* サイズは適宜調整してください */
  opacity: 0.6; /* もし画像自体が濃ければここで調整 */
  z-index: 1;
}

.contact-content {
  position: relative;
  z-index: 2; /* 文字をロゴより上に */
}

.contact-title {
  color: #90BE68;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

.contact-lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 500;
}

.contact-clinic-name {
  font-size: 22px;
  color: #666;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

/* ボタン・電話番号エリア */
.contact-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* お問い合わせボタン */
.btn-email {
  display: inline-flex; /* flexに変更して中身を並べる */
  align-items: center;  /* 垂直中央 */
  justify-content: center;
  gap: 10px;            /* アイコンと文字の間隔 */
  background-color: #90BE68;
  color: #fff;
  padding: 10px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  transition: opacity 0.3s;
}

/* SVGアイコンのサイズと色の調整 */
.btn-contact__icon {
  width: 24px;   /* アイコンの大きさ */
  height: 24px;
  fill: #fff;    /* アイコンの色を白に */
}

.btn-email:hover {
  opacity: 0.8;
}

.btn-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;         /* アイコンと数字の間隔 */
  color: #90BE68;
  font-size: 45px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 10px;  /* 上のボタンとの距離微調整 */
}

.btn-tel__icon {
  width: 40px;       /* 電話番号に合わせて少し大きめ */
  height: 40px;
  fill: #90BE68;     /* 電話番号と同じ緑色に */
  padding-top: 5px;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
.contact-box {
    padding: 50px 15px;
  }

  .contact-lead {
    
    font-size: 15px;
    line-height: 1.7;
    display: inline-block; 
    width: fit-content;
    margin: 0 auto 30px;
  }

  .contact-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* 中身全体を中央に保つ */
  }
  
  .contact-title {
    font-size: 20px;
  }
.contact-clinic-name {
  font-size: 16.5px;
	letter-spacing: 0em;
	 }
  .btn-email{
	padding: 5px 20px;	
	}
  .btn-tel {
    font-size: 28px; /* スマホでは少し小さく */
    gap: 10px;
  }
	
  .btn-tel__icon {
    width: 24px;
    height: 24px;
  }

  .contact-bg-logo {
    width: 200px;
    bottom: -10px;
    left: -10px;
  }
}

/* ========================================================

   フッター（全幅対応）

======================================================== */
.footer {
  width: 100%;
  background-color: #FFFFEF;
  padding: 60px 30px;
  color: #333;
  box-sizing: border-box;
}

.footer-container {
  width: 100%;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  box-sizing: border-box;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}


/* マップエリア */
.footer-map {
  flex: 1.3;
  min-width: 300px;
  width: 100%;
  padding: 10px;
}

.footer-map iframe {
  width: 100%;
  height: 480px;
  border: 0;
}


/* 情報エリア */
.footer-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  min-width: 250px;
  padding: 120px 30px 60px;
  font-weight: 600;
}

/* クリニック名・住所 */
.clinic-name {
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #555;
}
.clinic-name img{
	height: 90px;
	width: auto;
}
.address,
.contact-details {
  font-size: 15px;
  margin-bottom: 10px;
  color: #666;
}

.contact-details span {
  margin-right: 20px;
}


/* ボタンエリア */
.info-middle {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background-color: #90BE68;
  color: #fff;
  padding: 10px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: opacity 0.3s;
}

.btn-contact:hover {
  opacity: 0.8;
}

/* ★ 追加ここだけ */
.btn-contact__icon {
  width: 25px;
  height: 25px;
  fill: currentColor; /* ← 文字色＝白になる */
}


/* フッター下部ナビ */
.footer-nav {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
}

.copyright {
  font-size: 12px;
  color: #999;
}


/* ======================
   レスポンシブ（〜960px）
====================== */
@media (max-width: 960px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer-map {
    width: 100%;
    height: 300px;
  }

  .footer-map iframe {
    height: 350px;
  }

  .footer-info {
    align-items: center;
    text-align: center;
	padding: 20px 15px;
  }

  .info-middle {
    flex-direction: column;
    gap: 15px;
  }

  .footer-nav {
    justify-content: center;
    gap: 15px;
  }
.clinic-name img {
    height: 70px;
}
.btn-contact {
	padding: 5px 20px
	}
}

/* ========================================

   トップページスクロールボタン

======================================== */
/* --- ページトップボタンの土台 --- */
.page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  opacity: 0;           /* 最初は透明 */
  visibility: hidden;    /* クリック無効 */
  transition: all 0.3s ease; /* ふわっと出す */
}

/* 表示された時のスタイル（JSでis-showクラスを付与） */
.page-top.is-show {
  opacity: 1;
  visibility: visible;
}

.page-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  /* メインの緑色（佐藤煙火様のサイトに合わせて調整してください） */
  background: #90BE68; 
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-decoration: none;
  /* 背景が白くても目立つように「白いフチ」と「影」を追加 */
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s, background-color 0.3s;
}

/* 矢印（SVG）の色とサイズ */
.page-top svg {
  width: 28px;
  height: 28px;
  fill: #ffffff; /* 矢印を真っ白に */
}

/* ホバー時の演出（マウスを乗せた時） */
.page-top a:hover {
  background: #76a152; /* 少し濃い緑に変化 */
  transform: translateY(-5px); /* ぴょこっと上に動く */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); /* 影を強くして浮遊感を出す */
}

/* スマホ用の微調整（画面が小さい時は少し端に寄せる） */
@media screen and (max-width: 768px) {
  .page-top {
    right: 15px;
    bottom: 15px;
  }
  .page-top a {
    width: 45px;
    height: 45px;
  }
}
/* ========================================

   施設基準に関する情報

======================================== */

.facility-standards {
  padding-top: 120px; /* 固定ヘッダー回避 */
  padding-bottom: 100px;
  line-height: 2;
  color: #666;
  background-color: #fff;
}

/* ページ見出しエリア（中央寄せ＆ドット線） */
.facility-standards__page-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 25px;
}

.facility-standards__page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1100px;
  height: 4px;
  background-image: radial-gradient(#90BE68 1.5px, transparent 1.5px);
  background-size: 12px 4px;
  background-repeat: repeat-x;
}

.facility-standards__title {
  font-size: 32px;
  font-weight: 700;
  color: #90BE68;
  margin: 0;
}

/* 本文エリア */
.facility-standards__body {
  max-width: 900px; /* ボタンが並ぶため少しだけ広く設定 */
  margin: 0 auto;
  padding: 0 20px;
}

/* 導入文ボックス（共通デザイン） */
.facility-standards__lead {
  background-color: #F8FBF5;
  padding: 35px;
  border-radius: 25px;
  margin-bottom: 60px;
  font-weight: 500;
  text-align: center; /* 導入文は中央寄せ */
}

/* ボタングリッド */
.facility-standards__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px 40px;
}

/* ボタンデザイン */
.facility-standards__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #90BE68;
  color: #fff;
  text-decoration: none;
  padding: 18px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(144, 190, 104, 0.25);
  text-align: center;
}

.facility-standards__btn:hover {
  background-color: #7AB052;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(144, 190, 104, 0.35);
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .facility-standards {
    padding-top: 100px;
  }
  .facility-standards__title {
    font-size: 26px;
  }
  .facility-standards__lead {
    padding: 25px;
    font-size: 15px;
  }
  .facility-standards__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .facility-standards__btn {
    padding: 15px 20px;
    font-size: 15px;
  }
}
/*========================================================

   プライバシーポリシー全体

======================================================== */

.privacy-policy {
  padding-top: 120px;
  padding-bottom: 100px;
  line-height: 2; /* 行間を広げて読みやすく */
  color: #666;
}

/* ページ見出しエリア（中央寄せ＆ドット線） */
.privacy-policy__page-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 20px;
}

.privacy-policy__page-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1100px;
  height: 4px;
  background-image: radial-gradient(#90BE68 1.5px, transparent 1.5px);
  background-size: 12px 4px;
  background-repeat: repeat-x;
}

.privacy-policy__title {
  font-size: 32px;
  font-weight: 700;
  color: #90BE68;
  margin: 0;
}

/* 本文エリアを包むセクション */
.privacy-policy__body {
  max-width: 900px; /* 読みやすい幅に制限 */
  margin: 0 auto;
  padding: 0 20px;
}

/* 導入文のボックス */
.privacy-policy__lead {
  background-color: #F8FBF5; /* 薄い緑のボックス */
  padding: 30px;
  border-radius: 20px;
  margin-bottom: 50px;
  font-weight: 500;
}

/* 各規約セクション */
.privacy-item {
  margin-bottom: 50px;
  font-size: 16px;
  font-weight: 500;
  text-align: justify;
}

.privacy-item h2 {
  font-size: 20px;
  color: #90BE68;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-weight: 700;
}

.privacy-item h2::before {
  content: '●'; /* 小さな丸のアクセント */
  font-size: 12px;
  margin-right: 10px;
}

/* 箇条書きのスタイル */
.privacy-item ul {
  list-style: none;
  padding-left: 20px;
  margin-top: 10px;
}

.privacy-item ul li {
  position: relative;
  padding-left: 1.5em;
}

.privacy-item ul li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: #90BE68;
  font-weight: bold;
}

/* お問い合わせ先リンク */
.contact-info a {
  color: #90BE68;
  font-weight: 700;
  text-decoration: underline;
  transition: opacity 0.3s;
}

.contact-info a:hover {
  text-decoration: none;
  opacity: 0.8;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .privacy-policy {
    padding-top: 100px;
  }
  .privacy-policy__title {
    font-size: 24px;
  }
  .privacy-policy__lead {
    padding: 20px;
    font-size: 14px;
  }
  .privacy-item h2 {
    font-size: 18px;
  }
}