@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}
html {
    scroll-behavior: smooth;
}
body{
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    color: #2d3748;
}
    
  
h1 {
    font-size: calc(45/1440*100vw);
    color: #fff;
    font-weight: 700;
    margin-bottom: 2vw;
}
h2 {
    font-size: calc(38/1440*100vw);
    letter-spacing: 0.05rem;
    font-weight: 700;
}
h3 {
    font-size: calc(28/1440*100vw);
    letter-spacing: 0.25rem;
}
h4 {
    font-size: calc(18/1440*100vw);
}
.service-num-h4,
.principles-num-h4 {
    font-size: calc(58/1440*100vw);
}
h5 {
    font-size: calc(18/1440*100vw);
    letter-spacing: 0.1rem;
}
p {
    font-size: calc(18/1440*100vw);
}

a {
    color: #2d3748;
    font-weight: 700;
}

img {
    width: 100%;
    border-radius: 1rem;
}

.section-title h2 {
    position: relative;
    display: inline;
    
}
.section-title h2::before {
    position:absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    left: -4.5vw;
    width: 2vw;
    height: 0.2vw;
    background-color: #2d3748;
}
.section-title h2::after {
    position:absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    right: -4.3vw;
    width: 2vw;
    height: 0.2vw;
    background-color: #2d3748;
}

.body-wrap {
    box-sizing: border-box;
    padding: 0 5.6vw;
}
.br-text {
    display: none;
}
/* 

header

*/

.header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding:2.8vw 0vw 1.3vw 0vw;
}
.header-logo {
    width: calc(190/1440*100vw);
}
.header-logo a img {
    border-radius: 0rem;
}
.global-menu {
    width: 58.5vw;
}
.global-menu ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.global-menu ul li:last-child {
    background-color: #6ab3cd;
    box-sizing: border-box;
    padding: 1.2vw 1.4vw;
    margin-left: 0.8vw;
    border-radius: 1rem;
    width: 10vw;
}
.global-menu ul li:last-child a p {
    color: #fff;
    letter-spacing: 0.05rem;
}
.nav-item-en {
    font-weight: 700;
    font-size: calc(18/1440*100vw);
}
.nav-item-ja {
    font-size: calc(14/1440*100vw);
    font-weight: 400;
}

/* mv */
.mv {
    width: 100%;
    margin-bottom: 4.7vw;
}
.mv-img {
    width: 100%;
    position: relative;
    background-image: url(../img/mv.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    height: 54vw;
    border-radius: 2rem;
}
.mv-text {
    width: 60%;
    position: absolute;
    top: 12vw;
    left: 4vw;
}
.mv-text p {
    color: #fff;
    font-size: calc(30/1440*100vw);
    font-weight: 700;
}

/* 

mission

*/

.mission {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding-top: 4vw;
}

.section-title {
    text-align: center;
}
.mission-title {
    margin-bottom: 2.4vw;
}
.mission-text h3 {
    margin-bottom: 1.6vw;
}
.mission-text p {
    font-size: calc(22/1440*100vw);
    font-weight: 700;
    width: 66%;
    margin: 0 auto;
    letter-spacing: 0.2rem;
    text-align: start;
}
.water-img {
    margin-top: -9vw;
    margin-bottom: -6vw;
    position: relative;
    z-index: -1;
}

/* 

service

*/
.service {
    background-color: #f7f7fb;
    border-radius: 2rem;
    padding: 6.7vw 3.5vw 1.9vw 3.5vw;
    margin-bottom: 9.7vw;
    box-shadow: 0 0 0.8vw rgba(0, 0, 0, 0.4); /* 上下左右にグレーの影 */
}
.service-container {
    width: 100%;
    margin-top: 5vw;
}
.service-content {
    width: 94%;
    background-color: #fff;
    border-radius: 2rem;
    display: flex;
    box-sizing: border-box;
    padding: 0.8vw;
    margin-bottom: 5.3vw;
    box-shadow: 
        -0.35vw -0.35vw 0.8vw rgba(255, 255, 255, 0.8), /* 上と左に白 */
        0.35vw 0.35vw 0.8vw rgba(0, 0, 0, 0.2);       /* 右と下にグレー */
}
.service-content:last-child {
    margin-bottom: 0;
}
.service-container .service-content:nth-child(even) {
    margin-left: 4vw;
}
.service-text-title-wrap {
    width: 62%;
    box-sizing: border-box;
    padding: 2vw 3vw;
}
.service-text-num-wrap {
    display: flex;
}
.service-num-h4 {
    position: relative;
}
.service-num-h4::before {
    content: '';
    position: absolute;
    top: 0.6vw;
    left: -0.9vw;
    width: 0.4vw;
    height: 4vw;
    background-color: #2d3748;
}
.service-text-title h4 {
    font-size: calc(32/1440*100vw);
    margin-left: 1vw;
    letter-spacing: 0.1rem;
}
.service-text-title p {
    font-size: calc(15/1440*100vw);
    margin-left: 1vw;
    letter-spacing: 0.1rem;
}
.service-text-text p {
    margin-top: 1.1vw;
    font-size: calc(22/1440*100vw);
    line-height: 1.5;
    margin-left: -3.5vw;
    letter-spacing: 0.2rem;
    box-sizing: border-box;
    padding: 0vw 1.3vw 0vw 1.7vw;
    font-weight: 700;
}
.service-img {
    width: 38%;
    height: 19vw;
}

.service-img img {
    object-fit: cover;
    height: 100%;
}

/* 

principles

*/
.br-sp {
    display: none;
}
.principles {
    width: 100%;
    box-sizing: border-box;
    padding-top: 4vw;
}
.principles-title {
    margin-bottom: 3.5vw;
}
.principles-text {
    display: flex;
    justify-content: center;
    margin-bottom: 6vw;
}
.principles-text p {
    width: 60%;
    font-size: calc(22/1440*100vw);
    font-weight: 700;
    letter-spacing: 0.1rem;
}
.principles-container {
    width: 100%;
    display: flex;
    margin: 0 auto;
}
.principles-content {
    width: 25%;
    text-align: center;
    border-right: solid 0.4vw #2d3748;
    padding: 0vw 0.8vw 4vw 0.8vw;
}
.principles-content:first-child {
    border-left: solid 0.4vw #2d3748;
}
.principles-num-h4 {
    font-size: calc(60/1440*100vw);
}
.principles-content-title h4{
    font-size: calc(25/1440*100vw);
    margin-top: 0.8vw;
}
.principles-h4-color {
    font-size: calc(25/1440*100vw);
    color: #59b3cd;
    font-weight: 700;
}
.principles-content-text p {
    font-size: calc(19/1440*100vw);
    font-weight: 700;
    margin-top: 1vw;
    box-sizing: border-box;
    padding: 0 2vw;
    letter-spacing: 0.1rem;
}

/* 

topics

*/
.topics {
    width: 100%;
    height: 38vw;
    box-sizing: border-box;
    padding: 5vw 0;
    border-radius: 1rem;
    margin-top: 12.4vw;
    background: 
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), 
        url(../img/mv.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.topics-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 5.6vw;
}
.topics-content {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.topics-date {
    width: 18%;
    border-right: solid 0.3vw;
    box-sizing: border-box;
    padding-right: 12vw;
}
.topics-date p {
    font-size: calc(26/1440*100vw);
    font-weight: 700;
}
.topics-title {
    width: 56%;
    box-sizing: border-box;
    padding-left: 2vw;
}
.topics-title p {
    font-size: calc(21/1440*100vw);
    font-weight: 900;
    letter-spacing: 0.1rem;
}

/* 

overview

*/
.overview {
    width: 100%;
    margin-top: 4.2vw;
    box-sizing: border-box;
    padding-top: 4vw;
}

.overview-container {
    width: 100%;
    display: flex;
    margin-top: 5vw;
}
.overview-content-left {
    width: 50%;
    box-sizing: border-box;
    padding: 0 1.7vw;
}
.overview-content {
    display: flex;
    border-top: solid 0.2vw #2d3748;
    padding: 2.2vw 0vw;
    box-sizing: border-box;
}
.overview-content:last-child {
    border-bottom: solid 0.2vw #2d3748;
}
.overview-content-title {
    margin-left: 1vw;
    letter-spacing: 0.3rem;
    width: 20%;
}
.overview-content-p {
    font-size: calc(21/1440*100vw);
    font-weight: 900;
}
.overview-content-title p {
    font-weight: 700;
}
.overview-content-text p {
    font-weight: 500;
}
.overview-content-text {
    margin-left: 1.4vw;
    letter-spacing: 0.2rem;
}
.overview-content-right {
    width: 50%;
    box-sizing: border-box;
    padding: 0 1.7vw;
}
.overview-map {
    WIDTH: 100%;
    height: 28vw;
    border: solid 0.3vw #2d3748;
}

iframe {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.overview-address {
    margin-top: 1vw;
    box-sizing: border-box;
    padding: 0 0.7vw;
    letter-spacing: 0.2rem;
}
.overview-content-p-text {
 margin-bottom: 0.9vw;   
}

/* 

contact

*/
.contact {
    width: 92%;
    background-color: #f7f7fb;
    border-radius: 2rem;
    padding: 5vw 3.5vw 4.9vw 3.5vw;
    margin-top: 9.2vw;
    margin-bottom: 2.7vw;
    box-shadow: 0 0 0.8vw rgba(0, 0, 0, 0.4); /* 上下左右にグレーの影 */
}
.contact-form-wrap {
    background-color: #fff;
    width: 82%;
    margin: 0 auto;
    margin-top: 4.4vw;
    box-shadow: 0 0 0.8vw rgba(0, 0, 0, 0.4); /* 上下左右にグレーの影 */
}
.contact-form-content:first-child {
    padding-top: 2.6vw;
}
.contact-form-content:last-child {
    border-bottom: none;
}
.contact-form-content {
    display: flex;
    border-bottom: solid 0.2vw #2d3748;
    align-items: center;
    box-sizing: border-box;
    padding: 1.8vw 0vw;
}
.contact-form-title {
    width: 20vw;
}
.contact-form-title p {
    font-weight: 900;
    font-size: calc(20/1440*100vw);
    text-align: center;
}
.contact-form-input {
    width: 67%;
}
.contact-form-input input {
    width: 100%;
    height: 3vw;
    border: none;
    border-bottom: solid 0.2vw #aaa;
    font-size: calc(20/1440*100vw);
    box-sizing: border-box;
    padding: 0.5vw 1vw;
}
.contact-form-textarea {
    width: 67%;
}
textarea {
    border: solid 0.2vw #aaa;
    width: 95%;
    height: 12vw;
    font-size: calc(20/1440*100vw);
    padding: 0.8vw 1vw;
}
input::placeholder,
textarea::placeholder {
    color: #aaa;
}

.contact-btn {
    text-align: center;
}
.contact-btn a {
    background-color: #f7f7fb;
    border: solid 3px #2d3748;
    border-radius: 2rem;
    display: inline-block;
    box-sizing: border-box;
    padding: 0.5vw 3vw;
    margin-top: 2vw;
    margin-bottom: 2vw;
}

.contact-btn-text {
    color: #2d3748;
    font-weight: 700;
    justify-content: center;
    display: inline-flex;
    margin: 0 auto;
    flex-direction: column;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    box-sizing: border-box;
    padding: 0.6vw 3vw;
    margin: 1vw 0;
    border-radius: 2rem;
    font-size: 14px;
    font-weight: 700;
}
 /* 

footer

*/
.footer {
    width: 100%;
    margin-bottom: 4vw;
}
.footer-logo {
    width: 14vw;
    margin: 0 auto;
}
.copy-right {
    text-align: center;
}

@media screen and (max-width:450px) {
    h1 {
        font-size: calc(32/450*100vw);
        color: #fff;

        font-weight: 700;
    }
    h2 {
        font-size: calc(24/450*100vw);
        letter-spacing: 0.05rem;
        font-weight: 700;
    }
    h3 {
        font-size: calc(19/450*100vw);
        letter-spacing: 0.25rem;
    }
    h4 {
        font-size: calc(12/1440*100vw);
    }

    h5 {
        font-size: calc(10/450*100vw);
    }
    p {
        font-size: calc(14/450*100vw);
    }
    
    a {
        color: #2d3748;
        font-weight: 700;
    }
    
    img {
        width: 100%;
        border-radius: 0.5rem;
    }
    .body-wrap {
        padding: 0;
    }
    .br-text {
        display: inline;
    }
    .header {
        padding-left: 5vw;
        padding-right: 5vw;
    }
    .header-logo {
        width: calc(80/450*100vw);
    }
    .nav-item-en {
        font-weight: 700;
        font-size: calc(22/450*100vw);
    }
    .nav-item-ja {
        font-size: calc(14/450*100vw);
    }
    .mv-text {
        top: 60%;
        transform: translateY(-40%);
    }
    .mv-text p {
        color: #fff;
        font-size: calc(22/450*100vw);
    }
    .section-title {
        text-align: start;
        width: 95%;
        margin: 0 auto;
        color: #6ab3cd;
        margin-bottom: 10vw;
    }
    .section-title h2::after,
    .section-title h2::before {
        display: none;
    }
    .mission {
        text-align: start;
        box-sizing: border-box;
        padding: 0 2vw;
    }
    .mission-text h3 {
        width: 95%;
        margin: 0 auto;
        margin-bottom: 8vw;
    }
    .mission-text p {
        font-size: calc(14/450*100vw);
        font-weight: 700;
        width: 91%;
        margin-left: 2.5%;
        margin-bottom: 8vw;
    }
    .service-title {
        box-sizing: border-box;
        padding: 0 2vw;
    }
    .service-text-title h4 {
        font-size: calc(32/1440*100vw);
    }
    .service-text-title p {
        font-size: calc(15/1440*100vw);
    }
    .service-text-text p {
        font-size: calc(22/1440*100vw);
        line-height: 1.5;
        font-weight: 700;
    }
    .principles-text p {
        font-size: calc(14/450*100vw);
        font-weight: 700;
        width: 95%;
    }
    .principles-num-h4 {
        font-size: calc(60/1440*100vw);
    }
    .principles-content-title h4{
        font-size: calc(18/450*100vw);
    }
    .principles-h4-color {
        font-size: calc(18/450*100vw);
        font-weight: 700;
    }
    .principles-content-text p {
        font-size: calc(14/450*100vw);
        font-weight: 700;
    }
    .topics-date p {
        font-size: calc(14/450*100vw);
        font-weight: 700;
    }
    .topics-title p {
        font-size: calc(14/450*100vw);
        font-weight: 900;
    }
    .overview-content-p {
        font-size: calc(14/450*100vw);
        font-weight: 900;
    }
    .contact-form-title p {
        font-weight: 900;
        font-size: calc(14/450*100vw);
    }
    textarea {
        font-size: calc(14/450*100vw);
    }

    /* 

    header
    
    */
    .global-menu ul li:last-child {
        padding: 1.2vw 2.4vw;
    }

    /*

    mv
    
    */
    .mv {
        margin-bottom: 8vw;
    }
    .mv-img {
        background-size: 200%; /* 背景画像を縮小させない */
        background-repeat: no-repeat; /* 背景画像を繰り返さない */
        width: 100%; /* 横幅は画面幅いっぱい */
        height: 133vw; /* 縦幅は画面の高さを基準に設定 */
        background-position: 60% 14%; /* 中央部分を基準に表示 */
        border-radius: 0;
    }
    

    /* 

    service
    
    */
    .service {
        padding: 6.7vw 0vw 1.9vw 0vw;
        border-radius: 0rem;
        box-shadow: none;
    }
    .service-container .service-content:nth-child(even) {
        margin-left: 0;
        margin: 0 auto;
        margin-bottom: 14vw;
    }
    .service-content {
        width: 95%;
        border-radius: 0.5rem;
        flex-direction: column;
        margin: 0 auto;
        margin-bottom: 14vw;
    }
    .service-text-title-wrap {
        width: 90%;
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
    }
    .service-num-h4 {
        font-size: calc(35/450*100vw);
    }
    .principles-num-h4 {
        font-size: calc(40/450*100vw);
    }
    .service-num-h4::before {
        top: 50%;
        transform: translateY(-50%);
        left: -1.6vw;
        width: 0.8vw;
        height: 9vw;
    }
    .service-text-title h4 {
        font-size: calc(20/450*100vw);
    }
    .service-text-title {
        margin-top: 2vw;
    }
    .service-text-title p {
        font-size: calc(8/450*100vw);
    }
    .service-text-text p {
        font-size: calc(14/450*100vw);
        line-height: 1.5;
        font-weight: 700;
        width:100%;
        margin-left: 0;
    }
    .service-img {
        width: 90%;
        height: 40vw;
        margin: 0 auto;
        margin-top: 2vw;
    }

    /* 
    
    principles

    */
    .br-sp {
        display: inline;
    }

    .principles-title {
        box-sizing: border-box;
        padding: 0 2vw;
    }
    .principles-text {
        line-height: 2;
        padding: 0 2vw;
        margin-bottom: 10vw;
        box-sizing: border-box;
    }
    .principles-container {
        flex-direction: column;
    }
    .principles-content {
        border-bottom: solid 0.4vw #2d3748;
        width: 95%;
        text-align: center;
        border-right: none;
        padding: 4vw 0.8vw 4vw 0.8vw;
        margin: 0 auto;
    }
    .principles-content:first-child {
        border-left: none;
        border-top: solid 0.4vw #2d3748;
    }

    .principles-content-text {
        margin-top: 6vw;
        margin-bottom: 4vw;
    }

    /* 
    
    topics

    */
    .topics {
        height: auto;
        background-image: none;
        background-color: #f7f7fb;
        border-radius: 0;
        box-sizing: border-box;
        padding: 12vw 0;
    }
    .topic-title {
        padding-left: 2vw;
    }
    .topics-content {
        width: 90%;
        margin-left: 0;
        flex-direction: column;
        align-items: start;
        border-bottom: solid 1px #aaa;
        box-sizing: border-box;
        padding-bottom: 6vw;
    }
    .topics-content:first-child {
        border-top: solid 1px #aaa;
        padding-top: 6vw;
    }
    .topics-date {
        width: 22%;
        padding-right: 0vw;
        border: none;
        margin-bottom: 4vw;
    }
    .topics-title {
        width: 95%;
        box-sizing: border-box;
        padding: 0 2vw;
    }

    
    /* 

    overview
    
    */
    .overview-title {
        box-sizing: border-box;
        padding: 0 2vw;
    }
    .overview-container {
        flex-direction: column;
    }
    .overview-content-left {
        width: 100%;
        padding: 0 5vw;
        box-sizing: border-box;
    }
    .overview-content-right {
        width: 100%;
        padding: 0 5vw;
        box-sizing: border-box;

    }
    .overview-map {
        height: 50vw;
        margin-bottom: 4vw;
    }

    /* 
    
    contact

    */
    .contact {
        border-radius: 0;
        box-shadow: none;
        box-sizing: border-box;
        padding-bottom: 12vw;
        width: 100%;
    }
    .contact-form-wrap {
        width: 100%;
    }
    .contact-form-title {
        width: 30vw;
    }
    .contact-form-input {
        width: 60%;
    }
    .contact-form-input input {
        height: 6vw;
        font-size: calc(14/450*100vw);
    }
    .contact-form-textarea {
        width: 60%;
    }
    textarea {
        height: 25vw;
    }
    .contact-btn a {
        padding: 1.5vw 8vw;
    }

    .contact-btn-text {
        color: #2d3748;
        font-weight: 700;
        justify-content: center;
        display: inline-flex;
        margin: 0 auto;
        flex-direction: column;
    }

    input.wpcf7-form-control.wpcf7-submit.has-spinner {
        margin: 5vw 0;
    }
    /* 
    
    footer

    */
    .footer-logo {
        width: 22vw;
        margin-top: 4vw;
    }
}


/* 初期スタイル */
.header {
    position: relative;
}

/* ハンバーガーメニューの初期スタイル */
.hamburger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 2rem;
    height: 1.5rem;
    position: relative;
    z-index: 9999;
    
}


.hamburger-menu span {
    display: block;
    width: 100%; /* ボタン全体に合わせる */
    height: 3px; /* 線の太さ */
    background: #2d3748;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    position: absolute; /* バツ印で位置を固定 */
    left: 0;
}

/* バツ印が崩れないように位置を調整 */
.hamburger-menu span:nth-child(1) {
    top: 0; /* 上の線 */
}

.hamburger-menu span:nth-child(2) {
    top: 50%; /* 真ん中の線 */
    transform: translateY(-50%); /* 真ん中に正確に配置 */
}

.hamburger-menu span:nth-child(3) {
    bottom: 0; /* 下の線 */
}

/* ハンバーガーメニューがバツ印に変わる時のスタイル */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(-4px, 5px);
    top: 50%; /* 中央に寄せる */
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0; /* 中央の線を非表示 */
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(-6px, -5px);
    top: 50%; /* 中央に寄せる */
}


/* グローバルメニューの初期スタイル */
.global-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
    opacity: 0; /* 初期は透明 */
    transform: scale(0.8); /* 少し縮小した状態から開始 */
    transition: opacity 0.5s ease, transform 0.5s ease; /* スムーズなアニメーション */
    pointer-events: auto;
}

/* メニューが表示されるとき */
.global-menu.active {
    opacity: 1; /* 透明度を徐々に上げる */
    transform: scale(1); /* 拡大して元のサイズに */
    pointer-events: auto; /* クリックを有効化 */
}



/* メニュー内アイテムのスタイル */
.global-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.global-menu ul li {
    text-align: center;
    width: 7vw;
}

.global-menu ul li a {
    text-decoration: none;
    color: #2d3748;
}

/* レスポンシブ対応 */
@media screen and (max-width: 450px) {
    .hamburger-menu {
        display: flex;
        pointer-events: auto; /* スマホでは有効 */
    }

    .global-menu {
        pointer-events: none;
    }
    .global-menu ul {
        flex-direction: column;
    }
    .global-menu ul li {
        text-align: center;
        width: 100%;
    }
    .global-menu ul li:last-child {
        width: 100%;
    }
}

/* 451px以上で通常メニューを表示 */
@media screen and (min-width: 451px) {
    .hamburger-menu {
        display: none;
        pointer-events: auto; /* スマホでは有効 */
    }

    .global-menu {
        position: static;
        left: auto;
        display: flex;
        justify-content: flex-end; /* メニューを右寄せ */
        align-items: center;
        opacity: 1;
        transform: scale(1);
        
    }

    .global-menu ul {
        display: flex;
        flex-direction: row; /* 横並び */
        gap: 1rem;
    }
}

/* ハンバーガーメニュー時のスクロール無効化 */
body.no-scroll {
    overflow: hidden;
}
