body {
  margin: 0;
  font-family: 
  "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
  color: #666666;
  font-size: 15px;
  letter-spacing:0.1rem;
  background-color:whitesmoke;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}
a:hover {
  opacity: 0.7;
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

/* global fade-in animation */
/*.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.3s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */

.fade-in{
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 700ms cubic-bezier(.22,.9,.28,1), transform 700ms cubic-bezier(.22,.9,.28,1);
  will-change: opacity, transform;
}
.fade-in.is-show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomInSlide {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.03);
  }
}

/* Disable fade-in for home FV */
.home .fv.fade-in {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.form-wrapper .wpforms-form {
  display: inline-block;
  width: 600px;
  max-width: 100%;
  box-sizing: border-box;
}


.h1 {
  font-size: 32px;
  font-weight: 800;
  color:  #2D709F;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 80px;
}

.h1::before {
	content: "";
	width: 2px;
	height: 45px;
	background:  #2D709F;
	margin:  50px auto 10px;
	display: block;
}

.h2 {
  padding-bottom: 8px;
  font-size: 24px;
}

.h3 {
  padding-bottom: 8px;
  font-size: 16px;
}

.section {
  padding: 20px 0px;
}




.button-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 200px;
    margin:30px auto;
    padding: .9em 2em;
    border: 1px solid #2bb7cb;
    border-radius: 25px;
    background-color: #fff;
    color: #2bb7cb;
    font-size: 1em;
    font-family: 
  "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
  letter-spacing:0.1rem;
  text-decoration: none;
}

.button-1::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #2bb7cb;
    border-right: 2px solid #2bb7cb;
    content: '';
}

.button-1:hover {
  background: #2bb7cb;
  color: #fff;
  opacity:1;
}

.post-title a {
  color: #666666; /* ensure titles links match desired color */
  text-decoration: none;
}

/*********************************
Header
*********************************/

/* HEADER */
.header {
  position: fixed;   /* ←ここだけ変更 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-inner {
  max-width: 1280px;   /* 好きな幅 */
  margin: 20px auto 0;
  padding: 6px 32px;

  display: flex;
  justify-content: space-between;
  align-items: center;


}

.header-logo h1{
  margin: 0;
  line-height: 0;
}


.header-logo img {
  height: 48px; /* 好きなサイズに */
}

.nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #2D709F;          /* 文字色 */
  font-size: 16px;         /* 文字サイズ */
  letter-spacing: 0.1em;  /* 文字間 */
  text-decoration: none;
  font-weight: 500;
    font-family: 
  "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
  position: relative;
  transition: color 0.3s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #2D709F;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

main {
  padding: 0 60px;
  max-width: 1196px;
  margin: 0 auto;
}


/*********************************
HOME
*********************************/

/* HOME FV */
.home .fv {
  position: relative;
  height: 100vh; /* 画面いっぱい */
  overflow: hidden;
}

.home .fv-slides {
  position: absolute;
  inset: 0;
}

.home .fv-slides2 {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.home .fv-slides2 .slick-list,
.home .fv-slides2 .slick-track,
.home .fv-slides2 .fv-slide {
  height: 100%;
}

.home .fv-slides2 .fv-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.2);
  transition: transform 7s ease;
  display: block;
}

.home .fv-slides2 .slick-active img {
  transform: scale(1.2);
}

.home .fv-slides .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.home .fv-slides .slide.active {
  opacity: 1;
  animation: zoomInSlide 8s ease forwards;
}

.home .fv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.2);
  z-index: 2;
}

.home .fv-content {
  position: relative;
  height: 100%;

  display: flex;
  justify-content: flex-end; /* 下 */
  align-items: flex-end;     /* 右 */

  padding: 40px; /* 端にくっつきすぎないように */
  margin-top: 60px;
  z-index: 3;
}

.home .fv-content p {
  text-align: right;
 display: inline;
  padding: 12px 24px;
  line-height: 2.5;

  color: #fff;
  font-size: 25px;
  letter-spacing: 0.08em;

 background: linear-gradient(
    90deg,
    #2bb7cb 0%,
    #2D709F 100%
  );

    position: absolute;
  
  text-align: right;
  bottom: 100px;

  opacity: 0;
  animation: slideInFromRight 1.3s ease forwards;
  animation-delay: 0.5s;
}

.sp-br {
  display: none;
}





/* NEWS */
/* セクション横並び */
.news-wrapper {
 display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.news-block {
  flex: 1;
}

/* カード */
/* 見出し */
.section-title {
  display: flex;
  align-items: center;
  padding: 8px 0px;
  margin-top: 0;
  font-size: 24px;
    display: inline-block;
}

/* カード本体 */

.news-item {
  padding: 12px 0;
}

.news-item time {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}

.news-item p {
  font-size: 15px;
  margin: 0;
}

/* ABOUT */

.about-wrapper {
  display: flex;
  gap: 30px;
}

.about-block {
  flex: 1;
  margin-bottom: 10px;
 
}

.block-title {
  line-height: 1.8;
  text-indent: 1em;
  text-align: center;
    padding: 32px 0;              /* 線と文字の間隔 */
    margin-bottom: 24px;
  }

  .block-item{
     line-height:2em;
     
  }



/* FEATURES */
/* セクション */
.features {
  padding: 80px 0;
}

/* 中央寄せ */
.features-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

/* 白い特徴ボックス */
.features-box {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);

  display: grid;                     /* ← flex から変更 */
  grid-template-columns: repeat(3, 1fr);
  align-items: center;

  background: rgba(255, 255, 255, 0.8); /* 90% */
  padding: 60px 80px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 2;

  width: 70%;
  max-width: 1100px;
}

/* 各特徴 */
.feature-item {
  text-align: center;
  padding: 0 40px;
}

/* 区切り線 */
.feature-item + .feature-item {
  border-left: 1px solid #cfcfcf;
}

/* POINT表記 */
.feature-label {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
  color: #2bb7cb;
}

/* テキスト */
.feature-item p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

/* 下の画像 */
.features-image {
  margin-top: 100px; /* 白BOX分の余白 */
   margin-bottom: 100px;
}

.features-image img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7; /* 画像70% */
}


/* SERVICES */
/* セクション全体 */
.services {
width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 900px;
  background: url("img/Frame\ 3.png") center / cover no-repeat;
  padding: 50px 0;  
  overflow: visible;
}

.services::before {
  content: "";
  position: relative;
  inset: 0;
  background: rgba(255, 255, 255, 0.5); /* ← ここで調整 */
  z-index: 2;
}

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* グリッド */
.services-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* カード */
.service-card {
  display: flex;
  gap: 20px;
  background: rgba(255, 255, 255, 0.8); /* 90% */
  padding: 32px 40px;
  align-items: flex-start;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 左側（見出し＋アイコン） */
.service-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
}

.service-title {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 20px;
  color: #2D709F;
  font-size: 20px;
}

.service-icon img {
  width: 150px;
  height: auto;
}

.service-body {
  max-width: 560px;
}

.service-text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.6;
}

.service-list {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

/* STAFF */
.staff-wrapper {
  display: flex;
  gap: 80px;
}

.staff-block {
  flex: 1;
  margin-bottom: 10px;
}

.staffblock-title {
  line-height: 1.6;
  text-indent: 1em;
  text-align: right;
    padding: 32px 0;              /* 線と文字の間隔 */
    margin-bottom: 24px;
  }

  .staffblock-item{
     line-height:1.6;
     
  }




.map iframe {
  width: 100%;
  height: 450px;
  display: block;
}

/*********************************
NEWS
*********************************/
.single,
body.category {
  background-color:whitesmoke;
}

/* NEWS FV */
/* apply same FV styling to single and category pages */
.single .fv,
.category .fv {
  position: relative;
  height: 60vh; /* 画面いっぱい */
  background-image: url("img/news.png"); /* 画像パス */
  background-size: cover;
  background-position: center;
}

.single .fv-overlay,
.category .fv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.4);
}

.single .fv-content,
.category .fv-content {
  height: 100%;   /* ← 高さがないと中央にならない！ */
  display: flex;
  justify-content: center;  /* 横中央 */
  align-items: center;      /* 縦中央 */
}

.single .fv-content p,
.category .fv-content p,
.single .fv-content h1,
.category .fv-content h1 {
  text-align: right;
  display: inline-block;
  padding: 12px 24px;
  line-height: 2.5;
color: #fff;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 2px 2px 8px #3e3e3e;
  font-family: 
  "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
  position: absolute;
  bottom: 100px;
  margin: 0;
}

/* NEWS COURSE */


.course {
  padding: 40px; /* reduced from 80px */
  color: #666666;
   font-family: 
  "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
}

hr {
  border: none;
  border-top: 1px solid #2bb7cb;
  margin: 30px 0; /* reduced from 60px */
}


.news_post_small_title a {
  font-size: 16px;
  text-decoration: none;
}

.news_post_meta {
  margin: 5px 0 20px;
}

.news_post_meta a {
  font-size: 20px;
  text-decoration: none;
}

.read_continue {
  text-align: right;
}

.read_continue button {
 border: 1px solid #2bb7cb;
    border-radius: 25px;
    background-color: #fff;
    color: #2bb7cb;
  padding: 10px 30px;
  cursor: pointer;
  transition: 0.3s;
}

hr {
  border: none;
  border-top: 1px solid #333;
  margin: 30px 0;
}

.read_continue button:hover {
  background: #2bb7cb;
  color: #fff;
}

.sidebar {
  margin-top: 40px;
  padding:0 40px 0 80px;
}

.category {
  
  background: #ffffff;
  margin-bottom: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
   font-family: 
  "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
}

.category_title {
  background:  linear-gradient(
    90deg,
    #2bb7cb 0%,
    #2D709F 100%
  );
  padding: 15px;
  text-align: center;
}

.category_title h2 {
  color: #fff;
  font-size: 20px;
  margin: 0;
  padding-top: 10px;
  letter-spacing: 0.1em;
}

.sidebar_categories {
  padding: 20px;
}

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

.sidebar_categories li {
  margin-bottom: 15px;
}

.sidebar_categories li a {
  text-decoration: none;
  color: #666666;
  transition: 0.3s;
}

.sidebar_categories li a::before {
  content: "> ";
  color: #2D709F;
}

.sidebar_categories li a:hover {
  color: #35b8c5;
}


/* ===== news_detail ===== */
/* 記事全体 */
.post {
  max-width: 800px;
  margin-bottom: 80px;
  margin-top: 40px;
  color: #666666;
   font-family: 
    "Hiragino Maru Gothic ProN",
    "Hiragino Maru Gothic Pro",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
}

/* 日付 */
.post-date {
  font-size: 16px;
  display: block;
  margin-bottom: 10px;
}

/* タイトル */
.post-title {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 30px;
 
}

/* 画像 */
.post-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 6px;
}

/* 本文 */
.post-content p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 24px;
}

/*********************************
ABOUT
*********************************/
.about {
  font-family: 
  "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
  color: #676666;
  font-size: 15px;
  letter-spacing:0.1rem;
  background-color:whitesmoke;
 
}

/* about FV */
.about .fv {
  position: relative;
  height: 60vh;
  background-image: url("img/news.png");
  background-size: cover;
  background-position: center;
}

.about .fv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.4);
}

.about .fv-content {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about .fv-content p {
  display: inline-block;
  padding: 12px 24px;
  line-height: 2.5;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 2px 2px 8px #3e3e3e;
  font-family:
    "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;

  position: absolute;
  bottom: 100px;
}

/* about charactor */


.about-facility {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
}

.facility-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 60px;
}

.facility-row.reverse {
  flex-direction: row-reverse;
}

.facility-image {
  flex: 1;
}

.facility-image img {
  width: 100%;
  height: auto;
  display: block;
}

.facility-text {
  flex: 1;
}

.facility-text h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 24px;
  line-height: 1.6;
}

.facility-text p {
  font-size: 15px;
  line-height: 2;
}

/* about point */
.about .features-section {
  background: #2D709F;
  padding: 80px 0px;
  color: #fff;

  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.about .features-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: flex;
  gap: 40px;
}

.about .feature-item {
  flex: 1;
}

.about .feature-item img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 24px;
}

.about .features-section .feature-point {
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.about .features-section .feature-item h3 {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.about .features-section .feature-text {
  font-size: 15px;
  line-height: 1.6;
}

/* about staff */
.about.staff {
  padding: 80px 0;
}

.about .section-title {
   color: #2c78b8;
  font-size: 28px;
  font-weight: bold;
  display: block;
  line-height: 1.8;
  text-indent: 1em;
  text-align: center;  
    margin-bottom: 100px;
}

.about .staff-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about .staff-card {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  background: #fff;
  display: flex;
  gap: 40px;
  padding: 40px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.about .staff-image {
  width: 240px;
  flex-shrink: 0;
}

.about .staff-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about .staff-body {
  flex: 1;
}

.about .staff-role {
  font-size: 14px;
  margin-bottom: 8px;
}

.about .staff-name {
  font-size: 22px;
  margin-bottom: 16px;
}

.about .staff-name span {
  display: inline-block;
  font-size: 14px;
  margin-left: 12px;
}

.about .staff-text {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 25px;
}

.about .staff-skill,
.about .staff-hobby {
  font-size: 14px;
  line-height: 0.5;
}





/* ===== FOOTER 本体 ===== */
.footer {
  background-color:whitesmoke;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  font-family: 
    "Hiragino Maru Gothic ProN",
    "Hiragino Maru Gothic Pro",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
    
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 122px;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

/* 左側 */
.footer-info {
  flex: 1;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 16px;

  margin: 24px 0;
}

.footer-logo img {
  width: 330px;
  height: auto;
}

.footer-address {
  font-weight: bold;
}

.footer-access {
  font-size: 14px;
  line-height: 1.6;
  margin-top: -10px;
}

/* 右側 */
.footer-schedule {
  flex: 1;
  text-align: right;
}

.footer-schedule img {
  max-width: 120%;
  height: auto;
  margin-left: -50px;
}

.footer-note {
  margin-top: 8px;
  font-size: 14px;
  color: #2c78b8;
}





/* ===== COPYRIGHT ===== */
.copyright {
  width: 100%;
  background: #2c78b8;
  color: #fff;
  text-align: center;
  padding: 16px 10px;
  font-size: 14px;

  
}

/* レスポンシブ */
/* =========================
   Hamburger Base
========================= */
.hamburger {
  display: none;
  width: 40px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #2D709F;
  position: absolute;
  left: 0;
  transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 15px; }
.hamburger span:nth-child(3) { bottom: 0; }

/* =========================
   Responsive Header
========================= */
@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
  }

  .nav li {
    border-top: 1px solid #e0e0e0;
  }

  .nav a {
    display: block;
    padding: 16px;
    font-size: 15px;
    position: relative;
    transition: color 0.3s ease;
  }

  .nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2D709F;
    transition: width 0.3s ease;
  }

  .nav a:hover::after {
    width: 100%;
  }

  /* メニュー開いた状態 */
  .header.is-open .nav {
    display: block;
  }

  /* ×アニメーション */
  .header.is-open .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    top: 15px;
  }

  .header.is-open .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .header.is-open .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 15px;
  }
}

/* =========================
   Responsive (SP)
========================= */
@media (max-width: 768px) {

  /* =========================
     Overall Layout
  ========================= */
  main {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  /* =========================
     FV
  ========================= */
  .home .fv {
    height: 70vh;
  }

  .home .fv-content {
    padding: 16px;
    margin-top: 30px;
  }

  .home .fv-content p {
    font-size: 14px;
    line-height: 2;
    bottom: 40px;
    padding: 10px 16px;
    text-align: right;
    max-width: 280px;
  }

  @media (max-width: 768px) {
  .sp-br {
    display: block;
  }
}

  /* =========================
     NEWS
  ========================= */
  .news-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .section-title {
    font-size: 20px;
  }

  /* =========================
     ABOUT
  ========================= */
  .about-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .block-title {
    font-size: 18px;
    padding: 16px 0;
  }

  .about-block img {
    width: 100%;
    height: auto;
  }

  /* =========================
     FEATURES
  ========================= */
  .features {
    padding: 40px 0;
  }

  .features-inner {
    position: static;
  }

  .features-box {
    position: static;
    transform: none;
    width: 100%;
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 24px;
  }

  .feature-item {
    padding: 0;
  }

  .feature-item + .feature-item {
    border-left: none;
    border-top: 1px solid #cfcfcf;
    padding-top: 16px;
  }

  .features-image {
    margin: 40px 0;
  }

  /* =========================
     SERVICES
  ========================= */
  .services {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 40px 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    flex-direction: column;
    padding: 24px;
  }

  .service-left {
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    min-width: auto;
  }

  .service-icon img {
    width: 100px;
  }

  .service-title {
    font-size: 18px;
  }

  /* =========================
     STAFF
  ========================= */
  .staff-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .staff-block img {
    width: 100%;
    height: auto;
  }

    .staffblock-title {
        text-align: left;
        padding: 16px 0;
      }

  .single .fv {
    position: relative;
  height: 60vh; /* 画面いっぱい */
  background-image: url("img/news.png"); /* 画像パス */
  background-size: cover;
  background-position: center;
}

.single .fv-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.4);
}

.single .fv-content {
  height: 100%;   /* ← 高さがないと中央にならない！ */
  display: flex;
  justify-content: center;  /* 横中央 */
  align-items: center;      /* 縦中央 */
}

.single .fv-content p {
  text-align: right;
  display: inline-block;
  padding: 12px 24px;
  line-height: 2.5;
color: #fff;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 2px 2px 8px #3e3e3e;
  font-family: 
  "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;

  position: absolute;
  bottom: 100px;
}

/* NEWS COURSE */


.course {
  padding: 40px; /* reduced from 80px */
  color: #666666;
   font-family: 
  "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
}

hr {
  border: none;
  border-top: 1px solid #2bb7cb;
  margin: 30px 0; /* reduced from 60px */
}


.news_post_small_title a {
  font-size: 16px;
  text-decoration: none;
}

.news_post_meta {
  margin: 5px 0 20px;
}

.news_post_meta a {
  font-size: 20px;
  text-decoration: none;
}

.read_continue {
  text-align: right;
}

.read_continue button {
 border: 1px solid #2bb7cb;
    border-radius: 25px;
    background-color: #fff;
    color: #2bb7cb;
  padding: 10px 30px;
  cursor: pointer;
  transition: 0.3s;
}

hr {
  border: none;
  border-top: 1px solid #333;
  margin: 30px 0;
}

.read_continue button:hover {
  background: #2bb7cb;
  color: #fff;
}

.sidebar {
  margin-top: 40px;
  padding:0 40px 0 80px;
}

.category {
  
  background: #ffffff;
  margin-bottom: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
   font-family: 
  "Hiragino Mincho ProN", "Yu Mincho", "MS Mincho", serif;
}

.category_title {
  background:  linear-gradient(
    90deg,
    #2bb7cb 0%,
    #2D709F 100%
  );
  padding: 15px;
  text-align: center;
}

.category_title h2 {
  color: #fff;
  font-size: 20px;
  margin: 0;
  padding-top: 10px;
  letter-spacing: 0.1em;
}

.sidebar_categories {
  padding: 20px;
}

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

.sidebar_categories li {
  margin-bottom: 15px;
}

  .sidebar_categories li a {
    text-decoration: none;
    color: #666666;
    transition: 0.3s;
  }

  .sidebar_categories li a::before {
    content: "> ";
    color: #2D709F;
  }

  .sidebar_categories li a:hover {
    color: #35b8c5;
  }
}

/* =========================
   Post Detail Responsive (SP)
========================= */
@media (max-width: 768px) {

  /* ===== FV ===== */
  .single .fv {
    height: 50vh;
  }

  .single .fv-content p {
    font-size: 24px;
    bottom: 40px;
    padding: 8px 16px;
  }

  

  /* ===== レイアウト縦並び ===== */
  .row {
    display: block;
  }

  .col-lg-8,
  .col-md-8,
  .col-lg-4,
  .col-md-4 {
    width: 100%;
    max-width: 100%;
  }

  /* ===== 記事 ===== */
  .post {
    max-width: 100%;
    margin: 40px auto 60px;
    padding: 0 20px;
  }

  .post-date {
    font-size: 14px;
  }

  .post-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .post-content p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
  }

  /* ===== サイドバー ===== */
  .sidebar {
    margin-top: 60px;
    padding: 0 20px;
  }

  .category {
    margin-bottom: 30px;
  }

  .category_title h2 {
    font-size: 18px;
  }

  .sidebar_categories {
    padding: 15px;
  }

}

/* =========================
   About Responsive (SP)
========================= */
@media (max-width: 768px) {

  /* ===== FV ===== */
  .about .fv {
    height: 50vh;
  }

  .about .fv-content p {
    font-size: 24px;
    bottom: 40px;
    padding: 8px 16px;
  }

  /* ===== Facility ===== */
  .about-facility {
    padding: 60px 20px;
  }

  .facility-row {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
  }

  .facility-row.reverse {
    flex-direction: column;
  }

  .facility-text h3 {
    font-size: 20px;
  }

  .facility-text p {
    font-size: 14px;
    line-height: 1.8;
  }

  /* ===== Features ===== */
  .about .features-inner {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
  }

  .about .feature-item h3 {
    font-size: 18px;
  }

  .about .feature-text {
    font-size: 14px;
    line-height: 1.8;
  }

  /* ===== Staff ===== */
  .about.staff {
    padding: 60px 20px;
  }

  .about .section-title {
    font-size: 22px;
    margin-bottom: 60px;
  }

  .about .staff-card {
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
  }

  .about .staff-image {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  .about .staff-name {
    font-size: 18px;
  }

  .about .staff-name span {
    display: block;
    margin-left: 0;
    margin-top: 5px;
  }

  .about .staff-text {
    font-size: 14px;
  }

  .about .staff-skill,
  .about .staff-hobby {
    line-height: 1.6;
  }

}

/* =========================
   MAP Responsive
========================= */

.map iframe {
  width: 100%;
  height: 400px;
}

@media (max-width: 768px) {
  .map iframe {
    height: 300px;
  }
}





/* =========================
   Footer Responsive
========================= */
@media (max-width: 768px) {

  .footer {
    padding: 0; /* 122pxを無効化 */
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
    padding: 40px 16px;
  }

  /* 左側 */
  .footer-logo {
    align-items: flex-start;
    margin: 0 0 16px;
  }

  .footer-logo img {
    width: 240px;
  }

  .footer-address {
    font-size: 14px;
  }

  .footer-access {
    font-size: 13px;
    margin-top: 0;
  }

  /* 右側（診療時間） */
  .footer-schedule {
    text-align: left;
  }

  .footer-schedule img {
    max-width: 100%;
    margin-left: 0;
  }
  
}

/* =========================
     CONTACT
  ========================= */



#contact{
    max-width: 600px;
    margin: 0 auto;
  }
#contact .form-wrapper .wpforms-form {
    width: 100%;
}
#contact .wpforms-container input.wpforms-field-medium,
#contact .wpforms-container select.wpforms-field-medium,
#contact .wpforms-container .wpforms-field-row.wpforms-field-medium
 {
    max-width: 100%;
    height: 40px;
}
.wpforms-form button.wpforms-submit{
  width: 80%;
  max-width: 320px;
  margin: 30px auto;
  padding: .9em 2em;
  border: 1px solid #2bb7cb;
  border-radius: 25px;
  background-color: #2bb7cb;
  color: #fff;
  display: block;
  text-align: center;
}

.wpforms-form button.wpforms-submit:hover {
  background-color: #ff7300 !important;
  color: #fff !important;
opacity:1;
}