@charset "UTF-8";

html {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    scroll-behavior: smooth;
}



body {
    margin: 0;
    padding: 0;
    color: #666666;
    font-family: 'Noto Sans JP', "メイリオ", Meiryo, Osaka, "MS P ゴシック", "MS PGothic", sans-serif !important;
    font-size: 1.4rem;
    text-align: left;
    line-height: 2;
    -webkit-text-size-adjust: 100%;
}

.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding-right: 20px;
    padding-left: 20px;
}


header {
    box-sizing: border-box;
    height: 60px;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 10;
    box-shadow: 0px 6px 3px -3px rgba(0, 0, 0, .1);
}


header .pc_header {
    display: flex;
    -js-display: flex;
    justify-content: space-between;
    height: 30px;
    font-family: 'Noto Serif JP', serif;
}

header .pc_header h1 a {
    font-size: 2rem;
    font-weight: 700;
    line-height: 30px;
}

header .pc_header h1 a:hover,
header .pc_header h1 a:focus {
    color: #000000;
}

.gnavi__pc-style ul {
    display: flex;
    -js-display: flex;
    justify-content: space-between;
    line-height: 30px;
}

.gnavi__pc-style ul li a {
    font-size: 1.6rem;
    font-weight: 500;
    padding: 4px 12px;
}

.gnavi__pc-style ul li a:hover,
.gnavi__pc-style ul li a:focus {
    color: #ffffff;
    background-color: #666;
    border-radius: 100vh;
    transition: background-color 0.75s;
}

.gnavi__pc-style ul li:not(:last-of-type) {
    margin-right: 12px;
}

main {
    padding-top: 60px;
    display: block;
}

#salutation p {
    margin-bottom: 120px;
}

#home #kv {
    width: 100%;
    height: 600px;
    margin: 0 0 80px;
    background: url(../images/milky-way.jpg) no-repeat center top;
    background-size: cover;
    /* 星空の画像 */
}



#home #kv .inner {
    position: relative;
    height: 600px;
}

#home #kv p.cc_1 {
    position: absolute;
    top: 100px;
    left: 200px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 4.8rem;
    letter-spacing: 0.1em;
    color: #ffffff;
    line-height: 2.3;
    text-shadow: 2px 2px 1px #000000;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
}

#home #kv p.cc_2 {
    position: absolute;
    top: 100px;
    left: 60px;
    font-family: 'Noto Serif JP', serif;
    font-size: 2.4rem;
    color: #ffffff;
    line-height: 1.8;
    text-shadow: 2px 2px 1px #000000;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
}



h2.underline {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 4.8rem;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding: 60px 0 10px;
    margin-top: -60px;
    pointer-events: none;
    line-height: 1.5;
}

br.sp-style {
    display: none;
}

h2.underline::after {
    content: "";
    width: 100%;
    height: 2px;
    display: inline-block;
    background-color: #666;
    position: absolute;
    bottom: -10px;
    left: 0;
}

h4.sub {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 2.4rem;
    margin-bottom: -70px;
    text-align: center;
    padding-top: 70px;
    margin-top: -60px;
}

h3 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 3.6rem;
    margin-bottom: 30px;
    line-height: 1.75;
}

h3 .emphasize {
    color: #c73f00;
    font-size: 4.8rem;
}

#contact h3 {
    text-align: center;
}

.flex_box {
    margin-bottom: 180px;
    display: flex;
    justify-content: space-between;
}

.flex_item_01 {
    width: 47%;
}

.flex_item_02 {
    width: 50%;
}

.copy {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 1.8rem;
    text-align: justify;
}

.image_mouseover_1 {
    width: 100%;
    overflow: hidden;
    height: auto;
}

.image_mouseover_1 img {
    width: 100%;
    display: block;
    transition-duration: 0.5s;
}

.image_mouseover_1 img:hover {
    transform: scale(1.2, 1.2);
    transition-duration: 1.0s;
}

.copy ol li {
    list-style-type: cjk-ideographic;
    line-height: 1.75;
    margin-left: 36px;
    margin-bottom: 15px;
}

.copy ul li {
    list-style-type: disc;
    margin-left: 24px;
    margin-top: 10px;
    line-height: 1.75;
}


footer {
    padding: 0px 20px;
    height: 30px;
    text-align: center;
    background-color: #666;
}

footer p {
    font-size: 1.1rem;
    color: rgb(255, 255, 255);
    line-height: 30px;
}



.image_mouseover_2 {
    width: 100%;
    overflow: hidden;
    height: auto;
}

.image_mouseover_2 img {
    width: 100%;
    display: block;
    transition-duration: 0.5s;
}

.image_mouseover_2 img:hover {
    transform: scale(1.2, 1.2);
    transition-duration: 1.0s;
}


.info {
    width: 50%;
    margin: 0 auto;
}

#contact h1 {
    font-size: 3.6rem;
    font-weight: 700;
    text-align: center;
    line-height: 1;
    margin-bottom: 10px;
}

div.license {
    padding: 10px 10px 10px 40px;
    border-top: #666 solid 1px;
    border-bottom: #666 solid 1px;
    margin: 10px 0 20px;

}

.license ul {
max-width: 310px;
margin: 0 auto;
}

.license ul li {
    list-style-type: disc;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.5;
}

.info .flex_box {
    margin: 80px 0 30px;
    display: flex;
    justify-content: space-between;
}


.flex_item_03 {
    width: 83%;
}

.flex_item_04 {
    width: 15%;
}

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

.president_name {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
}

.address-time {
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.flex_box p {
    margin-bottom: 0px;
}

.button {
    display: inline-block;
    width: 100%;
    background-color: #0056b8;
    border: solid 1px #0056b8;
    margin-bottom: 10px;
    text-align: center;
    border-radius: 100vh;
    color: #ffffff;
    line-height: 1.75;
    text-decoration: none;
    text-align: center;
    transition: all 0.75s;
    position: relative;
    z-index: 1;
}


.button:hover,
.button:focus {
    color: #0056b8;
    background-color: #fff;
}

.button span {
    font-size: 2.4rem;
}

.button i {
    font-size: 2.2rem;
    margin-right: 10px;
    vertical-align: 1px;
}


.phone_nunber {
    margin-bottom: 120px;
}

#page-top a {

    background-color:rgba(102, 102, 102, 0.75);
    bottom: 50px;
    height:40px;
    width: 40px;
    border-radius: 50%;
    color: #fff;
    position: fixed;
    right: 30px;
    text-align: center;
    font-size: 2.4rem;
    line-height: 40px;
    z-index: 999;
  }



/*ここから下がハンバーガーメニューのスタイル*/

.gnavi__sp-style {
    display: none;

}



/* スマートフォン用スタイル */

@media screen and (max-width:786px) {
    .gnavi__pc-style {
        display: none;
    }

    .gnavi__sp-style {
        display: none;
    }

    br.sp-style {
        display: block;
    }

    br.pc-style {
        display: none;
    }

    /*メニューボタン　展開前*/
    .menu-btn {
        display: block;
        position: fixed;
        z-index: 3;
        right: 10px;
        top: 10px;
        width: 42px;
        height: 42px;
        cursor: pointer;
        text-align: center;
    }

    .menu-btn span {
        display: block;
        position: absolute;
        width: 30px;
        height: 2px;
        left: 6px;
        background: #555;
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
    }

    .menu-btn span:nth-of-type(1) {
        top: 10px;
    }

    .menu-btn span:nth-of-type(2) {
        top: 20px;
    }

    .menu-btn span:nth-of-type(3) {
        top: 30px;
    }

    .flex_box {
        display: block;
        margin-bottom: 120px;
    }

    .flex_item_01,
    .flex_item_02 {
        width: 100%;
    }

    .flex_item_01 {
        margin-bottom: 20px;
    }




    /*メニューボタン　展開後*/
    .menu-btn.active span:nth-child(1) {
        top: 16px;
        left: 6px;
        background: #fff;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .menu-btn.active span:nth-child(2),
    .menu-btn.active span:nth-child(3) {
        top: 16px;
        background: #fff;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    /*スマホ用のメニュー*/
    .gnavi__sp-style.active {
        position: fixed;
        z-index: 2;
        top: 0;
        left: 0;
        color: #fff;
        background-color: rgba(0, 0, 0, 0.7);
        text-align: center;
        width: 100%;
        height: 100vh;
        opacity: 0;
        transition: opacity .6s ease, visibility 5.6s ease;
        display: flex;
        align-items: center;
    }

    .gnavi__sp-style ul {
        margin: 0 auto;
        padding: 0;
        width: 100%;
    }

    .gnavi__sp-style ul li {
        list-style-type: none;
        font-size: 2rem;
        padding: 0;
        width: 100%;
        transition: .4s all;
    }

    .gnavi__sp-style ul li:last-of-type {
        padding-bottom: 0;
    }

    .gnavi__sp-style ul li:hover {
        background: #ddd;
    }

    .gnavi__sp-style ul li a {
        display: block;
        color: #fff;
        padding: 1em 0;
        text-decoration: none;
    }

    .gnavi__sp-style.active {
        opacity: 1;
    }


    header h1 {
        font-size: 1.8rem;
    }


    #home #kv p.cc_1 {
        /* position: absolute;
        top: 100px; */
        left: 160px;
        /* font-family: 'Noto Serif JP', serif;
        font-weight: 500; */
        font-size: 3.6rem;
        /* letter-spacing: 0.1em;
        color: #ffffff;
        line-height: 2.3;
        text-shadow: 2px 2px 1px #000000;
        writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl; */
    }
    
    #home #kv p.cc_2 {
        /* position: absolute;
        top: 100px; */
        left: 20px;
        /* font-family: 'Noto Serif JP', serif;
        font-size: 2.4rem;
        color: #ffffff;
        line-height: 1.8;
        text-shadow: 2px 2px 1px #000000;
        writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl; */
    }



    h2.underline {
        font-size: 3.2rem;
    }

    h3 {
        font-size: 2.4rem;
        margin-bottom: 10px;
    }

    h4.sub {
        font-size: 1.8rem;
    }

    h3 .emphasize {
        font-size: 2.4rem;
    }

    .copy {
        font-size: 1.6rem;
    }

    #contact h1 {
        font-size: 2.4rem;
    }

    .license ul li {
        font-size: 1.6rem;
    }

    .info {
        width: 90%;
        margin: 0 auto;
    }

}