@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);

/* 全ての要素に対して box-sizing を border-box に設定 */
*,
*:before,
*:after {
    box-sizing: border-box;
}

/* デフォルトのフォントファミリーとサイズを設定 */
body {
    color: #333333;
    font-family: "Noto Serif JP";
    font-weight: 400;
    /*"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "BIZ UDPGothic", Meiryo, sans-serif */
    font-size: 15px;
    background-image: url(../img/main_bg.jpg);
    /* 画像を常に天地左右の中央に配置 */
    background-position: center center;
    /* 表示するコンテナの大きさに基づいて、背景画像を調整 */
    background-size: cover;
    object-fit: cover;
    /* 背景画像が読み込まれる前に表示される背景のカラー */
    background-color: #FBF7EB;
    /* コンテンツの高さが画像の高さより大きい時、動かないように固定 */
    background-attachment: fixed;
}
p {
    letter-spacing: 0.08em;
    line-height: 1.5;
    
}
ruby {
    font-size: px;
}
rt {
    font-size: 8px;
}
@media screen and (min-width: 768px) {
    body {
        font-size: 16px;
    }
}
/* リストのスタイリングを削除 */
ul,ol
{
    list-style: none;
}
dt {
    font-weight: lighter;
}

/* リンクの基本的なスタイリング */
a {
    text-decoration: none;
}

/* メインコンテンツを最大幅に設定し、中央に配置 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダーの基本的なスタイリング */
/* h1,h2,h3,h4,h5,h6 {
    margin-bottom: 10px;
} */


/* 段落間にスペーシングを追加 */
:root {
    --main_color: #B6D7A8;
    --sab_color:#DE3E6F;
}

/*========= 背景 =========*/
.bg_gray {
    background-color: #fafafa;
}

.bg_red {
    color: #fff;
    background-color: var(--sab_color);
}

/*=== PC only / SP only ===*/
@media screen and (min-width:391px) {
    .sp_only{
        display: none;
    }
}
@media (max-width: 391px) , (min-width: 1024px) {
    .tb_only{
        display: none;
    }
}
@media screen and (min-width:769px) {
    .sptb_only{
        display: none;
    }
}
@media screen and (max-width:390px) {
    .tbpc_only{
        display: none;
    }
}
@media screen and (max-width:768px) {
    .pc_only{
        display: none;
    }
}

.list-item_gap:not(:last-child) {
    margin-bottom: 0.8rem;
}
.list-item_gap_02:not(:last-child) {
    margin-bottom: 3.3rem;
}
.item_gap:not(:last-child) {
    margin-bottom: var(--margin_01);
}
.block_gap:not(:last-child) {
    margin-bottom: 7.5rem;
}


.section-gap {
    margin-bottom: var(--sec_margin);
}

.block-gap:not(:last-child) {
    margin-bottom: var(--block_margin);
}

/* ======================================== 共通 ======================================== */
/* ==================== sec_ttl ==================== */
.sec_ttl_01 {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: flex-start;
    gap: 3px;
}
.sec_ttl_01 div {
    display: block;
    font-size: 28px;
    font-weight: 600;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    padding-left: 10px;
    border-left: 2px solid var(--sab_color);
}
.sec_ttl_sub {
    font-size: 12px;
}

.sec_ttl_02 {
    width: auto;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    gap: 3px;
}
.sec_ttl_02 div {
    display: inline-block;
    font-size: 28px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sab_color);
    text-align: center;
}
.sec_ttl_sub {
    font-size: 12px;
}
@media screen and (max-width:767px) {
    .sec_ttl {
        width: 100%;
        display: inline-block;
        font-size: 28px;
        text-align: center;
        line-height: 1.5;
        margin: 0 auto;
        position: relative;
        margin-bottom: 50px;
    }
    .sec_ttl::after {
        content: "";
        display: block;
        height: 2px;
        width: 90px;
        background-color: var(--main_color);
        margin: 20px auto 0; 
    }
}

/* ==================== sec_btn ==================== */
.sec_btn_red {
    display: block;
    font-size: 20px;
    text-align: center;
    padding: 15px 60px;
    max-width: 768px;
    width: 100%;
    height: 50px;
    transition: .3s;
    margin: 0 auto;   
}
.sec_btn_wb {
    display: block;
    font-size: 16px;
    text-align: center;
    padding: 15px 60px;
    max-width: 768px;
    width: 100%;
    height: 50px;
    transition: .3s;
    margin: 0 auto;   
}

.sec_btn_red {
    max-width: 768px;
    width: auto;
    color: #fff;
    background-color: #DE3E6F;
    border-radius: 30px;
}
.sec_btn_red:hover {
    color: #333;
    background-color: rgba(255, 255, 255, 1);
    text-decoration: none;
    border: 1px solid #333;
}
.sec_btn_wb {
    width: auto;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 30px;
}
.sec_btn_wb:hover {
    color: #333;
    background-color: rgba(255, 255, 255, 1);
    text-decoration: none;
}


/* ==================== header ==================== */
#header {
    position: fixed;
    top: 0;
    padding: 0 0 0 40px;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.3s ease;
    background-color: var(--main_color);
    color: #333;
}
.header_inner,
.header-sp_inner {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}
.header-sp_inner {
    display: none;
}
.header_logo img {
    height: 55px;
    width: auto;
}

.pc_nav {
    width: auto;
    height: 55px;
}
.pc_nav ul {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center; 
    align-items: center;
}
.pc_nav ul li {
    display: block;
    width: 100px;
    height: 100%;
    padding: auto 35px;
    font-size: 12px;
    text-align: center;
    display: flex;
    justify-content: center; 
    align-items: center;
}
.sp_nav {
    display: none;
}
@media screen and (max-width: 1024px) {
    #header {
        height: 80px;
        padding: 0 0;
    }
    .header_inner {
        display: none;
    }
    .header-sp_inner {
        display: block;
    }
    .header-sp_inner .header_logo {
        position: fixed;
        top: 10px;
        left: 20px;
        z-index: 20;
    }
    .nav {
        display: none;
    }

    /* ボタンのスタイル */
    .hamburger {
        position: fixed;
        top: 26px;
        right: 20px;
        width: 30px;
        cursor: pointer;
        z-index: 20;
    }

    .hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #333;
        margin: 5px 0;
        transition: 0.4s;
    }
    /* バツ印に変化するスタイル */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }  
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }  
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .sp_nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10;
        width: 100%;
        height: 100%;
        opacity: 0;
        background-color: var(--main_color);
        color: #333;
        transition: opacity 0.3s ease; /* スライドインのアニメーション */
        padding: 65px 20px 20px;
        box-sizing: border-box;
        

    }
    /* メニューが開いているとき */
    .sp_nav.open {
        display: block;
        opacity: 100;
        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: center;
        text-align: center;
    }
    /* メニューリストのスタイル */
    .sp_nav ul {
        width: 100%;
        list-style-type: none;
        padding: 0;
        margin: 55px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;

    }
    .sp_nav li {
        width: 70%;
        font-size: 16px;
        padding: 25px 0;
    }
    .sp_nav li a {
        text-decoration: none;
        display: block;
    }
    /* メニューリストのスタイル */
    .sp_nav_contact {
        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: center;
        gap: 20px;
    }
    .sp_nav_contact .sec_btn_w {
        border-radius: 8px;
        width: 80%;
        min-width: 295px;
        padding: 20px 30px;
    }
    .sp_nav_contact .sec_btn_w:hover {
        color: #333;
        background-color: #fff;
        text-decoration: none;
    }
}

/* ==================== sub-top ==================== */
#sub_top {
    height: 270px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 55px;

}

.about_top_img {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 74.5%), url(../img/copo_sec01_img_pc.webp);
}

.business_top_img {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 74.5%), url(../img/top_sec01-img02_pc.webp);
}

.news_top_img {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 74.5%), url(../img/news_sec01_img_pc.webp);
}

.recruit_top_img {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 74.5%), url(../img/news_sec01_img_pc.webp);
}
.contact_top_img {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 74.5%), url(../img/news_sec01_img_pc.webp);
}

.about_top_img,
.business_top_img,
.news_top_img,
.recruit_top_img,
.contact_top_img {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #464646;
}



/* ==================== breadcrumb ==================== */
#breadcrumb {
    width: 100%;
    height: auto;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.breadcrumb_inner {
    max-width: 1024px;
    width: 100%;
    padding: 10px 40px;
    font-size: 11px;
}
/* ==================== sub_cont-ttl ==================== */
.sub_cont-h2 {
    max-width: 1024px;
    width: 100%;
    height: auto;
    padding: 15px 0;
    border-bottom: 2px solid var(--sab_color);
    font-size: 28px;
    font-weight: 600;
    color: #333;
}

.sub_cont-h3 {
    max-width: 1024px;
    width: 100%;
    height: auto;
    font-size: 28px;
    font-weight: 600;
    border-bottom: solid 1px #333;
    padding-bottom: 10px;
    margin-bottom: 50px;
}

/* ==================== footer ==================== */
.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sec_contact {
    width: 100%;
    color: #fff;
    padding: 70px 40px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../img/top_sec01-img01_pc.webp);
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    gap: 50px;
}
.sec_contact_ttl {
    font-size: 28px;
    color: #fff;
    margin-bottom: 35px;
} 
.sec_contact_cont {
    max-width: 768px;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center; 
    align-items: center;
    gap: 50px;
}
.footer_cont_about img {
    height: 55px;
    width: auto;

}
.sec_contact_btn {
    width: 50%;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: px;

}
.sec_contact_btn span {
    font-size: 12px;
}

@media screen and (max-width:768px) {
    .sec_contact {
        padding: 100px 24px;
        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: center;
    }
    .sec_contact_ttl {
        font-size: 7.467vw;
        color: #fff;
        margin-bottom: 35px;
    } 
    .sec_contact_cont {
        flex-direction: column;
    }
    .sec_contact_btn {
        height: 100px;
        width: 100%;
        display: flex;
        color: #fff;
        font-size: 20px;
        transition: .3s;
    }
    .dotted-line {
        width: 90%;
        height: 1px;
        border-left: none;
        border-bottom: 2px dotted #fff;
    }
}

.footer_nav {
    background-color: #fff;
    height: 60px;
    padding: 15px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
}
.footer_nav ul {
    display: flex;
    flex-direction: row;
    justify-content: center; 
    align-items: center;
}
.footer_nav li {
    width: auto;
    padding: 0 30px;
    border-left: 1px solid #333;

}
.footer_nav li:nth-child(6) {
    border-right: 1px solid #333;
}
.footer_nav .none {
    display: none;
}

@media screen and (max-width:768px) {
    .footer_nav {
        background-color: transparent;
        height: 40px;
    }
    .footer_nav ul {
        display: none;
    }
}


.footer_inner {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 40px 20px;
    background-color: var(--main_color);
    color: #333;
    gap: 20px;
}

.footer_cont {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.footer_cont_ttl {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer_cont li {
    font-size: 16px;
}
.footer_cont li:not(:last-child) {
    margin-bottom: 5px;
}

.map_size {
    aspect-ratio: 16 / 9;
    width: 50%;    
}
@media screen and (max-width:767px) {
    .footer_inner {
        width: 100%;
        flex-direction: column;
        padding: 35px 12px;
        background-color: var(--main_color);
        gap: 40px;
    }
    .footer_cont {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }
    
    .footer_cont_ttl {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .footer_cont01_about li {
        font-size: 15px;
    }
    
    .map_size {
        width: 100%;
        aspect-ratio: 16/9;
    }
}
