/*
Theme Name: megumi
Author:
Description: WP
Version: 1.0
*/

@charset "utf-8";

:root {
  --color-black-01:#000;
  --color-blue-01:#0083DB;
  --max-width:1320px;
  /* --max-width:1280px; */
  --padding-LR:0 40px;
  --padding-TB:120px 0;
  --padding-TBLR-base:120px 40px;
  --f-min-jp:"Noto Serif JP", serif;
  --f-min-en:"Bodoni Moda", sans-serif;
  --midashi-h2:6rem;
  --gradation-01:linear-gradient(90deg,rgba(11, 171, 123, 1) 0%, rgba(43, 92, 255, 1) 100%);
}



body {
  font-size:1.5rem;
  font-family:"Inter","Noto Sans JP","ヒラギノ角ゴ ProN W6", "Hiragino Kaku Gothic ProN W6", HiraKakuProN-W6, "ヒラギノ角ゴ W3 JIS2004", "Hiragino Kaku Gothic W3 JIS2004";
	line-height:1.8;
	color:#000;
  font-weight:400;
	-webkit-print-color-adjust: exact;
}


img {
	vertical-align:bottom;
	touch-callout:none;
	user-select:none;
	-webkit-touch-callout:none;
	-webkit-user-select:none;
	-moz-touch-callout:none;
	-moz-user-select:none;
}

p {
  line-height:2;
}


a img {

  transition:.5s;
}

a:hover img {
  opacity:.5 !important;
}

a {
  color:#000;
  text-decoration:none;
}

a:link {
  color:#000;
  transition:.5s;
}

a:hover {
  color:var(--color-blue-01);
}


article, aside, details, figcaption, figure, 
footer, header, hgroup,section,main {
  position:relative;
}

a.linkcolor-01 {
  color:#000;
  transition:.5s;
}

a.linkcolor-01:hover {
  color:var(--color-blue-01);
}

#loading-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
background: #1cd9a0;
background: linear-gradient(156deg, rgba(28, 217, 160, 1) 1%, rgba(43, 92, 254, 1) 100%);
  /* background: #ffffff;
background: linear-gradient(156deg, rgba(255, 255, 255, 1) 36%, rgba(184, 222, 255, 1) 100%); */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999999;
  transition: opacity 0.6s ease, visibility 0.6s ease; /* 消え方を滑らかに */
}

/* クラス付与でフェードアウト */
#loading-wrapper.loaded {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
}

/* SVGアニメーション：CSSで制御することで読み込み直後から滑らかに動く */
.loading-content svg {
  animation: rotate 2s linear infinite;
}

.loading-content circle {
  stroke-dasharray: 1, 150;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

@keyframes dash {
  0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
  50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
  100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}


/* =========================================
   リサイズ時のアニメーションちらつき防止
   ========================================= */
body.is-resizing,
body.is-resizing * {
  transition: none !important;
  animation: none !important;
}

/* =========================================
   ヘッダー基本設定
   ========================================= */
.header {
  position: fixed; /* ★変更：relative から fixed に変更して常に固定の土台を作る */
  top: 0;
  left: 0;
  width: 100%;
  z-index:99000; /* ★変更：最前面に表示されるように数値を引き上げ */
  background-color: #fff;
  border-bottom: 1px solid #eee;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease; /* ★追加：上下にスルスル動くアニメーション */
}

.header:before {
  width:100%;
  height:5px;
  position:absolute;
  top:0;
  left:0;
  display:block;
  content:'';
  background:var(--gradation-01);
}

/* ★追加：下スクロール時にヘッダーを上に隠すクラス */
.header.is-hide {
  transform: translateY(-100%);
}

.logo {
  margin: 0;
  padding-left: 20px;
  position: relative;
  z-index: 1001;
  line-height: 1;
}

.logo img {
  max-height: 50px;
  width: auto;
  vertical-align: middle;
}

.hamburger-btn {
  display: none;
}



/* =========================================
   PC版スタイル (1025px以上)
   ========================================= */
@media screen and (min-width: 1025px) {
  .sp-only {
    display: none !important;
  }
  
  .header {
    padding-right: 40px;
  }

  .logo img {
    max-height: 55px;
  }

  .global-nav {
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  
  .nav-item {
    padding: 28px 0;
  }
  
  .nav-link {
    font-size: 1.5rem;
    font-weight:400;
    letter-spacing:1px;
    transition: color 0.3s;
    display: block;
    white-space: nowrap;
  }
  
  .nav-link:hover {
    color: #5ab4ff;
  }
  
  .toggle-icon {
    display: none;
  }
  
  .has-submenu {
    position: static;
  }
  
  .mega-menu {
    max-height: none !important;
    overflow: visible !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 50px 0;
    border-top: 1px solid #eee;
  }
  
  .has-submenu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .mega-menu-inner {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .mega-menu-title {
    width: 30%;
    font-size: 2.0rem;
    font-weight: bold;
    color: #112d4e;
  }
  
  .mega-menu-list {
    width: 70%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px;
  }
  
  .mega-menu-list li {
    border-bottom: 1px solid #e5e7eb;
  }
  
  .mega-menu-list a {
    display: block;
    padding: 15px 0 15px 15px;
    position: relative;
    font-size: 1.5rem;
    transition: color 0.3s;
    white-space: nowrap;
  }
  
  .mega-menu-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background-color:var(--color-blue-01);
  }
  
  .mega-menu-list a:hover {
    color: #5ab4ff;
  }
}


/* =========================================
   PC版（少し狭い画面 1025px 〜 1250px）の微調整
   ========================================= */
@media screen and (min-width: 1025px) and (max-width: 1250px) {
  .nav-list {
    gap: 15px;
  }
  .nav-link {
    font-size: 1.3rem;
  }
  .logo img {
    max-height: 45px;
  }
}


.fv {
  width:100%;
  height:91svh;
  position:relative;
  overflow:hidden;
} 


.fv__catch {
  width:38%;
  position:absolute;
  bottom:1.5%;
  left:2%;
  z-index:2;
}

.fv__catch .fv__catch-txt01 {
  font-size:1.7rem;
  font-weight:500;
  padding-top:16px;
}


.fv__inner {
  width: calc(100% - 18%);
  height:calc(100% - 71px);
  margin-top:71px;
  margin-left:18%;
  background:#fff;
  border-radius:0 0 0 32px;
  overflow:hidden;
}

.fv__innerVegasSlide {
  width:100%;
  height:100%;
}

.fv__img-gr-circle-01 {
  width:27%;
  position:absolute;
  top:-1%;
  left:-4%;
  z-index:-1;
  filter: blur(10px);
  animation:yure01 5s infinite;
}

.scroller {
  width:100px;
  height:100px;
  background:#fff;
  border-radius:100%;
  z-index:999999;
  position:absolute;
  bottom:28px;
  right:20px;
  box-shadow: 0px 0px 15px -5px #ccc;
}

.scroller .inner-sc {
  width:80%;
  height:80%;
  margin-top:10%;
  margin-left:10%;
  border-radius:50%;
}

.scroller .inner-sc img.scroller-txt {
  animation:scrollcircle 10s infinite linear;
}

@keyframes scrollcircle {
  0% {
    transform:rotate(0deg);
  }
  100% {
    transform:rotate(360deg);
  }
}

.scrolldown4{
  position:absolute;
  right:50%;
  background:#f00;
  height:35px;
  animation: arrowmove 2s ease-in-out infinite;
}

@keyframes arrowmove{
      0%{top:26%;}
      50%{top:38%;}
     100%{top:26%;}
 }

.scrolldown4:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: -5px;
    width: 1px;
    height: 15px;
    background: #000;
    transform: skewX(-31deg);
}

.scrolldown4:after{
  content:"";
  position: absolute;
  bottom:0;
  right:0;
  width:1px;
  height: 35px;
  background:#000;
}


.homeMessage {
  /* margin-top:100px; */
  background:url(/wordpress/wp-content/themes/megumi/imgs/bg-home-sky-pc.jpg) no-repeat 0 0 / cover;
  padding:160px 0;
}

.homeMessage__inner {
  max-width:var(--max-width);
  padding:var(--padding-LR);
  margin:0 auto;
  display:flex;
  flex-direction:row-reverse;
  justify-content:space-between;
  align-items:center;
  color:#fff;
  overflow:hidden;

}

.homeMessage__innerImg {
  width:40%;
}

.homeMessage__innerTxt {
  width:52%;
}

.homeMessage__innerTxt-en {
  font-family:var(--f-min-en);
  display:block;
  line-height:1;
  letter-spacing:1px;
  font-size:1.7rem;
  margin-bottom:12px;
  font-weight:300;
}

.homeMessage__innerTxt-jp {
  font-family:var(--f-min-jp);
  display:block;
  line-height:1;
  font-size:2.7rem;
  margin-bottom:24px;
}

.homeMessage__innerMessage {
  line-height:2.4;
}


.homeAbout {
  margin-top:160px;
  overflow:hidden;
  width:100%;
}

img.img-homeAbout-01 {
  margin-bottom:64px;
}

img.homeAbout__img-gr-circle-01 {
  width:37%;
  position:absolute;
  top:5%;
  right:-8%;
  z-index:-1;
  filter: blur(10px);
  animation:yure01 5s infinite;
}


.homeAbout__leadBlock {
  max-width:var(--max-width);
  padding:var(--padding-LR);
  margin:0 auto 80px;
  text-align:center;
}

.homeAbout__leadBlock-02 {

}

.homeAbout__leadBlock-02__inner {
  display:flex;
  justify-content:space-between;

}

.homeAbout__leadBlock-02__innerSingle {
  width:47%;
}


.aboutTitle {
  text-align:center;
  margin-bottom:16px;
}

.aboutTitle-en {
  color:var(--color-blue-01);
  font-family:var(--f-min-jp);
  margin-bottom:12px;
  margin-top:24px;
  letter-spacing:1px;
  font-size:1.3rem;
  display:block;
  line-height:1;
}

.aboutTitle-jp {
  letter-spacing:1px;
  margin-bottom:12px;
  font-size:2rem;
  display:block;
  line-height:1;
}

.homeAbout-txt-sub {
  font-size:1.4rem;
  line-height:1.9;
  margin-bottom:18px;
}

.btn-director-small {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 210px;
  height: 42px;
  padding: 0 10px;
  box-sizing: border-box;
  background-color: #ffffff;
  border: 1px solid #000000;
  border-radius: 90px;
  text-decoration: none;
  color: #000000;
  font-size: 1.4rem;
  margin:0 auto;
  font-family: sans-serif;
  letter-spacing: 0.05em;
  
  /* スムーズなアニメーション */
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-arrow-small {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-top: 2px solid #1a56ff;
  border-right: 2px solid #1a56ff;
  transition: border-color 0.3s ease;
}

.btn-text-small {
  text-align:center;
  display:block;
  line-height:1.4;
}

/* ==========================================
   【修正】PC時（1025px以上）のみホバー処理
   ========================================== */
@media screen and (min-width: 1025px) {
  .btn-director-small:hover {
    background-color: var(--color-blue-01); /* 背景をご指定の変数に変更 */
    border-color: var(--color-blue-01);     /* 枠線も合わせて同じ青に（お好みで） */
    color: #ffffff;                        /* 文字を白に反転 */
  }

  /* ホバー時に中の矢印も白に反転 */
  .btn-director-small:hover .btn-arrow-small {
    border-top-color: #ffffff;
    border-right-color: #ffffff;
  }
}


.homeslickBlock {
  margin-top:64px;
  width:100%;
}


/*==================================================
スライダーのためのcss
===================================*/
.slickBlockslider {/*横幅94%で左右に余白を持たせて中央寄せ*/
    width:100%;
    margin:0 auto;
    padding:15px 0;

}
 
.slickBlockslider img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:auto;
}
 
/*slickのJSで書かれるタグ内、スライド左右の余白調整*/
.slickBlockslider .slick-slide {
    margin:0 14px;
    background:#fff;
}
 
/*矢印の設定*/
 
/*戻る、次へ矢印の位置*/
.slickBlockslider .slick-prev, 
.slickBlockslider .slick-next {
    position: absolute;/*絶対配置にする*/
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    height: 35px;
    width: 35px;
    z-index:6;
}
 
@media screen and (max-width: 480px) {
  .slickBlockslider .slick-prev, 
  .slickBlockslider .slick-next {
      top: 40%;
      height:25px;
      width:25px;
  }

}


.slickBlockslider .slick-prev {/*戻る矢印の位置と形状*/
    left: 1%;
}
 
.slickBlockslider .slick-next {/*次へ矢印の位置と形状*/
    right: 1%;
}
 
/*ドットナビゲーションの設定*/
 
.slickBlockslider .slick-dots {
    text-align:center;
    margin:12px 0 0 0;
}
 
.slickBlockslider .slick-dots li {
    display:inline-block;
    margin:0 5px;
}
 
.slickBlockslider .slick-dots button {
    color: transparent;
    outline: none;
    width:10px;/*ドットボタンのサイズ*/
    height:10px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}
 
.slickBlockslider .slick-dots .slick-active button{
    background:var(--color-blue-01);
}


.slickBlockslider .slick-list {
  padding:10px 0;
}

.slickBlockslider-Single {
  border-radius:8px;
  box-shadow: 0px 0px 11px -5px #969696;
  padding:14px 14px 28px;
  /* border:1px solid #ccc; */
}

.slickBlockslider-Single img {
  padding:4px 4px 0;
}


.homeFaciltyBig {
  margin-top:120px;
  overflow:hidden;
}

.homeFaciltyBig__inner {
  display:flex;
  justify-content:space-between;
  margin-top:48px;
  align-items:center;
}

.homeFaciltyBig__innerTxt {
  width:55%;
}

.homeFaciltyBig__innerImg {
  width:36%;
}

.slickBlockLoop {
  margin:140px 0 0;
}



img.overview-01 {
  margin-bottom:64px;
}



/*
PC NEWS --------------------------------------------*/
.homeNews {
  padding:160px 0 0;
  overflow:hidden;
}


img.homeNews__img-gr-circle-01 {
  width:30%;
  position:absolute;
  top:-10%;
  right:-7%;
  z-index:-1;
  filter: blur(10px);
  animation:yure01 5s infinite;
}

.homeNews__inner {
  padding:var(--padding-LR);
  max-width:1180px;
  margin:auto;
}


ul.newsList {
  margin-bottom:48px;
}

ul.newsList li {
  border-bottom:1px solid #ccc;
}

ul.newsList li a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 18px 8px;
  overflow: hidden;
  z-index: 1;
}

ul.newsList li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #EEFAFF;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
  z-index: -1;
}

@media (min-width: 1025px) {
  ul.newsList li a:hover::before {
    transform: scaleX(1);
  }
}

time {
  font-size:1.3rem;
  color:#999;
  padding-bottom:8px;
  display:block;
  letter-spacing:1px;
}

ul.newsList li h4 {
  font-size:1.8rem;
  font-weight:300;
}



.newsSingleBlock {
  max-width:780px;
  margin:0 auto 100px;
}

.newsSingleBlock img {
  max-width:80%;
  display:block;
  margin:16px auto 0;
}

.newsSingleTitle {
  margin-bottom:32px;
}

.newsSingleBody {
  border-bottom:1px solid #ccc;
  padding-bottom:40px;
  margin-bottom:40px;
}



.newsSingleBody p {
  margin-bottom: 1em !important;
}

.newsSingleBody a {
  color:var(--color-blue-01);
  text-decoration:underline;
}

.newsSingleBody a:hover {
  text-decoration:none;
}

.newsSingleTitle h3 {
  font-size:2rem;
  font-weight:500;
  letter-spacing:1px;
  padding-bottom:3px;
  border-bottom:1px solid #ccc;
}

.newsSinglePager {
  display:flex;
  justify-content:space-around;
  align-items:center;
  width:54%;
  margin:auto;
}

.newsSinglePager .btn-01 {
  width:180px;
  padding:8px 0;
  font-size:1.35rem;
  border:1px solid #000;
  display:block;
  text-align:center;
  border-radius:90px;
}

.newsSinglePager a {
  text-decoration:none;
}

.btn-01 a {
  text-decoration:none !important;
  border:1px solid #000;
  display:block;
}



table.base-01 {
  width: 100%;
}

table.base-01 th {
  width: 25%;
  border-top:1px solid #ccc;
  border-bottom:1px solid #ccc;
  padding:24px 0;
  text-align: center;
  display: table-cell;
  font-weight:500;
  vertical-align:middle;

}

table.base-01 td {
  width: 75%;
  border-top:1px solid #ccc;
  border-bottom:1px solid #ccc;
  padding:24px 0 15px 24px;
  display: table-cell;
  text-align: left;
  margin-bottom: 0;
  line-height:1.8;
}

.boxcommon {
  width:100%;
  padding-top:70px;

  overflow: clip !important;
  position:relative;
}

img.boxcommon-circle-big-01 {
  width:30%;
  height:auto;
  position:absolute;
  z-index:-1;
  left:-10%;
  top:-130px;
  filter: blur(10px);
  animation:yure01 5s infinite;

}

@keyframes yure01 {
  0% {
    transform:translateY(-30px);
  }
  50% {
    transform:translateY(30px);
  }  
  100% {
    transform:translateY(-30px);
  }
}

.breadcrumbs {
  text-align:right;
  font-size:1.1rem;
  padding:0 5%;
  letter-spacing:1px;
  position:absolute;
  font-weight:300;
  top:90px;
  width:100%;
  z-index:2;
}

.h2Block {
  padding:110px 0;
  text-align:center;
}


.h2Block h2:before {
  display:block;
  margin:0 auto;
  width:130px;
  height:5px;
  background:var(--gradation-01);
  content:'';
}

.h2Block h2 .pageTitle {
  font-size:3.2rem;
  font-family:var(--f-min-jp);
  letter-spacing:2px;
  line-height:1;
  font-weight:400;
  margin:16px 0 20px;
  display:block;
}

.h2Block h2 .pageTitle-en {
  font-family:var(--f-min-en);
  color:var(--color-blue-01);
  font-size:1.7rem;
  letter-spacing:1px;
  line-height:1;
  display:block;
  font-weight:200;
}


.block-900 {
  max-width:980px;
  padding:var(--padding-LR);
  margin-left:auto;
  margin-right:auto;
}

.block-1100 {
  max-width:1180px;
  padding:var(--padding-LR);
  margin-left:auto;
  margin-right:auto;
}
/*
.block-1200 {
  max-width:1280px;
  padding:var(--padding-LR);
  margin-left:auto;
  margin-right:auto;
}
*/
.block-1200 {
  max-width:1320px;
  padding:var(--padding-LR);
  margin-left:auto;
  margin-right:auto;
}

.policy-list {
  list-style: decimal;
  list-style-position: outside;
  margin: 0;
  padding-left: 1.8em;
  line-height: 1.9;
}

.policy-list li {
  display: list-item;
  margin-bottom: 0.4em;
}

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

.base-list-dotted li:before {
  content:'・';
}

.base-list-dotted li {
  padding-left:1em;
  text-indent:-1em;
  margin-bottom: 0.2em;
}

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


.base-list-bCircle li:before {
  content:'●';
  color:var(--color-blue-01);
}

.base-list-bCircle li {
  padding-left:1em;
  text-indent:-1em;
  margin-bottom: 0.2em;
}

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


/*右から左*/

@keyframes infinity-scroll-left {
from {
  transform: translateX(0);
}
  to {
  transform: translateX(-100%);
}
}
.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
  position:relative;
  margin-top:120px;
  margin-bottom:14px;
}

@media screen and (max-width: 1024px) {
  .scroll-infinity__wrap {
    margin-top:100px;
  }
}
@media screen and (max-width: 480px) {
  .scroll-infinity__wrap {
    margin-top:60px;
  }
}



.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0;
}
.scroll-infinity__list--left {
  animation: infinity-scroll-left 100s infinite linear both;
}

.scroll-infinity__item {
  width:500px;
  margin-right:14px;
}

.scroll-infinity__item>img {
  width: 100%;
  border-radius:6px;
}

/*左から右*/
@keyframes infinity-scroll-right {
  from {
    transform: translateX(-100%);
  }
    to {
    transform: translateX(0%);
  }
}



.midashi-h3-01 {
  border-top:1px solid #ccc;
  margin-bottom:44px;
  padding-top:14px;
  position:relative;
}

.midashi-h3-01:before {
  display:block;
  width:100px;
  height:5px;
  background:var(--color-blue-01);
  content:'';
  position:absolute;
  top:0;
  left:0;
  border-radius:0 0 4px 4px;
}

.midashi-h3-01 .midashi-h3-01-jp {
  display:block;
  margin:14px 0;
  font-size:2.5rem;
  font-family:var(--f-min-jp);
  font-weight:500;
  line-height:1;
}

.midashi-h3-01 .midashi-h3-01-en {
  display:block;
  font-size:1.1rem;
  font-family:var(--f-min-en);
  font-weight:400;
  line-height:1;
  color:var(--color-blue-01);
  letter-spacing:1px;
}

.midashi-bg-blue-01 {
  /* background:var(--color-blue-01); */
  background:var(--gradation-01);
  text-align:center;
  color:#fff;
  font-size:1.8rem;
  font-weight:400;
  padding:18px 0;
  line-height:1;
  margin-bottom:40px;
  letter-spacing:1px;
}

/*
PC 医師のご紹介 ***********************/

ul.doctor__list {
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:64px 6.5%;
  padding-top:32px;
}

.doctor__txt-01 {
  font-size:1.2rem;
}

.doctor__txt-02 {
  font-size:2.2rem;
  font-weight:600;
  letter-spacing:1px;
}
.doctor__txt-03 {
  font-size:1.2rem;
}

.doctor__dl {
  margin-top: 12px;
}

.doctor__dl dt {
  padding: 12px 0;
  margin-bottom: 12px;
  border: 1px solid #000;
  line-height: 1;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  background:#fff;
  cursor: pointer; /* マウスを載せたときにポインターにする */
}

/* 追記：初期状態は非表示にする */
.doctor__dl dd {
  display: none;
  font-size: 1.3rem;
}



/* 【修正】CSSで「くの字（下向き）」を作成 */
.doctor__dl dt::before {
  content: "";
  display: inline-block;
  width: 8px;          /* 矢印のサイズ（横幅） */
  height: 8px;         /* 矢印のサイズ（縦幅） */
  margin-right: 12px;  /* 文字との隙間 */
  
  /* 上と右に線を引く */
  border-top: 2px solid var(--color-blue-01);
  border-right: 2px solid var(--color-blue-01);
  
  /* 斜め45度に傾けて「下向き（∨）」にする */
  transform: translateY(-2px) rotate(135deg);
  transition: transform 0.3s; /* 回転アニメーション */
}

/*
PC 基本理念・方針 ***********************/
.policyBlock-01 {

}

.policyBlock-01__inner {
  display:flex;
  justify-content:space-around;
  align-items:center;
  margin-bottom:48px;
}

.policyBlock-01__Img {
  width:60%;
}

.policyBlock-01__Txt {
  width:22%;
}





/*
PC 理事長挨拶 ***********************/

.greetingBlock-01 {
  display:flex;
  justify-content:space-between;
  flex-direction:row-reverse;
}

.greetingBlock-01__Img {
  width:32%;
}

.greetingBlock-01__Img img {
  border-radius:8px;
}

.greetingBlock-01__Txt {
  width:60%;
}

.greetingBlock-01-name {
  text-align:right;
  padding-top:18px;
}

.greetingBlock-01-name .txt01 {
  font-size:1.2rem;
  line-height:1;
  margin-bottom:8px;
  font-family:var(--f-min-jp);
  letter-spacing:1px;
}

.greetingBlock-01-name .txt02 {
  font-size:1.8rem;
  line-height:1;
  letter-spacing:2px;
  font-family:var(--f-min-jp);
  font-weight:600;
}

/*
PC 看護部 ***********************/

.contactTxtBlock {
  margin-top:24px;
}

.contactTxtBlock .txt01 {
  font-size:2rem;
  font-weight:600;
  line-height:1;
  margin-bottom:12px;
}

.contactTxtBlock .txtNumber {
  font-size:3.8rem;
  font-weight:600;
  line-height:1;
  margin-bottom:16px;
  letter-spacing:2px;
  color:var(--color-blue-01);
}


.midashi-lead-01 {
  font-size:2rem;
  font-weight:500;
  font-family:var(--f-min-jp);
  line-height:1.65;
  margin-bottom:16px;
}

/*
PC 当院について ***********************/

.btn-director {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 70px;
  padding: 0 30px;
  box-sizing: border-box;
  background-color: #ffffff;
  border: 1px solid #000000;
  border-radius: 8px;
  text-decoration: none;
  color: #000000;
  font-size: 1.65rem;

  font-family: sans-serif;
  letter-spacing: 0.05em;
  
  /* スムーズなアニメーション */
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-arrow {
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  border-top: 2px solid #1a56ff;
  border-right: 2px solid #1a56ff;
  transition: border-color 0.3s ease;
}

.btn-text {
  text-align:center;
  display:block;
  line-height:1.4;
}


/* ==========================================
   【修正】PC時（1025px以上）のみホバー処理
   ========================================== */
@media screen and (min-width: 1025px) {
  .btn-director:hover {
    background-color: var(--color-blue-01); /* 背景をご指定の変数に変更 */
    border-color: var(--color-blue-01);     /* 枠線も合わせて同じ青に（お好みで） */
    color: #ffffff;                        /* 文字を白に反転 */
  }

  /* ホバー時に中の矢印も白に反転 */
  .btn-director:hover .btn-arrow {
    border-top-color: #ffffff;
    border-right-color: #ffffff;
  }
}


ul.pageBtn__list {
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:28px;
}


.organizationBlock-01 {
  margin:32px auto 0;
  max-width:400px;
}



/*
PC 施設 ***********************/

.facilityBlock {
  display:flex;
  justify-content:space-between;
  position:relative;
  align-items: flex-start;
  position:relative;
  flex-direction:row-reverse;
}

.facilityBlock__sideMenu {
  width:20%;
  position:sticky;
  top:72px;
}

.facilityBlock__sideMenu:before {
  width:100%;
  height:5px;
  display:block;
  background:var(--gradation-01);
  content:'';
}

ul.facilityBlock__sideMenuList-01 {
  border-top:none;
  border-bottom:1px solid #ccc;
}

ul.facilityBlock__sideMenuList-01 li {
  border-bottom:1px dotted #ccc;
}


ul.facilityBlock__sideMenuList-01 li:last-child {
  border-bottom:none;
}


ul.facilityBlock__sideMenuList-01 li a {
  display:block;
  padding:16px 4px;
  font-size:1.4rem;
  line-height:1.4;
}

.facilityBlock__main {
  width:76%;
}

.facilityImg {
  margin-bottom:48px;
}

.midashi-h3-02 {
  border-left:7px solid var(--color-blue-01);
  padding:10px 0 10px 10px;
  margin-bottom:32px;
  font-size:2rem;
  line-height:1;
  position:relative;
}

.midashi-h3-02:after {
  height:1px;
  width:100%;
  content:'';
  display:block;
  background:#ccc;
  position:absolute;
  bottom:-10px;
  left:-6px;
}

.grayBlock {
  background:#F2F2F2;
  padding:32px;
}



.th-b-t-none-pc {
  border-top:none !important;
}

.td-b-t-none-pc {
  border-top:none !important;
}

ul.facilityscene__list {
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:20px 32px;
}

ul.facilityscene__list li {
  text-align:center;
  font-size:1.3rem;
}

ul.facilityscene__list li img {
  margin-bottom:8px;
}

.hikari-flow {
  display:flex;
  justify-content:space-between;
}

.hikari-flow__Txt {
  width:64%;
}

.hikari-flow__Img {
  width:30%;
}

.hikari-flow-dl {

}

.hikari-flow-dl dt {
  font-size:1.8rem;
  color:var(--color-blue-01);
  margin-bottom:6px;
}

.hikari-flow-dl dd {
  margin-bottom:28px;
}


.lcl-sec__cnt {
    position: relative;
}

.lcl-sec-cnt__item {
    display: flex;
    justify-content: center;
    align-items: center;
    /* flex-wrap: wrap; */
    align-items: flex-start;
    justify-content: flex-start;
    padding-bottom: 10px;
}

.lcl-sec-cnt__item:not(:last-of-type) {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.lcl-sec-cnt-item__time {
    font-size:1.8rem;
    line-height: 1.5;
    width: 80px;
    margin-right: 80px;
    position: relative;
}

.lcl-sec-cnt-item__time::after {
    content: "";
    position: absolute;
    top: 0;
    left: 91px;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    border: 4px solid var(--color-blue-01);
    background: #fff;
    z-index: 2;
    transform: scale(1);
    transition: transform 0.4s;
}

.lcl-sec__cnt:after {
    content: "";
    width: 2px;
    height: calc(100% - 50px);
    position: absolute;
    top: 0;
    left:103px;
    background: var(--color-blue-01);
    transform: scaleY(1);
    transform-origin: top center;
    transition: transform 1.2s;
}

.lcl-sec-cnt-item__main {
    max-width: 650px;
}

.lcl-sec-cnt-item-main__ttl {

    font-size:1.6rem;
    line-height: 1.5;
    margin-bottom: 7px;
}

.lcl-sec-cnt-item-main__txt {
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.05em;
}

.bg-blue-txt-01 {
  background:var(--color-blue-01);
  color:#fff;
  font-size:1.6rem;
  display:inline-block;
  padding:8px 15px;
  line-height:1;
  margin-bottom:12px;
  font-weight:500;
}

.img-megumi-careplan-service-02 {
  display:block;
  margin:40px auto 0;
  width:60%;
}



/*==================================================
slickスライダーのためのcss
===================================*/
.hos-slider {/*一旦スライドショーの横幅1100pxで設定してます*/
    max-width:1100px;
    margin:0 auto;
}
 
.hos-slider img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:auto;
}
 
/*slickのJSで書かれるタグ内、スライド左右の余白調整*/
.hos-slider .slick-slide {
    margin:0;
}
 
/*矢印の設定*/
 
/*戻る、次へ矢印の位置*/
.hos-slider .slick-prev, 
.hos-slider .slick-next {
    position: absolute;/*絶対配置にする*/
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    height: 35px;
    width: 35px;
}

@media screen and (max-width: 480px) {
.hos-slider .slick-prev, 
.hos-slider .slick-next {
    top: 40%;
    height:25px;
    width:25px;
}

}

 
.hos-slider .slick-prev {
    left: -1.5%;
    z-index: 2;
}
 
.hos-slider .slick-next {
    right: -1.5%;
    z-index: 2;
}
 
/*ドットナビゲーションの設定*/
 
.hos-slider .slick-dots {
    text-align:center;
    margin:12px 0 0 0;
}
 
.hos-slider .slick-dots li {
    display:inline-block;
    margin:0 5px;
}
 
.hos-slider .slick-dots button {
    color: transparent;
    outline: none;
    width:10px;/*ドットボタンのサイズ*/
    height:10px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}
 
.hos-slider .slick-dots .slick-active button{
    background:var(--color-blue-01);
}


.outpa__dl {
  display:flex;
  align-items:center;
  margin-bottom:12px;
}

.outpa__dl dt {
  border:1px solid #ccc;
  padding:6px 24px;
  line-height:1;
  margin-right:8px;
  font-size:1.6rem;
}

.outpa__dl dd {
  font-size:1.6rem;
}

.btn-director.nohover:hover {
  background: inherit;
  color: inherit;
  border-color: inherit;
  opacity: 1;
  transform: none;
  box-shadow: none;
  cursor: default !important;
   pointer-events: none !important;
 }

table.table-01 {
  width: 100%;
  border: 1px solid #ccc;
  border-collapse: collapse;
}

table.table-01 tr {
  border: 1px solid #ccc;
}

table.table-01 th {
  border: 1px solid #ccc;
  padding: 20px 14px;
  text-align: center;
  font-weight: 700;
  line-height: 1.8;
  vertical-align:middle;
}

table.table-01 td {
  border: 1px solid #ccc;
  padding: 20px 14px;
  text-align: center;
  line-height: 1.8;
  vertical-align:middle;
}


.table-scroll-box {
    width:100%;
}

table.owner-tb-01 {
    width:100%;
    border:1px solid #ccc;
}

table.owner-tb-01 tr,
table.owner-tb-01 th,
table.owner-tb-01 td {
    border:1px solid #ccc;
    vertical-align:middle;
}

table.owner-tb-01 th {
    background:#FFFEF2;
  /*
    padding:15px 10px;
    */
    font-weight:600;
    font-size:1.6rem;
    line-height:1.4;
}

table.owner-tb-01 td {
  /*
    padding:15px 10px;
    */
    text-align:center;
}


.accessFrame {
  width:100%;
  height:580px;
  margin-bottom:32px;
}

.access-txt-01 {
  font-size:2rem;
  margin-bottom:8px;
}


.megumienPrice {
  display:flex;
  justify-content:space-between;
  flex-direction:row-reverse;
  padding-top:32px;
}

.megumienPrice__Img {
  width:46%;
}

.megumienPrice__Txt {
  width:48%;
}


.halfBlock-01 {
  display:flex;
  justify-content:space-between;
}

.halfBlock-01__Txt {
  width:55%;
}

.halfBlock-01__Img {
  width:40%;
}


ul.btn-double-flex {
  width:100%;
  display:flex;
  gap:18px;
}

ul.btn-double-flex li {
  width:32%;
}































































  @keyframes curtainRightSkew {
    0% {
      transform: skew(0deg, 0deg);
    }
    15% {
      transform: skew(0deg, 7deg);
    }
    40% {
      transform: skew(10deg, 11deg);
    }
    70% {
      transform: skew(10deg, 3deg);
    }
    100% {
      transform: skew(0deg, 0deg);
    }
  }

  @keyframes curtainLeftSkew {
    0% {
      transform: skew(0deg, 0deg);
    }
    25% {
      transform: skew(5deg, -8deg);
    }
    50% {
      transform: skew(3deg, -1deg);
    }
    100% {
      transform: skew(0deg, 0deg);
    }
  }

  .curtain-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
  }

  .curtain-panel {
    position: absolute;
    top: 0;
    z-index: 0;
    height: 100%;
    backface-visibility: hidden;
  }

  .curtain-panel--right {
    right: 0;
    width: 88.4375%;
    background-image: url(/wordpress/wp-content/themes/megumi/imgs/shade-r.webp);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: 100% auto;
    transform-origin: top right;
    animation: curtainRightSkew 8s 0s infinite normal forwards cubic-bezier(0.05, 0.24, 0.76, 1.05);
  }

  .curtain-panel--left {
    left: 0;
    width: 11.5425%;
    background-image: url(/wordpress/wp-content/themes/megumi/imgs/shade-l.webp);
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: 100% auto;
    transform-origin: bottom left;
    animation: curtainLeftSkew 6s 0s infinite normal forwards cubic-bezier(0.05, 0.14, 0.86, 1.05);
  }

/*
PC footer *************/
.ft {
  background:#F6FAFB;

}

.ft__inner {
  max-width:var(--max-width);
  padding:80px 40px;
  margin:auto;
}

.ft__innerBlock01 {
  display:flex;
  justify-content:space-between;
  margin-bottom:40px;
}

.ft__innerBlock01--img {
  width:42%;
}

.ft__innerBlock01--map {
  width:56%;
}

.ft__innerBlock01--map iframe {
  width:100%;
  height:100%;
}

.ft__innerBlock02 {
  display:flex;
  justify-content:space-between;
}

.ft__innerBlock02--img {
  width:26%;
}

.ft__innerBlock02--img .txt01 {
  font-size:1.8rem;
  padding-top:8px;
}

.ft__innerBlock02--img .txt02 {
  font-size:1.5rem;
  line-height:1.6;
}

img.ft__img-jcfqhc {
  width:40%;
  margin-top:24px;
}

.ft__innerBlock02--txt {
  width:68%;
  display:flex;
}

.ft__innerBlock02--txt dl {
  margin-right:40px;
}

.ft__innerBlock02--txt dl:last-child {
  margin-right:0;
}

.ft__innerBlock02--txt dl a {
  color:#000;
  transition:.5s;
}

.ft__innerBlock02--txt dl a:hover {
  color:var(--color-blue-01);
}

.ft__innerBlock02--txt dl dt {
  font-size:1.5rem;
  font-weight:500;
  margin-bottom:6px;
}

.ft__innerBlock02--txt dl dd {
  font-size:1.3rem;
  margin-bottom:4px;
}

p.copy {
  background:var(--gradation-01);
  padding:16px 0;
  text-align:center;
  color:#fff;
  font-size:1rem;
  font-weight:200;
  letter-spacing:1px;
}

/* ボタン全体のスタイル */
.back-to-top {
  position: fixed;
  bottom: 20px; /* 画面下からの位置 */
  right: 20px;  /* 画面右からの位置 */
  width: 52px;  /* ボタンの幅 */
  height: 52px; /* ボタンの高さ */
  background-color: #001c30; /* 画像に近い濃紺色 */
  border: none;
  border-radius: 50%; /* 正円にする */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* 軽い影 */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  
  /* アニメーション用の初期設定（最初は非表示） */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

/* JSでこのクラスがついたら表示する */
.back-to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 内側の上向き矢印（CSSで描画） */
.back-to-top .arrow {
  display: block;
  width: 14px;
  height: 14px;
  border-top: 3px solid #ffffff;  /* 矢印の太さと色 */
  border-left: 3px solid #ffffff; /* 矢印の太さと色 */
  transform: translateY(4px) rotate(45deg); /* 回転させて上向きにする */
  border-top-left-radius: 2px; /* 矢印の角を少し丸くする */
}

/* ホバー時のちょっとした演出（お好みで） */
.back-to-top:hover {
  background-color: var(--color-blue-01);
  transform: scale(1.05);
}


















































/*
アニメーション **********/

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
    transition: opacity 1.5s ease, transform 1.5s ease, filter 1.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}


.fade-up {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(10px);
    transition: opacity 1.5s ease, transform 1.5s ease, filter 1.5s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}


.fade-in-down {
    opacity: 0;
    transform: translateY(-30px);
    filter: blur(10px);
    transition: opacity 1s ease, transform 1s ease, filter 1.5s ease
}

.fade-in-down.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}


.fade-in-zoom {
    opacity: 0;
    transform: scale(0);
    transition: opacity 1s ease, transform 1s ease;
}

.fade-in-zoom.visible {
    opacity: 1;
    transform: scale(1);
}


.fade-in-R {
    opacity: 0;
    transform: translateX(30px);
    filter: blur(10px);
    transition: opacity 1s ease, transform 1s ease, filter 1.5s ease
}

.fade-in-R.visible {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}


.fade-in-L {
    opacity: 0;
    transform: translateX(-30px);
    filter: blur(10px);
    transition: opacity 1s ease, transform 1s ease, filter 1.5s ease;
}

.fade-in-L.visible {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

.fade-in-blur {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 1.5s ease, filter 1.5s ease;
}

.fade-in-blur.visible {
    opacity: 1;
    filter: blur(0);
}



/* ==========================
   Text Mask Animation
========================== */

.mask-txt{
    overflow:hidden;
}

.mask-txt > *{
    display:inline-block;

    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);

    transition:
        clip-path 0.7s cubic-bezier(.77,0,.18,1),
        -webkit-clip-path 0.7s cubic-bezier(.77,0,.18,1);

    will-change: clip-path;
}

.mask-txt.visible > *{
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
}

/*
PC margin ***************/
.mb0 {
  margin-bottom:0 !important;
}

.mb12 {
  margin-bottom:12px !important;
}

.mb14 {
  margin-bottom:14px !important;
}

.mb16 {
  margin-bottom:16px !important;
}

.mb18 {
  margin-bottom:18px !important;
}

.mb24 {
  margin-bottom:24px !important;
}

.mb28 {
  margin-bottom:28px !important;
}

.mb32 {
  margin-bottom:32px !important;
}

.mb40 {
  margin-bottom:40px !important;
}

.mb64 {
  margin-bottom:64px !important;
}

.mb80 {
  margin-bottom:80px;
}

.mb88 {
  margin-bottom:88px;
}

/*
font ***************/

.f-18 {
  font-size:1.8rem;
}

.f-11 {
  font-size:1.1rem;
  line-height:1.6;
}

.f-13 {
  font-size:1.3rem;
  line-height:1.6;
}

.f-17 {
  font-size:1.7rem;
}

.f-blue {
  color:var(--color-blue-01);
}

.f-red {
  color:#C90F0F;
}

.txt-pt-r {
  text-align:right;
}

/*
PC block --------------------------------------------*/
.i_p_b {display: block !important;}
.i_t_b {display: none !important;}
.i_s_b {display: none !important;}
.i_pt_b {display: block !important;}
.i_ts_b {display: none !important;}
.dis-none {display:none !important;}