@charset "UTF-8";

:root {
    /* フォント */
    --font_base: "Noto Sans JP", sans-serif;
    --font_title: "M PLUS 1p", sans-serif;

    /* カラー */
    --blue: #4A90E2;
    --subblue: #6FB3F2;
    --yellow: #f5e44c;
    --font_color: #404040;
    --font_color2:#f0bc0f;
    --back_color: #FFFFFF;
    --back_color2: #F6F8FB;
}

.title_bold {
    font-family: var(--font_title);
    font-weight: 500;
    font-size: 1.4rem;
}

.double_title span {
    position: relative;
    padding-left: 1.2em;
    color: var(--font_color2);
}

.double_title span::before {
    content: "●";
    position: absolute;
    left: 0;
    top: 0;
}

.double_title h2 {
    font-family: var(--font_title);
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--blue);
}

.double_title_white .ja {
    color: white;
}

.readmore {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font_title);
    font-weight: 500;
    color: white;
}

/* リンク全体 */
.arrow_link {
    display: inline-block;
}

/* 丸ボタン本体 */
.arrow {
    position: relative;
    width: 3rem;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    background-color: var(--yellow);
    border-radius: 50%;
    color: var(--blue);
    font-size: 2rem;
    overflow: hidden;
    z-index: 0;
}

/* 広がる円 */
.arrow::after {
    content: "";
    position: absolute;
    inset: -2px;
    background-color: var(--blue);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.4s ease;
    z-index: -1;
}

/* hover時 */
.arrow_link:hover .arrow::after {
    transform: scale(1.2);
}

.arrow_link:hover .arrow {
    color: var(--yellow);
    border: solid 2px var(--yellow);
}

.readmore_blue .arrow {
    background-color: white;
    border: solid 2px var(--blue);
}

.readmore_blue .arrow_link:hover .arrow {
    border: solid 2px var(--blue);
    color: white;
}


* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    font-family: var(--font_base);
    color: var(--font_color);
    width: 100%;
    line-height: 1.5;
}

section {
    width: 100%;
}

.section_inner {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    position: fixed;
    z-index: 100;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px #81818178;
}

nav {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0 0.5rem 0;
    color: var(--blue);
    font-family: var(--font_title);
}

nav ul {
    display: flex;
    gap: 1rem;
}

.logo {
    margin: auto 0;
}

nav .logo img {
    height: 1.7rem;
}



/* ナビリンク共通 */
nav ul li a {
    position: relative;
    display: inline-block;
    color: var(--blue);
    text-decoration: none;
    padding: 0.5rem;
}

/* 下線（button 以外） */
nav ul li:not(.button) a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    /* 文字との距離 */
    width: 100%;
    height: 2px;
    background-color: var(--font_color2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* hover 時 */
nav ul li:not(.button) a:hover::after {
    transform: scaleX(1);
}

/* hover 時の文字色 */
nav ul li:not(.button) a:hover {
    color: var(--font_color2);
}


nav .button {
    position: relative;
    display: inline-block;
    background-color: var(--blue);
    border: 2px solid var(--blue);
    overflow: hidden;
    /* はみ出し防止 */
    transition: color 0.3s ease;
    border-radius: 8px;
}

nav .button a {
    color: white;
}

/* 背景用 */
nav .button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--yellow);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 0;
    border-radius: inherit;
}

/* ホバー時 */
nav .button a:hover {
    color: var(--blue);
}

.button:hover::before {
    transform: translateX(0);
}

nav .button span {
    position: relative;
    z-index: 1;
}

.hamburger {
    display: none;
}

.hamburger span {
    display: none;
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2px;
    background: #fff;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}


/* 初期位置 */
.hamburger span:nth-child(1) {
    top: 16px;
}

.hamburger span:nth-child(2) {
    top: 23px;
}

.hamburger span:nth-child(3) {
    top: 30px;
}

.mobile_li {
    display: none;
}

@media screen and (max-width: 768px) {

    .hamburger {
        position: fixed;
        top: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        background-color: var(--blue);
        /* ← ボタン背景 */
        border-radius: 8px;
        border: none;
        cursor: pointer;
        z-index: 1001;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
    }

    .hamburger span {
        display: block;
    }

    nav {
        padding: 0;
    }

    nav .logo {
        display: none;
    }

    .mobile_li {
        display: inline;
    }

    .nav_list {
        position: fixed;
        inset: 0;
        background-color: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        visibility: hidden;
        pointer-events: none;
    }

    .nav_list.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }
}

/* 開いた状態 */
.hamburger.active span:nth-child(1) {
    top: 23px;
    transform: translateX(-50%) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 23px;
    transform: translateX(-50%) rotate(-45deg);
}



footer {
    border-top: solid 1px #939393;
}

.footer_inner {
    display: flex;
    justify-content: space-between;
    padding: 3rem 0 5rem 0;
}


.footer_inner>div {
    display: flex;
    gap: 4rem;
}

.footer_inner dt {
    font-family: var(--font_title);
    margin-bottom: 1rem;
    color: var(--blue);
    font-size: 1.1rem;
}

.footer_inner dd {
    padding: 0.3rem 0;
    font-size: 0.9rem;
}

.footer_company dd {
    padding: 0;
}

.footer_inner dd:hover,
.footer_innerdt:hover {
    color: #868686;
}

.footer_logo {
    height: 1.5rem;
}

.copyright {
    width: 100%;
    text-align: center;
    font-size: 0.7rem;
}

/* footer_company 以外の dt */
.footer_inner dl:not(.footer_company) dt {
    position: relative;
    display: inline-block;
    color: var(--blue);
    /* 通常時：青 */
    cursor: pointer;
}

/* 下線 */
.footer_inner dl:not(.footer_company) dt::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    /* ← 文字色と連動 */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* hover 時 */
.footer_inner dl:not(.footer_company) dt:hover {
    color: var(--font_color2);
    /* ← 文字色を黄色に */
}

.footer_inner dl:not(.footer_company) dt:hover::after {
    transform: scaleX(1);
}


.hero {
    width: 100%;
    height: 410px;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    position: relative;
}

.hero_inner {
    position: absolute;
    right: 0;
    bottom: 2rem;
    background-color: #fff;
    padding: 2rem 2rem 0.8rem 2rem;
    display: inline-flex;
    flex-direction: column;
    text-align: right;
    font-family: var(--font_title);
    color: var(--blue);
    width: 400px;
    border-radius: 8px 0 0 8px;
}

.hero_inner p {
    font-size: 1.3rem;
    margin: 0;
}

.hero_inner h1 {
    font-size: 2.5rem;
    font-weight: 500;
    margin: 0;
}


/* トップページ */
/* top_hero */
.top_hero_section {
    background-image: url(../img/top/hero.png);
    background-position: center;
    height: 100vh;
    min-height: 600px;
    background-repeat: no-repeat;
    background-size: cover;
}

.top_hero {
    /* 親要素をコンテナとして設定 */
    container-type: inline-size;
    container-name: my-container;
    text-align: center;
    color: white;
    font-family: var(--font_title);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}

.top_hero h1 {
    display: inline;
    /* コンテナ幅の3% */
    font-size: 3cqw;
    font-size: max(3cqw, 2rem);
    font-weight: 500;
    padding: 1cqw 1cqw 1cqw 2.5cqw;
    background: #1964BC;
    background: linear-gradient(69deg, rgba(25, 100, 188, 1) 0%, rgba(24, 141, 225, 1) 50%, rgba(64, 199, 236, 1) 100%);
    border-radius: 12px;
}

.top_hero h1 span {
    font-size: max(4.5cqw, 3rem);
    color: var(--yellow);
    font-weight: 700;
    text-shadow: 0.15cqw 0.15cqw var(--font_color);
}

.top_hero p {
    margin: 2cqw;
    font-size: max(1.5cqw, 1.3rem);
    text-shadow: 1px 1px 2px black;
}

/* three_consulting */
.three_consulting .section_inner {
    text-align: center;
    align-items: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    padding: 2rem;
}

.three_consulting {
    padding: 5rem 2rem;
}

.triangle {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-flow: column;
    justify-content: start;
    border-radius: 50%;
    border: solid 2px var(--blue);
    padding: 0 1rem;
}

.triangle_ja {
    font-family: var(--font_title);
    font-size: 3rem;
    font-weight: 500;
    margin-top: 2rem;
}

.triangle_en {
    color: var(--subblue);
    margin-bottom: 1rem;
}

.triangle_1 {
    grid-column: 2/3;
    grid-row: 1/2;
}

.triangle_2 {
    grid-column: 1/2;
    grid-row: 2/3;
}

.triangle_3 {
    grid-column: 3/4;
    grid-row: 2/3;
}

.three_consulting h2 {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    place-self: center;
    position: relative;
    top: 3rem;
    font-size: 1.7rem;
}

/* top_company */
.company_hero {
    background-image: url(../img/company/herobilding.png);
}

.top_company {
    background-color: var(--blue);
    padding: 5rem 0 5rem 2rem;
}

.top_company .section_inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
}

.top_company .section_inner>div {
    grid-column: 1 / 2;
    grid-row: 1/2;
    display: flex;
    flex-flow: column;
    gap: 2rem;
}

.top_company .section_inner>img {
    grid-column: 2 / 3;
    grid-row: 1/2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top_company p {
    color: white;
}

.top_company .readmore {
    margin-left: auto;
}

/* business_example */
.business_example {
    padding: 5rem 2rem;
}

.business_example .section_inner {
    display: flex;
    flex-flow: column;
}

.card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem;
}

.card_item {
    background: #569ef0;
    background: radial-gradient(circle, rgba(86, 158, 240, 1) 0%, rgba(46, 125, 217, 1) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    color: white;
}

.card_title {
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font_title);
    font-weight: 500;
}

.card dd {
    margin: 0;
    font-size: 0.9rem;
}

.business_example .readmore {
    margin-left: auto;
    color: var(--blue);
}

/* company */
/* mission */
.mission {
    height: 400px;
    display: flex;
    justify-content: center;
    /* 縦方向（上下）中央 */
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
}

.mission .section_inner {
    margin: auto 0;
}

.mission .section_inner h2 {
    color: var(--blue);
    padding: 1rem;
}

/* greeting */
.greeting {
    background-color: var(--back_color2);
    padding: 5rem 2rem;
}

.greeting .section_inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row: 1fr;
    gap: 3rem;
}

.greeting .section_inner>div {
    grid-column: 2/3;
    grid-row: 1/2;
}

.greeting .section_inner>img {
    grid-column: 1/2;
    grid-row: 1/2;
    width: 100%;
}

.greeting .section_inner p {
    margin: 1rem 0;
}

.greeting .sign {
    text-align: right;
}

/* company */
.company {
    background-color: var(--blue);
    padding: 5rem 2rem;
}

.company .section_inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row: auto auto;
    gap: 0 2rem;
}

.company_infomation1 {
    grid-column: 1/2;
    grid-row: 2/3;
}

.company_infomation2 {
    grid-column: 2/3;
    grid-row: 2/3;
}

.company .section_inner .double_title {
    grid-column: 1/3;
    grid-row: 1/2;
}

.company_infomation1,
.company_infomation2 {
    color: white;
    display: flex;
    flex-flow: column;
    gap: 1rem;
    margin: 2rem;
}

.company dl {
    display: grid;
    grid-template-columns: 6rem 1fr;
    /* dtの幅を固定 */
    gap: 0.5rem 2rem;
    margin-bottom: 1rem;
    border-bottom: solid 1px var(--yellow);
}

.company dt {
    font-weight: 600;
}

.company dd {
    margin: 0;
}

/* map */
.map .double_title .ja {
    color: var(--blue);
}

.map {
    padding: 5rem 2rem;
}

.map iframe {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 700px;
    height: 400px;
}

/* business */
.business_hero {
    background-image: url(../img/business/businesshero.png);
}

/* service */
.service,
.service_content {
    padding: 5rem 2rem;
}

.service_content {
    background-color: var(--back_color2);
}

.service .section_inner .title_bold {
    font-size: 1.2rem;
    padding: 1rem 0;
}

.service_dedail {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    padding: 3rem 0;
}

.service_dedail h3 {
    grid-column: 1/2;
    grid-row: 1/2;
    font-family: var(--font_title);
    font-size: 2rem;
    display: flex;
    flex-flow: column;
    color: var(--blue);
}

.service_dedail h3 span {
    font-size: 3rem;
    font-weight: 500;
}

.service_dedail>div {
    grid-column: 2/3;
    grid-row: 1/2;
    display: flex;
    flex-flow: column;
    gap: 1.3rem;
    font-weight: 500;
    font-family: var(--font_title);
}

.service_dedail ul {
    list-style: disc;
    padding-left: 1rem;
    margin-top: 0.3rem;
    font-weight: 400;
    font-family: var(--font_base);
}

/* flow */
.flow {
    padding: 6rem 2rem;
}

.icon07,
.flow07 dt {
    font-family: var(--font_title);
}

.flow_design07 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
}

.flow07 {
    display: flex;
    flex-flow: column;
    gap: 1rem;
    padding-left: 0;
}

.flow07>li {
    display: flex;
}

.flow07>li:not(:last-child) {
    margin: 0 0 50px;
}

.flow07>li .icon07 {
    width: 90px;
    height: 110px;
    padding: 20px 10px 10px;
    font-weight: bold;
    color: white;
    text-align: center;
    border-radius: 5px 5px 3px 3px;
    position: relative;
    line-height: 125%;
    margin: 0;
}

.flow07>li .icon07::after {
    content: ' ';
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    position: absolute;
    bottom: -19px;
    left: 0;
}

.icon1 {
    background-color: #C8E4FF;
}

.flow07>li .icon1::after {
    border-top: 20px solid #C8E4FF;
}

.icon2 {
    background-color: #97CDFF;
}

.flow07>li .icon2::after {
    border-top: 20px solid #97CDFF;
}

.icon3 {
    background-color: #6FB3F2;
}

.flow07>li .icon3::after {
    border-top: 20px solid #6FB3F2;
}

.icon4 {
    background-color: #4A90E2;
}

.flow07>li .icon4::after {
    border-top: 20px solid #4A90E2;
}

.icon5 {
    background-color: #2E7CD8;
}

.flow07>li .icon5::after {
    border-top: 20px solid #2E7CD8;
}

.flow07>li dl {
    padding: 0 0 0 30px;
    width: calc(100% - 115px);
}

.flow07>li dl dt {
    padding: 0 0 5px;
    margin: 0 0 15px;
    font-size: 1.2em;
    font-weight: 500;
    border-bottom: 2px solid #D9D9D9;
    position: relative;
}

/* plans */
.plans {
    padding: 5rem 2rem;
    background-color: var(--blue)
}

.plans .section_inner {
    display: flex;
    flex-flow: column;
    gap: 2rem;
}

.plans p {
    color: white;
}

.plans .readmore {
    margin-left: auto;
}

/* contact */
.contact_hero {
    background-image: url(../img/contact/contacthero.jpg);
    background-position: center;
}

.contact_text {
    padding: 5rem 2rem;
    text-align: center;
}


.privacy_notice {
    width: 100%;
    margin: auto;
    text-align: center;
}

/* =========================
   Contact Form 7
========================= */

/* フォーム全体 */
.wpcf7 {
    max-width: 720px;
    margin: 0 auto;
}

/* ラベル */
.wpcf7 label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
}

/* 入力欄 共通 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.6;
    box-sizing: border-box;
}

/* テキストエリア */
.wpcf7 textarea {
    min-height: 160px;
    resize: vertical;
}

/* フォーカス時 */
.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #1964BC;
}

/* フォーム項目間の余白 */
.wpcf7 p,
.wpcf7 label {
    margin-bottom: 20px;
}

/* 同意チェック */
.wpcf7 .wpcf7-acceptance {
    margin: 24px 0;
    font-size: 14px;
}

.wpcf7 .wpcf7-acceptance input {
    margin-right: 6px;
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
    background-color: #1964BC;
    color: #fff;
    border: none;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

/* ホバー */
.wpcf7 input[type="submit"]:hover {
    opacity: 0.8;
}

/* エラーメッセージ */
.wpcf7 .wpcf7-not-valid-tip {
    color: #d63638;
    font-size: 14px;
    margin-top: 6px;
}

/* 送信失敗・成功メッセージ */
.wpcf7-response-output {
    margin-top: 24px;
    padding: 16px;
    border-radius: 4px;
    font-size: 14px;
}

.wpcf7-mail-sent-ok {
    border: 1px solid #46b450;
    color: #46b450;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    border: 1px solid #d63638;
    color: #d63638;
}

.privacy-box {
    margin: 20px 0;
}

.privacy-box h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.privacy-content {
    border: 1px solid #ccc;
    padding: 15px;
    height: 150px;
    overflow-y: scroll;
    background: #fafafa;
    font-size: 14px;
    line-height: 1.6;
}

.wpcf7 input[type="submit"] {
    display: block;
    margin: 20px auto 0;
}

.wpcf7-acceptance {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    /* チェックボックスと文字の間隔 */
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .wpcf7 {
        padding: 0 16px;
    }

}


@media (max-width: 1025px) {
    .three_consulting .section_inner {
        gap: 0rem;
        padding: 0rem;
    }
}

@media (max-width: 1000px) {
    .three_consulting .section_inner {
        display: flex;
        flex-flow: column;
        width: 70%;
        max-width: 400px;
        min-width: 300px;
        gap: 2rem;
    }

    .triangle {
        padding: 2rem;
    }

    .three_consulting h2 {
        position: static;
    }

    .card {
        padding: 1rem;
    }

    .greeting .section_inner {
        display: flex;
        flex-flow: column;
        gap: 3rem;
    }

    .greeting .section_inner>img {
        max-width: 700px;
        margin: auto;
    }

    .company .section_inner {
        display: flex;
        flex-flow: column;
    }

    .company_infomation1,
    .company_infomation2 {
        margin: 0 2rem;
    }

    .company .section_inner .double_title {
        margin-bottom: 2rem;
    }

}

@media (max-width: 768px) {
    .mobile_li img {
        height: 1.4rem;
    }

    .hero_inner {
        width: 300px;
    }

    .hero_inner h1 {
        font-size: 2rem;
    }

    .top_hero_section {
        background-image: url(../img/top/heromobile.jpg);
        height: 90vh;
    }


    .top_company {
        padding: 0;
    }

    .top_company .section_inner {
        display: block;
    }

    .top_company .section_inner>div {
        padding: 4rem 2rem;
    }

    .top_company .section_inner>img {
        height: 300px;
    }

    .triangle_ja {
        margin-top: 1rem;
        font-size: 2rem;
    }

    .card {
        display: flex;
        flex-flow: column;
    }

    .business_hero {
        background-image: url(../img/business/businessheromobile.jpg);
    }


    /* footer_company 以外の dd を非表示 */
    .footer_inner dl:not(.footer_company) dd {
        display: none;
    }

    .footer_inner dt {
        margin-bottom: 0.5rem;
    }

    /* レイアウトを縦並びに（必要なら） */
    .footer_inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer_inner>div {
        flex-direction: column;
        gap: 1rem;
    }

    .footer_company {
        text-align: left;
        margin: auto;
    }

    .service_dedail {
        display: block;
    }

    .title_bold {
        font-size: 1.3rem;
    }
}

@media (max-width: 500px) {
    .top_hero h1 span {
        display: block;
    }

    .triangle_ja {
        margin-top: 0;
        font-size: 1.8rem;
    }

    .top_hero h1 span {
        display: block;
        position: relative;
        left: 0.8rem;
        padding: 1cqw;
    }
}