html {
    scroll-behavior: smooth;
}

body {
    -webkit-text-size-adjust: 100%;
    margin: 0;
    font-family: TsukuGoPr5-M, "Hiragino Kaku Gothic ProN", "游ゴシック体", YuGothic, "YuGothic M", "Yu Gothic Medium", "メイリオ", sans-serif;
    color: #252525;
}

h1 {
    font-size: 2vw;
}

h2 {
    font-size: 1.5vw;
}

h3 {
    font-size: 1.3vw;
}

p {
    font-size: 1.2vw;
}

span {
    font-size: 1.1vw;
}

header {
    width: 100%;
    position: fixed;
    background-color: #fff;
    z-index: 10;
    top: 0;
    height: 140px;
}

main {
    padding-top: 130px;
}

.title {
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.title h1 {
    font-weight: bolder;
    text-align: center;
}

.title a {
    text-decoration: none;
    color: #252525;
}

.title span {
    display: block;
    margin: 0;
    line-height: 1;
    color: #0e5644;
}

.title p {
    font-weight: bold;
}

.contact_area {
    width: 25%;
}

.contact_area p {
    text-align: center;
}

.phone {
    margin: 0;
}

.phone img {
    width: 5%;
    /* height: 15px; */
    margin-right: 2%;
}

.contact_pc {
    width: 100%;
    display: flex;
}

.contact,
.contact_line {
    width: 50%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    /* justify-content: space-between; */
    align-items: center;
    color: #0e5644;
    padding: 0 3%;
    margin: 0 auto;
    margin-left: 2%;
    border: 3px solid #0e5644;
    border-radius: 50px;
}

.contact a {
    margin: 0 auto;
}

.contact img {
    width: 20%;
    object-fit: contain;
    margin-right: 5px;
}

.contact_line img {
    width: 20%;
    object-fit: contain;
    margin-right: 5px;
}

.contact p,
.contact_line p {
    font-size: 1vw;
    color: #0e5644;
}

.pc_menu {
    width: 100%;
    background-color: #0e5644;
    color: white;
}

.pc_menu div {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.pc_menu div p {
    font-size: 1vw;
    font-weight: bold;
}

.pc_menu div a {
    text-decoration: none;
    color: white;
}

.slide {
    position: relative;
}

.slide img {
    width: 100%;
    height: 60%;
    object-fit: cover;
}

.concept {
    background-color: #252525;
    color: white;
    padding: 2% 5%;
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    z-index: 1;
}
/* 
.concept h1 {
    color: #0e5644;
    font-weight: bolder;
}

.concept h3 {
    color: #0e5644;
} */

section {
    padding-top: 200px;
    width: 75%;
    margin: 0 auto;
}

.sec_title {
    width: 20%;
    text-align: center;
}

.sec_title h1,
.sec_title p {
    margin-top: 0;
    margin-bottom: 0;
}

.sec_title h1 {
    color: #0e5644;
    border-bottom: 1px solid #000;
}

.sec_greeting {
    padding-top: 350px;
}

.greeting_area {
    display: flex;
    justify-content: space-between;
}

.greeting_area p {
    line-height: 2;
}

.greeting_area img {
    width: 40%;
    height: 60%;
    object-fit: cover;
    margin-right: 5%;
}

.service {
    width: 100%;
    margin-top: 200px;
    padding: 100px 0;
    color: white;
    background-image: url(../images/service1.jpeg);
    position: relative;
    /* 上の角だけ丸くする */
    border-top-left-radius: 150px;
    /* 角丸の外に背景がはみ出さないように */
    overflow: hidden;
    background-repeat: no-repeat;
    /* 繰り返さない */
    background-size: cover;
    /* 全体に表示（はみ出しOK） */
    background-position: center center;
    /* 中央寄せ */
}

.service::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* 半透明の黒で覆う */
    filter: grayscale(100%);
    /* この擬似要素自体にフィルターをかける */
    z-index: 1;
    /* 背景レイヤー */
}

.service_area {
    width: 75%;
    margin: 0 auto;
    position: relative;
    /* 必須 */
    z-index: 2;
    /* テキスト・画像を最前面へ */
}

.service p {
    padding-left: 1em;
    /* ・分の余白 */
    text-indent: -1em;
    /* 1行目だけ左に戻す */
    line-height: 1.2;
}


.service1 {
    display: flex;
    justify-content: space-between;
}

.service1 .sec_title {
    width: 25%;
}

.service1 .sec_title h1 {
    color: white;
    border-bottom: 1px solid white;
}

.service1 img {
    width: 40%;
    margin-left: 5%;
    object-fit: cover;
}

.access_area {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.access_area iframe {
    width: 100%;
    height: 500px;
    margin-left: 5%;
}

.sec_news {
    width: 100%;
    background-color: #0e5644;
    border-bottom-right-radius: 150px;
    padding-bottom: 100px;
    /* padding-top: 100px; */
}

.news_area {
    display: flex;
    justify-content: space-between;
    background-color: #0e5644;
    width: 75%;
    margin: 0 auto;
}

.newsTitle .sec_title {
    width: 100%;
    color: white;
}

.newsTitle .sec_title h1 {
    color: white;
    border-bottom: 1px solid white;
}

.newsList {
    width: 70%;
    margin-left: 5%;
    background-color: white;
    padding: 2% 5% 0 5%;
}

.newsList a {
    text-decoration: none;
    color: #252525;
}

.newsList span {
    padding-top: 1%;
}

.newsList h3 {
    margin-top: 0;
    position: relative;
    margin-bottom: 2rem;
    border-bottom: 2px solid #0e5644;
    font-weight: bold;
}

.news_page {
    text-align: right;
    margin-bottom: 2%;
}

footer {
    background-color: #0e5644;
    color: white;
    margin-top: 100px;
}

.footer_area {
    width: 75%;
    margin: 0 auto;
    padding: 50px 0;
    display: flex;
    justify-content: space-between;
}

.footer_accece {
    width: 45%;
}

.footer_menu {
    display: flex;
    justify-content: space-between;
    width: 30%;
}

.footer_menu p {
    margin-bottom: 0;
    margin-right: 0;
    padding-left: 1%;
}

.menuList {
    width: 30%;
}

.menuList a {
    text-decoration: none;
    color: white;
}

.page_img {
    position: relative;
}

.page_img img {
    width: 100%;
    height: 30%;
    object-fit: cover;
}

.page_title {
    background-color: #0e5644;
    color: white;
    padding: 2% 8%;
    position: absolute;
    top: 55%;
    left: 5%;
    /* transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%); */
    z-index: 1;
}

.news_list {
    padding-top: 100px;
}

.news_list a {
    text-decoration: none;
}

.news_item {
    display: flex;
    align-items: center;
    padding: 0.5em 2em;
    margin: 5% 0;
    color: #252525;
    background: white;
    border-top: solid 10px #0e5644;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
    border-top-right-radius: 30px;
}

.news_item span {
    margin: 0;
    padding: 0;
    padding-right: 2%;
}

.tabs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 80%;
    margin: 0 auto;
    margin-bottom: 5%;
}

.tabs button {
    font-size: larger;
}

.tab {
    padding: 2% 2%;
    border: none;
    background: #eee;
    cursor: pointer;
}

.tab.active {
    background: #0e5644;
    color: #fff;
}

.tab-content {
    display: none;
    /* width: 85%; */
    margin: 0 auto;
}

.tab-content h2 {
    margin-bottom: 3%;
    color: #0e5644;
}

.tab-content.active {
    display: block;
}

.service_menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* PCは3列 */
    gap: 20px;
    width: 100%;
}

.service_contents {
    width: 80%;
    border: 1px solid #0e5644;
    /* 線の太さ 2px、実線、色 #333 */
    padding: 5% 5%;
    /* 中の余白 */
}

.service_contents h4 {
    margin: 0;
}

.service_contents p {
    font-size: 1vw;
    color: #0e5644;
    font-weight: bold;
    margin: 0;
    margin: 2% 0;
}

.service_contents span {
    color: gray;
    margin: 0;
    font-size: 1vw;
}

.notice {
    /* width: 85%; */
    margin: 0 auto;
    margin-top: 5%;
}

.notice h3 {
    color: #0e5644;
}

.privacy {
    background-color: #0e5644;
    color: #fff;
}

.privacyPolicy {
    padding-top: 100px;
}

.privacyPolicy h2 {
    color: #0e5644;
}

.privacyPolicy p {
    padding: 1% 3%;
}

.detail {
    padding-top: 100px;
}

.detail p {
    line-height: 2;
}

.blog_list {
    padding-top: 100px;
    display: flex;
    /* 横並びにする */
    flex-wrap: wrap;
    /* 要素が3つ以上なら次の行に折り返す */
    gap: 40px;
    /* 要素間の隙間 */
    justify-content: space-between;
    /* 均等に配置 */
}

.blog_list a {
    box-sizing: border-box;
    text-decoration: none;
    /* 下線消す */
    flex: 0 1 calc(33.333% - 26.666px);
    /* これで横に3つ */
    box-sizing: border-box;
    text-decoration: none;
    /* 下線消す */
    margin-bottom: 3%;
}

.blog_item {
    height: 80%;
    padding: 1em 2em;
    margin: 3% 0;
    color: #252525;
    background: white;
    border-top: solid 10px #0e5644;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
    border-top-right-radius: 30px;
}

.blog_item span {
    margin: 0;
    padding: 0;
    padding-right: 2%;
}

#navArea {
    display: none;
}

.contact_sp {
    display: none;
}

.slide_sp {
    display: none;
}

/* タブレット */
@media screen and (max-width: 1025px) {

    header {
        width: 100%;
        position: fixed;
        background-color: #fff;
        z-index: 10;
        top: 0;
        height: 80px
    }

    main {
        padding-top: 80px;
    }

    .title {
        width: 90%;
    }

    .slide {
        position: relative;
    }

    .slide img {
        width: 100%;
        height: 30%;
        object-fit: cover;
    }

    .concept {
        padding: 5% 8%;
    }

    section {
        padding-top: 100px;
        width: 85%;
        margin: 0 auto;
    }

    .sec_greeting {
        padding-top: 200px;
    }

    .service {
        margin-top: 100px;
    }

    .service_area {
        width: 85%;
    }

    .news_area {
        width: 85%;
    }

    .newsList h3 {
        margin-bottom: 1rem;
    }

    .news_page a {
        font-size: 1.2vw;
    }

    .page_img {
        position: relative;
    }

    .page_img img {
        width: 100%;
        height: 20%;
        object-fit: cover;
    }

    .page_title {
        background-color: #0e5644;
        color: white;
        padding: 3% 10%;
        position: absolute;
        top: 75%;
        left: 5%;
        z-index: 1;
    }

    .tab-content h2 {
        font-size: 1.5vw;
    }

    .tabs {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        width: 90%;
        margin: 0 auto;
        margin-bottom: 5%;
    }

    .tabs button {
        font-size: 1.5vw;
    }

    .service_contents h4 {
        font-size: 1.5vw;
    }

    #navArea {
        display: none;
    }

    .contact_sp {
        display: none;
    }

    .slide_sp {
        display: none;
    }
}

/* 480px以下に適用されるCSS（スマホ用） */
@media screen and (max-width: 480px) {

    header {
        width: 100%;
        height: 55px;
    }

    main {
        padding-top: 55px;
    }

    .slide {
        display: none;
    }

    .slide_sp {
        display: block;
    }

    .slide_sp h1 {
        font-size: 4.5vw;
    }

    h1 {
        font-size: 3vw;
    }

    h2 {
        font-size: 2.5vw;
    }

    p {
        font-size: 2.5vw;
    }

    .slide img {
        width: 100%;
        height: 35%;
        object-fit: cover;
    }

    .concept {
        width: 70%;
        background-color: #0e5644;
        color: white;
        padding: 3% 5%;
        position: absolute;
        top: 43%;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        z-index: 1;
    }

    .concept h3 {
        font-size: 2.5vw;
    }

    .sec_title {
        width: 30% !important;
        text-align: center;
    }

    section {
        padding-top: 50px;
        width: 85%;
        margin: 0 auto;
    }

    .sec_greeting {
        padding-top: 110px;
    }

    .greeting_area {
        display: block;
    }

    .greeting_area img {
        width: 100%;
        height: 30%;
        object-fit: cover;
        margin: 0 auto;
        margin-bottom: 5%;
    }

    .service {
        margin-top: 50px;
        padding-top: 50px;
        padding-bottom: 50px;
        border-top-left-radius: 100px;
    }

    .sec_news {
        padding-bottom: 50px;
        border-bottom-right-radius: 100px;

    }

    footer {
        margin-top: 50px;
    }

    .pc_menu {
        display: none;
    }

    .title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 95%;
    }

    .title h1 {
        font-size: 4vw;
        width: 55%;
    }

    .title_sp {
        display: flex;
        width: 15%;
    }

    .contact_sp {
        display: flex;
        align-items: center;
        width: 25%;
    }

    .contact_img {
        display: block;
        width: 35%;
        object-fit: contain;
        background-color: #fff;
        padding: 2%;
        margin-left: 1%;
        margin-right: 5%;
        border-radius: 30px;
    }

    /* .call-btn {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 80px;
        color: white;
        font-size: 40px;
        border-radius: 50%;
        text-decoration: none;
    } */

    .contact_img_line {
        display: block;
        width: 39%;
        object-fit: contain;
        background-color: #fff;
        padding: 2%;
        margin-left: 1%;
        border-radius: 30px;
    }

    .contact_img img {
        width: 100%;
        object-fit: contain;
    }

    .contact_img_line img {
        width: 100%;
        object-fit: contain;
    }

    .contact_area {
        display: none;
    }

    #navArea {
        display: block;
    }

    /*============
    nav
    =============*/
    nav {
        display: block;
        position: fixed;
        top: 0;
        left: -300px;
        bottom: 0;
        width: 300px;
        background: #0e5644;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: all .5s;
        z-index: 3;
        opacity: 0;
    }

    .open nav {
        left: 0;
        opacity: 1;
    }

    nav .inner {
        padding: 25px;
    }

    nav .inner ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    nav .inner ul li {
        position: relative;
        margin: 0;
        border-bottom: 1px solid #fff;
    }

    nav .inner ul li a {
        display: block;
        color: #fff;
        font-size: 14px;
        padding: 1em;
        text-decoration: none;
        transition-duration: 0.2s;
    }

    nav .inner ul li a:hover {
        background: #e4e4e4;
    }

    /*============
    .toggle_btn
    =============*/
    .toggle_btn {
        display: block;
        position: fixed;
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        transition: all .5s;
        cursor: pointer;
        z-index: 3;
    }

    .toggle_btn span {
        display: block;
        position: absolute;
        left: 0;
        width: 30px;
        height: 2px;
        background-color: #333;
        border-radius: 4px;
        transition: all .5s;
    }

    .toggle_btn span:nth-child(1) {
        top: 4px;
    }

    .toggle_btn span:nth-child(2) {
        top: 14px;
    }

    .toggle_btn span:nth-child(3) {
        bottom: 4px;
    }

    .open .toggle_btn span {
        background-color: #fff;
    }

    .open .toggle_btn span:nth-child(1) {
        -webkit-transform: translateY(10px) rotate(-315deg);
        transform: translateY(10px) rotate(-315deg);
    }

    .open .toggle_btn span:nth-child(2) {
        opacity: 0;
    }

    .open .toggle_btn span:nth-child(3) {
        -webkit-transform: translateY(-10px) rotate(315deg);
        transform: translateY(-10px) rotate(315deg);
    }

    /*============
    #mask
    =============*/
    #mask {
        display: none;
        transition: all .5s;
    }

    .open #mask {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: .8;
        z-index: 2;
        cursor: pointer;
    }

    .service1 {
        display: block;
    }

    .service1 img {
        width: 100%;
        margin-left: 0;
        object-fit: cover;
    }

    .news_area {
        display: block;
    }

    .service1 h2 {
        margin-top: 5%;
        font-size: 3.5vw;
    }

    .access_area {
        display: block;
        width: 100%;
    }

    .access_area iframe {
        width: 100%;
        height: 30%;
        margin-left: 0;
        margin-top: 5%;
    }

    span {
        font-size: 2vw;
    }

    h3 {
        font-size: 2.5vw;
    }

    .tab-content h2 {
        font-size: 2.5vw;
    }

    .service_contents h4 {
        font-size: 2vw;
    }

    .service_contents p {
        font-size: 2vw;
        color: #0e5644;
        font-weight: bold;
        margin: 0;
        margin: 2% 0;
    }

    .service_contents span {
        color: gray;
        margin: 0;
        font-size: 2vw;
    }

    .privacyPolicy h2 {
        color: #0e5644;
        font-size: 2.5vw;
    }

    .newsList {
        width: 90%;
        margin-left: 0;
        margin-top: 5%;
        background-color: white;
        padding: 2% 5% 0 5%;
    }

    .footer_area {
        display: block;
        width: 55%;
        padding: 10% 0;
    }

    .footer_accece {
        width: 100%;
        margin: 0 auto;
    }

    .footer_menu {
        display: none;
    }

    .page_title {
        top: 85%;
    }

    .news_list {
        padding-top: 50px;
    }

    .news_list h3 {
        font-size: 2.2vw;
    }

    .news_list span {
        font-size: 1.8vw;
    }

    .footer_menu {
        width: 45%;
    }

    .blog_list {
        padding-top: 50px;
    }

    .blog_list a {
        flex: 0 1 calc(50% - 20px);
        /* 2列 */
        box-sizing: border-box;
        text-decoration: none;
        margin-bottom: 3%;
    }

    .blog_list {
        gap: 20px;
    }

    .blog_item {
        padding-top: 1rem;
        padding-bottom: 0;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .blog_item h3 {
        font-size: 2.2vw;
    }

    .blog_item span {
        font-size: 1.8vw;
    }

    .tabs {
        width: 100%;
    }

    .tab {
        padding: 10px 5px;
    }

    .tabs button {
        font-size: 2vw;
    }

    .privacyPolicy {
        padding-top: 50px;
    }

    .service_menu {
        grid-template-columns: repeat(2, 1fr);
        /* 2列 */
    }

    .service_contents {
        width: 90%;
    }

    .detail {
        padding-top: 50px;
    }

    .news_page a {
        font-size: 2.5vw;
    }

}