@charset "UTF-8";

html,
body {
    height: 100%;
    width: 100%;
}

html {
    font-size: 62.5%
}

body {
    margin: 0;
    padding: 0;
    color: #4d5156;
    font-family:'Roboto','Hiragino Sans','Meiryo','Hiragino Kaku Gothic ProN',sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    text-align: justify;
    line-height: 1.9;
    overflow-x: hidden;
    background-color: #f7f7f7;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

h1,
h2 {
    font-weight: 700;
}

h1 {
    font-size: 2.4rem
}

h2,h3,h4 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: rotate(0.03deg);
}

h2 {
    position: relative;
    background-color: #89d2f5;
    color: #ffffff;
    font-size: 2.0rem;
    text-align: center;
    padding-top: 1.2em;
    padding-bottom: 0.2em;
    transform: translateY(1px);
    line-height: 1.0em
}

h2:before,
h2:after {
    content: "";
    position: absolute;
    top: 55%;
    display: inline-block;
    width: 40px;
    height: 1px;
    background-color: #ffffff;
    -moz-transform: rotate(-60deg);
    -webkit-transform: rotate(-60deg);
    -ms-transform: rotate(-60deg);
    transform: rotate(-60deg);
}

h2:before {
    left: 30%
}

h2:after {
    right: 30%
}

h2 span {
    color: #00a2ea;
    font-size: 14px
}

ul {
    margin: 0;
    padding: 0;
    list-style: none
}

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

.tellink-none {
    pointer-events: none;
}

/*--- box01 (サイトヘッダ) ---*/

.box01 {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    width: 100%;
    background: rgba(255, 255, 255, 0.90);
    box-shadow: 0 0 8px #666666;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*グローバルメニュー高さ縮小時(アニメーション)*/
    transition: 0.3s;
}

.box01_header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.box01_header .sitetitle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 8px;
}

.box01_header ul li {
    font-family: Lato, 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: rotate(0.03deg);
    text-align: right;
}

.box01_header ul li i {
    margin: 0 2px 0 5px
}

/*--- box01_inner ---*/

.box01_inner {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding-top: 8px;
}

.box01_inner .telinfo {
    color: #dc006e;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em
}

.box01_inner .telinfo_desc1 {
    font-size: 11px;
}

.box01_inner .telinfo_desc2 {
    font-size: 11px;
    font-weight: 700;
    color: #dc006e;
}

.box01_inner h1 img {
    width: 240px;
    height: auto;
}

#gnavi_toggle {
    display: none
}

#gnavi {
    margin-top: 3px;
}

.gnavi ul li {
    display: inline-block;
    text-align: right;
    padding: 5px 0;
    padding-left: 33px;
}

.gnavi ul li:last-child {
    display: none;
    padding-right: 0
}

.gnavi ul li a {
    color: #444444;
    font-family: Lato, 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    transform: rotate(0.03deg);
    text-decoration: none
}

.gnavi ul img {
    height: 28px;
    vertical-align: middle
}

.gnavi ul li i {
    margin: 0 3px 0 4px
}

.gnavi .telinfo a {
    color: #dc006e;
}

/*--- box02 (ヒーロー画像〜診療時間案内)---*/

.box02 {
    padding-bottom: 30px;
    position: relative
}

.eyecatch {
    width: 100%;
    position: relative;
}

.eyecatch p {
    position: absolute;
    font-family: 'Klee One', cursive;
    font-size: clamp(1.4rem, 3vw, 3.6rem);
    font-weight: 700;
    color: #ffffff;
    text-shadow: 4px 4px 10px #888888,
        -4px -4px 10px #888888;
    top: 46.0%;
    width: 100%;
    text-align: center;
    line-height: 1.4;
}

.eyecatch .subject {
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

.eyecatch .subject {
    transform: rotate(0.03deg);
    font-size: clamp(1.1rem, 1.8vw, 2.2rem);
    text-shadow: none;
    padding: 1.25rem 1.0rem;
    text-shadow: 3px 3px 10px #ffffff,
        -3px -3px 10px #ffffff;
    color: #0067cc;
}

.eyecatch a,
.eyecatch a:visited {
    color: #00a2ea;
}

.box02_contents {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
}

.box02_contents h3 {
    font-size: 1.9rem;
    font-weight: 400;
}

.eyecatch .recruit_banner-wrapper {
    position: absolute;
    bottom: 5%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    margin:0;
    padding:0.2em;
    background-color: rgba(0, 162, 234, 0.4);
    border-radius: 10px;
}

.recruit_banner {
    position: relative;
    color: #ffffff;
    background-color: rgba(0, 162, 234, 0.7);
    font-size: 1.6rem;
    line-height: 1;
    padding: 0.5em 2.0em;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.eyecatch .recruit_banner img {
    height: 2.0em;
    width: auto;
}

.eyecatch .recruit_banner h5 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    margin-left: 0.5em;
}

.eyecatch .recruit_banner a {
    position: absolute;
    top: 0;
    left: 0;
    height:100%;
    width: 100%;
}

.subjects_desc_box {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1em;
    text-align: center;
}

.subjects_box {
    width: 100%;
    max-width: 980px;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    font-size: 2.1rem;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: rotate(0.03deg);
    margin-left: auto;
    margin-right: auto;
}

.subjects_box > * {
    position: relative;
    width: calc( 33.33333% - 8px ) ;
    margin-right: 12px;
    margin-bottom: 12px;
}

.subjects_box > * a {
    position: absolute;
    top: 0;
    left: 0;
    height:100%;
    width: 100%;
}

.subjects_box > * a:hover {
    opacity: 0.2;
    background-color: #1290e5;
}

.subjects_box > * li.icon img {
    max-height: 64px;
    width: auto;
}

.subjects_box > * li.title {
    margin-top: 0.3em;
    font-weight: 600;
}

.subjects_box > * li.desc {
    font-family:'Roboto','Hiragino Sans','Meiryo','Hiragino Kaku Gothic ProN',sans-serif;
    font-size: 1.4rem;
    line-height: 1.3;
    color: #444444;
    padding: 0 2.5em;
}

.subjects_box01,
.subjects_box02,
.subjects_box03,
.subjects_box04,
.subjects_box05,
.subjects_box06 {
    padding: 1.0em 0;
    color: #1290e5;
    background-color: #e7f4fd;
}

.subjects_box01 ul,
.subjects_box02 ul,
.subjects_box03 ul,
.subjects_box04 ul,
.subjects_box05 ul,
.subjects_box06 ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.subjects_box01 ul li,
.subjects_box02 ul li,
.subjects_box03 ul li,
.subjects_box04 ul li,
.subjects_box05 ul li,
.subjects_box06 ul li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.timetable_wrapper {
    max-width: 980px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2em;
    margin-left: auto;
    margin-right: auto;
}

.timetable {
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
}

.timetable th,
.timetable td {
    border: 1px #c8e2ff solid;
    text-align: center;
    vertical-align: middle;
}

.timetable th {
    border-right: 1px #d9ebff solid;
    white-space: nowrap;
    font-weight: normal;
}

.timetable th:nth-child(1) {
    width: 25%;
}

.timetable .index th:last-child {
    border-right: 1px #c8e2ff solid;
}

.timetable th[scope="col"] {
    background: #9ccfff;
    /*background: #c1e0ff;*/
    padding: 0.8em 0;
    height: 2.6em;
}

.timetable th[scope="row"] {
    background: #dbeeff;
    /*background: #eaf4ff;*/
    line-height: 1.2;
    padding: 1.3em 0;
}

.timetable td {
    /*color: #10bce2;*/
    color: #1290e5;
}

.timetable .triangle {
    line-height: 1.3;
}

.timetable .triangle span {
    /*color: #4d5156;*/
    font-size: 1.4rem;
}

.timetable_desc {
    width: 100%;
    margin-top: 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timetable_desc ul {
    margin-top: 1.5rem;
}

p.closed {
    text-align: center;
}

p.closed span {
    color: #dc006e;
}

ul.timetable_desc {
    width: 50%;
    padding-left: 30px;
}

.timetable_desc ul li {
    position: relative;
    padding: 3px 0;
    text-indent: -0.4em;
    padding-left: 1em;
}

.timetable_desc ul li span {
    color: #1290e5;
    font-weight: 600;
}

.timetable_desc ul li:before {
    content: "";
    width: 6px;
    height: 6px;
    display: inline-block;
    background-color: #6bbbf2;
    border-radius: 50%;
    position: relative;
    top: -3px;
    margin-right: 0.5em;
}

.timetable_desc .notice {
    margin-top: 2.5em;
    padding: 1.2em;
    background-color: #ffedf6;
    border: 1px solid rgba(220,0,110,0.7);
    border-radius: 10px;
}

.timetable_desc .notice h4 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: rotate(0.03deg);
    font-size: 1.6rem;
    font-weight: 700;
    color: #dc006e;
    text-align: center;
    margin-bottom: 0.5em;
}

.timetable_desc .notice p {
    display: inline;
}

.timetable_desc .notice2 {
    margin-top: 2.5em;
}

.timetable_desc .notice2 a {
    text-decoration: underline;
}

/*--- box03-07共通 ---*/

.box03,
.box04,
.box05,
.box06,
.box07 {
    position: relative;
    width: 100%;
}

.box03_contents,
.box04_contents,
.box05_contents,
.box06_contents,
.box07_contents,
.boxsub_contents {
    max-width: 1100px;
    margin: 0 auto 2.4em;
}

/*--- box03 (お知らせ) ---*/

.box03_contents {
    max-width: 980px;
}

.box03_contents section {
    margin-top: 2em;
    padding-left: 1em;
    padding-right: 1em;
    padding-bottom: 2em;
    border-bottom: 2px dashed #c8e2ff;
}

.box03_contents section:first-child {
    margin-top: 0;
}

.box03_contents section h4 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: rotate(0.03deg);
    color: #454545;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 0.4em;
    line-height: 1.3;
}

.box03_contents section h4 span {
    display: inline-block;
    margin-bottom: 0.2em;
    color: #0067cc;
    font-size: 1.3rem;
    font-weight: 500;
}

.box03_contents section p {
    margin-top: 1em;
}

.box03_contents section ul {
    margin-top: 1em;
    /*margin-left: 0.5em;*/
}

.box03_contents section ul li {
    text-indent: -1em;
    padding-left: 1em;
}

.box03_contents section ul li {
    margin-top: 0.5em;
}

.box03_contents section h5 {
    margin-top: 1em;
}

.box03_contents section h5+p {
    margin-top: 0.5em;
    /*text-indent: 1em;*/
}

.box03_contents .info_flexbox {
    display: flex;
}

.box03_contents p {
    padding-right: 1.2em;
}

.box03_contents div.info_flexbox-text a {
    color: #4d5156; 
    text-decoration: none;
    pointer-events: none;
}

.box03_contents div.info_flexbox-img {
    padding-top: 1.4em;
}

.box03_contents img {
    max-height: 350px;
    width: auto;
    border-radius: 10px;
}

.box03_contents a {
    text-decoration: underline;
}

.box03_contents p ~ ul {
    margin-left: 1em;
}

.box03_contents div ~ p {
    margin-top: 2em;
}

.lightbox_info {
    margin: 1em 0 2em;
}

/*--- box04 (診療内容) ---*/

.box04_contents .subjects_box {
    font-size: 1.9rem;
}

.box04_contents .subjects_box01,
.box04_contents .subjects_box02,
.box04_contents .subjects_box03,
.box04_contents .subjects_box04,
.box04_contents .subjects_box05,
.box04_contents .subjects_box06 {
    padding: 1.0em 2.4em;
}

.box04_contents .subjects_box01 ul,
.box04_contents .subjects_box02 ul,
.box04_contents .subjects_box03 ul,
.box04_contents .subjects_box04 ul,
.box04_contents .subjects_box05 ul,
.box04_contents .subjects_box06 ul {
    flex-direction: row;
    justify-content: space-around;
}

.box04_contents .subjects_box01 ul li,
.box04_contents .subjects_box02 ul li,
.box04_contents .subjects_box03 ul li,
.box04_contents .subjects_box04 ul li,
.box04_contents .subjects_box05 ul li,
.box04_contents .subjects_box06 ul li {
    display: flex;
    justify-content: center;
    align-items: center;
}

.box04_contents .subjects_box > * li.icon img {
    max-height: 48px;
    width: auto;
}

.box04_contents section {
    display: block;
    width: 100%;
    min-height: 250px;
    background-color: #eaf8ff;
    border-radius: 10px;
    border: 6px solid;
    border-color: rgba(0, 162, 234, 0.2);
    margin: 45px 0;
    padding: 30px;
}

.box04_contents section h4 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #00a2ea;
    padding-bottom: 0.4em;
    border-bottom: solid 1px #00a2ea;
}

.box04_contents section h5 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: rotate(0.03deg);
}

.box04_contents .cure_desc-img img:nth-child(2) {
    padding-top: 1em;
}

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

.cure_desc_odd .cure_desc-text {
    width: 60%;
    padding-right: 1.5em;
}

.cure_desc_odd .cure_desc-img {
    width: 40%;
    padding-top: 2.2em;
}

.cure_desc_odd .cure_desc-img img {
    width: 100%;
    border-radius: 0.8em;
}

.box04_contents .cure_desc_even {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.cure_desc_even .cure_desc-text {
    width: 60%;
    padding-left: 1.5em;
}

.cure_desc_even .cure_desc-img {
    width: 40%;
    padding-top: 2.2em;
}

.cure_desc_even .cure_desc-img img {
    width: 100%;
    border-radius: 0.8em;
}

.box04_contents section p {
    margin-top: 1.8em;
}

.box04_contents section ul {
    margin-top: 0.7em;
}

.box04_contents section ul li {
    padding: 0.3em 0;
}

.box04_contents .symptomlist-wrapper {
    background-color: #f7f7f7;
    margin-top: 1.8em;
}

.box04_contents ul.symptomlist {
    margin-left: 1.0em;
    padding-right: 0.5em;
    padding-bottom: 1.2em;
}

.box04_contents ul.symptomlist li {
    font-size: 1.4rem;
    text-indent: -0.6em;
    padding-left: 1.1em;
}

.box04_contents i {
    color: #dc006e;
    margin-right: 0.25em;
}

.box04_contents h5 {
    color: #00a2ea;
    padding: 1.0em 0 0 1.0em;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.box04_contents .scroll_back {
    text-align: right;
}

.box04_contents .scroll_back a {
    text-decoration: underline;
    color: #dc006e;
    font-size: 1.4rem;
}

/*--- box05 (医師紹介) ---*/

.box05_contents p.doc-name {
    font-family: Lato, 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: rotate(0.03deg);
    font-weight: 700;
    font-size: 1.7em;
    color: #1290e5;
}

.box05_contents p.doc-name span {
    color: #ffffff;
    background-color: #1290e5;
    margin-right: 16px;
    padding: 2px 4px;
    border-radius: 10%;
}

.box05 .doctor_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.box05 .doc-pic {
    display: flex;
    align-items: center;
    width: 35%;
}

.box05 .doc-pic img {
    width: 100%;
    max-width: 24vw;
    border-radius: 50%;
    margin: 0 auto;
}

.box05 .doc-greeting {
    width: 60%;
    padding: 15px;
}

.box05 .profile_box {
    display: flex;
    justify-content: space-between;
    margin-top: 45px;
}

.box05 .prof-history h4,
.box05 .prof-speciality h4 {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: rotate(0.03deg);
    font-weight: 700;
    font-size: 1.7rem;
}

.box05 .prof-history h4 {
    color: rgba(0, 162, 234, 0.6);
}

.box05 .prof-speciality h4 {
    color: rgba(220, 0, 110, 0.6);
}

.box05 .prof-history {
    display: flex;
    flex-direction: column;
    width: 55%;
    background-color: #eaf8ff;
    padding: 20px;
    border: 6px solid;
    border-color: rgba(0, 162, 234, 0.2);
    border-radius: 10px;
}

.box05 .prof-history dl {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 1em;
}

.box05 .prof-history dl dt {
    width: 15%;
    padding: 0.3em 0;
}

.box05 .prof-history dl dd {
    width: 85%;
    padding: 0.3em 0;
}

.box05 .prof-speciality {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    width: 41%;
    padding: 20px;
    background-color: #ffedf6;
    border: 6px solid #dc006e;
    border-color: rgba(220, 0, 110, 0.2);
    border-radius: 10px;
}

.box05 .prof-speciality ul {
    width: 100%;
    margin-top: 1em;
}

.box05 .prof-speciality li {
    padding: 0.3em 0;
}

.box05 .prof-speciality .lightbox_box {
    margin-top: 0.75em;
}

.box05 .prof-speciality .lightbox_box a {
    text-decoration: underline;
}

/*--- box06 (当院について) ---*/

.box06 .clinfo {
    margin-bottom: 1em;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.box06 .clinfo-txt {
    width: 44%;
    margin-top: 0.8em;
    margin-right: 20px;
}

.box06 .clinfo-txt_detail {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px dashed #cccccc;
    padding: 10px 0;
}

.box06 .clinfo-txt_detail dt {
    font-family: Lato, 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: rotate(0.03deg);
    width: 15%;
    text-align: left;
    font-weight: 700;
    color: #1290e5;
}

.box06 .clinfo-txt_detail dd {
    width: 85%;
    text-align: left;
    padding-left: 1em;
}

.box06 .clinfo-txt_detail a {
    color: #4d5156; 
    text-decoration: none;
    pointer-events: none;
}

.box06 .clinfo-pic {
    width: 52%;
    padding: 1.2em;
}

.box06 .clinfo .clinfo-pic img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.box06 .pics_wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.box06 .pics_wrapper li {
    width: 44%;
    margin: 20px;
}

.box06 .pics_wrapper li img {
    width: 100%;
    border-radius: 10px;
}

.box06 .pics_wrapper li p {
    margin-top: 10px
}

.box06 .pics_wrapper li p span {
    font-weight: 700
}

/*--- box07 (アクセス) ---*/

.box07 .access {
    margin-top: 3.0em;
}

.box07 .access h4 {
    font-weight: 700;
}

.box07 .access h4 i {
    color: #dc006e;
    margin-right: 0.3em;
}

.box07 img {
    width: 100%;
    height: auto;
    margin-top: 2em;
    vertical-align: top;
    border-radius: 0.5em;
}

.box07 .access ul {
    padding: 15px 0;
}

.box07 .access ul+h4 {
    margin-top: 1.0em;
}

.box07 .google-map {
    margin: 35px 0 20px;
}

.box07 .google-map iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
}

/* ---- box08 (予約システムへのリンクボタン) --- */

.box08 {
    width: 100%;
    text-align: center;
}

.box08 p a {
    display: block;
    padding: 12px 1em 11px;
    font-family: Lato, 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 700;
    transform: rotate(0.03deg);
    color: #ffffff;
    background-color: rgba(220, 0, 110, 0.75);
    text-decoration: none;
}

.box08 p a:hover {
    background-color: rgba(255, 16, 136, 0.80)
}

/*--- box09 (フッタ) ---*/

.box09 {
    color: #ffffff;
    text-align: center;
}

.footer_box {
    font-family: Lato, 'Zen Kaku Gothic New', "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    background-color: #1290e5;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 30px;
}

.footer_box .ft-address {
    display: flex;
    justify-content: center;
}

.footer_box .ft-address li {
    margin-left: 1.6rem;
}

.footer_box .ft-address li:first-child {
    margin-left: 0;
}

.footer_box a {
    color: #ffffff;
    text-decoration: none;
}

.ft-copy {
    margin-top: 45px;
    padding-bottom: 30px;
}

/* --- トップに戻るボタン --- */

.contents_wrapper {
    position: relative;
}

.topbtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: block;
    background-color: #ffffff;
    border: 2px solid #dc006e;
    color: #dc006e;
    opacity: .9;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: rotate(0.03deg);
    font-weight: 700;
    font-size: 14px;
    width: 65px;
    height: 65px;
    text-align: center;
    line-height: 15px;
    padding-top: 29px;
    border-radius: 50%;
}

.topbtn:before {
    content: '\f106';
    font-family: 'Font Awesome 6 Free';
    position: absolute;
    top: 14px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 15px;
}

.topbtn:hover {
    opacity: 0.7;
    text-decoration: none
}

/* --- boxsub (サブページ共通) ---*/

.boxsub {
    padding-top: 140px;
}

.boxsub_contents {
    max-width: 980px;
    margin: 2.0em auto 3.5em;
}

.boxsub h3 {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5em;
}

.boxsub p + p {
    margin-top: 2.0em;
}

.boxsub .backlink {
    text-align: right;
    margin-bottom: 45px;
}

.boxsub .backlink a {
    border-bottom: 1px solid #dc006e;
}

.notice_items {
    margin: 3.0rem 0;
}

.item_title {
    margin-bottom: 1.0em
}

.item_title h4 {
    padding: 0.7em 0 0.7em 0.5em;
    font-size: 1.6rem;
    color: #00a2ea;
    font-weight: 700;
    background-color: #eaf8ff;
    border: 2px solid;
    border-color: rgba(0, 162, 234, 0.2);
}

.item_title h4::after {
    content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	background: url(../../img/btn_arrow.png) no-repeat right top;
    background-size: cover;
	position: absolute;
	top: 35%;
	right: 17px;
	/*transform: translateY(-50%);*/
	transition: 0.3s;
}

.item_title h4.selected::after {
	transform: rotate(180deg);
	transition: 0.3s;
}

.detail_wrapper {
    display: none;
    margin-top: -0.2rem;
    margin-bottom: 2.0rem;
    padding: 1.5rem;
    font-size: 1.5rem;
    border-radius: 1.0rem;
}

.detail_wrapper p + p,
.detail_wrapper ul + p {
    margin-top: 1.0em;
}

.detail_wrapper ul li {
    text-indent: -1em;
    padding-left: 1em;
}

.detail_wrapper table {
    margin: 1.0em 0;
    text-indent: 0;
    padding-left: 0;
}

.detail_wrapper table tr {
    padding: 0.5em;
}

.detail_wrapper table th,
.detail_wrapper table td {
    padding: 0.8em 0.8em 0.6em;
    border: 1px solid;
    border-color: rgba(0, 162, 234, 0.5);
    text-align: center;
    font-size: 1.4rem;
}

.endtext {
    margin-top: 4.0em;
}

/* --- メディアクエリー --- */

/* --- 1200px以上 --- */

@media screen and (min-width: 1200px) {

    nav {
        display: flex !important
    }

    .box03_contents,
    .box04_contents,
    .box05_contents,
    .box06_contents,
    .box07_contents {
        margin-top: -20px;
    }
    
    /* --- box02 --- */

    .box02 {
        padding-top: 120px;
    }

    .eyecatch {
        width: 100%;
        margin: 0 auto;
    }

    .eyecatch img {
        width: 100vw;
        height: 77vh;
        object-fit: cover;
    }

/* --- box08 --- */

    .box08 .btn-pc {
        top: 150px;
    }
}
    
/* --- カルーセルイメージ位置調整 --- */

@media screen and (min-width: 1201px) and (max-width: 1439px) {
    
    .eyecatch img.img01,
    .eyecatch img.img03 {
        object-position: 50% 41%;
    }

    .eyecatch img.img02 {
        object-position: 50% 60%;
    }

}

/* --- 1200px以下 --- */

@media screen and (max-width: 1200px) {

    body {
        overflow-x: hidden;
        line-height: 1.6;
    }

    h2 {
        padding-top: 1.0em;
        padding-bottom: 0.4em;
    }

    h2:before {
        left: 20%;
    }

    h2:after {
        right: 20%;
    }

    /* --- box01 --- */

    .box01 {
        background: rgba(247, 247, 247, 0.95);
        height: 60px;
    }

    .box01_header {
        flex-direction: row;
        align-items: center;
    }

    .box01_header .sitetitle {
        padding: 5px;
    }

    .box01_header .sitetitle img {
        height: 50px;
        width: auto;
    }

    .box01_inner {
        padding: 0 10px;
    }

    .telinfo_wrapper {
        display: none;
    }

    #box01 .gnavi {
        display: none;
        position: absolute;
        top: 53px;
        left: 0;
        width: 100%;
        background: rgba(247, 247, 247, 0.95);
        z-index: 10
    }

    #box01 .gnavi ul {
        margin: 0 auto;
        width: 90%
    }

    #box01 .gnavi ul li {
        display: block;
        margin: 0 auto;
        padding: 15px 0;
        text-align: center;
        border-bottom: 1px solid #dddddd
    }

    #box01 .gnavi ul li a {
        display: block
    }

    #box01 .gnavi ul li a:active {
        color: #0067cc
    }

    #box01 .gnavi .telinfo {
        color: #dc006e;
    }

    /* 開閉ボタン */

    #gnavi_toggle {
        display: block;
        width: 25px;
        height: 25px;
        position: relative;
        top: -4px;
        z-index: 100;
    }

    #gnavi_toggle div {
        position: relative;
    }

    #gnavi_toggle span {
        display: block;
        height: 3px;
        background: #666666;
        position: absolute;
        width: 100%;
        left: 0;
        -webkit-transition: 0.5s ease-in-out;
        -moz-transition: 0.5s ease-in-out;
        transition: 0.5s ease-in-out;
    }

    #gnavi_toggle span:nth-child(1) {
        top: 0px;
    }

    #gnavi_toggle span:nth-child(2) {
        top: 9px;
    }

    #gnavi_toggle span:nth-child(3) {
        top: 18px;
    }

    /* 開閉ボタンopen時 */

    .open #gnavi_toggle span:nth-child(1) {
        top: 10px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        transform: rotate(135deg);
    }

    .open #gnavi_toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    .open #gnavi_toggle span:nth-child(3) {
        top: 10px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }

    .accordion+div {
        display: none
    }

    /* --- box2 --- */

    .box02 {
        padding-top: 60px
    }

    .box02_contents {
        padding: 0 10px;
    }

    .eyecatch img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 0% 100%;
    }

    .subjects_box > * li.desc {
        padding: 0 1.5em;
    }

    .timetable_wrapper {
        flex-direction: column;
    }

    ul.timetable_desc {
        margin-top: 25PX;
        padding-left: 0;
    }

    ul.timetable_desc li {
        margin-left: 0.75em;
    }

    .timetable_desc .notice h4 {
        margin-bottom: 0.4em;
    }

    /* --- box04 --- */

    .box04_contents {
        padding: 0 15px;
    }

    .box04 .subjects_box {
        margin-top: 0.7em;
    }

    .box04_contents .subjects_box01,
    .box04_contents .subjects_box02,
    .box04_contents .subjects_box03,
    .box04_contents .subjects_box04,
    .box04_contents .subjects_box05,
    .box04_contents .subjects_box06 {
        padding: 0.75em 1.0em;
    }

    .box04_contents .cure_desc_odd,
    .box04_contents .cure_desc_even {
        flex-direction: column;
        align-items: center;
    }

    .box04_contents .cure_desc-text,
    .box04_contents .cure_desc-img {
        width: 100%;
    }

    .box04_contents section h3 {
        padding-left: 0;
    }

    .box04_contents section img {
        margin-left: 0;
        width: 100%;
        max-width: 480px;
        height: auto;
    }

    .cure_desc_odd .cure_desc-text {
        padding-right: 0;
    }

    .cure_desc_even .cure_desc-text {
        padding-left: 0;
    }

    /* --- box05 --- */

    .box05_contents {
        padding: 0 15px;
    }

    .box05 .doc-name {
        text-align: center;
    }

    .box05 .doctor_box,
    .box05 .profile_box {
        flex-direction: column;
    }

    .box05 .doctor_box .doc-pic,
    .box05 .doctor_box .doc-greeting,
    .box05 .profile_box .prof-history,
    .box05 .profile_box .prof-speciality {
        width: 100%;
    }

    .box05 .doc-pic {
        display: block;
        text-align: center;
    }

    .box05 .doc-pic img {
        max-width: 37.5vw;
    }

    .box05 .doc-greeting {
        margin-top: 25px;
    }

    .box05 .profile_box {
        margin-top: 2em;
    }

    .box05 .profile_box .prof-history h4,
    .box05 .profile_box .prof-speciality h4 {
        font-size: 1.6rem;
    }

    .box05 .profile_box .prof-speciality {
        margin-top: 25px;
    }

    /* --- box06 --- */

    .box06_contents {
        padding: 0 15px;
        margin-bottom: 15px;
    }

    .box06 .pics_wrapper {
        flex-direction: column;
    }

    .box06 .pics_wrapper li {
        padding: 10px 0;
        width: 100%;
        margin: 0 auto;
        margin-bottom: 10px;
    }

    .box06 .pics_wrapper li > p {
        margin-top: 5px;
    }

    .box06 .clinfo {
        flex-direction: column-reverse;
        padding-top: 0;
    }

    .box06 .clinfo-txt,
    .box06 .clinfo-pic {
        width: 100%;
    }

    .box06 .clinfo-pic {
        margin-top: 2.0rem;
        padding: 0;
    }

    .box06 .clinfo-txt {
        margin-right: 0;
    }

    .box06 .clinfo-txt {
        border: none;
    }

    .box06 .clinfo-txt_detail {
        flex-direction: column;
        border: none;
        padding: 0;
    }

    .box06 .clinfo .clinfo-txt dl {
        flex-direction: column;
        margin-top: -0.5em;
    }

    .box06 .clinfo-txt_detail dt {
        width: 100%;
        margin-top: 0.5em;
    }

    .box06 .clinfo-txt_detail dd {
        width: 100%;
        text-align: left;
        border-bottom: 1px dashed #cccccc;
        padding-top: 0.2em;
        padding-left: 0;
        padding-bottom: 0.3em;
    }

    /* --- box07 --- */

    .box07_contents {
        padding: 0 15px 25px;
    }

    .box07 .h3-wrapper {
        text-align: center;
    }

    /* --- box08 --- */

    .box08 .btn-pc {
        top: 90px;
    }

    /* --- box09 --- */

    .footer_box {
        padding-top: 30px;
    }

    .footer_box .ft-address {
        flex-direction: column;
    }

    .footer_box .ft-address li {
        margin-left: 0;
    }

    .footer_box .ft-address li:first-child {
        margin-bottom: 0.7em;
    }

    .topbtn {
        right: 15px;
        bottom: 35px;
    }

    .boxsub {
        width: 100%;
        padding-top: 60px;
    }

    .boxsub h3 {
        margin-top: 2.5em;
        font-size: 1.7rem;
    }

    .boxsub_contents {
        padding: 0 15px;
        padding-bottom: 25px;
        margin-bottom: 35px;
    }

}

/* --- 601px以上 --- */

@media screen and (min-width: 601px) {

    /*nav {
        display: flex !important
    }*/

    .box03_contents,
    .box04_contents,
    .box05_contents,
    .box06_contents,
    .box07_contents {
        margin-bottom: 60px;
    }

    h3 {
        font-size: 1.9rem;
    }

    .gnavi li a:hover {
        color: #0067cc;
        transition: all 0.3s ease
    }

    /* --- メニューサイズ縮小時 --- */

    .mininav {
        height: 65px;
        background: rgba(247, 247, 247, 0.90);
    }

    .mininav .sitetitle {
        padding-top: 8px;
    }

    .mininav h1 img {
        width: 240px;
    }

    .mininav .telinfo_wrapper {
        display: none;
    }

    .mininav ul li a {
        font-size: 14px;
    }

    .mininav ul li:last-child {
        display: inline-block;
    }

    .mininav .telinfo a {
        color: #dc006e;
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }

    /* --- box02 --- */

    .subjects_desc_box {
        max-width: 980px;
        margin: 1.5em auto;
        text-align: center;
    }

    .subjects_box > *:nth-child(3n) {
        margin-right: auto;
    }

    .timetable,
    .notice {
        width: 80%;
        max-width: 800px;
    }

    /*--- box03 ---*/

    .box03 section {
        max-width: 980px;
    }

    /*--- box07 ---*/

    .box07_contents {
        max-width: 980px;
    }

    /*--- box08 ---*/

    .box08 .btn-pc {
        display: block;
        position: fixed;
        right: 0px;
        min-width: 3em;
        writing-mode: vertical-rl;
        text-orientation: upright;
        font-feature-settings: initial;
    }

    .box08 .btn-pc p a{
        height: 12em;
        min-width: 3em;
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    .box08 .btn-sp {
        display: none;
    }

}


/* --- 600px未満 --- */

@media screen and (max-width: 599px) {

    body {
        letter-spacing: 0;
        font-size: 1.5rem;
        line-height: 1.7;
    }

    h2 {
        font-size: 1.8rem;
        padding-top: 1.0em;
        padding-bottom: 0.5em;
    }

    h3 {
        font-size: 1.6rem;
        margin-top: 1.8em;
    }

    /* --- box2 --- */

    .box02 {
        padding-top: 60px;
        padding-bottom: 35px;
    }

    .box02_contents {
        margin-top: 0.75em;
        padding: 0 12px;
    }

    .box02_contents h3 {
        font-size: 1.6rem;
    }

    .eyecatch img {
        width: 100vw;
        height: 33.33333vh;
        object-fit: cover;
        object-position: 25% 40%;
    }

    .eyecatch .recruit_banner-wrapper {
        bottom: 0%;
        left: 0%;
        transform: none;
        width: 100%;
        border-radius: 0;
    }

    .recruit_banner {
        width: 100%;
        font-size: 1.4rem;
        border-radius: 0;
        justify-content: center;
        padding: 0.4em 0;
    }

    .eyecatch .recruit_banner img {
        height: 1.6em;
    }

    .eyecatch .recruit_banner h5 {
        margin-left: 0.2em;
    }

    .box02 h3:before {
        bottom: -9px;
        height: 4px;
    }

    .subjects_desc_box {
        padding: 0;
        text-align: justify;
        line-height: 1.6;
    }

    .subjects_box01 ul,
    .subjects_box02 ul,
    .subjects_box03 ul,
    .subjects_box04 ul,
    .subjects_box05 ul,
    .subjects_box06 ul {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .subjects_box > * li.desc {
        font-size: 1.2rem;
        font-weight: 500;
        padding: 0 1.0em;
        height: 3.5em;
    }

    .subjects_box {
        font-size: 1.5rem;
        margin-top: 1.2em;
        font-weight: 700;
    }

    .subjects_box > * {
        width: calc( 50% - 6px );
        margin-right: 12px;
        margin-bottom: 0.7em;
    }

    .subjects_box > *:nth-child(n+5) {
        margin-bottom: auto;
    }

    .subjects_box > *:nth-child(2n) {
        margin-right: auto;
    }

    .subjects_box > * li.icon img {
        max-height: 44px;
        width: auto;
    }

    .subjects_box .box_wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;

    }

    .timetable_wrapper {
        flex-direction: column;
        margin-top: 1.8em;
    }

    .timetable td,
    .timetable th {
        height: 2.8em;
        font-size: 1.4rem;
    }

    .timetable th[scope="row"] {
        line-height: 1.2;
        padding: 1.2rem 0;
        height: 3.8em;
    }

    .timetable th[scope="col"] {
        padding: 0;
        padding-top: 1px;
    }

    .timetable .triangle span {
        font-size: 1.3rem;
        display: block;
        line-height: 0.8;
    }

    table.timetable,
    ul.timetable_desc {
        width: 100%;
    }

    .timetable_desc {
        padding: 0;
        margin-top: 0.6em;
    }

    .timetable_desc ul {
        margin-top: 0.75em;
    }

    .timetable_desc p.closed {
        font-size: 1.4rem;
    }

    .timetable_desc ul li {
        text-align: left;
        padding: 2px 0;
        text-indent: -0.9em;
        padding-left: 1.0em;
        margin-left: 0;
    }

    ul.attention {
        font-size: 1.4rem;
    }

    .timetable_desc .notice {
        margin-top: 1.5em;
    }

    /* --- box03-04,06-07共通 --- */

    .box03,
    .box04,
    .box06,
    .box07 {
        margin-top: -0.3em;
    }

    /* --- box03 --- */

    .box03_contents {
        padding-left: 15px;
        padding-right: 15px;
    }

    .box03_contents section {
        margin-top: 1.5em;
        padding: 0;
        padding-bottom: 1.5em;
    }

    .box03_contents section h4 {
        margin-bottom: 0;
        line-height: 1.5;
    }

    .box03_contents section p {
        margin-top: 1.0rem;
    }

    .box03_contents section ul {
        margin-top: 1.0rem;
        margin-left: 0;
    }

    .box03_contents section ul li {
        text-indent: -1em;
        padding-left: 1em;
    }

    .box03_contents section ul li~li {
        margin-top: 0.7rem;
    }

    .box03_contents .info_flexbox {
        flex-direction: column;
    }

    .box03_contents p {
        padding-right: 0;
    }
    
    .box03_contents div.info_flexbox-img {
        padding-top: 1.0em;
    }
    
    .box03_contents img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        object-position: 50% 5%;
    }

    /* --- box04 --- */

    .box04_contents {
        margin: 0 auto;
        padding: 0 15px;
    }

    .box04_contents .subjects_box {
        font-size: 1.5rem;
    }

    .box04_contents .subjects_box img {
        height: 38px;
    }

    .box04_contents .cure_box {
        margin: 2.4em 0;
    }

    .box04_contents section {
        margin: 1.2em 0;
        padding: 0.8em;
        border-width: 4px;
    }

    .box04_contents section h4 {
        font-size: 1.6rem
    }

    .box04_contents section p {
        margin-top: 1.2em;
    }

    .box04_contents section img {
        margin-top: 0.7em;
        margin-bottom: 0.3em;
    }

    .cure_desc_odd .cure_desc-text {
        padding-right: 0;
    }

    .cure_desc_even .cure_desc-text {
        padding-left: 0;
    }

    .cure_desc_odd .cure_desc-img,
    .cure_desc_even .cure_desc-img {
        padding-top: 1.5em;
    }

    /* --- box05 --- */

    .box05_contents {
        padding: 0 15px;
    }

    .box05_contents p.doc-name {
        font-size: 2.1rem;
    }

    .box05 p.doc-name {
        text-align: center;
    }

    .box05 .doctor_box,
    .box05 .profile_box {
        flex-direction: column;
    }

    .box05 .doctor_box {
        margin-top: 1em;
    }

    .box05 .doc-pic,
    .box05 .prof-history,
    .box05 .prof-speciality {
        width: 100%;
        padding: 0;
        border-width: 4px;
    }

    .box05 .doc-pic {
        margin-top: 0.7em;
        text-align: center;
    }

    .box05 .doc-pic img {
        width: 100%;
        max-width: 60vw;
    }

    .box05 .doc-greeting {
        margin-top: 1.5em;
        padding: 0;
    }

    .box05 .profile_box .prof-history h4,
    .box05 .profile_box .prof-speciality h4 {
        padding-top: 1em;
        padding-left: 0.7em;
    }

    .box05 .prof-history dl,
    .box05 .prof-speciality ul {
        padding: 0 0.7em 1.0em;
        margin-top: 0.5em;
    }

    .box05 .profile_box .prof-history dl dt {
        width: 21%;
    }

    .box05 .profile_box .prof-history dl dd {
        width: 79%;
        padding: 0.3em 0;
    }

    .box05 .prof-speciality .lightbox_box {
        margin-top: -0.3em;
        padding-left: 0.7em;
        padding-bottom: 1.0em;
    }

    /* --- box06 --- */

    .box06 .clinfo {
        justify-content: space-between;
        flex-direction: column-reverse;
        align-items: center;
    } 

    .box06 .clinfo .clinfo-txt {
        margin-top: 0;
        margin-right: 0;
    }

    .box06 .clinfo .clinfo-pic {
        margin-top: 2em;
    }

    .pics_wrapper {
        flex-direction: column;
    }

    .pics_wrapper li {
        width: 100%;
    }

    /* --- box07 --- */

    .box07_contents {
        max-width: 100%;
        margin: 0 auto 45px;
    }

    .box07 img {
        margin-top: 1em;
    }

    .box07 .access {
        margin-top: 2.4em;
    }

    .box07 .access ul+h4 {
        margin-top: 0.7em;
    }

    .box07 .google-map {
        margin: 1.0em 0 20px;
    }

/* --- box08 --- */

    .box08 .btn-pc p {
        display: none;
    }

    .box08 .btn-sp {
        display: block;
        position: fixed;
        z-index: 10000;
        transform: none;
        top: initial;
        bottom: 0;
        right: 0;
        width: 180px;
        overflow: hidden;
    }

    .box08 .btn-sp p a {
        padding: initial;
        padding-top: 11px;
        height: 45px;
        font-size: clamp(1.2rem, 0.927rem + 1.36vw, 1.8rem);
        opacity: initial;
        overflow: hidden;
        border-top-left-radius: 10px;
    }

    /* --- box09 --- */

    .footer_box p.ft-copy {
        font-size: 1.2rem;
        margin-top: 1.0rem;
        padding-bottom: 4.0em;
    }

    /* --- boxsub ---*/

    .notice_items {
        margin: 2.5rem 0 2.8rem;
    }

    .item_title h4 {
        font-size: 1.5rem;
        margin-top: 0;
    }

    .item_title h4::after {
        width: 16px;
        height: 16px;
    }

    .detail_wrapper {
        /*font-size: 1.4rem;*/
        padding: 0 0.2rem;
    }

    .detail_wrapper table th,
    .detail_wrapper table td {
        padding: 0.5em;
        vertical-align: middle;
        font-size: 1.3rem;
    }

    .boxsub .backlink {
        margin-top: 0.5em;
    }

    /* トップに戻るボタン */

    .topbtn {
        right: initial;
        bottom: initial;
        left: 50%;
        transform: translate(-50%);
    }

}