/*
Theme Name: My Original Theme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: これは自作のWordPressテーマです。
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-original-theme
*/

@charset "utf-8";

html{
    font-size: 100%;
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}
body{
    color: #1f1f1f;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
}
a{
    color: #1f1f1f;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover{
    opacity: 0.7;
}
button:hover{
    opacity: 0.7;
}
li{
    list-style: none;
}
img{
    max-width: 100%;
    vertical-align: bottom;
}
iframe{
    vertical-align: bottom;
}
.wrapper{
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}
#header{
    display: flex;
    justify-content: space-between;
    padding: 0 3%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: 80px;
    background-color: #fff;
}
#header .logo{
    width: 16%;
    max-width: 220px;
}
#header .nav{
    width: 45%;
    display: flex;
    align-items: center;
}
#header .nav .menu{
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}
#header .nav .menu > li{
    margin-left: 3%;
    font-size: clamp(7.6px, 1vw, 20px);
}
#header .nav .menu .menu-first{
    position: relative;
}
#header .nav .menu .menu-first span{
    cursor: pointer;
}
#header .nav .menu .menu-first span:after{
    content: "";
    width: 8px;
    height: 8px;
    border-top: 1px solid #1f1f1f;
    border-right: 1px solid #1f1f1f;
    margin: 0 auto;
    transform: rotate(135deg);
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
}
#header .nav .menu .menu-first .menu-second{
    display: none;
    width: 140px;
    background-color: #fff;
    padding: 10px 20px;
    position: absolute;
    top: 48px;
    left: 0;
}
#header .nav .menu .menu-first .menu-second > li{
    margin-bottom: 10px;
}
#header .nav .menu .menu-contact a{
    background-color: #1f1f1f;
    color: #fff;
    border-radius: 30px;
    padding: 8px 30px;
    text-align: center;
    display: block;
    font-weight: 500;
}
#header .mask{
    display: none;
}
.page-header{
    width: 100%;
    position: relative;
    margin-bottom: 5.7vw;
}
.page-header img{
    width: 100%;
    height: 100%;
}
.page-header .img img{
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.page-header .page-content{
    position: absolute;
    top: 0;
    left: 0;
    width: 28.5%;
    height: 100%;
    background-color: #1f1f1f;
    opacity: 0.9;
    color: #fff;
    display: flex;
    align-items: center;
}
.page-header .page-content .page-text{
    margin-left: 14%;
}
.page-header .page-content .page-text .page-title{
    font-size: clamp(24px, 3.2vw, 64px);
    font-weight: normal;
}
.page-header .page-content .page-text p{
    font-size: clamp(7.68px, 1vw, 20px);
}
.news-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.news-list li{
    position: relative;
    margin-bottom: 40px;
}
.news-list li .news-img{
    width: 100%;
    margin-bottom: 20px;
}
.news-list li .category{
    font-size: 12px;
    padding: 5px 10px;
    border: 1px solid #1f1f1f;
    display: inline-block;
    margin-bottom: 20px;
}
.news-list li .title{
    font-size: 20px;
    margin-bottom: 10px;
}
.news-list li .text{
    font-size: 14px;
    margin-bottom: 20px;
}
.news-list li .date{
    font-size: 14px;
}
.news-list li .arrow{
    position: absolute;
    bottom: 0;
    right: 10px;
    width: 20px;
}
.news-btn{
    display: flex;
    justify-content: center;
}
#news .news-btn a {
    font-size: clamp(6.57px, 0.86vw, 17.14px);
    border: 1px solid #1f1f1f;
    padding: 10px 28px;
}
#footer{
    background-color: #1f1f1f;
    color: #fff;
    display: flex;
    justify-content: space-between;
    padding: 5.7% 5% 7% 5%;
}
#footer .logo-address{
    display: flex;
    width: 17%;
}
#footer .logo-address .logo{
    width: 100%;
    margin-bottom: 13%;
}
#footer .logo-address .logo img{
    width: 100%;
}
#footer .logo-address .address{
    font-size: clamp(7.68px, 1vw, 20px);
}
#footer .logo-address .tel{
    font-size: clamp(7.68px, 1vw, 20px);
    margin-bottom: 13%;
}
#footer .logo-address .copyright{
    font-size: clamp(5.49px, 0.71vw, 14.29px);
}
#footer .navi{
    width: 28%;
}
#footer .navi .menu{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
#footer .navi .menu > li{
    width: 33.3%;
    margin-bottom: 7.6%;
}
#footer .navi .menu .menu-first > a{
    font-size: clamp(7.68px, 1vw, 20px);
    color: #fff;
}
#footer .navi .menu .menu-second{
    display: flex;
    flex-direction: column;
    font-size: clamp(7.68px, 1vw, 20px);
}
#footer .navi .menu .menu-second > a{
    color: #fff;
    margin-bottom: 15%;
}
@media screen and (max-width: 1024px){
    html{
        scroll-padding-top: 60px;
    }
    main{
        padding-top: 60px;
    }
    #header{
        height: 60px;
    }
    #header .logo{
        max-width: 180px;
        width: 100%;
    }
    #header .nav{
        width: 80%;
        height: 100vh;
        background-color: #fff;
        position: fixed;
        top: 0;
        left: -120%;
        z-index: 20;
        transition: all 0.6s;
    }
    #header .nav.active{
        left: 0;
    }
    #header .nav .menu{
        width: 100%;
        height: 100vh;
        flex-direction: column;
        padding: 60px 0;
        overflow: auto;
    }
    #header .nav .menu > li{
        width: 100%;
        border-top: solid 1px #1f1f1f;
        margin-left: 0;
        font-size: 14px;
    }
    #header .nav .menu > li a{
        width: 100%;
        display: block;
        padding: 20px;
    }
    #header .nav .menu .menu-first span{
        display: block;
        padding: 20px;
    }
    #header .nav .menu .menu-first span::before{
        content: "";
        width: 15px;
        height: 1px;
        background-color: #1f1f1f;
        position: absolute;
        top: 30px;
        right: 20px;
    }
    #header .nav .menu .menu-first span::after{
        width: 1px;
        height: 15px;
        background-color: #1f1f1f;
        border: none;
        transform: none;
        position: absolute;
        top: 23px;
        right: 26px;
        left: auto;
    }
    #header .nav .menu .menu-first span.active::after{
        content: "";
    }
    #header .nav .menu .menu-first .menu-second{
        width: 100%;
        position: static;
        padding: 0 0 0 40px;
    }
    #header .nav .menu .menu-first .menu-second li{
        border-top: solid 1px #eee;
        margin-bottom: 0;
    }
    #header .nav .menu .menu-contact{
        padding: 30px 0;
    }
    #header .nav .menu .menu-contact a{
        max-width: 160px;
        margin: 0 auto;
    }
    #header .humberger{
        width: 50px;
        height: 50px;
        cursor: pointer;
        position: fixed;
        top: 5px;
        right: 10px;
        z-index: 30;
    }
    #header .humberger span{
        width: 30px;
        height: 1px;
        background-color: #1f1f1f;
        display: inline-block;
        position: absolute;
        left: 10px;
        transition: all 0.4s;
    }
    #header .humberger.active{
        background-color: #fff;
    }
    #header .humberger span:nth-of-type(1){
        top: 16px;
    }
    #header .humberger span:nth-of-type(2){
        top: 25px;
    }
    #header .humberger span:nth-of-type(3){
        top: 34px;
    }
    #header .humberger.active span:nth-of-type(1){
        top: 24px;
        transform: rotate(-45deg);
    }
    #header .humberger.active span:nth-of-type(2){
        opacity: 0;
    }
    #header .humberger.active span:nth-of-type(3){
        top: 24px;
        transform: rotate(45deg);
    }
    #header .mask.active{
        width: 100%;
        height: 100%;
        background: #000;
        display: block;
        opacity: 0.8;
        position: fixed;
        top: 0;
        left: 0;
    }

}
@media screen and (max-width: 767px){
    .page-header{
        margin-bottom: 40px;
    }
    .page-header .img img{
        height: 240px;
    }
    .page-header .page-content {
        top: auto;
        bottom: 0;
        left: 0;
        height: 70px;
        width: 100%;
    }
    .page-header .page-content .page-text {
        margin-left: 5%;
    }
    .page-header .page-content .page-text .page-title{
        font-size: 24px;
        letter-spacing: 0.1em;
    }
    .page-header .page-content .page-text p{
        font-size: 12px;
    }
    .news-list{
        grid-template-columns: repeat(1, 1fr);
    }

    #footer{
        flex-direction: column-reverse;
        padding: 60px 20px;
        align-items: center;
    }
    #footer .logo-address{
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    #footer .navi{
        width: 100%;
        display: flex;
        justify-content: center;
        max-width: 390px;
    }
    #footer .navi .menu .menu-first{
        width: 100%;
        max-width: 130px;
    }
    #footer .navi .menu .menu-first > a{
        font-size: 15px;
    }
    #footer .navi .menu .menu-second{
        font-size: 15px;
    }
    #footer .logo-address .address{
        font-size: 14px;
    }
    #footer .logo-address .tel{
        font-size: 14px;
    }
    #footer .logo-address .copyright{
        font-size: 12px;
    }
    .pc{
        display: none;
    }
    .head-text{
        margin-bottom: 40px;
    }
}
@media screen and (max-width: 430px){
    #footer .navi .menu .menu-first{
        max-width: 100px;
    }
    #footer .navi .menu .menu-first > a{
        font-size: 14px;
    }
}