@charset "UTF-8";

html {
    font-size: 62.5%;
    margin-top: 0;
    font-family: "UD デジタル 教科書体 N-R"
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "ﾒｲﾘｵ" sans-serif;
    margin: 0;
    background-image: url("/wp-content/themes/osoujismile/images/kousi.png;");
    background-size: contain;
    z-index: -1
}

.body_opacity {
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 2
}

a,
p,
h1,
h2,
h3 {
    color: #707070;
    margin: 0
}

a {
    text-decoration: none
}

#g-nav {
    display: none
}

header {
    position: relative;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 5
}

.header_wrap {
    margin: 0 5%;
    width: 90vw;
    height: 8vw;
    background: #FFF 0 0 no-repeat padding-box;
    box-shadow: 0 4px 6px #41A9A729;
    border: 2.5px solid #41A9A7;
    border-radius: 10px;
    position: relative;
    top: -.2vw;
}

.inpad {
    padding: .4vw 3vw .4vw 2vw;
    width: 90vw;
    height: 9vw;
    box-sizing: border-box;
}

.inpad img {
    width: 100%;
    object-fit: contain;
}

.nav_flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.inpad_title_logo {
    width: 11vw;
    height: 4vw;
    transform: translateY(1.2vw);
}

.nav_flex li {
    width: 8.5vw;
    height: 4.5vw;
    list-style: none;
}

/* アイコンサイズ */
.nav_house {
    width: 3.2vw;
    height: 2.8vw;
}

.nav_office {
    width: 5vw;
    transform: translateY(-0.2vw);
}

.nav_strength {
    width: 3.7vw;
    height: 2.8vw;
}

.nav_com {
    width: 3.7vw;
    height: 3.7vw;
}

.nav_mail {
    width: 5vw;
    transform: translateY(.5vw);
}

/* アイコン位置 */
.nav_house img,
.nav_strength img,
.nav_com img {
    transform: translateX(1.3vw);
}

.nav_office img {
    transform: translateX(.6vw);
}

.nav_mail img {
    transform: translateX(.6vw);
}

/* 日本語 */
.nav_flex p {
    position: absolute;
    margin: 0;
    font-size: 1.25vw;
    white-space: nowrap;
    font-family: "UD デジタル 教科書体 N-R";
}

/* 英語 */
.nav_flex small {
    margin: 0;
    font-size: 1vw;
    line-height: 4.6vw;
    white-space: nowrap;
    color: #41A9A7;
    font-family: "ヒラギノ角ゴシック";
}

/* 位置調整 */
.nav_house p,
.nav_office p {
    margin-top: .2vw;
    transform: translateX(-2.6vw);
}

.nav_strength p {
    transform: translateX(.5vw);
}

.nav_com p {
    transform: translateX(1vw);
}

.nav_mail p {
    transform: translateX(-1vw);
}

.nav_house small,
.nav_office small {
    display: inline-block;
    transform: translateX(-.9vw);
}

.nav_strength small,
.nav_com small,
.nav_mail small {
    line-height: 4.6vw;
}

.nav_mail small {
    transform: translateX(-.3vw);
}
.nav_recruit {
    width: 4.5vw;
    height: 4vw;
}
.nav_recruit img {
    transform: translateX(.9vw);
}
.nav_recruit p {
    transform: translateX(.4vw);
}

.page_dir {
    margin-top: 2vw;
    padding-left: 73%;
    font-size: 1.6vw
}

.com_wrap {
    padding: 3vw 5%
}

.title {
    text-align: center
}

.ja_title {
    font-size: 1.8vw
}

.en_title {
    font-size: 1.1vw;
    font-family: "ヒラギノ角ゴシック";
    color: #41A9A7
}

.reser_title {
    padding: 2vw 0
}

.reser_title h2 {
    color: #41A9A7;
    font-size: 2vw;
    font-family: "ヒラギノ角ゴシック";
    border-bottom: 4px solid #41A9A7;
    font-weight: 400
}

.cominfo_wrap {
    padding-bottom: 5vw
}

.com_pro_box {
    margin: 0 auto;
    width: 60vw;
    height: 35vw;
    border: solid 3px #41A9A7;
    background-color: #fff
}

.com_pro_wrap {
    position: relative;
    margin: .5vw auto 0;
    width: 59vw;
    height: 34vw
}

.pro_flex {
    display: flex
}

.pro_img {
    width: 13vw;
    height: 15vw
}

.pro_img img {
    width: 100%;
    object-fit: contain
}

.pro_sentence {
    padding-top: 1.5vw;
    margin-left: 2vw;
    margin-top: 1vw;
    width: 42vw;
    height: 12vw
}

.pro_sen_det p {
    border-bottom: solid 3px #41A9A7;
    padding-bottom: .5vw
}

.pro_sentence h3 {
    color: #41A9A7;
    font-size: 1.8vw;
    margin-bottom: 1vw
}

.pro_sentence p {
    font-size: 1.4vw
}

.prof {
    display: none
}

.profile {
    font-size: 1.4vw;
    margin-left: 1.5vw;
    margin-top: .5vw;
    width: 57vw;
    height: 18vw
}

.com_img_wrap {
    margin: 0 auto;
    width: 74vw;
    height: 55vw;
    margin-top: 5vw
}
.com_img_wrap_sp {
   display: none;
}

.com_img_wrap img {
    position: relative;
    z-index: 3
}

.img_design {
    position: relative;
    width: 33vw;
    height: 22vw;
}

.img_design img {
    width: 100%;
    object-fit: contain
}

.img_design:after {
    position: absolute;
    content: "";
    width: 33vw;
    height: 22vw;
    top: 0;
    left: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transform: rotate(3deg);
    z-index: 1
}

.img_design1 {
    position: relative;
    width: 33vw;
    height: 22vw
}

.img_design1 img {
    width: 100%;
    object-fit: contain
}

.img_design1:after {
    position: absolute;
    content: "";
    width: 33vw;
    height: 22vw;
    bottom: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transform: rotate(-3deg);
    z-index: 1
}

.img_design1 {
    position: relative;
    top: -10vw;
    left: 42vw
}

.img_design2 {
    position: relative;
    top: -15vw;
    left: 4vw
}

.img_design_sp {
    display: none;
}

.reser_title {
    padding: 2vw 0
}

.reser_title h2 {
    color: #41A9A7;
    font-size: 2vw;
    font-family: "ヒラギノ角ゴシック";
    border-bottom: .3vw solid #41A9A7;
    font-weight: 400
}

#map {
	background-image: url(images/leaves.png;);
    padding: 3vw 5%
}

.map_opacity {
    background-color: rgba(255, 255, 255, 0.4);
    padding-top: 5vw
}

.map_wrap {
    padding-top: 3vw;
    margin-left: 6vw;
    padding-bottom: 8vw
}

.map_img {
    margin-bottom: 2.5vw
}

.map_img img {
    width: 16vw;
    height: 4.5vw;
    object-fit: cover
}

.map_sentence {
    border-left: .3vw solid #41A9A7;
    padding: 0 2vw;
    font-size: 1.2vw;
    margin-top: 1vw;
    margin-bottom: 3vw;
    line-height: 2vw
}

.googlemap_wrap {
    width: 77vw;
    height: 30.7vw;
    border: .3vw solid #41A9A7
}

.googlemap {
    z-index: 1;
    width: 100%;
    position: relative;
    padding-top: 56.25%
}

.googlemap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%
}

.map_pin {
    position: relative;
    z-index: 2;
    background-color: #fff;
    margin-top: 2vw;
    box-shadow: 0 3px 6px #00000029;
    border: .2vw solid #41A9A7;
    border-radius: 4px;
    width: 14vw;
    height: 4.5vw;
    display: flex;
    justify-content: space-between;
    font-family: "ﾒｲﾘｵ"
}

.map_pin:hover {
    background: #cce9e8;
    color: #96c8db;
    border: .2rem solid #28a5a3
}

.map_pin_img {
    width: 3.8vw;
    height: 3.8vw
}

.map_pin_img img {
    width: 100%;
    padding: .6vw .5vw .2vw 1.2vw
}

.map_pin span {
    color: #505050;
    text-decoration: none;
    font-size: 1.4vw;
    margin: 0;
    margin-top: 1vw;
    margin-right: 1.4vw;
    white-space: nowrap
}

.footer_wrap {
    width: 100%;
    background-color: #41A9A7;
    font-size: 1.4vw
}

.footer_flex a,
.footer_flex p {
    color: #fff
}

.footer_contents a:hover {
    color: #f5f4f4;
    border-bottom: 2px solid #fff
}

.footer_flex {
    padding: 1vw 10% 0;
    display: flex;
    justify-content: space-between
}

.footer_left {
    display: flex
}

.logo {
    width: 16vw;
    height: 16vw
}

.logo img {
    width: 100%
}

.footer_contents ul {
    list-style: none;
    line-height: 2.5vw
}

.footer_reser {
    width: 14vw;
    height: 5vw;
    background: #A4D0CF 0 0 no-repeat padding-box;
    border-radius: 4px;
    margin: 1.5vw 0;
    padding: .5vw 1vw;
    text-align: center
}

.footer_reser:hover {
    background: #8dcac9 0 0 no-repeat padding-box
}

.footer_reser p,
.footer_hours p {
    margin: 0
}

.footer_contents ul {
    padding: 0
}

.footer_title {
    display: none
}

.footer_contact {
    display: none
}

@media screen and (max-width: 650px) {
    .body_opacity {
        padding-top: 2.5rem
    }

    .page_dir {
        padding-left: 65%;
        font-size: 1.6rem
    }

    .ex_wrap {
        width: 60%;
        height: 30vw
    }

    .item {
        width: 25vw;
        height: 8vw;
        font-size: 3vw
    }

    #g-nav {
        display: inline;
        position: fixed;
        z-index: 999;
        top: 0;
        right: -120%;
        width: 100%;
        height: 100vh;
        background: #41A9A7;
        transition: all .6s
    }

    #g-nav.panelactive {
        right: 0
    }

    #g-nav.panelactive #g-nav-list {
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        overflow: auto;
        -webkit-overflow-scrolling: touch
    }

    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 30%;
        transform: translate(-20%, -50%);
    }

    #g-nav li {
        list-style: none;
        text-align: center
    }

    #g-nav li a {
        font-size: 2rem;
        color: #FFF;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: .1em;
        font-weight: 700
    }

    #g-nav li a:hover {
        border-bottom: 2px solid #fff;
        padding-bottom: .1rem
    }

    .openbtn1 {
        position: fixed;
        z-index: 9999;
        top: 10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px
    }

    .openbtn1 span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #41A9A7;
        width: 45%
    }

    .openbtn1 span:nth-of-type(1) {
        top: 15px
    }

    .openbtn1 span:nth-of-type(2) {
        top: 23px
    }

    .openbtn1 span:nth-of-type(3) {
        top: 31px
    }

    .openbtn1.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%
    }

    .openbtn1.active span:nth-of-type(2) {
        opacity: 0
    }

    .openbtn1.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%
    }

    .cominfo_wrap {
        padding-bottom: 0
    }

    .com_pro_box {
        margin: 0 auto;
        width: 100%;
        height: 95vw;
        border: none;
        background-color: transparent
    }

    .com_pro_wrap {
        position: relative;
        margin: 0;
        width: 100%;
        height: 34vw
    }

    .prof {
        display: inline
    }

    .pro_flex {
        display: block
    }

    .pro_img {
        margin: 0 auto;
        width: 25vw;
        height: 28vw
    }

    .pro_sentence {
        padding-top: 1.5vw;
        margin: 0;
        text-align: center;
        width: 100%;
        height: auto;
        border-bottom: none
    }

    .prof {
        margin-top: 3vw;
        font-size: 2.4rem;
        color: #41A9A7
    }

    .pro_sentence p {
        font-size: 1.8rem
    }

    .pro_sen_det {
        margin: 1.5vw 4% 0;
        text-align: left
    }

    .pro_sentence span {
        display: none
    }

    .pro_sentence h3 {
        color: #41A9A7;
        font-size: 2rem;
        text-align: center
    }

    .profile {
        font-size: 1.8rem;
        margin: 0;
        width: 100%;
        height: auto
    }

    .profile p {
        margin: 2vw 4% 0;
        padding-bottom: 2vw
    }

    .profile span {
        display: none
    }

    .com_img_wrap {
        display: none
    }

    .img_design_sp {
        display: block;
        position: relative;
        width: 70vw;
        margin: 0 auto;
    }
    
    .img_design_sp img {
        width: 100%;
        object-fit: contain
    }

    .img_design_sp:after {
        position: absolute;
        content: "";
        width: 33vw;
        height: 22vw;
        top: 0;
        left: 0;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        transform: rotate(3deg);
        z-index: -20
    }
    
    .map_img img {
        width: 14rem;
        height: 4rem;
        margin-bottom: .2rem
    }

    .map_sentence {
        height: 8rem;
        border-left: 2px solid #41A9A7;
        padding: 0 1rem;
        font-size: 1.2rem;
        margin-bottom: 1.5rem
    }

    .map_sentence h3 {
        margin: 0;
        line-height: 2.1rem
    }

    .googlemap_wrap {
        border: 2px solid #41A9A7
    }

    .map_pin {
        width: 10rem;
        height: 3rem;
        justify-content: left;
        border: 1px solid #41A9A7;
        margin-top: 1rem
    }

    .map_pin_img {
        display: none
    }

    .map_pin_img img {
        padding-top: .6rem
    }

    .map_pin span {
        font-size: 1.2rem;
        margin: .44rem 0 0 1.5rem
    }

    .footer_title h2,
    .footer_wrap p {
        margin: 0
    }

    .footer_wrap {
        font-size: 1.3rem;
        padding-top: 1rem
    }

    .footer_flex {
        padding: 0
    }

    .footer_left,
    .footer_flex {
        display: block
    }

    .logo,
    .footer_detail_com {
        display: none
    }

    .footer_contact {
        display: block;
        text-align: center;
        margin: 0 26%;
        background-color: #f2ffce;
        padding: .8rem 0;
        font-size: 1.8rem;
        margin-bottom: 1rem;
        font-weight: 700
    }

    .footer_contact a {
        color: #41A9A7
    }

    .footer_contents li {
        font-size: 1.8rem;
        border-top: .5px solid #fff;
        text-align: center
    }

    .footer_contents li:last-child {
        display: none;
        border-bottom: .5px solid #fff
    }

    .footer_contents ul {
        padding: 0;
        margin: 0
    }

    .footer_contents a {
        display: block;
        padding: 1.5rem 0
    }

    .header_wrap {
        display: none
    }

    .page_dir {
        margin: 0
    }

    .en_title {
        position: relative;
        top: -.6rem
    }

    .reser_title h2 {
        font-size: 2rem;
        border-bottom: 2px solid #41A9A7
    }

    .ja_title {
        font-size: 2rem
    }

    .en_title {
        font-size: 1.6rem
    }
}

@media screen and (max-width: 600px) {
    .com_pro_box {
        height: 100vw
    }

    .page_dir {
        padding-left: 53%
    }
}

@media screen and (max-width: 555px) {
    .com_pro_box {
        height: 111vw
    }
}

@media screen and (max-width: 500px) {
    .com_pro_box {
        height: 60rem
    }
}

@media screen and (max-width: 381px) {
    .com_pro_box {
        height: 63rem
    }
    .map_sentence {
        margin-bottom: 20px;
        font-size: 1rem
    }
}

@media screen and (max-width: 350px) {
    .com_pro_box {
        height: 67rem
    }

    .page_dir {
        padding-left: 48%;
        font-size: 1.6rem
    }
}