@charset "UTF-8";

@font-face {
    font-family: "yh-r";
    src: local("YakuHanJP_Regular"),
         url("../font/YakuHanJP_Regular.eot?") format("eot"),
         url("../font/YakuHanJP_Regular.woff") format("woff"),
         url("../font/YakuHanJP_Regular.woff2") format("woff2");
}
@font-face {
    font-family: "yh-b";
    src: local("YakuHanJP-Bold"),
         url("../font/YakuHanJP_Bold.eot?") format("eot"),
         url("../font/YakuHanJP_Bold.woff") format("woff"),
         url("../font/YakuHanJP_Bold.woff2") format("woff2");
}
@font-face {
    font-family: "ns-r";
    src: local("NotoSans_Regular"),
         url("../font/NotoSans_Regular.otf") format("opentype"),
         url("../font/NotoSans_Regular.woff") format("woff"),
         url("../font/NotoSans_Regular.woff2") format("woff2");
}
@font-face {
    font-family: "ns-b";
    src: local("NotoSans_Bold"),
         url("../font/NotoSans_Bold.otf") format("opentype"),
         url("../font/NotoSans_Bold.woff") format("woff"),
         url("../font/NotoSans_Bold.woff2") format("woff2");
}

* {
    font-family: "yh-r", "yh-b", "ns-r", "メイリオ", sans-serif;
}

/* 背景固定：スクロール無効 */
.scroll-prevent {
  position: fixed;
  z-index: -1;
  width: 100%;
  height: 100%;
}

/* 正規表現の注意文 */
.validate {
    color: #ca0000;
    font-size: 14px;
    font-weight: bold;
}
@media screen and (max-width:780px) {
    .validate {
        text-align: center;
    }
}

/* -----------------------------------------------

ヘッダー

------------------------------------------------ */
header {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    height: 80px;
    margin: auto;
    position: relative;
    z-index: 20;
}
/* ロゴ */
header h1 a {
    text-align: center;
    margin: 8px 0 0 30px;
    color: #35a77c;
    transition: all .3s;
}
header h1 a:hover {
    color: #726fb9;
}
header h1 a span:nth-child(1) {
    display: block;
    font-size: 14px;
}
header h1 a span:nth-child(2) {
    font-size: 23px;
    line-height: 30px;
}
header h1 a span:nth-child(3) {
    font-family: "ns-b";
    font-size: 30px;
}
/* スマホナビボタン */
header .navbutton {
    display: none;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 9999;
    background-color: #35a77c;
    border-radius: 5px;
    cursor: pointer;
}
header .navbutton .inner {
    width: 60px;
    height: 60px;
    position: relative;
}
header .navbutton .inner::before {
    position: absolute;
    content: "メニュー";
    bottom: 5px;
    left: 0;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 10px;
    line-height: 1em;
    color: #ffffff;
    opacity: 1;
    transition: all .3s;
}
header .navbutton .inner.open::before {
    bottom: 5px;
    opacity: 0;
}
header .navbutton .inner::after {
    position: absolute;
    content: "閉じる";
    bottom: -5px;
    left: 0;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 10px;
    line-height: 1em;
    color: #ffffff;
    opacity: 0;
    transition: all .3s;
}
header .navbutton .inner.open::after {
    bottom: 5px;
    opacity: 1;
}
header .navbutton .inner span {
    position: absolute;
    display: block;
    width: 68%;
    height: 2px;
    background-color: #ffffff;
}
header .navbutton .inner .first {
    top: 16%;
    left: 17%;
}
header .navbutton .inner .second {
    top: 40%;
    left: 17%;
}
header .navbutton .inner .third {
    top: 64%;
    left: 17%;
}
header .navbutton .inner.open .first {
    animation: first_openmove 1s forwards;
}
@keyframes first_openmove {
    0% {top: 16%; transform: rotate(0);}
    50% {top: 40%; transform: rotate(0);}
    100% {top: 40%; transform: rotate(-45deg);}
}
header .navbutton .inner.close .first {
    animation: first_closemove 1s;
}
@keyframes first_closemove {
    0% {top: 40%; transform: rotate(-45deg);}
    50% {top: 40%; transform: rotate(0);}
    100% {top: 16%; transform: rotate(0);}
}
header .navbutton .inner.open .second {
    animation: second_openmove 1s forwards;
}
@keyframes second_openmove {
    50% {top: 40%; opacity: 1;}
    51% {top: 40%; opacity: 0;}
    100% {top: 40%; opacity: 0;}
}
header .navbutton .inner.close .second {
    animation: second_closemove 1s;
}
@keyframes second_closemove {
    0% {top: 40%; opacity: 0;}
    50% {top: 40%; opacity: 0;}
    51% {top: 40%; opacity: 1;}
    100% {top: 40%; opacity: 1;}
}
header .navbutton .inner.open .third {
    animation: third_openmove 1s forwards;
}
@keyframes third_openmove {
    0% {top: 64%; transform: rotate(0);}
    50% {top: 40%; transform: rotate(0);}
    100% {top: 40%; transform: rotate(45deg);}
}
header .navbutton .inner.close .third {
    animation: third_closemove 1s;
}
@keyframes third_closemove {
    0% {top: 40%; transform: rotate(45deg);}
    50% {top: 40%; transform: rotate(0);}
    100% {top: 64%; transform: rotate(0);}
}
/* グローバルナビゲーション */
header .global_navigation {
    display: flex;
    justify-content: space-between;
    width: 74%;
}
header .global_navigation nav {
    display: flex;
    position: relative;
}
header .global_navigation nav .link a {
    width: 130px;
    padding: 21px 0px;
    font-family: "ns-b";
    font-size: 18px;
    text-align: center;
}
header .global_navigation nav .link a span {
    display: block;
    font-size: 12px;
    line-height: 12px;
}
header .global_navigation nav .underline {
    position: absolute;
    width: 25%;
    height: 10px;
    bottom: 0;
    left: 0;
    z-index: -1;
    background-color: #35a77c;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    -ms-transition: all .5s;
    transition: all .5s;
}
header .global_navigation nav .underline {
    display: none;
}
header .global_navigation nav:hover .underline {
    display: block;
}
header .global_navigation nav .link.current_main ~ .underline {
    display: block;
}
header .global_navigation nav .link:nth-child(1).current ~ .underline,
header .global_navigation nav .link:nth-child(1).current_main ~ .underline {
    left: 0%;
}
header .global_navigation nav .link:nth-child(2).current ~ .underline,
header .global_navigation nav .link:nth-child(2).current_main ~ .underline {
    left: 25%;
}
header .global_navigation nav .link:nth-child(3).current ~ .underline,
header .global_navigation nav .link:nth-child(3).current_main ~ .underline {
    left: 50%;
}
header .global_navigation nav .link:nth-child(4).current ~ .underline,
header .global_navigation nav .link:nth-child(4).current_main ~ .underline {
    left: 75%;
}
header .global_navigation nav .link:nth-child(1):hover ~ .underline {
    left: 0%;
}
header .global_navigation nav .link:nth-child(2):hover ~ .underline {
    left: 25%;
}
header .global_navigation nav .link:nth-child(3):hover ~ .underline {
    left: 50%;
}
header .global_navigation nav .link:nth-child(4):hover ~ .underline {
    left: 75%;
}
/* お問い合わせ */
header .global_navigation .contact {
    padding-right: 20px;
}
header .global_navigation .contact .letter {
    width: 240px;
    line-height: 24px;
    text-align: center;
    font-size: 12px;
    color: #ffffff;
    background-color: #000000;
}
header .global_navigation .contact .telephone a {
    width: 240px;
    line-height: 34px;
    font-size: 18px;
    text-indent: 66px;
    color: #ffffff;
    background-color: #35a77c;
    background-size: 30px;
    border-top: 1px solid #ffffff;
    transition: all .3s;
}
header .global_navigation .contact .telephone a:hover {
    background-color: #726fb9;
}
header .global_navigation .contact .telephone a span {
    font-family: "ns-b";
    position: relative;
}
header .global_navigation .contact .telephone a span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -36px;
    display: block;
    width: 30px;
    height: 24px;
    margin-top: -12px;
    background: url("../images/common/tel-w.png") center center no-repeat;
    background-size: contain;
}
header .global_navigation .contact .mailform a {
    width: 240px;
    line-height: 34px;
    text-indent: 66px;
    font-family: "ns-b";
    font-size: 18px;
    color: #ffffff;
    background-color: #35a77c;
    background-size: 30px;
    border-top: 1px solid #ffffff;
    transition: all .3s;
}
header .global_navigation .contact .mailform a span {
    position: relative;
}
header .global_navigation .contact .mailform a span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -36px;
    display: block;
    width: 30px;
    height: 20px;
    margin-top: -10px;
    background: url("../images/common/mail-w.png") center center no-repeat;
    background-size: contain;
}
header .global_navigation .contact .mailform a span::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: -15px;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg) skewY(-5deg) skewX(-5deg);
}
header .global_navigation .contact .mailform a:hover {
    background-color: #726fb9;
}

/* -----------------------------------------------

共通

------------------------------------------------ */
article .inner {
    max-width: 1000px;
    margin: auto;
}
article.underlayer .inner {
    padding: 60px 0 50px;
}
article .head2 {
    margin-bottom: 20px;
}
article .head2 h2 {
    line-height: 200px;
    text-align: center;
    font-size: 24px;
    letter-spacing: 18px;
    color: #ffffff;
    background-color: rgba(0,0,0,.6);
}
article .head2 h2 span {
    margin-right: -18px;
    font-family: "ns-b";
}
article .head3 h3 {
    line-height: 60px;
    text-align: center;
    font-family: "ns-b";
    font-size: 24px;
    background-color: #4af7b6;
}

/* -----------------------------------------------

フッター

------------------------------------------------ */
footer {
    background-color: #35a77c;
}
footer * {
    color: #ffffff;
}
footer .inner {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    position: relative;
}
footer .inner .wrap {
    display: flex;
    padding-top: 30px;
    position: relative;
}
/* ロゴ */
footer .inner .wrap .logo {
    position: absolute;
    top: 0;
    left: 0;
}
footer .inner .wrap .logo a span {
    transition: all .3s;
}
footer .inner .wrap .logo a:hover span {
    color: #b0aedc;
}
footer .inner .wrap .logo a span:nth-child(1) {
    font-size: 23px;
}
footer .inner .wrap .logo a span:nth-child(2) {
    font-family: "ns-b";
    font-size: 30px;
}
/* 住所 */
footer .inner .wrap .address {
    width: 50%;
    padding: 10px 0;
}
footer .inner .wrap .address .office {
    padding-left: 3.5em;
    text-indent: -3.5em;
}
footer .inner .wrap .address .center {
    padding-left: 3.5em;
    text-indent: -3.5em;
}
/* サイトマップ */
footer .inner .wrap .sitemap {
    width: calc(50% - 2px);
    padding: 10px 0;
    border-left: 2px solid #ffffff;
}
footer .inner .wrap .sitemap ul {
    display: flex;
    flex-flow: column wrap;
    width: 290px;
    height: 80px;
    padding-left: 50px;
}
footer .inner .wrap .sitemap ul li {
    position: relative;
}
footer .inner .wrap .sitemap ul li::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: -18px;
    z-index: 10;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    transform: rotate(45deg) skewY(-5deg) skewX(-5deg);
}
footer .inner .wrap .sitemap ul li a {
    position: relative;
}
footer .inner .wrap .sitemap ul li a::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: all .3s;
}
footer .inner .wrap .sitemap ul li a:hover::after {
    width: 100%;
}
footer .inner .wrap .sitemap .sp_contact {
    display: none;
}
footer .copyright {
    position: absolute;
    bottom: 20px;
    right: 20px;
}

/* ================================================

リサイズ用：ヘッダー

================================================ */
@media screen and (max-width:1080px) {
    header .global_navigation {
        width: auto;
        margin-right: 20px;
    }
    header .global_navigation .contact {
        display: none;
    }
}
@media screen and (max-width:780px) {
    header h1 {
        width: 100%;
        text-align: center;
    }
    header h1 a {
        margin: 8px 0 0 0;
    }
    header .navbutton {
        display: block;
    }
    header .global_navigation {
        /*display: none;*/
        position: absolute;
        top: -100vh;
        left: 0;
        display: block;
        justify-content: center;
        z-index: 100;
        margin: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0,0,0,.8);
        transition: all .7s ease;
    }
    header .global_navigation.open {
        top: 0;
    }
    header .global_navigation nav {
        display: block;
        position: static;
        width: 96%;
        padding: 90px 2% 0;
        overflow: hidden;
    }
    header .global_navigation nav .link {
        opacity: 0;
        transform: scale(1.15);
        transition: all .5s ease 0s;
    }
    header .global_navigation.open nav .link:nth-child(1) {
        transition: all .5s ease .6s;
    }
    header .global_navigation.open nav .link:nth-child(2) {
        transition: all .5s ease .8s;
    }
    header .global_navigation.open nav .link:nth-child(3) {
        transition: all .5s ease 1s;
    }
    header .global_navigation.open nav .link:nth-child(4) {
        transition: all .5s ease 1.2s;
    }
    header .global_navigation.open nav .link {
        opacity: 1;
        transform: scale(1);
    }
    header .global_navigation nav .link a {
        width: 100%;
        padding: 14px 0px;
        text-align: center;
        color: #ffffff;
        border-bottom: 1px solid #b3b3b3;
        transition: all .3s;
    }
    header .global_navigation nav .link a:hover {
        background-color: rgba(255,255,255,0.2)
    }
    header .global_navigation nav .link:first-child a {
        border-top: 1px solid #b3b3b3;
    }
    header .global_navigation nav .underline {
        display: none !important;
    }
    header .global_navigation .contact {
        display: block;
        padding: 20px 0 0 0;
        opacity: 0;
        transition: all .5s ease 0s;
    }
    header .global_navigation.open .contact {
        transition: all .5s ease 1.8s;
    }
    header .global_navigation.open .contact {
        opacity: 1;
    }
    header .global_navigation .contact .letter {
        width: 100%;
        font-size: 14px;
    }
    header .global_navigation .contact .telephone a,
    header .global_navigation .contact .mailform a {
        width: 96%;
        font-size: 25px;
        line-height: 46px;
        margin: 10px 2% 0 2%;
        text-align: center;
        border-top: none;
        box-sizing: border-box;
    }
    header .global_navigation .contact .telephone a,
    header .global_navigation .contact .mailform a {
        text-indent: 8%;
    }
    header .global_navigation .contact .telephone a span::before {
        width: 42px;
        height: 32px;
        left: -48px;
        margin-top: -16px;
    }
    header .global_navigation .contact .telephone a span::after {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        right: -20px;
        width: 16px;
        height: 16px;
        margin-top: -8px;
        border-top: 2px solid #ffffff;
        border-right: 2px solid #ffffff;
        transform: rotate(45deg) skewY(-5deg) skewX(-5deg);
    }
    header .global_navigation .contact .mailform a span::before {
        width: 42px;
        height: 28px;
        left: -48px;
        margin-top: -14px;
    }
    header .global_navigation .contact .mailform a span::after {
        right: -20px;
        width: 16px;
        height: 16px;
        margin-top: -8px;
    }
}
/* ================================================

リサイズ用：共通

================================================ */
@media screen and (max-width:1080px) {
    article .inner {
        width: 92%;
        margin-left: 4%;
        margin-right: 4%;
    }
    article#index .inner {
        width: 96%;
        margin-left: 2%;
        margin-right: 2%;
    }
    article.underlayer .inner {
        padding: 30px 0;
    }
}
@media screen and (max-width:780px) {
    article .head2 h2 {
        line-height: 100px;
    }
    article .head2 h2 span {
        font-family: "ns-r";
    }
}

/* ================================================

リサイズ用：フッター

================================================ */
@media screen and (max-width:1080px) {
    footer .inner .wrap {
        flex-wrap: wrap;
        padding-top: 0;
    }
    footer .inner .wrap .logo {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 2;
        -webkit-order: 2;
        order: 2;
        position: static;
        width: 100%;
        margin-top: 20px;
        text-align: center;
    }
    footer .inner .wrap .address {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 3;
        -webkit-order: 3;
        order: 3;
        width: 100%;
        padding: 14px 0;
    }
    footer .inner .wrap .address .office,
    footer .inner .wrap .address .center {
        padding-left: 0;
        text-indent: 0;
        text-align: center;
        font-size: 13px;
    }
    footer .inner .wrap .sitemap {
        -webkit-box-ordinal-group: 1;
        -ms-flex-order: 1;
        -webkit-order: 1;
        order: 1;
        width: 100%;
        border-left: none;
    }
    footer .inner .wrap .sitemap ul {
        flex-flow: initial;
        justify-content: center;
        width: auto;
        height: auto;
        padding-left: 0;
    }
    footer .inner .wrap .sitemap ul li {
        margin-left: 16px;
        padding-right: 16px;
    }
    footer .inner .wrap .sitemap ul li a {
        font-size: 14px;
    }
    footer .copyright {
        position: static;
        text-align: center;
        font-size: 14px;
    }
}
@media screen and (max-width:590px) {
    footer .inner {
        padding: 0 2% 20px;
    }
    footer .inner .wrap .sitemap {
        padding: 0;
    }
    footer .inner .wrap .sitemap ul {
        display: block;
    }
    footer .inner .wrap .sitemap ul li {
        margin: 0;
        padding: 0;
    }
    footer .inner .wrap .sitemap ul li:last-child {
        display: none;
    }
    footer .inner .wrap .sitemap ul li::before {
        content: none;
    }
    footer .inner .wrap .sitemap ul li a {
        width: 100%;
        padding: 12px 0;
        text-indent: 26px;
        border-bottom: 1px solid #ffffff;
        transition: all .3s;
    }
    footer .inner .wrap .sitemap ul li a::before {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: 6px;
        z-index: 10;
        width: 10px;
        height: 10px;
        margin-top: -5px;
        border-top: 2px solid #ffffff;
        border-right: 2px solid #ffffff;
        transform: rotate(45deg) skewY(-5deg) skewX(-5deg);
    }
    footer .inner .wrap .sitemap ul li a::after {
        content: none;
    }
    footer .inner .wrap .sitemap ul li a:hover {
        background-color: rgba(255,255,255,0.2)
    }
    footer .inner .wrap .sitemap .sp_contact {
        display: block;
        padding: 10px 0 14px;
        border-bottom: 1px solid #ffffff;
    }
    footer .inner .wrap .sitemap .sp_contact .head {
        font-family: "ns-b";
        font-size: 14px;
        padding: 0 10px;
    }
    footer .inner .wrap .sitemap .sp_contact div .telephone {
        margin-top: 6px;
    }
    footer .inner .wrap .sitemap .sp_contact div .telephone h4 {
        font-size: 14px;
        padding: 0 10px;
    }
    footer .inner .wrap .sitemap .sp_contact div .telephone h4 span {
        font-size: 10px;
        line-height: 10px;
        display: block;
        margin-bottom: 10px;
    }
    footer .inner .wrap .sitemap .sp_contact div .telephone .number a {
        display: block;
        line-height: 35px;
        text-indent: 50px;
        font-family: "ns-b";
        font-size: 23px;
        color: #35a77c;
        background-color: #ffffff;
        border-radius: 5px;
        position: relative;
        transition: all .3s;
    }
    footer .inner .wrap .sitemap .sp_contact div .telephone .number a::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 10px;
        display: block;
        width: 30px;
        height: 24px;
        margin-top: -12px;
        background: url(../images/common/tel-bl.png) center center no-repeat;
        background-size: contain;
    }
    footer .inner .wrap .sitemap .sp_contact div .telephone .number a::after {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        right: 12px;
        z-index: 10;
        width: 14px;
        height: 14px;
        margin-top: -7px;
        border-top: 2px solid #35a77c;
        border-right: 2px solid #35a77c;
        transform: rotate(45deg) skewY(-5deg) skewX(-5deg);
    }
    footer .inner .wrap .sitemap .sp_contact div .telephone .number a:hover {
        background-color: #b0aedc;
    }
    footer .inner .wrap .sitemap .sp_contact div .mailform {
        margin-top: 6px;
    }
    footer .inner .wrap .sitemap .sp_contact div .mailform h4 {
        font-size: 14px;
        padding: 0 10px;
    }
    footer .inner .wrap .sitemap .sp_contact div .mailform .button a {
        display: block;
        line-height: 35px;
        text-indent: 50px;
        font-family: "ns-b";
        font-size: 23px;
        color: #35a77c;
        background-color: #ffffff;
        border-radius: 5px;
        position: relative;
        transition: all .3s;
    }
    footer .inner .wrap .sitemap .sp_contact div .mailform .button a::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 10px;
        display: block;
        width: 30px;
        height: 24px;
        margin-top: -12px;
        background: url(../images/common/mail-bl.png) center center no-repeat;
        background-size: contain;
    }
    footer .inner .wrap .sitemap .sp_contact div .mailform .button a::after {
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        right: 12px;
        z-index: 10;
        width: 14px;
        height: 14px;
        margin-top: -7px;
        border-top: 2px solid #35a77c;
        border-right: 2px solid #35a77c;
        transform: rotate(45deg) skewY(-5deg) skewX(-5deg);
    }
    footer .inner .wrap .sitemap .sp_contact div .mailform .button a:hover {
        background-color: #b0aedc;
    }
}

/* -----------------------------------------------

IE対応

------------------------------------------------ */
@media all and (-ms-high-contrast: none) {
    * {
        font-family: "yh-r", "yh-b", "メイリオ", sans-serif !important;
    }
    header h1 a span:nth-child(3),
    header .global_navigation nav .link a,
    header .global_navigation .contact .telephone a span,
    header .global_navigation .contact .mailform a,
    article .head2 h2 span,
    article .head3 h3,
    footer .inner .wrap .logo a span:nth-child(2),
    footer .inner .wrap .sitemap .sp_contact .head,
    footer .inner .wrap .sitemap .sp_contact div .telephone .number a,
    footer .inner .wrap .sitemap .sp_contact div .mailform .button a {
        font-weight: bold;
    }
    header .global_navigation nav .link a span {
        font-weight: normal;
    }
    header .global_navigation .contact .telephone a {
        text-indent: 65px;
    }
    footer .inner .wrap .sitemap ul{
        height: 100px;
    }
}
@media all and (-ms-high-contrast: none) and (max-width:1080px) {
    footer .inner .wrap .sitemap ul{
        width: 500px;
        height: 1em;
        margin: auto;
    }
}
@media all and (-ms-high-contrast: none) and (max-width:590px) {
    footer .inner .wrap .sitemap ul{
        width: auto;
        height: auto;
    }
}
