@charset "utf-8";

/* base */
html{
    font-size: 100%;
    scroll-padding-top: 130px;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body{
    color: #24292e;
    font-family: "Zen Maru Gothic", sans-serif;
}

a{
    text-decoration: none;
    color: #333;
}

p{
    font-size: 1.3rem;
}

img{
    max-width: 100%;
}

li{
    list-style: none;
    font-size: 1.2rem;
}

/* font */
/* Zen Maru Gothic */
.zen-maru-gothic-light {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.zen-maru-gothic-regular {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.zen-maru-gothic-medium {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.zen-maru-gothic-bold {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.zen-maru-gothic-black {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 900;
    font-style: normal;
}

/* text color */
.text-white{
    color: #fff;
}

.text-green{
    color: #00A556;
}

/* section */
.section{
    padding: 25px 0 20px;
}

.sec-title{
    font-size: 1.5rem;
    line-height: 1.3;
}

.sec-sub-title{
    font-size: 1.2rem;
    line-height: 1.1;
}

.sec-description{
    font-size: 1.1rem;
    font-weight: 500;
}

.sec-header{
    margin: 0 0 20px;
}

.sec-header>.sec-title{
    text-align: center;
}

.sec-header>.sec-sub-title{
    text-align: center;
}

.sec-body{
    padding: 0 4% 20px;
}

.sec-body>.sec-description{
    text-align: center;
}

.sec-button{
    margin: 20px auto 0;
    text-align: center;
    width: fit-content;
}

.sec-button a{
    width: fit-content;
}

.sec-button-box{
    width: fit-content;
    padding: 2px 10px;
    border: 2px solid #333;
    border-radius: 10px;
    font-weight: 600;
    transition: transform .6s ease;
}

.green-bg .sec-button-box:hover{
    background-color: #fff;
}

.white-bg .sec-button-box:hover{
    background-color: #CCEDDD;
}

@media screen and (max-width: 480px) {
    .sec-title{
        font-size: 1.2rem;
    }
    
    .sec-sub-title{
        font-size: 1.0rem;
    }
    
    .sec-description{
        font-size: 0.8rem;
    }

    .sec-button-box{
        font-size: 0.8rem;
    }
}

/* section background */
.white-bg{
    background: rgba(255, 255, 255, 0.95);
}

.green-bg{
    background: rgba(204, 237, 221, 0.95);
}

/* grid */
.grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: stretch;
}

.grid-4 .grid-item{
    width: 24%;
    transition: all .25s;
}

@media screen and (max-width: 800px) {
    .grid-4 > .grid-item{
        width: 48%;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 480px) {
    .grid-4 > .grid-item{
        width: 100%;
    }
}

/* text-center */
.text-center{
    text-align: center;
}

/* page */
.page-main{
    padding-top: 130px;
}

.page-main-box{
    padding: 0 4% 20px;
}

@media screen and (max-width: 800px) {
    .page-main{
        padding-top: 90px;
    }
    .page-main-box{
        padding: 0 4%;
    }
}

.page-title{
    text-align: center;
    font-size: 2.5rem;
    padding: 5px 0 0;
}

.page-sub-title{
    text-align: center;
    font-size: 1.5rem;
    padding: 0 0 15px;
}

.breadcrumb ul {
    display: flex;
    flex-wrap: wrap;
    padding: 15px 0 15px 5%;
}

.breadcrumb li{
    font-weight: 600;
    font-size: 1.2rem;
}

.breadcrumb li + li::before {
    content: ">";
    margin: 0 10px;
}

.page-main-box{
    min-height: 500px;
}

@media screen and (max-width: 480px) {
    .breadcrumb ul {
        padding: 15px 0 0 5%;
    }
    .breadcrumb li{
        font-size: 0.8rem;
    }
}

/* 404 */
.nf-contents p{
    text-align: center;
    font-size: 1.2rem;
}

.nf-contents p a{
    font-weight: 600;
    font-size: 1.2rem;
}

/* 改行や空白をそのまま反映し、枠線で折り返す設定 */
.custom-text-area {
    white-space: pre-wrap !important;
    display: block; /* 念のためブロック要素にする */
}

.pf-box-bottom-info .custom-text-area{
    font-size: 1.3rem;
}