@charset "UTF-8";
/*-------------------------------------------------------------
///////////////////////////////////////////////////////////////
基本
///////////////////////////////////////////////////////////////
--------------------------------------------------------------*/

:root {
    --color-text: #1a1a1a;
    --color-bg: #ffffff;
    --key-color: #0d2137;
    --key-color-light: #1a3a5c;
    --sub-color: #f5f5f5;
    --base-color: #ffffff;
    --black-color: #1a1a1a;
    --gray-color: #666666;
    --pale-color: #eef1f5;
    --beige-color: #f8f8f8;
    --key-color02: #1a1a1a;
    --key-color03: rgba(26, 26, 26, 0.9);
    --price-accent: #152d4a;
    --price-bg: #f5f5f5;
    --price-card-bg: #ffffff;
    --black-filter: rgba(0, 0, 0, 0.4);
    --dark-filter: rgba(0, 0, 0, 0.6);
    --box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.12);
    --font-en: "Inter", sans-serif;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

body {
    background-color: var(--color-bg);
    font-family:
        "Inter", "Noto Sans JP", Helvetica, "Lato", Arial, Verdana,
        "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", YuGothic,
        "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo,
        "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    color: var(--color-text);
    font-weight: 400;
    font-display: swap;
}
body,
html {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    animation: fadeIn 1s ease 0s 1 normal;
    -webkit-animation: fadeIn 1s ease 0s 1 normal;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
main {
    display: block;
    flex: 1 0 auto;
}
/* @media (min-width: 768px) {
    body {
        min-width: 1440px;
    }
} */

a {
    /* color: #0000ff;
    text-decoration: underline; */
    transition: all 0.3s;
}

a:hover {
    /* filter: brightness(90%) contrast(120%); */
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* background-color: transparent; */
    background-color: rgba(26, 26, 26, 0.92);
    /* transition: background-color 0.6s ease; */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 100;
}

/* WordPress 管理バー */
body.admin-bar {
    --admin-bar-height: 32px;
}

@media screen and (min-width: 783px) {
    body.admin-bar {
        --admin-bar-height: var(--wp-admin--admin-bar--height, 32px);
    }

    body.admin-bar .header {
        top: var(--admin-bar-height);
    }

    body.admin-bar .hero-container,
    body.admin-bar .hero {
        min-height: calc(100svh - var(--admin-bar-height));
    }
}

@media screen and (max-width: 782px) {
    html.admin-bar {
        margin-top: 0 !important;
    }

    body.admin-bar {
        --admin-bar-height: 46px;
        --admin-bar-offset: var(--admin-bar-height);
    }

    body.admin-bar .header {
        top: var(--admin-bar-offset, var(--admin-bar-height));
    }
}

/* .header.active {
    background-color: rgba(0, 0, 0, 0.6);
    transition: background-color 0.6s ease;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
} */

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(96%, 1280px);
    min-height: 64px;
}
.menu_wrapper {
    display: flex;
    align-items: center;
}
@media (min-width: 768px) {
    .header-container {
        min-height: 80px;
    }
}
.site {
    display: flex;
    align-items: center;
}

.site-brand {
    margin: 0;
    line-height: 1;
}

.site-brand__link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.site-brand__icon {
    flex-shrink: 0;
    width: 52px;
    height: auto;
    max-height: 56px;
}

.site-brand__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.site-brand__sub {
    font-size: clamp(0.625rem, 0.55rem + 0.35vw, 0.75rem);
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .header .site {
        min-width: 0;
        flex: 1;
    }

    .header .site-brand__link {
        min-width: 0;
    }

    .header .site-brand__text {
        min-width: 0;
    }

    .header .site-brand__sub {
        white-space: normal;
        font-size: 0.5625rem;
        line-height: 1.35;
    }
}

.site-brand__name {
    font-size: clamp(0.9375rem, 0.85rem + 0.4vw, 1.125rem);
    line-height: 1.2;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.04em;
}

@media (min-width: 768px) {
    .site-brand__link {
        gap: 12px;
    }

    .site-brand__icon {
        width: 64px;
        max-height: 68px;
    }
}

.header__description {
    margin: 5px 5px 0;
    font-size: clamp(0.75rem, 0.639rem + 0.49vw, 0.875rem);
    line-height: 1;
    color: rgba(255, 255, 255, 0.85);
}
.global-navigation ul {
    display: flex;
}
.global-navigation ul li {
    margin-left: 32px;
    text-align: center;
}
.global-navigation ul li a {
    text-decoration: none;
    font-family: "Inter", sans-serif;
    color: #fff;
    display: block;
    position: relative;
    line-height: 1.4;
    font-weight: 300;
    padding: 3px 5px;
}
.global-navigation ul li a::after {
    content: "";
    background-color: #fff;
    width: 0;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transition: 0.3s;
}
.global-navigation ul li a:hover::after {
    width: 100%;
    left: 0;
}
.global-navigation ul li a span {
    font-family: "Inter", "Noto Sans JP", sans-serif;
    font-size: 0.9em;
    font-weight: 400;
}
.global-navigation ul li a.contact_btn {
    background-color: var(--key-color-light);
    border-radius: 5px;
    &:hover {
        filter: brightness(85%) contrast(120%);
        &::after {
            width: 0;
        }
    }
}
@media (max-width: 1084px) {
    header {
        width: 96%;
    }
}
/* @media(min-width:1085x) {
    .global-navigation ul li a {
        color: #fff;
    }
    global-navigation ul li a::after {
        background-color: #fff;
    }
} */
.hero-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    max-height: 667px;
}

.hero {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    min-height: 100svh;
    padding: calc(64px + 28px) 5% calc(58px + 28px);
}

.hero__img {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__img picture,
.hero__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero__message {
    position: relative;
    z-index: 2;
    /* width: 100%;
    max-width: 720px; */
}

.hero__message h2 {
    margin: 0;
}

.hero__message h2 p {
    display: block;
    width: fit-content;
    font-weight: 400;
    padding: 0.1em 0.3em;
    background: linear-gradient(
        135deg,
        var(--key-color) 0%,
        var(--key-color-light) 100%
    );
    color: #ffffff;
    font-size: clamp(1.25rem, 4.8vw, 3.75rem);
    line-height: 1.45;
    text-align: left;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.35em;
    letter-spacing: 0.05em;
}
.hero__message h2 p span {
    font-size: 0.8em;
    font-weight: 300;
}
.btn_basic.fv_btn {
    position: absolute;
    top: 60%;
    left: 5%;
    z-index: 10;
}
.btn_basic.fv_btn a {
    font-size: clamp(0.875rem, 0.636rem + 1.02vw, 1.125rem);
    letter-spacing: 0.1em;
}

.black-filter {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.35) 55%,
        rgba(0, 0, 0, 0.15) 100%
    );
    pointer-events: none;
}

.scroll-mark {
    display: inline-block;
    bottom: 7%;
    left: 50%;
    transform: translateX(-50%);
    /* margin-left: 10px; */
    position: absolute;
    z-index: 95;
    padding: 0 25px;
    /* background-image: radial-gradient(rgba(0, 0, 0, 0.1) 90%, transparent 10%); */
    /* mix-blend-mode: difference; */
}
.scroll-mark::before {
    animation: scroll 3.5s infinite;
    border: solid #fff;
    border-width: 0 0 1px 1px;
    content: "";
    display: inline-block;
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    transform: rotate(-45deg);
    width: 15px;
    height: 15px;
}
.scroll-mark .txt {
    display: inline-block;
    color: #fff;
    font-size: 1.5em;
    font-weight: 200;
}
@media (max-width: 767px) {
    body {
        padding-bottom: 58px;
    }

    .hero {
        align-items: flex-start;
        padding: calc(64px + 20px) 16px calc(58px + 24px);
    }

    .hero__img picture,
    .hero__img img {
        object-position: center 20%;
    }

    .black-filter {
        background-image: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.65) 0%,
            rgba(0, 0, 0, 0.45) 55%,
            rgba(0, 0, 0, 0.35) 100%
        );
    }

    .hero__message h2 p {
        font-size: clamp(1.063rem, 0.644rem + 1.79vw, 1.5rem);
        line-height: 1.5;
        padding: 0.15em 0.25em;
    }

    .hero__lead {
        font-size: 0.8125rem;
        line-height: 1.75;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
        margin-top: 16px;
        gap: 10px;
    }

    .hero-btn {
        width: 100%;
        min-height: 48px;
        padding: 0 16px;
        font-size: 0.875rem;
    }

    .hero__points {
        margin-top: 20px;
        padding-top: 16px;
        flex-direction: column;
        gap: 8px;
    }

    .hero__points li {
        font-size: 0.8125rem;
    }

    .scroll-mark {
        bottom: 5%;
    }
    .scroll-mark::before {
        width: 10px;
        height: 10px;
    }
    .scroll-mark .txt {
        font-size: 0.7em;
    }

    .sp-cta {
        display: block;
    }
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }

    .sp-cta {
        display: none;
    }
}

@keyframes scroll {
    0% {
        transform: rotate(-45deg) translate(0, 0);
    }
    80% {
        transform: rotate(-45deg) translate(-40px, 40px);
    }
    0%,
    80%,
    100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}
.home-icon {
    transition: 0.3s;
}
.home-icon:hover {
    filter: brightness(85%) contrast(120%);
    background-color: rgba(0, 0, 0, 0.1);
}
.home-icon img {
    width: auto;
    height: auto;
}
#header .site-brand__icon {
    width: 52px;
    max-height: 56px;
}

@media (min-width: 768px) {
    #header .site-brand__icon {
        width: 64px;
        max-height: 68px;
    }
}
.footer .home-icon img {
    max-height: 80px;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
}
@media (max-width: 1180px) {
    .hamburger {
        display: block;
        height: 60px;
        margin-left: auto;
        position: relative;
        z-index: 110;
        width: 60px;
        border: none;
        background-color: transparent;
    }
    .hamburger.-active .hamburger__line {
        background-color: transparent;
    }
    .hamburger.-active .hamburger__line::before {
        top: 0;
        transform: rotate(135deg);
    }
    .hamburger.-active .hamburger__line::after {
        top: 0;
        transform: rotate(-135deg);
    }
    .hamburger.-active .hamburger__text::before {
        content: "Close";
    }
    .hamburger__line {
        display: block;
        height: 2px;
        position: absolute;
        top: 23px;
        left: 50%;
        transform: translateX(-50%);
        width: 24px;
        background-color: #fff;
        transition: 0.4s;
    }
    .hamburger__line:before,
    .hamburger__line:after {
        content: "";
        display: block;
        height: 100%;
        position: absolute;
        width: 100%;
        background-color: #fff;
        transition: inherit;
    }
    .hamburger__line:before {
        top: -8px;
    }
    .hamburger__line:after {
        top: 8px;
    }
    .hamburger__text {
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }
    .hamburger__text::before {
        content: "Menu";
        text-align: center;
        color: #fff;
        font-size: 10px;
        /* font-family: "Jost", sans-serif; */
        font-weight: 300;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .header__nav-area {
        position: fixed;
        top: 0;
        left: -100%;
        z-index: 9;
        height: 100vh;
        height: 100dvh;
        width: 240px;
        visibility: hidden;
        padding-top: 60px;
        background-color: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        transition: 0.6s;
    }

    body.admin-bar .header__nav-area {
        top: var(--admin-bar-offset, var(--admin-bar-height, 0px));
        height: calc(
            100dvh - var(--admin-bar-offset, var(--admin-bar-height, 0px))
        );
    }
    .header__nav-area.-active {
        left: 0;
        visibility: visible;
    }
    .global-navigation {
        padding: 40px 25px 120px;
    }
    .global-navigation ul > li {
        padding-bottom: 20px;
        border-bottom: 1px solid #e7e9ee;
    }
    .global-navigation ul > li + li {
        margin-top: 20px;
    }
    .global-navigation ul li a {
        transition: color 0.4s;
        font-size: 0.875rem;
    }
    .global-navigation ul {
        flex-direction: column;
    }
}

/* フッター */
footer {
    background-color: var(--color-text);
}
.footer {
    max-width: 1140px;
    margin-inline: auto;
    padding: 32px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.footer .home-icon,
.footer .header__description {
    color: #ddd;
    margin-bottom: 8px;
}

.footer .site-brand__sub {
    color: rgba(255, 255, 255, 0.75);
    white-space: normal;
}

.footer .site-brand__name {
    color: #ffffff;
}

.footer .site-brand__icon {
    width: 72px;
    max-height: 80px;
}

@media (min-width: 768px) {
    .footer .site-brand__link {
        gap: 16px;
    }

    .footer .site-brand__icon {
        width: 88px;
        max-height: 96px;
    }
}

.footer .site-map ul li {
    margin-bottom: 8px;
    font-size: clamp(0.75rem, 0.63rem + 0.51vw, 0.875rem);
}
.footer .site-map a {
    text-decoration: none;
    color: #ddd;
    display: flex;
    gap: 4px;
    position: relative;
    display: inline-block;
}
.footer .site-map a::before {
    content: "-";
    position: absolute;
    left: -1em;
    margin-right: 8px;
}
.footer .site-map a {
    font-weight: 300;
    /* font-family: "Jost", sans-serif; */
}
.footer .site-map a::after {
    content: "";
    background-color: #ddd;
    width: 0;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.4s;
}
.footer .site-map a:hover::after {
    width: 100%;
    left: 0;
}

.footer .site-map a span:first-child::after {
    content: "/";
    padding-left: 4px;
}
@media (min-width: 768px) {
    .footer {
        /* flex-direction: row; */
        align-items: flex-start;
        justify-content: space-between;
        gap: 24px;
    }
    .footer .site-map__wrapper {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 40px;
    }
    /* .footer .site-map dl {
        dt {
            width: 44%;
        }
        dd {
            width: 56%;
        }
    } */
}
.copy {
    display: flex;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    padding: 10px;
    background-color: #111111;
}

/* セクション */
section {
    position: relative;
}

.section-title {
    position: sticky;
    left: 20px;
    top: 80px;
    transform-origin: 0 50%;
    transform: rotate(90deg);
}
.section-title span {
    display: flex;
    align-items: center;
    font-size: 1.1em;
    color: var(--key-color);
    font-weight: 200;
    /* font-family: "Jost", sans-serif; */
}
.section-title span::before {
    content: "";
    display: inline-block;
    margin-right: 10px;
    width: 40px;
    height: 1px;
    background-color: var(--gray-color);
}
@media (max-width: 767px) {
    .section-title {
        transform: rotate(0);
        position: static;
        margin-left: 16px;
    }
    .section-title span::before {
        display: none;
    }
    .section-title span::after {
        content: "";
        display: inline-block;
        margin-left: 10px;
        width: 40px;
        height: 1px;
        background-color: var(--key-color03);
    }
    .section-area .section-title span::after {
        background-color: #fff;
    }
}

/* About */
.about__container {
    position: relative;
}
.about__text {
    position: relative;
    margin-top: -104px;
    p {
        margin-bottom: 32px;
        text-align: justify;
    }
}
.about__img {
    width: 100%;
    overflow: hidden;
    border-radius: 16px;
    img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        object-position: right;
        border-radius: 16px;
    }
}
.about__img.center img {
    object-position: center;
}
.about__img.grey-scale {
    filter: grayscale(80%);
}

@media (min-width: 768px) {
    .about__container {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        transform-origin: center top;
    }
    .about__img {
        width: 48%;
        img {
            height: 600px;
        }
    }
    .about__text {
        width: 48%;
        padding: 0 0 16px 24px;
        margin-left: auto;
        margin-top: 0;
        opacity: 0;
        transform: translateY(50px);
        will-change: opacity, transform;
    }
    .about__container.reverse {
        flex-direction: row-reverse;
        .about__text {
            padding: 0 24px 16px 0;
            margin-right: auto;
            margin-left: 0;
        }
    }
}

/* Flow */
#flow {
    background-color: var(--base-color);
}

.flow__heading {
    font-weight: 400;
    font-size: clamp(1.25rem, 1.071rem + 0.77vw, 2rem);
    margin-bottom: 24px;
}

.flow-content__wrapper {
    display: flex;
    flex-direction: column-reverse;
}
.flow-content__img {
    aspect-ratio: 16 / 9;
    margin-inline: auto;
    margin-bottom: 40px;
}
.flow-content__img img {
    object-fit: cover;
    border-radius: 16px;
}
.flow-content p {
    text-align: justify;
}

.flow__arrow {
    position: relative;
    height: 80px;
    margin: 20px auto 40px;
}
.flow__arrow span {
    display: inline-block;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    /* margin-left: 10px; */
    position: absolute;
    z-index: 95;
    padding: 0 25px;
    &::before {
        animation: arrow_scroll 3.5s infinite;
        border: solid var(--key-color);
        border-width: 0 0 2px 2px;
        content: "";
        display: inline-block;
        margin: auto;
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        transform: rotate(-45deg);
        width: 50px;
        height: 50px;
    }
}
@keyframes arrow_scroll {
    0% {
        transform: rotate(-45deg) translate(0, 0);
    }
    80% {
        transform: rotate(-45deg) translate(-40px, 40px);
    }
    0%,
    80%,
    100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .flow-content__wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .flow-content__wrapper > div {
        width: 48%;
    }
    .flow-content__img {
        margin-left: auto;
        margin-right: 0;
    }
}

/* Plans */
.price-section {
    background-color: var(--price-bg);
    padding: 80px 20px;
}

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

.price-header {
    text-align: center;
    margin-bottom: 50px;
}

.price-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--key-color02);
    letter-spacing: 0.05em;
}

.price-subtitle {
    font-size: 1rem;
    color: #666;
}

/* .price-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    margin-top: 24px;
} */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-template-rows: auto auto auto 1fr auto;
    column-gap: 20px;
    row-gap: 20px;
    place-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

.price-card {
    background: var(--price-card-bg);
    border-radius: 12px;
    padding: 32px 24px 24px;
    width: 100%;
    /* max-width: 350px; */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    display: grid;
    grid-row: span 5;
    grid-template-rows: subgrid;
}

.plan-name {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0 0 5px;
}

.plan-catch {
    font-size: 0.9rem;
    color: var(--key-color02);
    font-weight: 400;
    margin-bottom: 0;
}

.card-price {
    /* background: #f4f8fb; */
    background: var(--base-color);
    padding: 15px 0;
    border-radius: 8px;
    margin: 8px;
}

.card-price .label {
    font-size: 0.8rem;
    font-weight: bold;
    color: #666;
    vertical-align: text-bottom;
    margin-right: 8px;
}

.card-price .currency {
    font-size: 1.2rem;
    font-weight: bold;
    vertical-align: top;
}

.card-price .amount {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.card-price .tax {
    font-size: 0.8rem;
    color: #666;
    margin-left: 5px;
    vertical-align: text-bottom;
}

.card-target {
    font-size: 0.9rem;
    color: #555;
    text-align: left;
    display: inline-block;
    align-self: center;
    width: 100%;
    padding-inline: 24px;
}

.card-target p {
    margin: 5px 0;
}

.plan-features {
    list-style: none;
    padding: 8px 0 0 0;
    margin: 0;
    text-align: left;
    border-top: 1px solid #eee;
}

.plan-features ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.plan-features ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--key-color02);
    font-weight: bold;
}

.card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-price {
    display: block;
    width: 100%;
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
}

.note {
    font-size: 0.75rem;
    color: #999;
    margin: 0;
}

.price-card.featured {
    border: 4px solid var(--key-color);
    box-shadow: 0 10px 30px rgba(13, 33, 55, 0.15);
    z-index: 2;
    transform: scale(1);
}

.ribbon {
    position: absolute;
    right: -5px;
    top: -5px;
    z-index: 3;
    overflow: hidden;
    width: 75px;
    height: 75px;
    text-align: right;
}
.ribbon span {
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    width: 100px;
    display: block;
    background: linear-gradient(
        var(--key-color) 0%,
        var(--key-color-light) 100%
    );
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px;
    right: -21px;
}
.ribbon span::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid var(--price-accent);
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid var(--price-accent);
}
.ribbon span::after {
    content: "";
    position: absolute;
    right: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-right: 3px solid var(--price-accent);
    border-bottom: 3px solid transparent;
    border-top: 3px solid var(--price-accent);
}

.price-note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.85rem;
    color: #777;
}

@media (min-width: 992px) {
    /* .price-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto auto 1fr auto;
        column-gap: 20px;
        row-gap: 20px;
        padding-top: 16px;
        padding-bottom: 16px;
        align-items: start;
    } */

    /* .price-card {
        grid-row: span 5;
        display: grid;
        grid-template-rows: subgrid;
        gap: 0;
        height: auto;
        max-width: none;
        margin: 0;
    } */
}

.icon-wrapper {
    max-width: 160px;
    margin-inline: auto;
}
.icon-wrapper img {
    width: 100%;
    height: auto;
}

.price-detail-accordion {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

/* アコーディオンのトグルボタン */
.accordion-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 30px;
    /* background-color: #fff; */
    background-color: var(--key-color-light);
    border: 2px solid var(--key-color-light);
    /* color: var(--key-color); */
    color: #fff;
    font-weight: 400;
    font-size: 1.1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.accordion-toggle:hover {
    /* background-color: var(--key-color); */
    background-color: #fff;
    /* color: #fff; */
    color: var(--key-color-light);
}

/* 矢印アイコンのアニメーション */
.accordion-toggle .toggle-icon {
    transition: transform 0.3s ease;
}

.accordion-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.accordion-toggle[aria-expanded="true"] {
    background-color: var(--key-color-light);
    color: #fff;
}

/* アコーディオンの中身（開閉アニメーション用） */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    opacity: 0; /* フェード用 */
}

/* 開いた時のクラス */
.accordion-content.is-open {
    opacity: 1;
    transition:
        max-height 0.4s ease-in,
        opacity 0.4s ease-in;
}

.accordion-inner {
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.detail-lead {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 0.95rem;
}

/* 2カラムレイアウト（PC時） */
.detail-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .detail-grid {
        flex-direction: row;
        gap: 40px;
    }
    .detail-category {
        flex: 1;
    }
}

/* カテゴリタイトル */
.category-title {
    font-size: 1.1rem;
    color: var(--key-color02);
    border-bottom: 2px solid var(--key-color02);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: bold;
}

.category-title i {
    margin-right: 8px;
}

/* 料金テーブル */
.detail-table {
    width: 100%;
    border-collapse: collapse;
}

.detail-table th,
.detail-table td {
    padding: 12px 5px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
}

.detail-table th {
    font-weight: bold;
    color: #333;
    width: 65%;
}

.detail-table .desc {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-top: 4px;
    font-weight: normal;
}

.detail-table td.price {
    text-align: right;
    font-weight: bold;
    color: var(--key-color02);
    font-size: 1.1rem;
    white-space: nowrap;
}

.detail-table .unit {
    font-size: 0.8rem;
    color: #333;
    margin-left: 2px;
}

/* 最後の行の線は消す */
.detail-table tr:last-child th,
.detail-table tr:last-child td {
    border-bottom: none;
}

.detail-note {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #999;
    text-align: center;
}

/* Blog */
.blog-card-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-card__item {
    min-width: 0;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    background-color: #ffffff;
    border: 1px solid rgba(13, 33, 55, 0.12);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(13, 33, 55, 0.06);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.blog-card:hover {
    border-color: rgba(26, 58, 92, 0.35);
    box-shadow: 0 8px 24px rgba(13, 33, 55, 0.12);
    transform: translateY(-4px);
    text-decoration: none;
}

.blog-card__thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #d8dfe6 0%, #f1f4f7 52%, #ece0d2 100%);
}

.blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__thumb img {
    transform: scale(1.04);
}

.blog-card__thumb-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d8dfe6 0%, #f1f4f7 52%, #ece0d2 100%);
}

.blog-card__thumb-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        115deg,
        rgba(13, 33, 55, 0.06) 0 1px,
        transparent 1px 26px
    );
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 20px 24px;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.blog-card__meta time {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: #777;
}

.blog-card__cat {
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 2px;
    background-color: rgba(26, 58, 92, 0.1);
    color: var(--key-color-light);
    font-weight: 600;
}

.blog-card__title {
    margin: 12px 0 10px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.65;
    color: var(--key-color);
}

.blog-card__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.85;
    color: #666;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

@media (max-width: 991px) {
    .blog-card-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .blog-card-list {
        grid-template-columns: 1fr;
    }
}

.blog-list {
    max-width: 1140px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin: 20px auto;
    justify-content: center;
}

.blog-list_item {
    display: grid;
    grid-template-rows: subgrid;
}
.blog-list_item .blog-list_link {
    display: block;
    text-decoration: none;
    border: 1px solid #e5e5e5;
    background-color: var(--base-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s;
    h3 {
        margin-bottom: 8px;
        color: #444;
    }
    &:hover {
        background-color: #fff;
        box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.2);
        transform: translateY(-4px);
        .blog_date {
            background-color: #fff;
        }
        img {
            scale: 1.03;
        }
    }
}

.blog-list_item .blog_thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
}
.blog-list_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: 0.3s;
}
.blog-list_item p {
    line-height: 1.6;
    font-size: 0.9em;
}
.blog-list_item .blog-list_body {
    padding: 8px 16px 16px;
    position: relative;
}
.blog_date {
    position: absolute;
    z-index: 1;
    bottom: -1px;
    right: 0;
    display: inline-block;
    border-radius: 4px 0 0 0;
    font-size: 0.9em;
    letter-spacing: 0.1em;
    padding: 0 8px;
    color: #777;
    background-color: var(--base-color);
    transition: 0.3s;
    &::before {
        font-family: "Font Awesome 5 Free";
        content: "\f274";
        font-weight: 900;
        margin-right: 0.3em;
        color: var(--key-color);
    }
}
.blog_title {
    font-weight: bold;
    line-height: 1.4;
}
@media (max-width: 767px) {
    .blog-list {
        flex-direction: column;
    }
    .blog-list_item {
        width: 100%;
    }
    .blog-list_item img {
        width: 100%;
    }
}
.blog-img_wrapper {
    margin-bottom: 20px;
}
.cat-name {
    font-weight: bold;
    font-size: 0.8em;
    &::before {
        font-family: "Font Awesome 6 Free";
        content: "\f07c";
        display: inline-block;
        color: var(--key-color);
        font-weight: 900;
        width: 1em;
        margin-right: 4px;
    }
}
.blog-tags {
    .tag-name {
        display: inline-block;
        margin-right: 8px;
        margin-bottom: 4px;
        padding: 0 6px;
        background-color: #eee;
        /* font-weight: bold; */
        font-size: 0.8em;
        border-radius: 4px;
    }
}

/* Blog個別記事 */
h2.wp-block-heading {
    position: relative;
    font-size: clamp(1.125rem, 0.945rem + 0.78vw, 1.5rem);
    margin-bottom: 24px;
    font-weight: 400;
}
h2.wp-block-heading::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    border-radius: 4px;
    height: 100%;
    background-image: linear-gradient(
        180deg,
        var(--key-color) 30%,
        var(--key-color-light) 100%
    );
}
h2.wp-block-heading span {
    color: #444;
    padding: 0 1em;
    display: inline-block;
}

h3.wp-block-heading {
    /* border-bottom: solid 3px #ee7a4c41; */
    position: relative;
    font-size: clamp(1rem, 0.941rem + 0.26vw, 1.125rem);
    font-weight: 600;
    margin-bottom: 0.5em;
    padding-bottom: 0.2em;
    padding-left: 0.3em;
}
h3.wp-block-heading::after {
    position: absolute;
    content: " ";
    display: block;
    background-image: linear-gradient(
        to right,
        var(--key-color) 30%,
        var(--key-color-light) 100%
    );
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
}
article {
    p,
    ul,
    ol,
    table {
        margin-left: 1em;
    }
    p.news-date {
        margin-left: 0;
    }
    p {
        margin-top: 1em;
        margin-bottom: 1em;
    }
    ul.wp-block-list {
        list-style: disc;
        padding-left: 2em;
        li {
            margin-bottom: 0.5em;
        }
    }
    figure {
        margin-top: 1em;
        margin-bottom: 2em;
    }
    a {
        text-decoration: underline;
        &:hover {
            text-decoration: none;
        }
    }
    a.wp-block-button__link {
        color: #fff;
        text-decoration: none;
        border: 2px solid var(--key-color-light);
        background-color: var(--key-color-light);
        border-radius: 50px;
        transition: all 0.3s;
        &:hover {
            opacity: 0.8;
        }
    }
}
* + h2.wp-block-heading {
    margin-top: 3em;
}
* + h3.wp-block-heading {
    margin-top: 2em;
}

#toc_container {
    margin: 2em 0;
    border: none !important;
    border-radius: 8px;
    padding: 1em 2em !important;
}
.blog__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2em 0.5em;
}
.post-categories li {
    margin-right: 8px;
    a {
        color: #333;
    }
    &::before {
        font-family: "Font Awesome 6 Free";
        content: "\f07c";
        display: inline-block;
        color: var(--key-color);
        font-weight: 900;
        width: 1em;
        margin-right: 8px;
    }
}
.tag_name {
    margin-left: 8px;
    .fa-tag::before {
        color: var(--key-color);
    }
}
.tag_name > a {
    display: inline-block;
    padding: 0 8px;
    margin-left: 6px;
    margin-bottom: 4px;
    background-color: #eee;
    /* font-weight: bold; */
    color: #333;
    font-size: 0.9em;
    border-radius: 4px;
}

.wp-block-table thead {
    border-bottom: 1px solid #333 !important;
}
.wp-block-code {
    padding: 8px 16px;
    border-radius: 16px;
}

/* スライダー */
.sample-slider {
    width: 100%;
}
.sample-slider img {
    width: 100%;
}
.sample-slider .swiper-wrapper {
    transition-timing-function: linear;
}

/* NEWS */
.news-list .news-list_item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}
.news-list .news-list_item dl {
    display: flex;
    padding: 0.5em;
}
.news-list .news-list_item dl dt {
    margin-right: 2em;
    font-weight: 400;
    color: #777;
    width: 7em;
}
.news-list .news-list_item dl dd {
    width: calc(100% - 7em);
}
.news-list .news-list_item dl dd a {
    transition: 0.3s;
}
.news-list .news-list_item dl dd a:hover {
    color: #888;
}
.news__noList {
    padding: 1em;
    text-align: center;
}
.news-container {
    min-height: 588px;
}
.news-date {
    display: flex;
    align-items: center;
}
.news-date::before {
    content: "\f133";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--key-color);
}
@media (max-width: 767px) {
    .news-list .news-list_item dl {
        flex-direction: column;
    }
    .news-list .news-list_item dl dt,
    .news-list .news-list_item dl dd {
        width: 100%;
        margin-right: 0;
    }
    .news-list .news-list_item dl dt {
        white-space: nowrap;
    }
}

/* ページネーション */
.nav-links {
    padding: 20px;
}
.nav-links .page-numbers {
    margin-right: 10px;
    padding: 0.3em 0.5em;
    border: 2px solid var(--key-color-light);
    transition: 0.3s;
    color: var(--key-color-light);
}
.nav-links .current {
    background-color: var(--key-color-light);
    color: #fff;
    pointer-events: none;
}
.nav-links a.page-numbers:hover {
    background-color: var(--key-color-light);
    color: #fff;
}

/* お知らせ投稿ページ */
.prevNext {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 48px;
    justify-content: space-between;
    padding-top: 48px;
}

article .prevNext_item-prev,
article .prevNext_item-next {
    a {
        background-color: var(--base-color);
        border-radius: 4px;
        color: var(--black-color);
        display: flex;
        align-items: center;
        gap: 0.5em;
        text-decoration: none;
        transition: all 0.3s;
        &:hover {
            background-color: var(--sub-color);
        }
    }
}
article .prevNext_item-prev a {
    padding: 0.3em 0.5em 0.3em 2em;
}
article .prevNext_item-next a {
    padding: 0.3em 2em 0.3em 0.5em;
}
article .prevNext_item-prev {
    position: relative;
    margin: 0 auto 0 0;
}
article .prevNext_item-prev::before {
    position: absolute;
    left: 1em;
    top: 50%;
    transform: translateY(-50%) rotate(-135deg);
    content: "";
    width: 1em;
    height: 1em;
    border: solid var(--key-color);
    border-width: 2px 2px 0 0;
    transition: all 0.3s;
}
article .prevNext_item-prev:hover::before {
    left: -1em;
}
article .prevNext_item-next {
    position: relative;
    margin: 0 0 0 auto;
}
article .prevNext_item-next::before {
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%) rotate(-135deg);
    content: "";
    width: 1em;
    height: 1em;
    border: solid var(--key-color);
    border-width: 0 0 2px 2px;
    transition: all 0.3s;
}
article .prevNext_item-next:hover::before {
    right: -1em;
}

/* .prevNext__item a:hover {
    text-decoration: underline;
} */

/* パンくずリスト */
.breadcrumbsWrap {
    max-width: 1140px;
    margin: auto;
    font-size: 14px;
    color: #777;
    margin-top: 10px;
    margin-bottom: 32px;
    overflow-x: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    a {
        white-space: nowrap;
    }
}
.breadcrumbs .home {
    color: var(--key-color);
}
.breadcrumbs .arrow {
    display: inline-block;
    content: "";
    width: 6px;
    height: 6px;
    border-top: solid 1.5px #aaa;
    border-right: solid 1.5px #aaa;
    margin-right: 10px;
    margin-left: 10px;
    transform: rotate(45deg);
}
.breadcrumbs a {
    transition: 0.3s;
    color: var(--key-color);
}
.breadcrumbs a:hover {
    text-decoration: underline;
}

/* 404ページ */
.page404_message {
    text-align: center;
}

/* お問い合わせフォーム */

/* フォーム全体のスタイル */
.wpcf7 {
    background-color: var(--base-color);
    padding: 20px;
    border-radius: 10px;
    max-width: 100%;
    margin: auto;
    box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.2);
}
/* ラベルのスタイル */
.wpcf7-form label {
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
    color: #333333; /* ダークグレー */
}
/* 必須フィールドのラベルスタイル */
.wpcf7-form .required {
    background-color: #ff0000; /* レッド */
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 10px;
    font-size: 12px;
}
/* インプットフィールドのスタイル */
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #cccccc; /* ライトグレー */
    border-radius: 5px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 16px;
    background-color: #ffffff; /* 白 */
}
/* テキストエリアのスタイル */
.wpcf7-form textarea {
    height: 150px;
    resize: vertical;
}
/* 送信ボタンのスタイル */
.submit-container p {
    height: 80px;
    position: relative;
    margin-bottom: 20px;
}
.wpcf7-form input[type="submit"] {
    width: 200px;
    display: block;
    text-align: center;
    margin-inline: auto;
    font-size: 1.2rem;
    /* position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0; */
    padding: 0.5rem 2rem;
    color: var(--key-color-light);
    border: 1px solid var(--key-color-light);
    background-color: var(--key-color-light);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: 0.5s;
    &:active {
        scale: 0.9;
    }
}
.wpcf7-form input[type="submit"]:hover {
    color: var(--key-color-light);
    background-color: #fff;
    box-shadow: none;
}
/* エラーメッセージと成功メッセージのスタイル */
.wpcf7-form .wpcf7-not-valid-tip {
    color: #c0392b;
    font-size: 14px;
}

/* 紺背景セクション内でも、白フォーム上の文字は濃色にする */
.section-area .wpcf7,
.section-area .wpcf7-form,
.section-area .wpcf7-form p,
.section-area .wpcf7-form label {
    color: #333333;
}

.wpcf7-form.init .wpcf7-response-output,
.wpcf7-form.resetting .wpcf7-response-output,
.wpcf7-form.submitting .wpcf7-response-output {
    display: none;
}

.section-area .wpcf7-form .wpcf7-response-output,
.wpcf7-form .wpcf7-response-output,
.wpcf7-form .wpcf7-mail-sent-ok {
    margin: 16px 0 0;
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid #2e7d32;
    background-color: #e8f5e9;
    color: #1b5e20;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
}

.section-area .wpcf7-form.invalid .wpcf7-response-output,
.section-area .wpcf7-form.unaccepted .wpcf7-response-output,
.section-area .wpcf7-form.spam .wpcf7-response-output,
.section-area .wpcf7-form.failed .wpcf7-response-output,
.section-area .wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output {
    border-color: #c62828;
    background-color: #ffebee;
    color: #b71c1c;
}
.wpcf7-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #cccccc; /* ライトグレー */
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 16px;
    background-color: #ffffff; /* 白 */
}
input[type="checkbox"] {
    display: none;
}
.wpcf7-list-item {
    width: 100%;
    text-align: center;
}
.wpcf7-list-item-label {
    position: relative;
}
.wpcf7-list-item-label::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #ccc;
    background: #fff;
    position: absolute;
    left: -1.5em;
    top: 0;
    box-sizing: border-box;
}
input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
    content: "";
    display: block;
    width: 10px;
    height: 6px;
    border-top: 2px solid #666;
    border-right: 2px solid #666;
    transform: rotate(135deg);
    position: absolute;
    left: -1.2em;
    top: 6px;
}
.wpcf7-list-item-label a {
    color: var(--key-color);
    text-decoration: underline;
}
.wpcf7-list-item-label a:hover {
    text-decoration: none;
}

.wpcf7-form .privacy-acceptance {
    margin: 24px 0 12px;
}

.wpcf7-form .privacy-acceptance .wpcf7-list-item {
    display: inline-block;
    width: auto;
    margin: 0 auto;
    text-align: left;
    padding-left: 1.75em;
}

.wpcf7-form .privacy-acceptance .wpcf7-list-item-label {
    font-size: 0.9375rem;
    line-height: 1.6;
}

.wpcf7-form .privacy-acceptance__link {
    position: relative;
    z-index: 1;
}

/* サンプルサイト */
.sample-wrapper {
    display: flex;
    gap: 48px;
    .sample-img {
        width: 200px;
        height: 300px;
        a {
            transition: all 0.3s;
            &:hover {
                filter: brightness(85%) contrast(120%);
            }
            img {
                width: 100%;
                height: auto;
            }
        }
    }
    .sample-description {
        width: calc(100% - 200px);
        text-align: justify;
        .sample-feature {
            font-weight: bold;
        }
        p.click-sample {
            text-indent: -1em;
            padding-left: 1em;
            font-size: 14px;
            margin-top: 16px;
        }
    }
    @media (max-width: 767px) {
        flex-direction: column;
        align-items: center;
        .sample-description {
            width: 100%;
            padding: 0 16px;
        }
    }
}
.requirement-label,
.point-label {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 0.5em;
}
.justify-text {
    text-align: justify;
}

article .wp-block-table {
    width: 100%;
    th {
        background: #fff5ef;
    }
}
article .wp-block-table table {
    margin-left: 0;
}
.wp-block-button {
    a {
        color: #fff;
        text-decoration: none;
    }
}

/* フッターまでスクロールしたとき */
#header {
    transition:
        transform 0.3s ease,
        background-color 0.5s ease;
    will-change: transform;
}
.header--hidden {
    transform: translateY(-100%);
}

.wp-block-buttons {
    margin: 20px auto;
}

.list_asterisk {
    li {
        text-indent: -1em;
        padding-left: 1em;
        &::before {
            content: "※";
        }
    }
}

.dummy_header {
    width: 100%;
    height: 56px;
    background-color: var(--dark-filter);
}
@media (min-width: 768px) {
    .dummy_header {
        height: 72px;
    }
}

/* パララックス */
.space {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #333;
    color: #fff;
}

.separate {
    overflow: hidden;
    height: 500px;

    img {
        width: 100%;
        height: auto;
    }
}

.content {
    padding: 10vw 5% 5vw;
    background: #fff;
}

.item {
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 10vw;

    &:nth-child(odd) {
        flex-direction: row-reverse;
    }

    .image {
        width: 35%;
        max-height: 300px;
        height: 15vw;
        overflow: visible;

        img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }
    }

    .text {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 50%;
        margin: 0 5%;
        background: #eee;
        border-radius: 8px;
    }
}

.js-sticky {
    position: sticky;
    top: 0;
}

figcaption.wp-element-caption {
    text-align: center;
}

.header-sns {
    display: flex;
    align-items: center;
    gap: 16px;
}
.header-sns__link {
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-sns__link img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .header-sns {
        margin-left: 32px;
    }
}
.sns_wrapper {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    align-items: center;
    figure {
        margin: 0;
        a {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        img {
            width: 40px;
            height: 40px;
            object-fit: contain;
        }
    }
}

/**
 * 制作実績
 */
/* =========================================
    共通設定
   ========================================= */
.mockup-frame {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; /* 追加: 親コンテナに合わせる */
}

/* iframe自体（共通） */
.mockup-screen {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
    display: block; /* 追加: 余計な隙間防止 */
}

/* -------------------- */
/* スマホ風モックアップ */
/* -------------------- */

.mockup_sp .mockup-body {
    position: relative;
    background: #333;
    border-radius: 32px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);

    /* サイズ指定 */
    width: 100%;
    max-width: 390px;
    aspect-ratio: 9 / 19.5;

    /* ▼ Safari対策 */
    overflow: hidden;
    isolation: isolate;
    transform: translateZ(0); /* 念のためのGPU強制 */
}

/* スマホ上部のノッチ */
.mockup-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 10px;
    background: #333;
    border-radius: 0 0 10px 10px;
    z-index: 10;
}

.mockup_sp .mockup-screen {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    border-radius: 20px;
    background: #fff;
    z-index: 1;
}

/* -------------------- */
/* PCモニター風モックアップ */
/* -------------------- */

.mockup_pc {
    display: none;
}

@media (min-width: 768px) {
    .mockup_sp {
        display: none;
    }
    .mockup_pc {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    /* --- フタ（Lid）部分 --- */
    .mockup_pc-lid {
        position: relative;
        width: min(90%, 1000px);
        aspect-ratio: 16 / 10;
        background: #111;
        border-radius: 18px;
        box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
        padding: 0;
        overflow: hidden;
    }

    /* --- 画面ラッパー（絶対配置で固定） --- */
    .mockup_pc-screen-wrap {
        position: absolute;
        z-index: 1;
        top: 16px; /* 上ベゼル */
        left: 16px; /* 左ベゼル */
        right: 16px; /* 右ベゼル */
        bottom: 32px; /* 下ベゼル（太い部分） */
        background: #fff;
        border-radius: 4px; /* 画面自体の小さな角丸 */
        overflow: hidden; /* iframeのはみ出し防止 */
    }

    /* --- iframe (2倍サイズを縮小) --- */
    .mockup_pc-screen {
        position: absolute;
        top: 0;
        left: 0;
        width: 200%;
        height: 200%;
        transform: scale(0.5);
        transform-origin: 0 0;
        border: none;
    }
    /* ===== 上部：ディスプレイ（フタ側） ===== */
    .mockup_pc-lid {
        position: relative;
        width: min(90%, 1000px);
        aspect-ratio: 16 / 10; /* mockup_pc Proっぽい比率 */
        background: #111; /* ベゼルの黒 */
        border-radius: 18px;
        padding: 16px 16px 32px; /* 黒ベゼルの太さ */
        box-shadow:
            0 22px 50px rgba(0, 0, 0, 0.35),
            0 0 0 2px rgba(255, 255, 255, 0.04) inset;
        overflow: hidden;
    }

    /* 上部中央のカメラノッチ（Pro風） */
    .mockup_pc-notch {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -40%); /* ちょいはみ出させる */
        width: 140px;
        height: 28px;
        background: #000;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
        z-index: 2;
    }

    /* ===== 下部：ベース（キーボード側＋裏面ポッチ） ===== */
    .mockup_pc-base {
        position: relative;
        margin-top: -12px;
        width: min(100%, 1100px);
        height: 20px;
        background: linear-gradient(180deg, #d5d5d7, #b8b8ba);
        border-radius: 0 0 10px 10px;
        box-shadow:
            0 8px 16px rgba(0, 0, 0, 0.35),
            inset 0 1px 1px rgba(255, 255, 255, 0.8);
    }

    /* 底面のゴム足（裏面ポッチ）左右 */
    .mockup_pc-base::before,
    .mockup_pc-base::after {
        content: "";
        position: absolute;
        z-index: -1;
        bottom: -4px;
        width: 38px;
        height: 6px;
        background: #3a3a3d;
        border-radius: 999px;
        box-shadow:
            0 1px 2px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    /* 左のポッチ */
    .mockup_pc-base::before {
        left: 6%;
    }

    /* 右のポッチ */
    .mockup_pc-base::after {
        right: 6%;
    }
}

/* 親をFlex化 */
.with-sidebar {
    display: flex;
    flex-direction: column; /* モバイル・タブレットは縦並び */
    gap: 40px;
}

/* サイドバーの基本スタイル */
.with-sidebar_side {
    order: 2; /* 1440px未満では最後に表示される */
}

/* 本文 */
.with-sidebar_main {
    order: 1;
}

@media (min-width: 1180px) {
    .with-sidebar {
        flex-direction: row;
        align-items: flex-start;
    }

    .with-sidebar_main {
        width: calc(100% - 200px);
        order: 1;
    }

    .with-sidebar_side {
        width: 300px;
        order: 2;
        position: sticky;
        top: 10%;
        height: fit-content;
    }
}

/* サイドバーのカード（シンプルめ） */
.with-sidebar_side-block {
    /* background: var(--base-color); */
    /* border-radius: 12px; */
    padding: 1em;
    /* border: 1px solid #e5e7eb; */
}

.with-sidebar_side-block h3 {
    margin-bottom: 8px;
}

.cat_heading {
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    padding: 0 0.5em;
    color: var(--key-color02);
}
/* リストリセット */
.side-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 240px;
}

/* 行間 */
.side-cat-list li + li {
    margin-top: 6px;
}

/* 各行のベース */
.side-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px;
    text-decoration: none;
    color: var(--key-color02);
    font-size: 0.9em;
    border-bottom: 1px solid #e5e7eb;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

/* 最後の行だけボーダー消す */
.side-cat-list li:last-child a {
    border-bottom: none;
}

/* カテゴリー名 */
.cat-name {
    font-weight: 500;
}

/* 件数（さりげなく） */
.cat-count {
    font-size: 11px;
    color: var(--gray-color);
}

/* hover：色だけ変えるシンプルな演出 */
.side-cat-list a:hover {
    /* color: #2563eb; */
    border-color: #d1d5db;
    background-color: var(--sub-color);
}

/* Blogページ用　サイドバー */
.blog-tag-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.5em;
    li {
        width: fit-content;
        margin-bottom: 0.5em;
        a {
            display: inline-block;
            background-color: #eee;
            padding: 0.2em 0.5em;
            font-size: 0.8em;
            border-radius: 4px;
            .tag-count {
                font-size: 0.9em;
                color: var(--gray-color);
                margin-left: 0.2em;
            }
        }
    }
}

.tag-line01 {
    color: var(--key-color02);
    font-weight: 400;
    font-size: clamp(1.2rem, 0.797rem + 1.72vw, 2rem);
    line-height: 1.5;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--key-color);
    /* &::after {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        background-image: linear-gradient(
            to right,
            rgb(77, 163, 232, 0) 0%,
            rgba(26, 111, 181, 1) 1%,
            rgb(77, 163, 232, 0)
        );
    } */
}

/* ===== HVAC Theme Additions ===== */

.tel_link a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    transition: all 0.3s;
}

.tel_link a:hover {
    background: var(--key-color);
    border-color: var(--key-color);
}

.service-icon {
    font-size: 64px;
    color: var(--key-color);
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
}

.service-tags li {
    background: var(--pale-color);
    color: var(--key-color02);
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 14px;
    border: 1px solid rgba(13, 33, 55, 0.15);
}

.company-info-table th {
    width: 30%;
    min-width: 140px;
    vertical-align: top;
    font-weight: 600;
    color: var(--key-color02);
}

.company-info-table td {
    vertical-align: top;
}

.company-info-table td a {
    color: var(--key-color);
    text-decoration: underline;
}

@media (max-width: 767px) {
    .company-info-table th,
    .company-info-table td {
        display: block;
        width: 100%;
    }

    .company-info-table th {
        padding-bottom: 4px;
        border-bottom: none;
    }

    .company-info-table td {
        padding-bottom: 16px;
    }
}

/* attachment-ac コンテンツ用の追加スタイル */
.hero__label {
    font-family: var(--font-en);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.hero__lead {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
    max-width: 640px;
}

@media (min-width: 768px) {
    .hero {
        align-items: flex-start;
        padding: calc(80px + 24px) 5% 72px;
    }

    .hero__message {
        position: absolute;
        top: calc(80px + 24px);
        left: 5%;
        transform: none;
        /* width: min(52%, 720px); */
    }

    .hero__message h2 p {
        font-size: clamp(1.5rem, 0.963rem + 2.32vw, 3.75rem);
    }
}

.hero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    list-style: none;
    padding: 20px 0 0;
    margin: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero__points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #fff;
}

.hero__points li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--key-color);
    color: #fff;
    font-family: var(--font-en);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-decoration: none;
    border: 1px solid transparent;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.hero-btn--primary {
    background-color: var(--key-color-light);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(13, 33, 55, 0.28);
}

.hero-btn--primary:hover {
    background-color: var(--key-color);
    color: #ffffff;
}

.hero-btn--outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    background-color: transparent;
}

.hero-btn--outline:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    color: #ffffff;
}

.service-list__item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(13, 33, 55, 0.12);
}

.service-list__num {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--key-color);
    line-height: 1;
    margin-left: 0.4em;
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

.section-area {
    background: linear-gradient(
        135deg,
        var(--key-color) 0%,
        var(--key-color-light) 100%
    );
    color: #ffffff;
}

.section-area .section-title span,
.section-area .heading-h3 span,
.section-area p,
.section-area .contact-sns__label {
    color: #fff;
}

.section-area .service-tags li {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.area__badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.75rem;
    vertical-align: middle;
}

.faq-list__item {
    border: 1px solid rgba(13, 33, 55, 0.15);
    border-radius: 8px;
    margin-bottom: 12px;
    background: #ffffff;
    overflow: hidden;
}

.faq-list__q {
    padding: 16px 48px 16px 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.faq-list__q::-webkit-details-marker {
    display: none;
}

.faq-list__q::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--key-color);
    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.faq-list__item[open] .faq-list__q::after {
    content: "−";
}

.faq-list__item[open] .faq-list__q {
    border-bottom: 1px solid rgba(13, 33, 55, 0.1);
}

.faq-list__body {
    overflow: hidden;
    height: 0;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: height;
}

.faq-list__a {
    padding: 12px 20px 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-list__item.is-open .faq-list__a {
    opacity: 1;
}

.faq-list__item.is-closing .faq-list__a {
    opacity: 0;
    transition-duration: 0.25s;
}

@media (prefers-reduced-motion: reduce) {
    .faq-list__body,
    .faq-list__a {
        transition: none;
    }
}

.faq-list__a p {
    margin: 0;
}

.contact-sns {
    padding: 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-sns__label {
    font-weight: 600;
    margin-bottom: 8px;
}

.sp-cta {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    box-shadow: 0 -2px 16px rgba(7, 23, 38, 0.18);
    transition: transform 0.5s ease;
}

.sp-cta.hidden {
    transform: translateY(100%);
}

.sp-cta__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 58px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #ffffff;
    text-decoration: none;
}

.sp-cta__item--main {
    background-color: var(--key-color-light);
}

.sp-cta__item--main:hover {
    color: #ffffff;
    background-color: var(--key-color);
}

/* Reason：3カード横並び */
#reason .price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: none;
    column-gap: 16px;
    row-gap: 16px;
    align-items: stretch;
}

#reason .price-card {
    grid-row: auto;
    display: flex;
    flex-direction: column;
    grid-template-rows: none;
    height: 100%;
}

@media (max-width: 991px) {
    #reason .price-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #reason .price-grid {
        grid-template-columns: 1fr;
    }
}

/* 応援・下請け：4カード横並び */
#partner .price-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: none;
    column-gap: 16px;
    row-gap: 16px;
    align-items: stretch;
}

#partner .price-card {
    grid-row: auto;
    display: flex;
    flex-direction: column;
    grid-template-rows: none;
    height: 100%;
    padding: 24px 16px 20px;
}

#partner .plan-name {
    font-size: 1.05rem;
}

#partner .plan-catch {
    font-size: 0.8rem;
}

#partner .plan-features p {
    font-size: 0.875rem;
    line-height: 1.7;
    text-align: left;
}

@media (max-width: 991px) {
    #partner .price-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .service-list__item {
        grid-template-columns: 1fr;
    }

    #partner .price-grid {
        grid-template-columns: 1fr;
    }
}
