/*-----font-----*/
.noto-sans { 
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-variation-settings:"wdth" 100;
}

.poppins-thin {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.poppins-extralight {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: normal;
}
      
.poppins-light {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: normal;
}
      
.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}
      
.poppins-medium {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: normal;
}
      
.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
}
      
.poppins-bold {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: normal;
}
      
.poppins-extrabold {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: normal;
}
      
.poppins-black {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: normal;
}
      
.poppins-thin-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 100;
    font-style: italic;
}
      
.poppins-extralight-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
    font-style: italic;
}
      
.poppins-light-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    font-style: italic;
}
      
.poppins-regular-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: italic;
}
      
.poppins-medium-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-style: italic;
}
      
.poppins-semibold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: italic;
}
      
.poppins-bold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-style: italic;
}
      
.poppins-extrabold-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    font-style: italic;
}
      
.poppins-black-italic {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-style: italic;
}

.dancing-script {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}
/*-----font-----*/

/*-----共通class-----*/
.container {
    width: 90%;
    max-width: 1120px;
    /*background-color: greenyellow;*/
    margin: 0 auto;
    position: relative;
}

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


.top_fixed {
    align-items: flex-start;/*.flexの中央合わせを上端合わせに更新*/
}

li {
    list-style: none;
}

.bluecut {
    text-decoration: none;
    color: black;
}

.title {
    font-size: 40px;
    font-weight: 500;
    color: greenyellow;
    margin-bottom: 40px;
}

.heading {
    font-size: 150px;
    font-weight: 700;
    color:black;
    opacity: 0.1;
    position: absolute;
    /*position: relative;*/
    padding-left: 5px;
    top: 0;
    right: 0;
    transform: translateY(-40%);
    z-index: -1;
}

html{
    scroll-behavior: smooth;
}
/*-----共通class-----*/

/*-----header-----*/
header{
    padding: 27px 0;
}

.header_top {
    margin-bottom: 0px;
}

.logo-top{
    display: flex;
    align-items: center;
}

.logo-size{
    height: 50px;
    vertical-align: middle;
}

.logo{
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.04em;
    vertical-align: middle;
}

.logo span{
    color:goldenrod;
}

.header_menu li {
    margin-left: 40px;
}

.header_menu li a:hover {
    color: goldenrod;
    transition: .3s;
}

.header_menu li a {
    transition: .3s;
}

.header_sub {
    text-align: right;   
}

.header_sub .blockinner {
    display: inline-block;
    width: auto;
    text-align: left;
}

.headertext_callnumber {
    font-size: 24px;
    font-weight: 10;
}

.box_callnumber {
    background-color: darkturquoise;
    padding: 10px;
    border-radius: 5px;
    width: auto;
    margin-right: 1em;
/*  padding: 0em 0.5em;
    margin: 2em 0em;
    margin-right: 1em;
    font-weight: 15;
    border: solid 3px darkturquoise;  */
}

.box_callnumber span {
    margin: 0;
    padding: 0;
    color: white;
}

.headertext_address {
    font-size: 15px;
    font-weight: 10;
}

.space_bottom1 {
    margin-bottom: -10px;
}

.space_bottom2 {
    margin-bottom: -20px;
}

.space_bottom3 {
    margin-bottom: -100%;
}
/*------header------*/

/*------hero------*/
#hero {
    background-image: url(../images/exterior_front.png);
    background-position: center;
    background-size: cover;
    height: 540px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    margin-bottom: 90px;
    overflow: hidden;
}

#hero::before/*透かし（擬似要素）*/ {
    content: '';
    width: 100%;
    height: 100%;
    background-color: black;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.2;
    z-index: 1;
}

.hero_inner {
    z-index: 2;
    color: white;
    width: 100%;
    text-align: center;
}

.hero_inner h1 {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 16px;
}

/*------hero------*/

/*------information_links------*/

.banner-grid {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.banner {
    border: 3px solid;
    padding: 20px;
    text-align: center;
    border-radius: 4px;
}

.banner.pink { border-color: #f06292; color: #f06292; }
.banner.blue { border-color: #4fc3f7; color: #0288d1; }

.banner p {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.more-btn {
    display: inline-block;
    background: #ccc;
    color: #fff;
    text-decoration: none;
    padding: 2px 25px;
    font-size: 0.8rem;
    border-radius: 2px;
}

/*------information_links------*/

/*------news------*/

.news-flex {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.news-section { flex: 1; min-width: 300px; }
.schedule-section { flex: 1; min-width: 300px; }

/* 新着情報 */
.section-title {
    color: #e57373;
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 20px;
}
.section-title span {
    display: block;
    font-size: 0.8rem;
    color: #0288d1;
}

.news-list {
    list-style: none;
    padding: 0;
    border-top: 1px dotted #ccc;
}

.news-list li a {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
}

.news-list li a:hover { background-color: #f9f9f9; }

.date { width: 80px; color: #666; }

.view-all {
    display: block;
    text-align: left;
    margin-top: 10px;
    font-size: 0.8rem;
    text-decoration: none;
    color: #333;
}

/* 診療受付時間 */
.schedule-title {
    background: #bbb;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 1.1rem;
    margin-bottom: 0;

    span{
        color:#0288d1;
    }
}

.schedule-table {
    width: 100%;
    /* ↓ここがポイント：列の幅を固定します */
    table-layout: fixed; 
    border-collapse: collapse;
    background: #f2f2f2;
}

.schedule-table th, .schedule-table td {
    border: 1px solid #fff;
    text-align: center;
    padding: 12px 2px; /* 上下の余白を少し増やして見やすくしました */
    font-size: 0.85rem;
    /* 長い文字がはみ出さないように調整 */
    word-break: break-all; 
}

.schedule-table th {
    background: #e0e0e0;
    font-weight: normal;
}

/* 時間を表示する最初の列（1列目）だけ少し幅を広くしたい場合の設定 */
/* これを外せば、全8列が完全に均等（12.5%ずつ）になります */
.schedule-table th:first-child,
.schedule-table td:first-child {
    width: 22%; 
    background: #ffccbc;
    font-size: 0.75rem;
}

.table-note {
    font-size: 0.75rem;
    margin-top: 10px;
    line-height: 1.4;
}

/* スマホ対応 */
@media (max-width: 600px) {
    .banner-grid { grid-template-columns: 1fr; }
    .news-flex { flex-direction: column; }
}

/*------news------*/

/*------news------
#news {
    margin-bottom: 120px;
}

~~~~
#news h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
}
~~~~

.column-2 {
    width: 48%;
}

.date {
    font-size: 15px;
    font-weight: 50;
    margin-top: 0 auto;
    margin-bottom: 16px;
    margin-left: 5%;
}

.news_text {
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 16px;
    margin-left: 10%;
}
------news------*/

/*------calendar------
#calendar {
    margin-bottom: 120px;
}

.column-3 {
    width: 48%;
}

.calendar-ThisMonth{
    

    .calender_inner {
        font-size: 48px;
        font-weight: 500;
        margin-bottom: 16px;
    }
}

.calender_photo1 {
    background-image: url(../images/this_month.png);
    background-position: center;
    background-size: cover;
    height: 370px;
}

.calender_photo2 {
    background-image: url(../images/next_montth.png);
    background-position: top;
    background-size: cover;
    height: 370px;
}
------calendar------*/

/*------footer------
footer {
    text-align: center;
    margin: 30px 0;
}

.footer_logo {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.footer_logo span {
    color: greenyellow;
}

.footer_totop {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-top: 10px;
}
------footer------*/

/*------footer------*/
/* 基本設定 */
.footer {
  background-color: white;
  color: #333;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  text-align: center;
}

.footer-container {
  /*max-width: 900px;*/
  margin: 0 auto;
  padding: 30px 20px; /* 全体の上下余白を少し縮小 */
}

/* 中央配置と縦の詰まり具合の調整 */
.footer-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* 要素ごとの縦の間隔を大幅に縮小 */
}

/* 1. ロゴエリア */
.clinic-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px;
}

.logo-img{
    height: 40px;
}

.corp { 
    font-size: 13px; 
    color: #888; 
    margin: 0; 
    line-height: 1; 
}

.main-name { font-size: 20px; 
    color: #8c6450; 
    margin: 2px 0; 
    font-weight: bold; 

    span{
        color: goldenrod;
    }
}

.en-name { 
    font-size: 10px; 
    color: #888; 
    margin: 0; 
    letter-spacing: 0.5px; 
}

/* 2. 住所 */
.address-row {
  font-size: 18px;
  font-weight: bold;
  white-space: nowrap;
}
.pin { color: #999; margin-right: 4px; }

/* 3. 駐車場 */
.parking-row {
  display: flex;
  align-items: center;
  margin-top: 5px;
}
.p-symbol {
  font-size: 60px;
  font-weight: 900;
  color: #f19ec2;
  line-height: 0.8;
  margin-right: 10px;
}
.p-title { font-size: 24px; font-weight: bold; margin: 0; }
.p-blue { font-size: 14px; color: #00a1e9; margin: 0; font-weight: bold; }

/* 4. 予約ダイヤル（ここだけ少し余白を設けて強調） */
.booking-row {
  margin-top: 15px;
  width: 100%;
}
.booking-title { font-size: 28px; font-weight: bold; margin: 0; }
.main-phone { 
  font-size: 52px; 
  font-weight: bold; 
  color: #005bac; 
  line-height: 1.1;
}
.hours { font-size: 14px; color: #666; margin-top: 5px; }
.holiday { color: #d7003a; }

/* 5. 緊急連絡 */
.emergency-row {
  font-size: 13px;
  color: #444;
  border-top: 1px solid #ddd;
  padding-top: 15px;
  margin-top: 5px;
}
.rep-phone { font-size: 18px; font-weight: bold; margin-top: 5px; }
.rep-phone a { color: #333; text-decoration: underline; }

/* 6. トップへ　*/
.footer_totop {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-top: 10px;
}

/* 下段コピーライト */
.footer-copyright {
  background-color: goldenrod;
  color: white;
  padding: 12px 0;
  font-size: 13px;
}

/* スマホ対応 */
@media (max-width: 480px) {
  .footer-content-wrapper { gap: 10px; }
  .main-phone { font-size: 36px; }
  .booking-title { font-size: 20px; }
  .main-name { font-size: 20px; }
}

/*------footer------*/

