@charset "UTF-8";
/*!
Theme Name: mochizuki-hifuka
Description: もちづき皮ふ科・アレルギー科 広島県呉市 膠原病 アトピー
Theme URI: https://www.mochizuki-hifuka.jp/
Version: 1.0
License:mochizuki-hifuka.jp
License URI: https://www.mochizuki-hifuka.jp/
*/
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

/****************************************

リセットCSSここから

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

html {
    font-size: 62.5%;
    /*1em=10px */
    overflow-y: scroll;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
}

body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
    display: block;
}

ul,
ol {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after {
    content: "";
    content: none;
}

q:before,
q:after {
    content: "";
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    vertical-align: top;
}

/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}

/****************************************

body設定(主に書式)

*****************************************/
body {
    font-family:
        "Noto Sans JP", "メイリオ", Meiryo, "ヒラギノ角ゴ ProN",
        "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    background: #fff;
    color: #2f2f2f;
    line-height: 1.7;
    min-width: 1180px;
}

@media screen and (max-width: 767px) {
    body {
        min-width: initial;
    }
}

/****************************************

ページ共通

*****************************************/
#wrapper {
    width: 100%;
    min-height: 100%;
    float: none;
    margin: 0 auto;
    overflow: hidden;
}

/****************************************

フォント指定

*****************************************/
li,
tt,
tr,
dt,
dd,
p,
figcaption {
    font-size: 1.6rem;
    letter-spacing: 0.03em;
}

h1 {
    color: #7EDCE4;
    font-size: 2.8em;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

h2 {
    font-size: 2.4rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

h3 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

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

    li,
    tt,
    tr,
    dt,
    dd,
    p,
    figcaption {
        font-size: 1.4rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.6rem;
    }
}

/****************************************

リンク指定&オンマウス時のアクション

*****************************************/
a:link,
a:visited {
    color: #000;
    text-decoration: underline;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

a:hover,
a:active {
    color: #7edce4;
    text-decoration: none;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

a img.img_opacity {
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

a:hover img.img_opacity {
    opacity: 0.7;
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

a.tel_link:link,
a.tel_link:visited,
a.tel_link:hover,
a.tel_link:active {
    color: #2f2f2f;
    text-decoration: none;
}

/****************************************

pcヘッダー

*****************************************/
header {
    border-top: 6px solid #7edce4;
}

.header_box {
    width: 100%;
    position: relative;
    margin: 0 auto;
}

.header_area {
    width: 1020px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
}

.header_area p {
    font-size: 12px;
}

.header_info {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.header_tel {
    position: relative;
}

.header_info img {
    position: absolute;
}

@media print,
screen and (min-width: 768px) {

    #sp_navi,
    #toggle {
        display: none;
    }

    a[href^="tel:"] {
        pointer-events: none;
    }

    #header {
        width: 100%;
    }


}

/****************************************

spヘッダー

*****************************************/
@media screen and (max-width: 767px) {
    .header_box {
        margin-bottom: 0px;
    }

    .header_area {
        flex-direction: column;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .header_info {
        display: none;
    }

    .header_area .logo {
        width: auto;
        max-width: 250px;
        margin-left: 10px;
    }

    .header_area .logo img {
        width: 100%;
        height: auto;
    }

    #toggle {
        position: absolute;
        right: 10px;
        top: 18px;
        width: 50px;
        height: 50px;
        border: 1px solid rgba(255, 255, 255, 0.7);
        background: #3796E1;
        cursor: pointer;
        z-index: 9999;
    }

    #toggle div {
        position: relative;
    }

    #toggle span {
        display: block;
        position: absolute;
        right: 12px;
        width: 26px;
        height: 2px;
        background: #fff;
        -webkit-transition: 0.35s ease-in-out;
        transition: 0.35s ease-in-out;
    }

    #toggle span:nth-child(1) {
        top: 11px;
    }

    #toggle span:nth-child(2) {
        top: 18px;
    }

    #toggle span:nth-child(3) {
        top: 25px;
    }

    #toggle::after {
        position: absolute;
        content: "メニュー";
        line-height: 1.2;
        font-size: 1.1rem;
        color: #fff;
        text-align: center;
        bottom: 5px;
        left: 0;
        width: 100%;
    }

    /*spanの絶対位置指定の親にします*/
    .open_navi #toggle {
        position: fixed;
    }

    .open_navi #toggle span {
        background: #fff;
    }

    .open_navi #toggle span:nth-of-type(1) {
        -webkit-transform: translateY(7px) rotate(-315deg);
        -ms-transform: translateY(7px) rotate(-315deg);
        transform: translateY(7px) rotate(-315deg);
    }

    .open_navi #toggle span:nth-of-type(2) {
        opacity: 0;
    }

    .open_navi #toggle span:nth-of-type(3) {
        -webkit-transform: translateY(-7px) rotate(315deg);
        -ms-transform: translateY(-7px) rotate(315deg);
        transform: translateY(-7px) rotate(315deg);
    }

    #sp_navi {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 100vw;
        overflow-y: scroll;
        text-align: left;
        background: #43D1CE;
        z-index: 999;
        -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        transform: translateY(-100%);
        -webkit-transition: 0.7s ease-in-out;
        transition: 0.7s ease-in-out;
    }

    .open_navi #sp_navi {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
        -webkit-transition: 0.7s ease-in-out;
        transition: 0.7s ease-in-out;
    }

    .open_navi #wrapper {
        -webkit-transform-origin: left center;
        -ms-transform-origin: left center;
        transform-origin: left center;
        -webkit-filter: blur(3px);
        filter: blur(3px);
        -webkit-transition: 0.7s ease-in-out;
        transition: 0.7s ease-in-out;
    }

    #sp_navi .menu {
        padding-top: 80px;
        text-align: center;
    }

    #sp_navi .menu .menu-item {
        width: 100%;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.5);
        cursor: pointer;
        color: #fff;
        margin: 0 auto;
        font-size: 1.4rem;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        font-weight: bold;
    }

    #sp_navi .menu-item a,
    #sp_navi .menu-item span {
        display: block;
        padding: 15px 0 14px;
    }

    #sp_navi .menu-item a:link,
    #sp_navi .menu-item a:visited,
    #sp_navi .menu-item a:hover,
    #sp_navi .menu-item a:active {
        color: #fff;
        text-decoration: none;
    }

    #sp_navi .sub-menu {
        width: 100%;
        text-align: center;
        display: none;
    }

    #sp_navi .sub-menu li {
        width: 100%;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.5);
    }

    #sp_navi .sub-menu li a {
        display: block;
        padding: 11px 0 10px;
        color: #ccc;
        background: #3796E1;
    }

    #sp_navi .sub-menu li a:link,
    #sp_navi .sub-menu li a:visited,
    #sp_navi .sub-menu li a:hover,
    #sp_navi .sub-menu li a:active {
        color: #fff;
        text-decoration: none;
    }

    #sp_navi .sub-menu li a:hover {
        color: #ccc;
        background: none;
    }

    #sp_navi .menu-item-has-children {
        position: relative;
    }

    #sp_navi .menu-item-has-children::before {
        content: "";
        width: 14px;
        height: 14px;
        border: 0px;
        border-top: 1px solid rgba(255, 255, 255, 0.8);
        border-right: 1px solid rgba(255, 255, 255, 0.8);
        -webkit-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
        transform: rotate(135deg);
        -webkit-transition: 0.2s ease-in-out;
        transition: 0.2s ease-in-out;
        position: absolute;
        top: 14px;
        right: 20px;
    }

    #sp_navi .menu-item-has-children.menu_open::before {
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        -webkit-transition: 0.2s ease-in-out;
        transition: 0.2s ease-in-out;
        top: 22px;
    }
}

/****************************************

pc用 横ナビ

*****************************************/
#g_navi {
    width: 1000px;
    margin: 0 auto;
    padding-top: 15px;
}

#g_navi .menu {
    *zoom: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style-type: none;
}

#g_navi .menu>li {
    position: relative;
    width: 200px;
    height: 70px;
    text-align: center;
}

#g_navi .menu>li>a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
    color: #2f2f2f;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1;
    text-decoration: none;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

#g_navi .menu>li>a span {
    display: block;
    margin-top: 10px;
    color: #ace3e8;
    font-size: 1.1rem;
}

#g_navi .menu>li>a:link,
#g_navi .menu>li>a:visited {
    color: #2f2f2f;
}

#g_navi .menu>li>a:hover,
#g_navi .menu>li>a:active {
    color: #7edce4;
}

#g_navi .menu>li:not(:last-child)::before {
    position: absolute;
    content: "";
    top: 50%;
    right: 0;
    width: 1px;
    height: 20px;
    background-color: #CCC;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#g_navi .menu li ul {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    list-style: none;
    width: 100%;
    margin: 0;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

#g_navi .menu li ul li {
    width: 100%;
}

#g_navi .menu li ul li a {
    display: block;
    width: auto;
    padding: 12px 5px;
    background-color: #7edce4;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    font-size: 1.4rem;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    visibility: hidden;
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

#g_navi .menu li ul li a:link,
#g_navi .menu li ul li a:visited {
    background-color: #7edce4;
    color: #fff;
}

#g_navi .menu li ul li a:hover,
#g_navi .menu li ul li a:active {
    background-color: #2c90df;
    color: #fff;
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

#g_navi .menu li:hover ul {
    visibility: visible;
    opacity: 0.95;
}

#g_navi .menu li:hover ul li a {
    visibility: visible;
    opacity: 1;
}

/* ナビ下線用 */
@media print,
screen and (min-width: 768px) {
    .menu>li>a {
        position: relative;
        display: inline-block;
        -webkit-transition: 0.6s;
        transition: 0.6s;
    }

    .menu>li>a::before,
    .menu>li>a::after {
        position: absolute;
        bottom: 0;
        content: "";
        width: 0;
        height: 3px;
        background-color: #7edce4;
        -webkit-transition: 0.6s;
        transition: 0.6s;
    }

    .menu>li>a::before {
        left: 50%;
    }

    .menu>li>a::after {
        right: 50%;
    }

    .menu>li>a:hover::before,
    .menu>li>a:hover::after {
        width: 50%;
        opacity: 0.9;
        filter: alpha(opacity=90);
    }
}

@media screen and (max-width: 1280px) {
    #g_navi {
        width: 900px;
    }

    #g_navi .menu>li {
        width: 180px;
    }
}

@media screen and (max-width: 1180px) {
    #g_navi {
        margin: 0 20px 0 auto;
    }
}

@media screen and (max-width: 767px) {
    #g_navi {
        display: none;
    }
}

/****************************************

メインビジュアル

*****************************************/
#slider {
    width: 100%;
    position: relative;
    text-align: center;
    margin-bottom: 60px;
}

#slider .metaslider {
    position: relative;
}

#slider .metaslider img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

@media print,
screen and (min-width: 768px) {



    #slider .metaslider img {}
}

#slider .slider_txt {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    text-align: center;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    content: "";
}

#mv {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    padding-top: 90px;
    padding-bottom: 90px;
    width: 100% !important;
    margin: 0 auto;
    padding: 0 15px !important;
    background: url(images/bg_taser_sub.jpg) center no-repeat;
    height: 220px;
}

@media print,
screen and (min-width: 768px) {

    #mv .mv_txt {
        top:45%
}

}

#mv .mv_txt {
    position: absolute;
    max-width: 1030px !important;
    width: 100% !important;
    margin: 0 auto;
    text-align: right;
}

#mv .mv_tit {
    box-sizing: border-box;
    max-width: 370px;
}

@media screen and (max-width: 1180px) {
    #slider .metaslider {
        width: calc(100% - 40px);
    }
}

.ms-edit-frontend {
    display: none;
}

@media screen and (max-width: 767px) {
    #slider .metaslider {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        width: 100% !important;
        overflow: hidden;
    }

    #slider {
        margin-bottom: 30px;
    }

    #slider .slider_txt {
        width: calc(100% - 80px);
    }

    #slider .slider_txt img {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }

    #slider::after {
        display: none;
    }

    #mv {
        width: calc(100% - 50px);
        height: 160px;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background-position: calc(50% - 230px) center;
        background-size: cover;
        position: relative;
    }

    #mv .mv_txt {
        position: absolute;
    }

    #mv .mv_tit {
        text-align: center;
        padding-top: 0px;
        width: 100%;
        height: auto;
    }


    #mv .mv_txt img {
        height: auto;
        width: 100%;
        max-width: 100%;
    }

}

/****************************************

content 共通設定

*****************************************/
main#top_main {
    width: 100%;
}

main#page_main {
    width: 1020px;
    margin: 0 auto 60px;
}

main#single_main {
    width: 920px;
    margin: 0 auto 60px;
}

.breadcrumb_area {
    width: 1020px;
    margin: 0 auto 30px;
    padding-top: 20px;
}

.breadcrumb_area .breadcrumb {
    text-align: right;
}

.breadcrumb_area .breadcrumb p {
    font-size: 1.4rem;
}

.breadcrumb_area .breadcrumb p a {
    color: #2f2f2f;
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.breadcrumb_area .breadcrumb p a::after {
    position: absolute;
    bottom: 0px;
    left: 0;
    content: "";
    width: 100%;
    height: 1px;
    background: #2f2f2f;
    -webkit-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transform-origin: right top;
    -ms-transform-origin: right top;
    transform-origin: right top;
    -webkit-transition: -webkit-transform 0.3s;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition:
        transform 0.3s,
        -webkit-transform 0.3s;
}

.breadcrumb_area .breadcrumb p a:hover::after {
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
}

@media screen and (max-width: 767px) {
    main#top_main {
        padding: 10px 10px 0;
    }

    main#page_main,
    main#single_main {
        width: 100%;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .breadcrumb_area {
        width: 100%;
        margin-bottom: 20px;
    }

    .breadcrumb_area .breadcrumb p {
        font-size: 1.2rem;
    }
}

/****************************************

contentトップ用

*****************************************/
.top_box01 {
    width: 1020px;
    margin: 0 auto;
    padding-bottom: 80px;
    background: url(images/bg_index01.png) right bottom no-repeat;
}

.txt_topbox01 {
    width: 1020px;
    margin-bottom: 40px;
    text-align: center;
}

.top_box01 .btn_topbox01 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 0 30px;
}

.top_box02 {
    width: 100%;
    background-color: #e4fcfe;
    padding: 60px 0px;
}

.top_box02 .bnr_box {
    width: 1030px;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 80px;
}

.bnr_topbox02 {
    max-width: 460px;
    width: 460px;
}

.bnr_topbox02 .txt_topbox02 {
    background-color: #fff;
    padding: 30px 20px;
}

.top_box03 {
    padding-top: 100px;
    padding-bottom: 70px;
    width: 1030px;
    margin: 0 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    gap: 50px;
    background: url(images/bg_index02.jpg) top right no-repeat;
}

.top_box03 .btn_topbox03 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: space-between;
    gap: 0 30px;
    max-width: 282px;
}


.parking_box {
    text-align: center;
    margin-bottom: 30px;
}

@media print,
screen and (min-width: 768px) {}

@media screen and (max-width: 767px) {
    .top_box01 {
        width: 100%;
        padding-bottom: 30px;
        background: none;
    }

    .top_box01 .txt_box {
        width: 100%;
    }

    .txt_topbox01 {
        width: 100%;
        text-align: left;
        margin-bottom: 20px;
    }

    .top_box01 .btn_topbox01 {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .top_box02 {
        width: calc(100% + 20px);
        transform: translateX(-10px);
        height: auto;
        padding: 30px 20px;
    }

    .top_box02 .bnr_box {
        width: 100%;
        flex-direction: column;
        gap: 30px;
    }

    .bnr_topbox02 {
        width: 100%;
    }

    .bnr_topbox02 img {
        width: 100%;
        height: auto;
        margin-left: auto;
        margin-right: auto;
    }

    .bnr_topbox02 .txt_topbox02 {
        width: 100%;
        padding: 15px;
    }

    .top_box03 {
        display: block;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background: none;
        padding-bottom: 30px;
        padding-top: 30px;
        gap: 30px;
    }

    .top_box03 .btn_topbox03 {
        width: 100%;
        align-items: center;
        flex-direction: column;
        margin-left: auto;
        margin-right: auto;
    }

    .top_img370 {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;

    }



    .top_img370 img {
        max-width: 370px;
        height: auto;
        width: 100%;

    }
}

/****************************************

news トップ用

*****************************************/
#news_top {
    width: 1020px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}

.date {
    color: #000;
    font-size: 16px !important;
    font-weight: normal !important;
}

.news_tit {
    color: #000;
    font-size: 16px !important;
    font-weight: normal !important;
    margin-bottom: 10px;
}

.news_post {
    overflow-y: scroll;
    height: 235px;
}

.news_list {
    margin-bottom: 10px;
    padding-bottom: 20px;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
}

.news_box .btn01 {
    margin: 50px auto 0;
}

.news_txt {
    color: #000;
    font-size: 16px !important;
    font-weight: 600;
}

@media screen and (max-width: 767px) {
    #news_top {
        width: 100%;
        margin-bottom: 30px;
    }

    .news_list h3 {
        padding-bottom: 5px;
    }
}

/****************************************

content下層用

*****************************************/
/* フレックス設定 */
.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.flex_r {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

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

    .flex figure,
    .flex_r figure {
        margin-top: 20px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

/* 02ご挨拶 */
.greeting_box01 {
    width: 1020px;
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-bottom: 20px;
}

.name {
    margin-top: 30px;
    font-size: 1.8rem;
}

.txt_greeting {
    width: 750px;
    line-height: 1.8;
    padding: 30px 40px;
    background: rgba(224, 247, 248, 0.5);
    position: absolute;
    bottom: 0;
    right: 0;

}

.greeting_box02 {}

.greeting_box02 li {
    display: flex;
    padding: 8px 0px;
    border-bottom: 1px dotted #0e5878;
}

.year {
    width: 150px;
    position: relative;
}

.greeting_box02 li .year::before {
    content: "◆";
    color: #fdd100;
}

.greeting_tit {
    position: relative;
}

.greeting_tit::before {
    content: "◆";
    color: #fdd100;
}

@media screen and (max-width: 767px) {
    .greeting_box01 {
        width: 100%;
        height: auto;
        padding: 10px 0;
        flex-wrap: wrap;
        position: static;
    }

    .greeting_box01 img {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .greeting_box01_txt {
        width: 100%;
        max-width: 350px;
        background-size: contain;
    }

    .name {
        margin-top: 15px;
        font-size: 1.6rem;
    }

    .txt_greeting {
        width: 100%;
        padding: 20px 15px;
        position: static;
    }

    .txt_greeting p {
        width: 100%;
    }

    .greeting_box02 li {
        flex-wrap: wrap;
    }

    .year {
        width: 100%;
    }

    .greeting_tit {
        width: 100;
    }
}

/* 03院内設備 */
.txt_about {
    width: 860px;
    margin: 0 auto;
    text-align: center;
}

.about_box ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media screen and (max-width: 767px) {
    .about_box {
        width: 100%;
        margin: 0 auto;
    }

    .txt_about {
        width: 100%;
        text-align: left;
    }

    .about_box ul {
        flex-direction: column;
        max-width: 320px;
        margin: 0 auto;
    }
}

/* 04アレルギー疾患*/
.allergy_box img {
    width: 100%;
    height: auto;
}

.img_allergy01 {
    max-width: 876px;
    height: auto;
}

.img_allergy02 {
    max-width: 620px;
    height: auto;
}


@media screen and (max-width: 767px) {
    .allergy_box p {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* 05膠原病 */

@media print,
screen and (max-width: 768px) {
    .colloagen_box p {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* 06薬の塗り方 */
.medicine_box {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

@media screen and (max-width: 767px) {
    .medicine_box {
        flex-direction: column;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }

}

/* 07よくある質問 */
.answer {
    padding: 5px 0px 20px 80px;
    margin-bottom: 30px;
    margin-top: 20px;
    background: url(images/ico_a.png) left top no-repeat;
}

@media screen and (max-width: 767px) {
    .answer {
        background-size: 35px;
        padding-left: 45px;
        padding-top: 9px;
        padding-bottom: 9px;
        height: auto;
        background-position: left top;
        margin-bottom: 20px;
        margin-top: 10px;
    }
}

/* 08医院概要 */
.overview_box {
    width: 1020px;
}

.img_parking {
    margin: 0px auto 100px auto;
}

.googlemap iframe {
    width: 100%;
    height: 400px;
    overflow: visible !important;
}

@media print,
screen and (max-width: 768px) {
    .img_parking {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }


    .overview_box {
        width: 100%;
    }

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

/* 09お問い合わせ */
.site_policy {
    text-align: center;
    background-color: #eaeaea;
    padding: 30px;
}

.site_policy p {
    font-size: 14px;
}

.policy_tit {
    font-weight: normal;
    font-size: 18px;
    margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
    .site_policy {
        text-align: left;
        background-color: #eaeaea;
        padding: 20px 15px;
    }

    .policy_tit {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .blog_wrap {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        gap: 40px 4%;
    }

    .blog_parts {
        width: 48%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .blog_parts figure {
        width: 100%;
        margin-bottom: 12px;
    }

    .blog_parts .blog_txt {
        width: 100%;
    }

    .blog_parts .blog_txt h2 {
        margin-bottom: 10px;
        font-size: 1.4rem;
    }

    .blog_parts .blog_txt .date {
        margin-bottom: 5px;
        font-size: 1.2rem;
    }

    .blog_parts .blog_txt p {
        font-size: 1.2rem;
    }

    .blog_parts .blog_txt .btn02 {
        width: 130px;
        margin: 20px auto 0;
    }

    .blog_parts .blog_txt .btn02 a::before {
        display: none;
    }

    .blog_parts:not(:last-child) {
        margin-bottom: 0;
    }
}

/****************************************

single.php

*****************************************/
.single_box .date {
    display: block;
    margin-bottom: 15px;
    color: #000;
    font-size: 1.5rem;
}

.single_box img {
    max-width: 900px;
    width: auto;
    height: auto;
    margin: 10px 10px 10px 0;
}

.nav-below {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    margin: 70px auto 0;
}

.nav-below .list {
    width: 250px;
    background: #7edce4;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.nav-below .list a {
    display: block;
    padding: 15px 5px;
    color: #fff;
    font-size: 1.5rem;
    text-align: center;
    text-decoration: none;
}

.nav-below .list:hover {
    background: #7edce4;
    opacity: 0.7;
}

.nav-below>a {
    display: block;
    width: 140px;
    padding: 15px 5px;
    background: #1C99D4;
    font-size: 1.5rem;
    text-align: center;
    text-decoration: none;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.nav-below>a span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.nav-below>a:hover {
    background: #1C99D4;
    opacity: 0.7;
}

.pager {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-line-pack: center;
    align-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

a.page-numbers {
    background: rgba(0, 0, 0, 0.02);
    border: solid 1px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 5px 12px;
    margin: 0 3px 5px;
    font-size: 1.4rem;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

a.page-numbers:link,
a.page-numbers:visited {
    color: #222;
    text-decoration: none;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

a.page-numbers:hover,
a.page-numbers:active {
    color: #999;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.pager .current {
    background: rgba(0, 0, 0, 0.02);
    border: solid 1px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 5px 12px;
    margin: 0 3px 5px;
    font-size: 1.6rem;
    background: rgb(0, 0, 0);
    border: solid 1px rgb(0, 0, 0);
    color: rgb(255, 255, 255);
}

@media screen and (max-width: 767px) {
    .single_box .date {
        font-size: 1.4rem;
    }

    .single_box img {
        max-width: 100%;
        margin: 10px 0;
    }

    .nav-below {
        width: 100%;
        margin-top: 50px;
    }

    .nav-below .list {
        width: 40%;
    }

    .nav-below .list a {
        font-size: 1.3rem;
    }

    .nav-below>a {
        width: 30%;
        font-size: 1.3rem;
    }
}

/****************************************

aside

*****************************************/
#bottom_area {
    margin: 0 auto;
}

.bottom_info {
    margin-left: auto;
    margin-right: auto;
    width: 1020px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 110px;
    padding: 35px 40px;
    background: url(images/bg_contact.png) right center no-repeat;
    background-size: cover;
    border: #9a9a9a dotted 1px;
    position: relative;
}

.bottom_box {
    position: absolute;
    right: 40px;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: right;
}


.googlemap {
    width: 100%;
    height: 400px;
}

.googlemap iframe {
    width: 100%;
    height: 400px;
    overflow: visible !important;
}

#overview_access .googlemap {
    width: 100%;
    height: 450px;
}

#overview_access .googlemap iframe {
    width: 100%;
    height: 450px;
    overflow: visible !important;
}

@media print screen and (min-width: 768px) {}

@media screen and (max-width: 767px) {
    #bottom_area {
        width: 100%;
        height: auto;
        padding: 0px 10px;
    }

    .bottom_info {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding: 20px 10px;
        gap: 10px;
        background-position: center;
        margin-bottom: 30px;
    }

    .bottom_info .img_bottom {
        width: 100%;
        height: auto;
    }

    .bottom_box {
        position: static;
        margin: 0 auto;
        gap: 10px;
    }

    .bottom_box .img_bottom {
        max-width: 280px;
    }

    .bottom_box .bottom_tel {
        width: 100%;
        max-width: 319px;
        height: auto;
    }

    .bottom_box img {
        width: 100%;
        height: auto;
    }

    .bottom_box a {
        margin: 0 auto;
    }

    #overview_access .googlemap {
        width: 100%;
        height: 250px;
    }

    #overview_access .googlemap iframe {
        height: 250px;
    }

    .googlemap {
        height: 250px;
    }

    .googlemap iframe {
        width: 100%;
        height: 250px;
    }

    #bottom_area .googlemap {
        width: calc(100% + 40px);
        transform: translateX(-20px);
    }
}


/****************************************

テーブル

*****************************************/

.overview_table {
    width: 100%;
    border-collapse: collapse;
}

.overview_table th,
.overview_table td {
    padding: 12px 20px;
    border: 1px solid #ccc;
    text-align: left;
    vertical-align: middle;
}

.overview_table th {
    width: 30%;
    background: #afe9ed;
    color: #1478A7;
    font-weight: bold;
}

.overview_table td {
    width: 70%;
    background: #fff;
}

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

    .overview_table th,
    .overview_table td {
        display: block;
        width: 100%;
        padding: 12px 15px;
    }

    .overview_table th {
        border-bottom: none;
    }

    .overview_table tr:not(:last-child) td {
        margin-bottom: 10px;
    }

    .fee_table01 th,
    .fee_table01 td {
        padding: 12px 15px;
    }

    .fee_table02 th,
    .fee_table02 td {
        padding: 12px 15px;
    }

    .fee_table02 th.thead {
        padding: 8px 15px;
        font-size: 1.4rem;
    }

    .fee_table02 th {
        width: 60%;
    }

    .fee_table02 td {
        width: 40%;
    }
}

/****************************************

ボタン

*****************************************/
.btn01 {
    width: 270px;
    border: 2px solid #7EDCE4;
    border-radius: 12px;
    background: #7EDCE4;
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

.btn01 a {
    display: inline-block;
    position: relative;
    text-decoration: none;
    padding: 13px 0;
    width: 100%;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-align: center;
}

.btn01 a:before {
    position: absolute;
    top: 42%;
    right: 20px;
    width: 8px;
    height: 8px;
    border-top: 3px solid #fde459;
    border-right: 3px solid #fde459;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    content: "";
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

.btn01:hover {
    background: #fff;
}

.btn01:hover a {
    color: #7EDCE4;
}

.btn01:hover a::before {
    right: 15px;
    border-top-color: #7EDCE4;
    border-right-color: #7EDCE4;
}

.btn02 {
    width: 270px;
    border: 2px solid #fde459;
    border-radius: 12px;
    background: #fde459;
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

.btn02 a {
    display: inline-block;
    position: relative;
    text-decoration: none;
    padding: 13px 0;
    width: 100%;
    color: #2f2f2f;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-align: center;
}

.btn02 a:before {
    position: absolute;
    top: 42%;
    right: 20px;
    width: 8px;
    height: 8px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    content: "";
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

.btn02:hover {
    border-color: #1C99D4;
    background: #fff;
}

.btn02:hover a::before {
    right: 15px;
}

.b_btn {
    width: 350px;
    border-radius: 50px;
    border: 2px solid #fff;
    background: #7EDCE4;
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

.b_btn a {
    display: inline-block;
    position: relative;
    text-decoration: none;
    padding: 13px 0;
    width: 100%;
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-align: center;
}

.b_btn a:before {
    position: absolute;
    top: 42%;
    right: 20px;
    width: 8px;
    height: 8px;
    border-top: 3px solid #fde459;
    border-right: 3px solid #fde459;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    content: "";
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

.b_btn:hover {
    background: #fff;
}

.b_btn:hover a {
    color: #7EDCE4;
}

.b_btn:hover a::before {
    right: 15px;
    border-top-color: #7EDCE4;
    border-right-color: #7EDCE4;
}

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

    .btn01 a,
    .btn02 a {
        padding: 11px 0;
        font-size: 1.3rem;
    }

    .btn01 a::before,
    .btn02 a::before {
        width: 6px;
        height: 6px;
    }

    .b_btn {
        width: 270px;
    }

    .b_btn a {
        padding: 11px 0;
        font-size: 1.3rem;
    }

    .b_btn a::before {
        width: 6px;
        height: 6px;
    }
}

/****************************************

txt設定

*****************************************/
.mb10 {
    margin-bottom: 10px;
}

.mb20 {
    margin-bottom: 20px;
}

.mb30 {
    margin-bottom: 30px;
}

.mb40 {
    margin-bottom: 40px;
}

.mb50 {
    margin-bottom: 50px;
}

.mb60 {
    margin-bottom: 60px;
}

.mb70 {
    margin-bottom: 70px;
}

.mb80 {
    margin-bottom: 80px;
}

.ml15 {
    margin-left: 15px;
}

.mt30 {
    margin-top: 30px;
}

.txt580 {
    width: 580px;
}

@media screen and (max-width: 767px) {
    .mt30 {
        margin-top: 20px;
    }

    .mb40 {
        margin-bottom: 30px;
    }

    .mb50,
    .mb60,
    .mb70,
    .mb80 {
        margin-bottom: 30px;
    }

    .txt580 {
        width: 100%;
    }
}

/****************************************

P

*****************************************/
/* 改行 */
.line_break {
    padding-top: 20px;
}

@media print,
screen and (min-width: 768px) {
    .br-pc {
        display: block;
    }

    .br-sp {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .br-pc {
        display: none;
    }

    .br-sp {
        display: block;
    }
}

/* 強調 */
.bold {
    font-weight: bold;
}

.big {
    font-size: 1.8rem;
}

.red {
    color: #d80700;
}

.blue {
    color: #1967a5;
}

@media screen and (max-width: 767px) {
    .big {
        font-size: 1.6rem;
    }
}

/* 位置 */
@media print,
screen and (min-width: 768px) {
    .align_center {
        text-align: center;
    }
}

/****************************************

img

*****************************************/
/* ホバー時にズーム */
figure.img_zoom {
    position: relative;
    overflow: hidden;
}

/*
figure.img_zoom a {
    display: block;
    position: relative;
    background: #1967a5;
}

figure.img_zoom a::before {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 0;
    position: absolute;
    content: "詳しく見る";
    top: 50%;
    left: 50%;
    z-index: 2;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    text-align: center;
    -webkit-transition: 0.4s linear;
    transition: 0.4s linear;
}

figure.img_zoom a::after {
    display: block;
    content: "";
    padding-top: 75%;
}
*/
figure.img_zoom img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: "object-fit: cover;";
    -o-object-fit: cover;
    object-fit: cover;
    opacity: 1;
    -webkit-transition: 0.3s linear;
    transition: 0.3s linear;
}

figure.img_zoom:hover img {
    opacity: 0.5;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

figure.img_zoom:hover a::before,
figure.img_zoom:hover a::after {
    opacity: 1;
}

.img400 {
    width: 400px;
    height: auto;
}

.img_radius {
    border-radius: 10px;
}

@media screen and (max-width: 767px) {
    .img_zoom::before {
        font-size: 1.4rem;
    }

    .img400 {
        width: 100%;
        max-width: 400px;
    }
}

/****************************************

トップページタイトル

*****************************************/
.top_headline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    font-size: 30px;
    color: #333;
    margin: 40px 0;
    text-align: center;
    position: relative;
}

.top_headline::before,
.top_headline::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 28%;
    height: 1px;
    background-color: #3b82c4;
}

.top_headline::before {
    left: 0;
    background: linear-gradient(to right, transparent, #3b82c4);
}

.top_headline::after {
    right: 0;
    background: linear-gradient(to left, transparent, #3b82c4);
}


.top_subhead01,
.top_news_tit {
    margin-bottom: 40px;
    padding-left: 80px;
    background-image: url(images/bg_tit_index02.jpg);
    background-position: left center;
    background-repeat: no-repeat;
    font-size: 29px;
    font-weight: bold;
}

@media screen and (max-width: 767px) {
    .top_headline {
        width: 100%;
        font-size: 20px;
        margin: 0 0 20px 0;
        gap: 20px;
    }

    .top_headline::before,
    .top_headline::after {
        content: "";
        flex: 1;
        height: 1px;
        top: 50%;
        width: 12%;
    }


    .top_subhead01,
    .top_news_tit {
        margin-bottom: 20px;
        width: 100%;
        font-size: 20px;
        font-weight: bold;
        padding-left: 40px;
        background-size: 25px;
    }
}

/****************************************

下層ページタイトル

*****************************************/
.headline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    font-size: 30px;
    color: #333;
    margin: 40px 0;
    text-align: center;
}

.headline::before,
.headline::after {
    content: "";
    flex: 1;
    height: 2px;
    background-color: #3b82c4;
}

.single_tit {
    width: 1020px;
    font-size: 30px;
    color: #333;
    margin-top: 40px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.single_tit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    font-size: 30px;
    color: #333;
    margin: 40px 0;
    text-align: center;
}

.single_tit::before,
.single_tit::after {
    content: "";
    flex: 1;
    /* ← ここがポイント */
    height: 2px;
    background-color: #3b82c4;
}

.h2_subhead01 {
    color: #fff;
    position: relative;
    height: 52px;
    padding: 10px 17px 10px 70px;
    background: url(images/bg_tit_blue.png) #7cdae2 no-repeat;
    margin-bottom: 30px;
}

.h2_subhead02 {
    font-size: 16px;
    font-weight: normal;
    margin-bottom: 30px;
    padding: 8px 0px;
    border-bottom: 1px dotted #0e5878;
}

.h2_subhead02::before {
    content: "◆";
    color: #fdd100;
}

.h3_subhead01 {
    color: #2c90df;
    margin-bottom: 20px;
    border-top: solid 1px #cccccc;
    border-bottom: solid 1px #cccccc;
    padding: 5px 0px 5px 15px;
    position: relative;
}

.h3_subhead01::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: calc(100% - 20px);
    background: #2c90df;
}

.h3_faq {
    color: #000;
    font-weight: normal;
    height: 80px;
    background: url(images/ico_q.png) left center no-repeat;
    padding: 25px 0px 20px 80px;
    border-bottom: 1px dotted #000;
}

@media screen and (max-width: 767px) {
    .headline {
        width: 100%;
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
        gap: 30px;
    }

    .h2_subhead01 {
        height: 35px;
        background-size: 35px;
        font-size: 18px;
        padding: 4px 8px 5px 40px;
        margin-bottom: 10px;

    }

    .h3_subhead01 {
        margin-bottom: 10px;
    }

    .single_tit {
        width: 100%;
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: 10px;
        gap: 30px;
    }

    .h3_faq {
        background-size: 35px;
        padding-left: 45px;
        padding-top: 9px;
        padding-bottom: 9px;
        height: auto;
        background-position: left center;
    }
}

/****************************************

sp_footer

*****************************************/
@media screen and (max-width: 767px) {
    #pc_footer {
        display: none;
    }

    .sp_footer_box {
        background: url(images/f_bg.jpg) center 40% no-repeat;
        background-size: cover;
        height: auto;
        width: auto;
        padding-top: 20px;
    }

    .sp_footer_info {
        width: 100%;
        margin: 0 auto;
        padding: 15px 10px 20px;
        text-align: center;
    }

    .sp_footer_box .sp_footer_logo {
        margin-bottom: 20px;
        width: 100%;
    }

    .sp_footer_logo img {
        width: 80%;
        height: auto;
    }

    .sp_copyright {
        display: block;
        padding-top: 3px;
        padding-bottom: 53px;
        background: #7cdae2;
        color: #fff;
        font-size: 1rem;
        text-align: center;
        align: center;
    }

    #sp_foote .bottom_tel {
        margin-bottom: 10px;
    }

    #sp_footer .sp_bnr {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        position: fixed;
        width: 100%;
        height: 50px;
        bottom: 0;
        left: 0;
        z-index: 99;
    }

    #sp_footer .sp_bnr .sp_bnr_parts {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        position: relative;
        width: 25%;
        background: #3796E1;
        border-top: 1px solid rgba(255, 255, 255, 0.8);
    }

    #sp_footer .sp_bnr .sp_bnr_parts:not(:last-child) {
        border-right: 1px solid rgba(255, 255, 255, 0.8);
    }

    #sp_footer .sp_bnr .sp_bnr_parts>a {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
    }

    #sp_footer .sp_bnr .sp_bnr_parts img {
        width: 20px;
        height: 20px;
        margin-bottom: 7px;
    }

    #sp_footer .sp_bnr .sp_bnr_parts p {
        color: #fff;
        font-size: 1rem;
        line-height: 1;
        text-align: center;
    }

    #sp_footer .sp_footer_box .sp_logo {
        width: 100%;
        height: auto;
        max-width: 369px;
        margin: 0 auto 15px;
    }

    #sp_footer .sp_footer_box .sp_add {
        margin-bottom: 10px;
        text-align: center;
    }

    #sp_footer .sp_footer_box .sp_copyright {
        display: block;
        font-size: 1.1rem;
        text-align: center;
    }
}

/****************************************

pc_footer

*****************************************/
@media print,
screen and (min-width: 768px) {
    #sp_footer {
        display: none;
    }


    .pc_footer_follow {
        display: flex;
        flex-direction: column;
    }

    .btn_contact {
        position: fixed;
        right: 0;
        bottom: 210px;
        z-index: 1026;
    }

    .pagetop {
        position: fixed;
        right: 25px;
        bottom: 120px;
        z-index: 1026;
        -webkit-transition: 0.3s linear;
        transition: 0.3s linear;
    }

    .pc_footer_box {
        background: url(images/f_bg.jpg) center no-repeat;
        background-size: cover;
        height: 410px;
    }

    .pc_footer_info {
        width: 1020px;
        margin: 0 auto;
        padding: 35px 0 40px;
    }

    .pc_footer_box .footer_logo {
        margin-bottom: 25px;
    }

    .pc_copyright {
        display: block;
        padding: 3px 0px;
        background: #7cdae2;
        color: #fff;
        font-size: 1rem;
        text-align: center;
    }

    .bottom_tel {
        margin-bottom: 30px;
    }
}

/****************************************

Contact Form7

*****************************************/
/* フォームカラー */
.wpcf7 {
    width: 100%;
}

.wpcf7-form textarea {
    width: 100%;
    /*本文*/
    max-width: 100%;
    padding: 3px 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.wpcf7-form select {
    width: auto;
    padding: 3px 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.wpcf7-form input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    /*ラジオボタン、チェックボタン*/
}

/* 送信ボタン */
.tc {
    text-align: center;
}

.wpcf7 .tc input[type="submit"] {
    cursor: pointer;
    width: 410px;
    max-width: 100%;
    padding: 18px;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px #7EDCE4 solid;
    border-radius: 8px;
    background-color: #7EDCE4;
    color: #fff;
    font-family:
        "Noto Sans JP", "メイリオ", Meiryo, "ヒラギノ角ゴ ProN",
        "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-size: 18px;
    text-align: center;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-top: 30px;
}

.wpcf7 .tc input[type="submit"]:disabled {
    cursor: not-allowed;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #f8f8f8 !important;
    background-color: #f8f8f8 !important;
    color: #929292 !important;
}

.wpcf7 .tc input[type="submit"]:hover {
    -webkit-box-shadow: 0 0 1px 1px rgba(25, 103, 165, 0.3);
    box-shadow: 0 0 1px 1px rgba(25, 103, 165, 0.3);
    background-color: #fff;
    color: #7EDCE4;
    -webkit-transition: all 0.25s;
    transition: all 0.25s;
}

.wpcf7 .tc input[type="submit"]:focus {
    outline: 0;
    border: 1px #7EDCE4 solid;
    -webkit-box-shadow: 0 0 2px 2px rgba(25, 103, 165, 0.5);
    box-shadow: 0 0 2px 2px rgba(25, 103, 165, 0.5);
}

.wpcf7-text {
    width: 100%;
}

.form_row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 30px;
    padding: 0 20px 30px 20px;
    border-bottom: 1px dotted #ccc;
    font-size: 1.2rem;
}

.form_row .form_label {
    width: 300px;
}

.form_row .form_label .required {
    display: inline-block;
    color: #fff;
    font-weight: normal;
    font-size: 1.2rem;
    padding: 0 4px;
    background: #cc0000;
    margin-right: 10px;
    border-radius: 3px;
}

.form_row .form_label .any {
    display: inline-block;
    color: #797979;
    font-weight: normal;
    font-size: 1.2rem;
    padding: 0 4px;
    background: #d7d7d7;
    margin-right: 10px;
    border-radius: 3px;
}

.form_row .form_input {
    width: calc(100% - 300px);
}

.form_row .form_input_post {
    width: 180px;
}

.form_row .form_input_post_txt {
    color: #b20000;
    font-weight: normal;
    font-size: 1.3rem;
}

.form_row.last_row {
    padding-bottom: 0;
    border-bottom: none;
}

.wpcf7 .form_input_post input[type="tel"],
.wpcf7 .form_input input[type="email"],
.wpcf7 .form_input input[type="tel"],
.wpcf7 .form_input input[type="text"],
.wpcf7 .form_input_post input[type="text"],
.wpcf7 .form_input textarea {
    position: relative;
    border-left: 2px solid #7EDCE4;
}

/* フォームの装飾ここから */
/* チェックボックス */
.wpcf7 .form_input input[type="checkbox"] {
    display: none;
}

.wpcf7 .form_input input[type="checkbox"]+span {
    cursor: pointer;
    position: relative;
    margin: 0;
    padding: 0 1em 0 1.8em;
    font-size: inherit;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type="checkbox"]+span:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1.24em;
    height: 1.24em;
    border: 1px solid #7EDCE4;
    border-radius: 4px;
    background-color: #fefefe;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.wpcf7 .form_input input[type="checkbox"]+span:after {
    content: "";
    opacity: 0;
    display: block;
    position: absolute;
    top: 0.15em;
    left: 0.44em;
    width: 0.4em;
    height: 0.8em;
    border-bottom: 3px solid #7EDCE4;
    border-right: 3px solid #7EDCE4;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transform: rotate(40deg);
    -ms-transform: rotate(40deg);
    transform: rotate(40deg);
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type="checkbox"]:checked+span {
    color: #002565;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
}

.wpcf7 .form_input input[type="checkbox"]:checked+span:before {
    opacity: 1;
    border: 1px solid #7EDCE4;
    -webkit-box-shadow: 0 0 2px 2px rgba(25, 103, 165, 0.5);
    box-shadow: 0 0 2px 2px rgba(25, 103, 165, 0.5);
    background-color: #7EDCE4;
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type="checkbox"]:checked+span:after {
    opacity: 1;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
}

/* ラジオボタン */
.wpcf7 .form_input input[type="radio"] {
    display: none;
}

.wpcf7 .form_input input[type="radio"]+span {
    cursor: pointer;
    position: relative;
    margin: 0;
    padding: 0 1em 0 1.8em;
    font-size: inherit;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type="radio"]+span:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 1em;
    height: 1em;
    border: 1px solid #666;
    border-radius: 50%;
    background-color: #fefefe;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.wpcf7 .form_input input[type="radio"]+span:after {
    content: "";
    display: block;
    opacity: 0;
    position: absolute;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type="radio"]:checked+span:before {
    -webkit-box-shadow: 0 0 2px 2px rgba(25, 103, 165, 0.5);
    box-shadow: 0 0 2px 2px rgba(25, 103, 165, 0.5);
}

.wpcf7 .form_input input[type="radio"]:checked+span:after {
    opacity: 1;
    top: 50%;
    left: 0;
    width: 1em;
    height: 1em;
    background-color: #7EDCE4;
    border-radius: 50%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: opacity 0.25s ease;
    transition: opacity 0.25s ease;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

/* セレクト */
.wpcf7 .form_input span.select-wrap {
    position: relative;
    width: 250px;
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.wpcf7 .form_input span.select-wrap:after {
    content: "";
    pointer-events: none;
    position: absolute;
    display: block;
    width: 0.6em;
    height: 0.6em;
    top: 50%;
    right: 0.8em;
    margin-top: -3px;
    border-bottom: 1px solid #7EDCE4;
    border-right: 1px solid #7EDCE4;
    -webkit-transform: rotate(45deg) translateY(-50%);
    -ms-transform: rotate(45deg) translateY(-50%);
    transform: rotate(45deg) translateY(-50%);
    -webkit-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.wpcf7 .form_input span.select-wrap:focus-within::after {
    border-bottom: 1px solid #7EDCE4;
    border-right: 1px solid #7EDCE4;
}

.wpcf7 .form_input select {
    cursor: pointer;
    width: 250px;
    max-width: 100%;
    margin: 0;
    padding: 0.5em 3.5em 0.5em 1em;
    border: 1px solid #7EDCE4;
    border-radius: 4px;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: #fefefe;
    background-image: -webkit-gradient(linear,
            left top,
            right top,
            from(rgba(25, 103, 165, 0.7)),
            to(rgba(25, 103, 165, 0.7)));
    background-image: linear-gradient(90deg,
            rgba(25, 103, 165, 0.7),
            rgba(25, 103, 165, 0.7));
    background-position: 100% 0;
    background-size: 2em 3.5em;
    background-repeat: no-repeat;
    color: inherit;
    font-size: inherit;
    line-height: 1;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition:
        border-color 0.2s ease,
        outline 0.2s ease;
    transition:
        border-color 0.2s ease,
        outline 0.2s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
}

.wpcf7 .form_input select:-ms-expand {
    display: none;
}

.wpcf7 .form_input span.select-wrap {
    position: relative;
    width: 250px;
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.wpcf7 .form_input span.select-wrap:after {
    content: "";
    pointer-events: none;
    position: absolute;
    display: block;
    width: 0.6em;
    height: 0.6em;
    top: 60%;
    right: 0.8em;
    margin-top: -3px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform: rotate(45deg) translateY(-50%);
    -ms-transform: rotate(45deg) translateY(-50%);
    transform: rotate(45deg) translateY(-50%);
    -webkit-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* テキストフィールド フォーカス時 */
.wpcf7 .form_input input[type="text"]:focus,
.wpcf7 .form_input input[type="tel"]:focus,
.wpcf7 .form_input input[type="email"]:focus,
.wpcf7 .form_input input[type="url"]:focus,
.wpcf7 .form_input input[type="date"]:focus,
.wpcf7 .form_input input[type="number"]:focus,
.wpcf7 .form_input_post input[type="text"]:focus,
.wpcf7 .form_input textarea:focus,
.wpcf7 .form_input_post input[type="tel"]:focus {
    outline: 0;
    border: 1px #002565 solid;
    -webkit-box-shadow: 0 0 1px 1px rgba(25, 103, 165, 0.3);
    box-shadow: 0 0 1px 1px rgba(25, 103, 165, 0.3);
}

.wpcf7 .form_input select:focus {
    outline: 0;
    border: 1px #002565 solid;
    -webkit-box-shadow: 0 0 1px 1px rgba(25, 103, 165, 0.3);
    box-shadow: 0 0 1px 1px rgba(25, 103, 165, 0.3);
}

.wpcf7-response-output {
    font-size: 1.5em;
}

@media screen and (max-width: 767px) {
    .wpcf7-form textarea {
        width: 100% !important;
        /*本文*/
    }

    .wpcf7-form input {
        max-width: 100% !important;
        /*ラジオボタン、チェックボタン*/
    }

    .wpcf7-submit {
        width: 100%;
    }

    .wpcf7 .tc input[type="submit"] {
        font-size: 16px;
    }

    .form_row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        padding: 0 0 30px;
    }

    .form_row .form_label {
        width: 100%;
        margin-bottom: 10px;
    }

    .form_row .form_input {
        width: 100%;
    }

    .wpcf7-radio {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .wpcf7-radio .wpcf7-list-item {
        margin-left: 10px;
    }

    .ajax-loader {
        width: auto;
    }

    .wpcf7-response-output {
        font-size: 1.3em;
    }
}

/****************************************

clearfix

*****************************************/
.clearfix {
    display: inline-block;
}

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    font-size: 0;
    clear: both;
    visibility: hidden;
}

/* Hides from IE Mac */
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}

/* End Hack */