<style>
/* Reset some default styles */
body, h1, h2, p, ul, li, dt, dd {
    margin: 0;
    padding: 0;
    background-color: #E2EAE1;
    font-family: 'Sawarabi Mincho', serif;

}

body {
    background-color: #E2EAE1;
    font-family: 'Sawarabi Mincho', serif;
}

div#mamewaza_blog {
    /* height: 200px; */
}

a:link, a:visited, a:hover, a:active {
    color: #FFFFFF;
    text-decoration: none;
  }

  ul {
    list-style: none;
  }

title{
    display: none;
}
header {
    /*height: 14vw;*/
    display: flex;
    background: #dce35b; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #dce35b, #45b649); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #dce35b, #45b649); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #fff;
    padding: 10px 0;
    text-align: center;
}
/**ヘッダー設定**/
h1{
    font-size: max(4vw,26px);
    color: #000000!important;
}

.h_left {
    width: 30%;
}
.h_left_ttl{
    font-size: 2.5vw;
}
.h_left_txt{
    font-size: 2vw;
}

.h_center {
    width: 40%;
}
.h_center p{
    font-size: 2vw;
    font-weight: bold;
}

.h_right {
    width: 30%;
    text-align: center;
}
.h_r_ttl {
    font-size: 2.5vw;
}
.h_right a{
    font-size: 3vw;
}

.h_r_address {
    font-size: max(1.3vw,10px);
}
.h_r_tel {
    font-size: max(2vw,14px);
}
.h_r_sp {
    display: none;
}

a.tel{
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 90%;
    margin: auto;
    padding: 1% 2%;
    font-weight: bold;
    border: double 1vw #FFFFFF;
    color: #000000!important;
    border-radius: 36px;
    transition: 0.5s;
}
a.tel:hover {
	color: #FFFFFF!important;
	background: #149603;
}

header img {
    max-width: 100%;
    height: auto;
}
@media screen and (max-width: 768px){
    .h_r_address{
        display: none;
    }
    .h_r_tel{
        display: none;
    }
    .h_r_sp{
        display: block;
        font-size: max(2vw,18px);
    }
    .h_left{
        width: 100%;
    }
    .h_right{
        width: auto;
        position: absolute;
        top:1.5%;
        right:2%;
        width: 19vw;
    }
    a.tel{
        border: double 1vw #149603;
        padding: 3%;
    }


}
/**メニューバー設定**/
nav {
    display: flex;
    justify-content: space-around; /* メニューアイテムの均等割り配置 */
    background-color: #D1EE7D;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%; /* 横幅100%にする */
}

nav a {
    font-size: max(2vw,10px);
    font-weight: bold;
    color: #000000!important;
    text-decoration: none;
    padding: 10px 20px;
    display: inline-block;
    cursor: pointer;
    flex: 1; /* メニューアイテムを均等に広げる */
    text-align: center; /* メニューアイテム内のテキストを中央揃え */
}
@media screen and (max-width: 768px){
    nav a {
        padding: 0;
    }

}
    
nav p {
    color: #149603!important;
    font-weight: bold;
}

/**スライダー設定**/
.page_header{
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
    position: relative;
    overflow: hidden;
}

/* Loading画像中央配置　*/
.top_slider {
    position: relative;
    height: 77vh;
    width:100%;
    object-fit:cover;
    z-index:-1;
  }
  .top_image {
    position: absolute;
    width: 100%;
    height:77vh;
    object-fit:cover;
    opacity: 0;
    animation: change-img-anim 21s infinite;
  }
  .top_image:nth-of-type(1) {
    animation-delay: 0s;
  }
  .top_image:nth-of-type(2) {
    animation-delay: 7s;
  }
  .top_image:nth-of-type(3) {
    animation-delay: 14s;
  }
  @keyframes change-img-anim-first {
    0%{ opacity: 1; transform: scale(1);}
    8%{ opacity: 1;}
    60%{ opacity: 0; }
    45%{ opacity: 0;}
    100%{ opacity: 0; transform: scale(1.5);}
  }
  @keyframes change-img-anim {
    0%{ opacity: 0; transform: scale(1);}
    5%{ opacity: 1;}
    12%{ opacity: 1;}
    65%{ opacity: 0;}
    100%{ opacity: 0; transform: scale(1.5);}
  }
  .top_cover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 100%;
}

/**フッター設定**/

footer{
    width: 100%;
    background: #dce35b; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #dce35b, #45b649); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #dce35b, #45b649); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #000000;
    font-weight: bold;
    padding: 2% 4% 1% 4%;
}

p.f_address {
    font-size: max(1.5vw,8px);
    font-weight: bold;
    margin-bottom: 4%;
}

p.f_shop {
    font-size: 4vw;
    font-weight: bold;
}

.f_under {
    text-align: center;
}
.f_site {
    font-size: 3vw;
    font-weight: bold;
}
.f_siteR {
    width: 50%;
}

.f_siteL {
    width: 50%;
}

.f_site_box {
    display: flex;
    font-size: 1.4vw;
}

.f_site_box ul{
    line-height: 3vw;
}
a.f_link {
    font-size: max(1.5vw,8px);
    color: #000000;
}
.f_right {
    width: 50%;
}

.f_left {
    width: 50%;
    text-align: center;
}

a.f_tel{
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 80%;
    margin: auto;
    padding: 1% 2%;
    font-weight: bold;
    border: double 1vw #1A9603;
    color: #1A9603;
    border-radius: 4vw;
    transition: 0.5s;
}
a.f_tel:hover {
	color: #FFFFFF;
	background: #149603;
}
.f_contact {
    font-size: max(2vw,8px);
    font-weight: bold;
}

.f_tel {
    font-size: max(3vw,12px);
    font-weight: bold;
}

.f_top {
    display: flex;
    width: 100%;
    margin-bottom: 30px;
}
.f_copy {
    font-size: max(1.5vw,12px);
}
@media screen and (max-width: 768px){
.f_right{
    display: none;
}
.f_left{
    width: 100%;
}

}
/**各ページ共通設定**/
.sp{
    display: none;
}
@media screen and (max-width: 768px){
    .sp{
        display: block;
    }
    .pc{
        display: none;
    }
    

}

.page_ttl p{
    color: #149603;
    font-size: max(3vw,16px);
    font-weight: bold;
}
.ttl_mat{

/* display: table; */

background-image: url(../image/mat.png);
background-position: center;
background-size: contain;
height: 7vw;

}

.page_ttl h3{
    vertical-align: middle;
    text-align: center;
    margin: 0 auto;
    color: #FFFFFF;
    font-size: max(2.5vw,14px);
    font-weight: bold;
    height: 7vw;
    padding-top: 1.5%;
}
/**TOP PAGE**/
#information{
    position: relative;
}
.s_lead{
    text-align: center;
    font-size: max(2vw,16px);
    font-weight: bold;
    margin-bottom: 20px;

}

.biz-hour {
    border-collapse: collapse;
    width: 100%;
    background-color: #FFFFFF;
    margin: 0 auto;
    text-align: center;
  }
  .second {
    width: 80%!important;
}
  
  .biz-hour th {
    /* １番上の線 */
    /* #A28C63っていうのが色の名前なので、ここをお好みで */
    border-top: 1px solid #A28C63;
    color: #000000;
  }
  
  .biz-hour th, .biz-hour td {
    padding: 1% 0;
    text-align: center;
    /* ２番目以降の線 */
    /* 色はお好みで */
    border-bottom: 1px solid #A28C63;
  }
  
  /* スマホ時に横スクロールしないよう、横の余白（padding）を20px→10pxに */
  @media screen and (max-width: 559px) {
    .biz-hour th, .biz-hour td {
      padding: 10px 10px;
    }
  }
  
  .biz-hour th {
    font-weight: normal;
  }
  
  /* 「土」の文字色 */
  .biz-hour th.sat {
    color: #3db2da;
  }
  
  /* 「日」の文字色 */
  .biz-hour th.sun {
    color: #e66a6a;
  }
  /* 「時間」の文字色 */
  .biz-hour td.time {
    color: #000000;
  }
  /* 「○×」の文字色 */
  .biz-hour td {
    color: #519ce5;
  }
#shop_map{
    width: 90%;
    margin: 0 auto;
    padding: 50px 0;
}
#shop_map p{
    font-size: 2vw;
    font-weight: bold;
    margin-bottom: 20px;
}
iframe{
    width: 100%;
    aspect-ratio: 16 / 9;
}
/*ブログ部分*/
#rss-feed,#load-more{
    width: 60%;
    margin: 0 auto;
    text-align: center;
}
@media screen and (max-width: 768px) {
    #rss-feed,#load-more{
        width: 90%;

    }

}
#load-more{
    width: 80%;
    margin: 0 auto;
    text-align: center;
    
}
#rss-feed ul{
    list-style-type: none;
    padding: 0;
}

#rss-feed li{
    margin-bottom: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    border-bottom: 3px solid #707070; /* 下線のスタイル */
}
.date{
    flex: 30%;
    font-size: max(1.5vw,12px);
    font-weight: bold;
}
.title{
    flex: 70%;
    text-align: left;
    font-size: max(2.0vw,16px);
    font-weight: bold;
    color: #000000!important;
    
}
.title a{
    color: #000000!important;
    
}
/*スクロールボタン*/
#content{
    position: relative;
}
 
#topBtn {
    /*-----必須-----*/
    position: fixed;
    bottom: 10px;
    right: 10px;
     
    /*-----装飾-----*/
    width: 10vw;
    height: 10vw;
    line-height: 64px;
    text-align: center;
}
#topBtn img {
    width: 100%;
}





/**院長紹介**/
div#doctor_greeting{
    text-align: center;
    background-color: #E2EAE1;
}

.doctor {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 50px;
}

.doctor_txt {
    width: 59%;
    text-align: left;
    display: inline;
    font-size: max(1.5vw,12px);
    font-weight: bold;
    margin-right: 1%;
}

.doctor_img {
    width: 40%;
}
.doctor_img img{
    width: 100%;
}

div#doctor_career{
    /* padding: 20%; */
    margin: 0 auto;
    /* text-align: center; */
    position: relative;
}
div#doctor_career img{
    display: block;
    width: 100%;
    object-fit: cover;

}
.career_box{
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background-color: rgba(255, 255, 255, 0.66);
    border-radius: 34px;
    width: 60%;
    padding: 3%;
}
.page_ttl{
    text-align: center;
    margin: 4% auto;
    z-index: 1;
}
.career_box dl dt {
    text-align: right;
    width: 30%;
    padding: 0em;
    position: relative;
}
 
.career_box dl dd {
    padding: 0em 0em 0em 1em;
    width: 70%;
}
.page_txt {
    /* text-align: center; */
    width: 66%;
    margin: 0 auto;
}
.career_txt{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    line-height: 3vw;
    text-align: left;
    font-size: max(1.5vw,10px);
    font-weight: bold;
}
@media screen and (max-width:768px) {
    .page_txt {
        /* text-align: center; */
        width: 100%;
        margin: 0 auto;
        margin-bottom: 4%;
    }
    
    
}

/**わかば整骨院について**/
.about{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 4%;
}
.about_txt {
    width: 68%;
    text-align: left;
    display: inline;
    font-size: max(1.5vw,12px);
    font-weight: bold;
    margin-right: 1%;
}

.about_img{
    width: 31%;

}
.about_img img {
    width: 100%;

}

#about_box{
    background-image: url(../image/flow_bg.png);
    background-color:rgba(255,255,255,0.17);
    background-blend-mode: lighten;
    background-position: center;
    background-size: cover;
    border-radius: 41px;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 50px;
    padding: 0 3%;
}
.about_sec_ttl{
    text-align: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 4vw;
    font-weight: bold;
    padding-top: 2%;
    padding-bottom: 2%;
}
.flow_lead{
    text-align: left;
    font-size: max(1.5vw,12px);
    font-weight: bold;
}
.flow_box{
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.flow_left{
    width: 50%;
    margin-right: 3%;
    font-size: max(1.5vw,12px);
    font-weight: bold;
}
.flow_right{
    width: 47%;
}
.flow_right img{
    width: 100%;
}

.facility_box1{
    display: flex;
    width: 80%;
    margin: 0 auto;
    justify-content: center;
    margin-bottom: 50px;
}
.facility_box2{
    display: flex;
    flex-direction: row-reverse;
    width: 80%;
    margin: 0 auto;
    justify-content: center;
    margin-bottom: 50px;
}
.facility_txt{
    width: 35%;
    background-color: #356214;
    color: #FFFFFF;
    padding: 2%;
}

.facility_ttl{
    font-size: max(2vw,16px);
    font-weight: bold;
    padding: 5% 0;
    text-decoration-line: underline;
    text-underline-offset: 0.25rem;
}
.facility_sec{
    font-size: max(1.8vw,14px);
    font-weight: 500;
}

.facility_img{
    width: 65%;
}
.facility_img img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* height: auto; */
}

@media screen and (max-width:768px) {

    .flow_box {
        flex-direction: column;
        margin-bottom: 4%;
    }
    .flow_left,.flow_right{
        width: 100%;
    }

    .facility_box1{
        flex-direction: column;
    }
    
    .facility_box2{
        flex-direction: column;
    }
    .facility_txt{
        width: 100%;

    }
    .facility_ttl{
        padding: 1% 0;
    }
    .facility_img{
        width: 100%;
    }
    
}

/**MENU**/
.insurance {
    width: 80%;
    margin: 0 auto;
}
.insurance_ttl {
    font-size: max(2.0vw,16px);
    margin-bottom: 30px;
}
.insurance_txt {
    font-size: max(1.5vw,14px);
    font-weight: 500;
    margin-bottom: 30px;
}

.menu_box{
    width: 80%;
    margin: 0 auto;
}

div#menu2,div#menu4,div#menu6 {
    flex-direction: row-reverse;
}
.menu_box{
    /* height: 20VW; */
    display: flex;
    scroll-margin-top: 120px;
    margin-bottom: 50px;
}
.menu_txt,.menu_image{
    width: 50%;
}
.menu_txt{
    width: 50%;
    background-color: #0A6696;
    color: #FFFFFF;
    padding: 2%;
}

.menu_ttl{
    font-size: max(2vw,16px);
    font-weight: bold;
    margin-bottom: 15px;

}
.menu_lead{
    font-size: max(1.5vw,14px);
    font-weight: bold;
    margin-bottom: 10px;
    text-decoration-line: underline;
    text-underline-offset: 0.25rem;
}
.menu_sec{
    font-size: max(1.5vw,14px);
    /* font-weight: 500; */
}

.menu_sec li {
    list-style: disc;
    list-style-position: inside;
    padding-left: 0;
}


.menu_image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media screen and (max-width:768px) {
    .insurance_ttl{
        margin-bottom: 2%;
    }
    #menu1,#menu2,#menu3,#menu4,#menu5,#menu6,#menu7{
        flex-direction: column!important;
        /* width: 100%; */
    }
    .menu_box{
        height: auto;
    }
    .menu_txt, .menu_image{
        width: 100%;
    }

    
}
/**FAQ**/
.faq{
    width:80%;
    margin: 0 auto;
    margin-bottom: 50px;
}
.faq img{
    width: 100%;
}
.faq_inner{
    background-color: #FFFFFF;
    margin-bottom: 20px;
}
.faq_question{
    font-size: max(1.5vw,12px);
    font-weight: bold;
    padding: 1%;
}
.faq_inner dd{
    font-size: max(1.5vw,12px);
    padding: 0 1%;
    padding-bottom: 1%;
}
.faq_answer{
    font-size: max(1.5vw,12px);
    font-weight: bold;
    display: flex;
}

dt.faq_question::before {
    content: "Q";
    display: flex;
    justify-content: center;
    align-items: center;
    background: #6699B7;
    color: #fff;
    width: max(3vw,14px);
    height: max(3vw,14px);
    border-radius: 50px;
    float: left;
  }
  
.faq dl dd::before {
    content: "A";
    display: flex;
    justify-content: center;
    align-items: center;
    background: #D65556;
    color: #fff;
    width: max(3vw,14px);
    height: max(3vw,14px);
    border-radius: 50px;
    float: left;
  }
  @media screen and (max-width:768px) {
    dt.faq_question::before {

        width: 5vw;
        height: 5vw;

      }
      
    .faq dl dd::before {

        width: 5vw;
        height: 5vw;

      }
      .h_center{
        display:none;
      }
  }

</style>