/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


/*------- Top-2025 -------*/
.page-template-page-top2025 {
    font-family: "Noto Serif JP", serif;

    /* header */
    .ast-primary-header-bar {
        display: block;
        background: none;
        border: none;
    }

    /* 全体設定 */
    .site-content .ast-container {
        flex-direction: column;
        max-width: inherit;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    section {
        position: relative;
        padding: 80px 0;
    }

    .container {
        max-width: 1100px;
        margin: 0 auto;
    }

    img {
        max-width: 100%;
        vertical-align: middle;
    }

    div#ast-scroll-top {
        display: flex;
        justify-content: center;
        align-content: center;
    }

    /* fv-area */
    .fv-area {
        position: relative;
    }

    .fv-area::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 45%;
        height: 60%;
        background: #d7020f;
        z-index: -1;
    }

    .fv-area::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 50%;
        height: 30%;
        background: #9e9e9e;
        z-index: -1;
    }

    .fv-inner {
        position: relative;
        max-width: 1300px;
        margin: 0 auto;
    }

    .fv-img {
        position: relative;
        left: 36%;
        max-width: 800px;
        height: 550px;
        background-image: url(https://navision.law/wp-content/themes/astra-child/img/fv-pc.png);
        background-repeat: no-repeat;
        background-size: contain;
    }

    .btn a {
        position: absolute;
        right: 5%;
        font-size: 1.1rem;
        color: #fff;
        writing-mode: vertical-rl;
        padding: 15px 5px;
    }

    .btn img {
        width: 20px;
        vertical-align: baseline;
        margin-top: 5px;
    }

    .btn.red a {
        top: 10%;
        background: rgba(215, 2, 15, 0.8);
        margin-right: 10px;
    }

    .btn.gray a {
        top: 40%;
        background: rgba(27, 27, 27, 0.8);
        margin-right: 10px;
    }

    .fv-copy {
        position: absolute;
        z-index: 100;
        bottom: 15%;
        left: 10%;
    }

    .fv-copy p {
        font-size: 2.5rem;
        line-height: 1.5;
        color: #fff;
        border-bottom: 1px solid #fff;
        margin-bottom: 20px;
    }

    .fv-copy span {
        font-size: 2.7rem;
    }

    /* About us */
    section.about {
        padding-bottom: 0;
    }

    .about::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 45%;
        height: 100%;
        background: #d7020f;
        z-index: -1;
    }

    .about h2 {
        display: inline-block;
        position: relative;
        left: 15%;
        color: #fff;
        font-size: 1.7rem;
        letter-spacing: 2px;
        padding-bottom: 30px;
        margin: 40px 0 100px;
    }

    .about h2::after {
        content: "";
        position: relative;
        top: 20px;
        display: block;
        width: 80%;
        margin: 0 auto;
        border-bottom: 1px solid #fff;
    }

    .about h2::first-letter {
        font-size: 3rem;
    }

    .about-wrap {
        display: flex;
        justify-content: center;
        gap: 30px;
        padding-bottom: 5em;
    }

    .about-item {
        position: relative;
        top: 20px;
        width: 45%;
        padding: 5px;
        text-align: justify;
        z-index: 10;
    }


    .about-item h3 {
        margin-bottom: 30px;
    }

    .about-item span {
        color: #d7020f;
    }

    /* Infomation */
    .infomation {
        background: #f9f9f9;
    }

    .infomation h2 {
        text-align: center;
    }

    .infomation h2 span {
        display: inline-block;
        font-size: 1.7rem;
        color: #d7020f;
        letter-spacing: 2px;
        padding-bottom: 30px;
        margin: 40px 0;
    }

    .infomation h2 span::after {
        content: "";
        position: relative;
        top: 20px;
        display: block;
        width: 80%;
        margin: 0 auto;
        border-bottom: 1px solid #d7020f;
    }

    .infomation h2 span::first-letter {
        font-size: 3rem;
    }

    .info-wrap {
        background: #fff;
        padding: 50px 0;
    }

    .info-item a {
        max-width: 750px;
        margin: 0 auto;
        display: flex;
        gap: 20px;
        align-items: center;
        padding: 15px 0;
        border-bottom: 1px solid #d7020f;
    }

    .info-item .date {
        color: #d7020f;
    }

    .info-item .category {
        color: #fff;
        background: #d7020f;
        padding: 3px 10px;
    }

    .info-item h3 {
        font-size: 1rem;
    }

    /* Service */
    .service::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 35%;
        height: 100%;
        background: #fff5f6;
        z-index: -1;
    }

    .service .container {
        max-width: 1000px;
    }

    .service h2 {
        position: relative;
        text-align: center;
        line-height: 1.5;
        margin-bottom: 100px;
    }

    .service h2 span {
        display: inline-block;
        font-size: 1.7rem;
        color: #d7020f;
    }

    .service h2 span::first-letter {
        font-size: 3rem;
    }

    .service h2::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 20%;
        border-top: 1px solid #d7020f;
    }

    .service-wrap {
        display: flex;
        justify-content: center;
        gap: 30px;
    }

    .service-item {
        position: relative;
    }

    .service-text {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .service-item a,
    .service-item h3 {
        color: #fff;
    }

    .service-text h3 {
        font-size: 2rem;
        margin-bottom: 50px;
    }

    .service-text p {
        margin: 0;
    }

    .top-btn {
        text-align: center;
        margin: 80px 0;
    }

    /* attorney */
    .attorney::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 50%;
        background: #d7020f;
        z-index: -1;
    }

    .attorney .container {
        max-width: 1000px;
    }

    .attorney h2 {
        position: relative;
        color: #fff;
        text-align: center;
        line-height: 1.5;
        margin-bottom: 100px;
    }

    .attorney h2 span {
        display: inline-block;
        font-size: 1.7rem;
    }

    .attorney h2 span::first-letter {
        font-size: 3rem;
    }

    .attorney h2::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 20%;
        border-top: 1px solid #fff;
    }

    .attorney-wrap {
        display: flex;
        gap: 30px;
    }

    /* flow */
    section.flow {
        background: #fff3f4;
    }

    .flow .line {
        border-bottom: 1px solid #d7020f;
    }

    .flow h2 {
        position: relative;
        color: #d7020f;
        text-align: center;
    }

    .flow h2::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        width: 40%;
        border-top: 1px solid #d7020f;
    }

    .flow h2::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 0;
        width: 40%;
        border-top: 1px solid #d7020f;
    }

    .flow-wrap {
        padding: 40px 0;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .flow-item {
        width: 300px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 10px;
        background: #fff;
        border: 2px solid #d7020f;
    }

    .flow-img {
        width: 80px;
    }

    .flow-item p {
        margin: 0;
    }

    /* bunner01 */
    .bunner01::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 45%;
        height: 100%;
        background: #d7020f;
        z-index: -1;
    }

    .bunner-wrap {
        display: flex;
        justify-content: center;
    }

    .bunner-wrap a {
        position: relative;
        color: #fff;
    }

    .bunner-item {
        position: absolute;
        width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .bunner-item h3 {
        color: #fff;
        margin-bottom: 30px;
    }

    .arrow {
        font-size: 1.5rem;
        width: 45px;
        height: 45px;
        margin: 0 auto;
        border: 1px solid #fff;
    }

    /* bunner02 */
    .bunner02 {
        background-image: url(https://navision.law/wp-content/themes/astra-child/img/section7-img01.png);
    }

    .bunner02 .bunner-wrap {
        gap: 30px;
    }

    .bunner02 .bunner-wrap a {
        position: relative;
        width: 300px;
        height: 220px;
        background: rgba(0, 0, 0, 0.6);
    }

    @media(max-width:600px) {

        /* 全体設定 */
        section {
            position: relative;
            padding: 40px 0;
        }

        /* FV */
        .fv-img {
            position: relative;
            left: 0;
            height: 400px;
        }

        .fv-area::before {
            width: 100%;
        }

        .fv-area::after {
            content: none;
        }

        .fv-copy {
            bottom: 10px;
            left: 0;
            padding: 4%;
        }

        .fv-copy p {
            font-size: 1.9rem;
            margin-bottom: 22px;
        }

        .fv-copy span {
            font-size: 2rem;
        }

        .btn.red a {
            top: 15%;
        }

        .btn.gray a {
            top: 55%;
        }

        /* About */
        .about::before {
            width: 100%;
            height: 40%;
        }

        .about h2 {
            left: 50%;
            transform: translateX(-50%);
            margin-bottom: 40px;
        }

        .about-wrap {
            flex-direction: column;
        }

        .about-item:first-child {
            top: 0;
            width: 90%;
            padding: 0;
        }

        .about-item {
            top: 0;
            width: 100%;
            padding: 0 45px;
        }

        /* Infomation */
        .info-wrap {
            padding: 20px;
        }

        .info-item a {
            align-items: flex-start;
            flex-direction: column;
        }

        /* Service */
        .service h2 {
            margin-bottom: 50px;
        }

        .service-wrap {
            flex-direction: column;
            padding: 0 15px;
        }

        .service-text h3 {
            font-size: 1.8rem;
            margin-bottom: 30px;
        }

        .top-btn {
            text-align: center;
            width: 70%;
            margin: 70px auto;
        }

        /* Attorney */

        .attorney h2 {
            margin-bottom: 30px;
        }

        .attorney h2 span {
            display: inline-block;
            font-size: 1.5rem;
        }
    
        .attorney h2 span::first-letter {
            font-size: 2.3rem;
        }

        .attorney-wrap {
            gap: 15px;
            padding: 10px;
        }

        /* Flow */
        .flow h2::before,
        .flow h2::after {
            width: 25%;
        }

        /* Bunner */
        .bunner-wrap {
            flex-direction: column;
            padding: 0 20px;
            gap: 40px;
        }

        .bunner02 {
            background-size: cover;
        }

        .bunner02 .bunner-wrap a {
            margin: 0 auto;
        }

    }
}