@charset "UTF-8";

/* =========================
   Reset
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================
   Common
========================= */

:root {
    --navy: #1F4E79;
    --blue: #4A90E2;
    --beige: #F6F2EC;
    --text: #333333;
    --white: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */


.header{
    position:fixed;
    top:0;
    left:0;

    width:100%;

    z-index:1000;

    background:#fff;
}

.header-inner {

    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;

}

nav {
   
    padding: 30px 0;
}

.nav-list {

    display: flex;
    padding: none;
    margin: 0;
    gap: 15px;
}
.nav-list a{
    text-decoration: none;

    color: var(--text);

    font-size: 15px;

    font-weight: 500;

    transition: .3s;
}

.nav-list a:hover{
    color: var(--blue);
}

.header-contact {

    display: flex;
    align-items: center;
    gap: 15px;
}

.header-tel{
    text-decoration: none;

    color: var(--text);

    font-size: 14px;

    font-weight: 600;
}

.btn-reserve{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 140px;
    height: 48px;

    border-radius: 9999px;

    background: var(--blue);

    color: #fff;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;
}

.btn-reserve:hover{
    background: var(--navy);
}

.hero {
    background-color: #eae5df;
    background-size: cover;
    background-position: center;
    background-color: rgba(250,248,245,0.9);
    margin:0;
    padding:140px 0 60px;
}

.hero-inner{

display: flex;
justify-content:space-between;
align-items:center;
flex-wrap: wrap;
}

.hero-text {
    flex: 1;
}

.hero-text p {
    padding-top: 50px;
}


.hero-btn {
  display: flex;
  flex-direction: column; /* 子要素を縦に並べる */
  align-items: start;    
  gap: 30px;              /* ボタンとボタンの間のすき間（好みの高さに調整） */
  margin-top: 50px; 
    
}

.hero-btn a {
    border: 1px solid #e2e8f0;
    border-radius: 50px;     /* なめらかな角丸 */
    background-color: #4A90E2;
    padding: 5px;

}

.hero-image {
    flex: 1;
    text-align: right;

}

.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;

}


.quick-links-inner {
  display: flex;
  justify-content: center; /* 中央寄せにする */
  gap: 50px;               /* カードとカードの間のすき間 */
  max-width: 1200px;       /* 全体の最大幅 */
  margin: 40px auto;       /* 上下に余白を作り、画面中央に配置 */
  padding: 0 20px;         /* 画面端のセーフティ余白 */
  
}


.quick-card {
  display:flex;
  flex-direction:column;
  align-items:center;
  flex: 1;                 /* 3つのカードを均等な横幅にする */
  max-width: 250px;        /* カードが広がりすぎないように制限 */
  background-color: rgba(255, 255, 255, 0.85); /* ほんのり透ける白（後ろの画像に馴染みます） */
  border: 1px solid #e2e8f0;
  border-radius: 12px;     /* なめらかな角丸 */
  padding: 30px 20px;      /* 内側の余白（上下 左右） */
  text-align: center;      /* 文字やアイコンを中央寄せ */
  text-decoration: none;   /* リンクの下線を消す */
  color: #333333;          /* 文字の色 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* 軽い影をつけて立体感をつける */
  object-fit: contain;

}
/* 3. マウスを乗せたとき（ホバー時）の演出 */
.quick-card:hover {
  transform: translateY(-5px); /* ふわっと少し上に浮き上がる */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* 影を強くする */
  background-color: #ffffff;   /* 背景を完全な白にして目立たせる */
}

/* 4. カードの中のアイコン（SVG画像）の調整 */
.quick-card img {
  width: 48px;             /* アイコンのサイズ（好みに合わせて調整してください） */
  height: 48px;
  margin-bottom: 15px;     /* アイコンと文字の間のすき間 */
}

/* 5. カードの中の見出し（h2）の調整 */
.quick-card h2 {
  font-size: 1.05rem;      /* 文字の大きさ */
  margin: 0;
  font-weight: bold;       /* 太字にする */
  color: #2c3e50;          /* 落ち着いた紺・黒系の色 */
}


.news{
    padding:80px 0;
}

.news dl{
    margin-top:40px;
}

.section-subtitle-innner{
    display:flex;
    gap:30px;
    align-items:center;

    padding:18px 0;

    margin:0;

    border-bottom:1px solid #ddd;
}

.section-subtitle-innner dt{
    width:140px;
    color:#1F4E79;
    font-weight:bold;
}

.section-subtitle-innner dd{
    margin:0;
}

.medical-information {
    background-color: #eae5df;
    background-size: cover;
    background-position: center;
    background-color: rgba(250,248,245,0.9);
    padding: 30px;
    
}

.medical-information h2{
    text-align:center;
    font-size: 30px;
    color:var(--navy);
    margin-bottom:50px;
}

.medical-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap:32px;
    text-align: center;
    justify-content: center;
}

.medical-card {
  display:flex;
  flex-direction:column;
  align-items:center;              
  max-width: 250px;        
  background-color: rgba(255, 255, 255, 0.85); /* ほんのり透ける白 */
  border: 1px solid #e2e8f0;
  border-radius: 12px;     /* なめらかな角丸 */
  padding: 30px 20px;      /* 内側の余白（上下 左右） */
  text-align: center;      /* 文字やアイコンを中央寄せ */
  color: #333333;          /* 文字の色 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* 軽い影をつけて立体感をつける */
  min-height:220px;

}

.medical-card:hover {
  transform: translateY(-5px); /* ふわっと少し上に浮き上がる */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* 影を強くする */
  background-color: #ffffff;   /* 背景を完全な白にして目立たせる */
}

.medical-card h2 {
    text-align: center;
    font-size: 30px;      /* 文字の大きさ */
    margin: 0;
    font-weight: bold;       /* 太字にする */
    color: #2c3e50;          /* 落ち着いた紺・黒系の色 */
    margin-bottom:15px;
}



.medical-card img {
     width:30px;
     margin:15px 0;
     margin-bottom:15px;
}

.medical-card p{
    font-size:14px;
}

.doctor-inner {
    display: flex;
    align-items:flex-start;
    gap:60px;

}

.doctor h2 {
    text-align: center;
    font-size: 30px;      
    margin: 0;
    font-weight: bold;       /* 太字にする */
    color: #2c3e50;          /* 落ち着いた紺・黒系の色 */
    margin-bottom:15px;


}

.doctor-image {
    flex: 1;
    width:100%;
    max-width:420px;
    border-radius:20px;
}

.doctor-image img{
    width:100%;
    border-radius:20px;
}

.doctor-text p {
    flex:1.4;
    text-align: left;
    line-height:2;
    padding-bottom: 50px;
}
.profile {

    display: inline-block; 
    text-align: left;
    border-top:1px solid #ddd;
    padding:30px 0;

}

.gallery {
    background-color: #eae5df;
    background-size: cover;
    background-position: center;
    background-color: rgba(250,248,245,0.9);
    padding-bottom: 50px;

}

.gallery h2 {
    text-align: center;
    font-size: 30px;      /* 文字の大きさ */
    margin: 0;
    font-weight: bold;       /* 太字にする */
    color: #2c3e50;          /* 落ち着いた紺・黒系の色 */
    margin-bottom:15px;

}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:32px;
    text-align: center;
    justify-content: center;
}

.gallery-item {
  display:flex;
  flex-direction:column;
  align-items:center;              
  max-width: 500px;        
  background-color: rgba(255, 255, 255, 0.85); /* ほんのり透ける白 */
  border: 1px solid #e2e8f0;
  padding: 30px 20px;      /* 内側の余白（上下 左右） */
  text-align: center;      /* 文字やアイコンを中央寄せ */
  color: #333333;          /* 文字の色 */
  
}

.gallery-item h3 {
    text-align: center;
    font-size: 20px;      /* 文字の大きさ */
    margin: 0;
    font-weight: bold;       /* 太字にする */
    color: #2c3e50;          /* 落ち着いた紺・黒系の色 */
    margin-bottom:15px;

}

.gallery-item img{
    width:100%;
    border-radius:15px;
    margin-bottom:20px;
}

.gallery-item p {

    text-align: left;
    line-height:2;
    padding-bottom: 50px;

}

.schedule {
    padding: 50px;
}

.schedule h2 {
    text-align: center;
    font-size: 30px;      /* 文字の大きさ */
    margin: 0;
    font-weight: bold;       /* 太字にする */
    color: #2c3e50;          /* 落ち着いた紺・黒系の色 */
    margin-bottom:15px;

}

.schedule-table{
    width:100%;
    max-width:800px;
    margin:40px auto;
    border-collapse:collapse;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 4px 10px rgba(0,0,0,.08);
}

.schedule-table th,
.schedule-table td{
    border:1px solid #e5e5e5;
    padding:18px;
    text-align:center;
}

.schedule-table tr:first-child{
    background:#1F4E79;
    color:#fff;
    font-weight:bold;
}

.schedule-table td:first-child{
    background:#F6F2EC;
    font-weight:bold;
}

.schedule-note{
    text-align:center;
    margin-top:20px;
    color:#666;
    font-size:14px;
    line-height:1.8;
}

.access {
    background-color: #eae5df;
    background-size: cover;
    background-position: center;
    background-color: rgba(250,248,245,0.9);
    padding-bottom: 50px;



}

.access h2 {
     text-align: center;
    font-size: 30px;      /* 文字の大きさ */
    margin: 0;
    font-weight: bold;       /* 太字にする */
    color: #2c3e50;          /* 落ち着いた紺・黒系の色 */
    margin-bottom:15px;

}

.access-inner {

    display: flex;

}

.access-text {

    flex: 1;
    font-size: 16px;
}

.access-map {
    flex: 1;
}

#pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.footer .container {
    display: flex;
    text-align: center;
    justify-content: space-around;
}

.footer .container  p {
    font-weight: bold;
}

.copyright {

    text-align: center;
}

@media (max-width: 768px) {

.header-inner{
    flex-direction:column;
    gap:20px;
    padding:15px 0;
}

.nav-list{
    flex-wrap:wrap;
    justify-content:center;
}

.header-contact{
    flex-direction:column;
}
  .quick-links-inner {
    flex-direction: column; /* 縦並びに切り替え */
    align-items: center;    /* 中央に揃える */
  }
  
  .quick-card {
    width: 100%;            /* スマホでは横幅いっぱいに広げる */
    max-width: 100%;
  }

  
.hero{
    padding:220px 0 60px;
}


  .hero-inner{
    flex-direction:column;
    text-align:center;
}

.hero-btn{
    align-items:center;
}

.hero-image{
    margin-top:40px;
}

.section-subtitle-innner{
    gap:15px;
}

.section-subtitle-innner dt{
    width:100px;
    font-size:14px;
}

.section-subtitle-innner dd{
    font-size:14px;
}

  .doctor-inner{
    flex-direction:column;
  }

  .gallery-grid{
    grid-template-columns:1fr;
  }

  .medical-grid{
    grid-template-columns:1fr;
  }

  .access-inner{
    flex-direction:column;
  }

  .access-map iframe{
    width:100%;
  }

  .footer .container{
    flex-direction:column;
    gap:15px;
  }
}


