@charset "UTF-8";
/*===============================
reset
================================*/
*,
*:before,
*:after {
 -webkit-box-sizing: border-box;
 box-sizing: border-box;
 text-align: justify;
 word-break: break-all;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
 margin: 0;
 padding: 0;
 border: 0;
 vertical-align: baseline;
}

body {
 line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
 display: block;
}

button {
 padding: 0;
 background: transparent;
 border: none;
 outline: none;
}

nav ul {
 list-style: none;
}

blockquote,
q {
 quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
 content: "";
 content: none;
}

ol,
ul {
 list-style: none;
}

a {
 margin: 0;
 padding: 0;
 color: #333;
 vertical-align: baseline;
 background: transparent;
 text-decoration: none;
}

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

blockquote,
q {
 quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
 content: "";
 content: none;
}

table,
td,
th {
 border-collapse: collapse;
 border-spacing: 0;
}

textarea {
 resize: vertical;
}

/*===============================
base
================================*/
html {
 font-weight: 500;
 letter-spacing: 2px;
 line-height: 1.8em;
 color: #333;
 font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
  Meiryo, sans-serif;
}

body {
 position: relative;
 z-index: 100;
 background: #fff;
 font-size: 13px;
 margin-inline: auto;
 line-height: 1.6;
 overflow-x: hidden;
}
@media screen and (min-width: 768px) {
 body {
  font-size: 14px;
 }
}
@media screen and (min-width: 1200px) {
 body {
  font-size: 15px;
 }
}
.body02 {
 position: relative;
 z-index: 100;
 background: #004680;
 font-size: 13px;
 max-width: 1500px;
 margin-inline: auto;
}
@media screen and (min-width: 768px) {
 .body02 {
  font-size: 14px;
 }
}
@media screen and (min-width: 1200px) {
 .body02 {
  font-size: 15px;
 }
}
.dc_css_js_dsp {
 position: fixed;
 bottom: 10px;
 right: 10px;
 z-index: 500;
 padding: 30px;
 background: #fff;
 border: 1px solid #1a5887;
}
.dc_css_js_dsp .scripts {
 margin-top: 20px;
}
.dc_css_js_dsp dd ul {
 margin-top: 15px;
}
.dc_css_js_dsp dd ul li {
 position: relative;
 padding-left: 20px;
}
@media screen and (min-width: 768px) {
 .dc_css_js_dsp dd ul li {
  font-size: 1.4rem;
 }
}
.dc_css_js_dsp dd ul li:before {
 content: "・";
 position: absolute;
 top: 0;
 left: 0;
}
.dc_css_js_dsp dd ul li:not(:first-child) {
 margin-top: 10px;
}

.wrap,
.wrap-l {
 width: calc(100% - 40px);
 margin: auto;
}
@media screen and (min-width: 768px) {
 .wrap,
 .wrap-l {
  width: calc(100% - 60px);
  margin: auto;
 }
}
.wrap-s {
 width: calc(100% - 20px);
 margin: auto;
}
@media screen and (min-width: 768px) {
 .wrap-s {
  width: calc(100% - 60px);
  margin: auto;
 }
}
.wrap-s {
 max-width: 1000px;
}

.wrap {
 max-width: 1200px;
}

.wrap-l {
 max-width: 1500px;
}

.palmtop {
 display: block !important;
}
@media screen and (min-width: 768px) {
 .palmtop {
  display: none !important;
 }
}
@media screen and (min-width: 1024px) {
 .palmtop {
  display: none !important;
 }
}

.laptop {
 display: none !important;
}
@media screen and (min-width: 768px) {
 .laptop {
  display: block !important;
 }
}
@media screen and (min-width: 1024px) {
 .laptop {
  display: block !important;
 }
}

.sclNone {
 overflow-y: hidden;
}

.is-hide {
 top: -100% !important;
}
/*
hamburger
================================*/
.hamburger {
 position: fixed;
 z-index: 120;
 top: 6%;
 right: 13%;
 line-height: 0;
 -webkit-transition: top 0.3s ease;
 transition: transform 0.3s ease, opacity 0.3s ease;
}
@media screen and (min-width: 1024px) {
 .hamburger {
  display: none;
 }
}
/* ヘッダー＆ハンバーガーの隠れるアニメーション */
.l-header.is-hide,
#js-hamburger.is-hide {
 transform: translateY(-100%);
 opacity: 0;
 transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger button {
 position: relative;
 width: 22px;
 height: 15px;
}
.hamburger button span {
 position: absolute;
 left: 0;
 width: 22px;
 height: 3px;
 background: #339933;
 -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
 transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
 transition: transform 0.3s ease, opacity 0.3s ease;
 transition: transform 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease;
}
.hamburger button span:first-child {
 top: 0;
}
.hamburger button span:nth-child(2) {
 top: 6px;
}
.hamburger button span:nth-child(3) {
 top: 12px;
}

.hamburgerActive button span {
 background: #fff;
}
.hamburgerActive button span:first-child {
 -webkit-transform: translateY(6px) rotate(45deg);
 transform: translateY(6px) rotate(45deg);
}
.hamburgerActive button span:nth-child(2) {
 opacity: 0;
}
.hamburgerActive button span:nth-child(3) {
 -webkit-transform: translateY(-6px) rotate(-45deg);
 transform: translateY(-6px) rotate(-45deg);
}

/*
 drawer
 ================================*/
.drawer {
 position: fixed;
 z-index: 110;
 top: 0;
 left: 0;
 width: 100%;
 height: 100vh;
 height: 100dvh;
 background: #177c5f;
 overflow-y: auto;
 opacity: 0;
 pointer-events: none;
 -webkit-transition: opacity 0.3s ease;
 transition: opacity 0.3s ease;
}
@media screen and (min-width: 1024px) {
 .drawer {
  display: none;
 }
}
.drawer__list {
 padding: 60px 0 40px 0;
}
.drawer__list__item {
 text-align: center;
}
.drawer__list__item:not(:first-child) {
 margin-top: 55px;
}
.drawer__list__item a {
 color: #fff;
 font-weight: bold;
 font-size: 16px;
}

.drawerActive {
 opacity: 1;
 pointer-events: auto;
}
/*===============================
layout
================================*/
@media screen and (min-width: 768px) {
}
/* ==================================
 *  Header – Medical Clinic Style
 *  ================================= */
:root {
 /* ヘッダーの実高を 変えたらここだけ直せば OK */
 --header-height: 160px; /* ★PC */
 --header-height-sp: 130px; /* ★SP */
}

/* ====== 1. ヘッダー本体 ====== */
.site-header {
 width: 100%;
 background: transparent;
 font-family: "Noto Sans JP", "Helvetica Neue", sans-serif;
 z-index: 2000;
}

/* トップページ（homeクラスあり）のときだけ position: absolute */
body.home .site-header {
 position: absolute;
 top: 0;
 left: 0;
}

/* スマホでもトップページだけ absolute にする */
@media (max-width: 768px) {
 body.home .site-header {
  position: absolute;
 }
}

/* === 上段 === */
.header-top {
 background: #fff;
 border-radius: 12px;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
 margin: 30px auto 15px;
 max-width: 1500px;
 padding: 18px 28px;
}

.header-top__inner {
 display: flex;
 align-items: center;
 justify-content: center;
 flex-wrap: wrap;
 gap: 10px;
}
@media (min-width: 768px) {
 .header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
 }
}
/* ロゴ */
.logo-block {
 display: flex;
 align-items: center;
 gap: 5px;
 text-decoration: none;
 flex-direction: column;
}
@media screen and (min-width: 768px) {
 .logo-block {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex-direction: row;
 }
}
.logo-block__img {
 width: auto; /* 必要に応じて調整 */
 height: auto;
}

.logo-block__text {
 display: flex;
 flex-direction: column;
}

.logo-block__name {
 font-size: 1.8rem;
 font-weight: 700;
 color: #cc3366;
 line-height: 1.2;
}

.logo-block__dept {
 font-size: 14px;
 font-weight: 500;
 color: #333;
 line-height: 1.4;
 margin-top: 4px;
}

/* 連絡先ボタン */
.contact-block {
 display: flex;
 gap: 20px;
 flex-wrap: nowrap;
 justify-content: center;
}

.contact-btn {
 display: flex;
 align-items: center;
 gap: 8px;
 border: 2px solid #cc3366;
 border-radius: 8px;
 padding: 10px 8px;
 font-size: 1rem;
 font-weight: 700;
 text-decoration: none;
 transition: all 0.3s ease;
 line-height: 1;
}

.contact-btn__label {
 font-size: 0.85rem;
 font-weight: 500;
 margin-right: 4px;
}

.contact-btn__icon {
 width: 16px;
 height: 16px;
}

/* === 下段メニュー === */
.global-nav {
 margin: 20px auto;
 max-width: 1500px;
 text-align: center;
}

.global-nav__list {
 margin: 0;
 padding: 0;
 list-style: none;
 display: flex;
 justify-content: space-around;
 flex-wrap: wrap;
 gap: 24px;
}

.global-nav__list li {
 margin: 0;
}

.global-nav__list a {
 width: 230px;
 text-align: center;
 display: inline-block;
 background: #cc3366;
 color: #fff;
 font-weight: 700;
 font-size: 15px;
 padding: 5px;
 border-radius: 9999px;
 text-decoration: none;
 transition: opacity 0.3s ease;
}

.global-nav__list a:hover {
 opacity: 0.8;
}
/* ===== PC ドロップダウン ===== */
@media (min-width: 768px) {
 .global-nav__list li {
  position: relative;
 }

 /* 1階層 */
 .submenu {
  position: absolute;
  left: 0;
  top: calc(100% + 0px);
  padding: 14px 0;
  border-radius: 8px;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s;
  z-index: 3000;
 }
 .has-sub:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
 }
 .submenu ul {
  padding: 0;
  margin: 0;
  list-style: none;
 }
 .submenu li + li {
  margin-top: 8px;
 }
 .submenu a {
  display: block;
  padding: 10px 8px;
  color: #333;
  font-weight: 700;
  font-size: 14px;
  background: #f4f4f4;
  border-radius: 9999px;
  transition: background 0.2s;
 }

 /* 2階層（右へ展開） */
 .has-sub-2 {
  position: relative;
 }
 .submenu-2 {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 240px;
  padding: 14px 0;
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: 0.25s;
 }
 .has-sub-2:hover > .submenu-2 {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
 }
 .submenu-2 li + li {
  margin-top: 8px;
 }
}
/* SP（768px 未満）は従来 drawer/hamburger を使用するので非表示 */
@media (max-width: 767px) {
 .submenu,
 .submenu-2 {
  display: none !important;
 }
}
/* ======================================
   スマホハンバーガーボタン & ドロワー
   ====================================== */
@media (max-width: 767px) {
 /* ---ボタン--- */
 #sp-menu-btn {
  position: fixed;
  left: 5%;
  bottom: 6.5%;
  width: 52px;
  height: 52px;
  border-radius: 30%;
  background: #cc3366;
  color: #fff;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  z-index: 14000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
 }
 #sp-menu-btn span {
  display: block;
  width: 60%;
  height: 3px;
  background: #fff;
  margin: 0 auto;
  transition: 0.3s;
 }
 /* 開いたとき */
 #sp-menu-btn.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
 }
 #sp-menu-btn.open span:nth-child(2) {
  opacity: 0;
 }
 #sp-menu-btn.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
 }

 /* ---ドロワー--- */
 #sp-drawer {
  position: fixed;

  top: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  overflow-y: auto;
  z-index: 10000;
  transition: transform 0.35s ease;
  transform: translateX(-100%);
  padding: 80px 20px 40px;
 }
 #sp-drawer.open {
  transform: translateX(0);
 }
 /* 背景オーバーレイ */
 #sp-drawer::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: 0.35s;
 }
 #sp-drawer.open::before {
  opacity: 0.4; /* 見た目そのまま */
  pointer-events: none; /* ← ココを none に変更 */
 }

 /* メニュー構造 */
 .sp-nav {
  list-style: none;
  padding: 0;
  margin: 0;
 }
 .sp-nav > li + li {
  margin-top: 28px;
 }
 .sp-nav a {
  display: block;
  padding: 12px;
  border-radius: 8px;
  background: #f4f4f4;
  color: #333;
  font-weight: 700;
  text-decoration: none;
 }
 .sp-parent ul {
  margin-top: 10px;
  padding-left: 14px;
 }
 .sp-parent ul li + li {
  margin-top: 8px;
 }
 .sp-parent ul a {
  background: #fff;
  font-weight: 500;
 }
}
/* =============================
   スマホドロワー：下余白を確保
   ============================= */
@media (max-width: 767px) {
 #sp-drawer {
  padding-bottom: 120px; /* ← ボタン高さ + 余裕ぶん */
  height: calc(100% - env(safe-area-inset-bottom)); /* iOS notch 対応 */
 }
}
/* ===== スマホドロワー：アコーディオン ===== */
@media (max-width: 767px) {
 /* ネスト UL を初期非表示 */
 .sp-parent > ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
 }
 /* 開いた時 */
 .sp-parent.open > ul {
  max-height: 1000px;
 } /* 大きめ値で十分 */
 /* 親リンクの見た目 */
 .sp-parent > a::after {
  content: "＋";
  float: right;
  font-weight: 700;
  transition: 0.3s;
 }
 .sp-parent.open > a::after {
  content: "－";
 }
}

/* ==================================
 *  Responsive
 *================================== */
@media (max-width: 768px) {
 .site-header {
  padding: 16px 0 0;
 }
 .header-top {
  margin: 0 16px;
  padding: 10px;
 }
 .logo-block__img {
  width: auto;
 }
 .logo-block__name {
  font-size: 1.5rem;
 }
 .contact-btn {
  font-size: 1.2rem;
  padding: 8px 16px;
 }
 .global-nav__list {
  gap: 12px;
 }
 .global-nav__list a {
  padding: 10px 24px;
  font-size: 1.1rem;
 }
}

/*
footer
================================*/
/* =========================================
 *  Footer – Medical Clinic Style
 *  基調色：#CC3366   フォント：Noto Sans JP
 * ======================================= */

/* --- 共通設定 --- */
.site-footer {
 background: #fff;
 padding: 60px 0 80px;
 font-family: "Noto Sans JP", "Helvetica Neue", sans-serif;
 color: #333;
 text-align: center;
}
.site-footer a {
 color: #333;
 text-decoration: none;
}
.site-footer a:hover {
 text-decoration: underline;
}

/* ========== 1. 電話ボックス ========== */
.footer-call {
 margin-bottom: 80px;
}
.footer-call__inner {
 max-width: 1100px;
 margin: 0 20px;
 border: 4px solid #cc3366;
 border-radius: 20px;
 display: flex;
 flex-wrap: wrap;
}
@media screen and (min-width: 768px) {
 .footer-call__inner {
  max-width: 1100px;
  margin: 0 auto;
  border: 4px solid #cc3366;
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
 }
}
.footer-call__inner02 {
 max-width: 500px;
 margin: 0 20px;
 border: 4px solid #cc3366;
 border-radius: 20px;
 display: flex;
 flex-wrap: wrap;
}
@media screen and (min-width: 768px) {
 .footer-call__inner02 {
  max-width: 500px;
  margin: 0 auto;
  border: 4px solid #cc3366;
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
 }
}
.call-card {
 gap: 10px;
 flex: 1 1 50%;
 padding: 10px;
 position: relative;
 display: flex;
 flex-direction: column;
 align-items: center;
}
@media screen and (min-width: 768px) {
 .call-card {
  gap: 10px;
  flex: 1 1 50%;
  padding: 32px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
 }
}
.call-card02 {
 gap: 10px;
 flex: 1 1 50%;
 padding: 10px;
 position: relative;
 display: flex;
 flex-direction: column;
 align-items: center;
}
@media screen and (min-width: 768px) {
 .call-card02 {
  gap: 10px;
  flex: 1 1 50%;
  padding: 5px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
 }
}
.call-card + .call-card::before {
 content: "";
 position: absolute;
 left: 0;
 top: 14%;
 bottom: 14%;
 width: 2px;
}
.call-card__label {
 font-weight: 700;
 margin-bottom: 5px;
 font-size: 1.05rem;
}
.call-card__num {
 font-size: 2.4rem;
 font-weight: 700;
 display: flex;
 justify-content: center;
 align-items: center;
 gap: 10px;
 line-height: 1;
}
.call-card__icon {
 width: 28px;
 height: 28px;
}
.call-card__time {
 font-size: 0.9rem;
 text-align: center;
 margin-top: 8px;
}
@media screen and (min-width: 768px) {
 .call-card__time {
  font-size: 1rem;
  text-align: center;
  margin-top: 8px;
 }
}
/* ========== 2. フッターナビ ========== */
.footer-nav {
 max-width: 1500px;
 margin: 0 auto 80px;
 display: flex;
 flex-wrap: wrap;
 justify-content: space-evenly;
 gap: 60px 80px;
 text-align: left;
}
.footer-col {
 list-style: none;
 margin: 0;
 padding: 0;
 min-width: 150px;
}
.footer-col__title {
 font-weight: 700;
 margin-bottom: 12px;
}
.footer-col li {
 line-height: 1.8;
}
.footer-col li a {
 font-size: 0.95rem;
}
.footer-col__subtitle {
 margin-left: 15px;
 margin-bottom: 7px;
}
/* ========== 3. ロゴ + 住所 ========== */
.footer-info {
 display: flex;
 flex-direction: column;
 align-items: center;
 margin: 0 auto;
}
.footer-info__logo {
 width: 300px;
 height: auto;
 margin: 0 auto 16px;
}
@media screen and (min-width: 768px) {
 .footer-info__logo {
  width: 350px;
  height: auto;
  margin: 0 auto 16px;
 }
}
.footer-info__addr {
 font-size: 0.95rem;
 line-height: 1.6;
}

/* ========== 4. コピーライト ========== */
.footer-copy {
 background: repeating-linear-gradient(
  135deg,
  #cc3366,
  #cc3366 6px,
  #c22761 6px,
  #c22761 12px
 );
 padding: 32px 0;
 text-align: center;
 color: #fff;
}
.footer-copy__text {
 margin: 0;
 font-size: 0.9rem;
 letter-spacing: 0.02em;
 text-align: center;
}

/* ========== Responsive ========== */
@media (max-width: 768px) {
 .site-footer {
  padding: 40px 0 60px;
 }
 .footer-call__inner {
  border-width: 3px;
 }
 .call-card {
  flex: 1 1 100%;
 }
 .call-card:first-child {
  border-top: none;
 }
 .call-card + .call-card::before {
  display: none; /* 縦分割線は不要 */
 }
 .call-card__num {
  font-size: 1.9rem;
 }
 .footer-nav {
  gap: 40px 40px;
 }
 .footer-col {
  min-width: 140px;
 }
}
