@charset "UTF-8";

/* ====================
        common
=======================*/
.sub_inner {
    padding-bottom: 60px;
    width: 88%;
}

.sub_inner p {
    font-size: 13px;
}

.sub_ttl_h1 {
    text-align: center;
    color: #fff;
    font-size: 30px;
    margin: 0;
}

.sub_ttl_h2 {
    color: #fff;
    margin: 0;
}

.sub_section {
    max-width: 800px;
    width: 95%;
    margin: 0 auto;
    padding: 60px 0;
}


/* ====================
        about
=======================*/


.about_ttl {
    text-align: center;
    padding: 25px;
    color: #981709;
}

.about_ttl_h2 {
    font-size: 40px;
    padding-bottom: 60px;
}

.about-us {
    background-color: #fff;
    color: #171717;
}

.about-us h1 {
    text-align: center;
    padding-top: 60px;
}

.about-us .about-text-wrap {
    width: 70%;
    display: block;
    margin: auto;
    padding: 30px 20px 60px;
    line-height: 1.5;
    font-size: 13px;
}

.about-us .about-text-wrap p {
    margin: 0;        
    padding: 0;
}

.about-us .about-text-wrap p:not(:last-child) {
    margin-bottom: 15px;
}

.about02 h1 {
    color: #fff;
    text-align: center;
    padding-top: 60px;
}

.about02 .about-text-wrap {
    width: 88%;
    display: block;
    margin: auto;
    padding: 30px 20px 60px;
}

.about02 .about-text-wrap p {
    color: #fff;
    margin: 0;
    padding: 0;
}

.about02 .about-text-wrap p:not(:last-child) {
    margin-bottom: 15px;
}


/* ====================
        engeki
=======================*/

.engeki_ul_li {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* 上下左右のマージンを一括指定（数値はお好みで） */
    margin: 60px 0;
}

.engeki_ul_li li {
    /* calcを使って 3列（隙間30pxが2箇所分）の幅を正確に計算 */
    width: calc((100% - 60px) / 3); 
}
/* ====================
        profile
=======================*/
/* ▽profile */
.sub_profile .flex {
    align-items: center;
}

.sub_profile .box01 {
    width: 40%;
}

.sub_profile .box02 {
    width: 50%;
}

.sub_profile .box02 p {
    color: #fff;
    margin: 35px 0 0;
}

/* ▽greeting */
.greeting p {
    color: #fff;
    width: 88%;
}


.greeting .sub_ttl_h1 {
    text-indent: 5.5em;

}

/* ====================
        script
=======================*/

.script .article {
    position: relative;
    display: flex;
    margin: 20px auto 20px;
    justify-content: center;
    width: 80%;
    min-height: 317px;
    padding: 60px 30px;
    border-radius: 5px;
    background-color: #fff;
    color: #171717;
}

.article_content {
    position: relative;
    width: calc(100% - 146px);
    padding-left: 230px;
    padding-right: 36px;
}

.article_content,
::before,
::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
}

:-webkit-any(article, aside, nav, section) h2 {
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
}

.article_content_image {
    position: absolute;
    left: 0;
    top: 0;
    width: 200px;
    height: 283px;
}


.script a.btn-flat {
    padding: 0.5rem 3rem;
}

a.btn-flat span {
    position: relative;
    font-size: 16px;
}


/* ====================
        past
=======================*/

.photo {
    display: flex;
    flex-wrap: wrap;
    margin-top: 35px;
}

.photo img {
    width: 20%;
}



/* ====================
        five
=======================*/



.five-minutes-about p {
    color: #fff;
}

.five-minutes-flex {
    flex-wrap: wrap;
}

.five-minutes-list-box .five-minutes-btn-section {
    background-color: #fff;
}

.five-minutes-btn a {
    min-width: 230px;
    height: 65px;
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
    display: inline-block;
    outline: none;
    background: #99180b;
    text-align: center;
}

.five-minutes-btn a:hover {
    background: #080a57;
}

.five-minutes-list p {
    color: #fff;
}

.five-minutes-theme {
    padding: 1rem 2rem;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    color: #fff;
    text-align: center;
    width: 35%;
    margin: 35px auto 60px;
    font-size: 16px;
    line-height: 35px;
}

.five-minutes-theme span {
    display: block;
    font-size: 30px;

}


.five-minutes-list-box {
    width: 48%;
}

.five-minutes-list-box:nth-child(n+3) {
    margin-top: 60px;
}

.five-minutes-list-box .five-minutes-ttl {
    border-bottom: solid 3px #080a57;
    position: relative;
    color: #fff;
    padding-bottom: 10px;
    font-size: 16px;
}

.five-minutes-ttl:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #99180b;
    bottom: -2.5px;
    width: 30%;
}



.table_design01 {
    width: 100%;
}

.table_design01 th,
.table_design01 td {
    background-color: #e6e6e6;
    padding: 1em;
    font-size: 14px;
    width: 100%;
    display: block;

}

.table_design01 th {
    background-color: #080a57;
    color: #fff;
    font-weight: bold;
    text-align: center;
    min-width: 4em;
    margin-top: 6px;
}



/* ====================
        member
=======================*/

.member_flex {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px;
}


.member-icon-window {
   aspect-ratio: 1/1;
}

.member-icon-window img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .1s ease;
}
.member_flex figcaption {
    margin: 5px 0 10px;
    font-size: 13px;
}

.member_flex a {
    text-decoration: underline solid 1px #fff;
    cursor: pointer;
    max-width: 500px;
    /* overflow: hidden; */
    width: 12%;
}



.member-icon-window:hover img {
    transform: scale(1.1);
    /* 拡大 */
}

.member02 .sub_ttl_h1 {
    margin-top: 60px;
}

.member-profile-window{
    display: block;
    margin: auto;
    aspect-ratio: 1/1;
    width:25%;
}

.member-profile-window img{
    height:100%;
    object-fit: cover;
    object-position: center;
}

.member02 p,
.member02 h3 {
    color: #ffffff;
    /* margin: 0 auto; */
}

.profile p {
    width:70%;
    margin: 0 auto;
    padding-top: 20px;
}

.profile h3 {

    padding: 80px 0 25px;
    margin: 0;
    font-size: 20px;
    text-align: center;
    font-family: '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
}

.float_right{
    position:absolute;
    right:-5%;
    bottom:-30%;
    width:15%;
    opacity: 0.7;
}

.float_left{
   position:absolute;
    left:-5%;
    bottom:-30%;
    width:15%;
    opacity: 0.7;
}


/* ====================
        next
=======================*/

.next h1 {
    padding-bottom: 200px;
}

/*-------------------------
        blog
------------------------*/

/* --- ブログ一覧ページのスタイル調整 --- */
.page_ttl {
    font-size: 2.4rem;
    letter-spacing: 0.1em;
    text-align: center;
    color: #fff;
}

.blog_list_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px 20px;
}

.blog_card a {
    display: block;
    text-decoration: none;
    color: #fff;
    transition: opacity 0.3s ease;
}

.blog_card a:hover {
    opacity: 0.7;
}

.blog_card_img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #222;
}

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

.blog_card_content {
    padding-top: 12px;
}

.blog_date {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin-bottom: 4px;
}

.blog_card_ttl {
    font-size: 1.05rem;
    line-height: 1.5;
    color: #fff;
}

/* ページネーション装飾 */
.pagination {
    text-align: center;
}
.pagination .nav-links {
    display: inline-flex;
    gap: 12px;
}
.pagination a, .pagination .current {
    padding: 8px 14px;
    border: 1px solid #444;
    color: #fff;
    text-decoration: none;
}
.pagination .current {
    background-color: #fff;
    color: #000;
}

/* --- 記事詳細ページのスタイル --- */
.single_page {
    max-width: 800px; /* 本文が読みやすい幅に制限 */
    margin: 0 auto;
    padding: 40px 20px;
    color: #fff;
}

.single_date {
    color: #888;
    font-size: 0.9rem;
}

.single_ttl {
    font-size: 2rem;
    line-height: 1.4;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.single_eyecatch img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* 本文内の基本スタイリング */
.single_content {
    line-height: 1.8;
    font-size: 1rem;
}

.single_content p {
    margin-bottom: 1.5em;
}

.single_content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.single_content h2 {
    font-size: 1.5rem;
    border-left: 4px solid #fff;
    padding-left: 12px;
    margin: 40px 0 20px;
}

.single_content h3 {
    font-size: 1.25rem;
    margin: 30px 0 15px;
}

/* 前後の記事リンク */
.post_navigation a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.post_navigation a:hover {
    color: #fff;
}


/* タブレット1024px */
@media screen and (max-width: 1024px) {

    /* ====================
        profile
=======================*/

    .sub_profile .flex {
        display: block;
    }

    .sub_profile .box01 {
        width: 100%;
    }

    .sub_profile .box02 {
        width: 100%;
    }

    /* ====================
        script
=======================*/


    .article_content {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .article_content_image {
        left: 35%;
        top: 70px;
    }

    .article_content_desc p {
        padding-top: 315px;
    }

    :-webkit-any(article, aside, nav, section) h2 {
        text-align: center;
    }

    .script07 .article_content_image {
        top: 115px;
    }

    .script09 .article_content_desc p {
        padding-top: 175px;
    }

 
    /* ====================
        member
=======================*/

   .member_flex a {
        width: 40%;
    }

    .profile .mt90{
        margin-top:35px;
    }

    .float_left{
        width:35%;
        left:-40px;
    }

    .float_right{
        width:35%;
        right:-40px;
    }
}


/* タブレット768px */
@media screen and (max-width: 768px) {

    a.btn-flat span {
        font-size: 10px;
    }


    /* ====================
        about
=======================*/
    .about_ttl_h2 {
        font-size: 35px;
    }

    /* ====================
       script
=======================*/

    .article_content_image {
        left: 27%;
    }

    /* ====================
        five
=======================*/

    .five-minutes-list-box {
        width: 100%;
    }

    .five-minutes-list-box:nth-child(n+3) {
        margin-top: 0px;
    }

    .five-minutes-list-box:nth-child(n+2) {
        margin-top: 60px;
    }
   
}

/* スマホ438px */
@media screen and (max-width: 428px) {

    /* ====================
       script
=======================*/
    :-webkit-any(article, aside, nav, section) h2 {
        text-align: left;
    }

    .article_content_image {
        left: 0%;
    }

    .script01 .article_content_image,
    .script02 .article_content_image,
    .script04 .article_content_image,
    .script05 .article_content_image,
    .script06 .article_content_image {
        top: 12%;
    }

    .script03 .article_content_image {
        top: 19%;
    }


    .script07 .article_content_image {
        top: 153px;
    }

    .script11 .article_content_image {
        top: 115px;
    }

    .script09 .article_content_image {
        top: 16%;
    }


    .script14 .article_content_image {
        left: 0%;
        top: 14%;
    }

}

@media screen and (max-width: 390px) {

    .script01 .article_content_image,
    .script13 .article_content_image {
        top: 14%
    }

    .script02 .article_content_image,
    .script12 .article_content_image {
        top: 12%
    }

    .script04 .article_content_image {
        top: 10%;
    }

    .script07 .article_content_image {
        top: 15%;
    }

    .script08 .article_content_image {
        top: 9%;
    }

    .script05 .article_content_image,
    .script06 .article_content_image {
        top: 10%;
    }

    .article_content_desc p {
        padding-top: 305px;
    }

    .script a.btn-flat {
        padding: 0.5rem 2rem;
    }



}