/*
Theme Name: K GRIT Corporate
Theme URI: https://example.com/
Author: K GRIT
Author URI: https://example.com/
Description: K GRIT コーポレートサイト用テーマ
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: kgrit
*/

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-color-dark: #33444b;
    --main-color-light: #d9d5c7;
    --view-more-link-left-width: 87%;
    --view-more-link-right-width: 13%;
    --view-more-link-submenu-left-width: 93%;
    --view-more-link-submenu-right-width: 7%;

    --font-tsukushi-a-old-mincho: fot-tsukuaoldmin-pr6n, sans-serif;

    --gallery-gap: 2rem;
    
    --color-hover-gray: #707070;
    --color-hover-dark: #3D536A;
    --hover-opacity: 0.3;
    --header-transition-duration: 0.3s;
    
    --transition-duration-transform: 0.3s;
    @media (max-width: 767px) {
        --gallery-gap: 1rem;
        --transition-duration-transform: 0.3s;
    }
}

html {
    scrollbar-gutter: stable;
    scroll-behavior: smooth;
    overscroll-behavior: none;
    /*visibility: hidden; /*Adobeフォント読み込み待ち*/
}

html.wf-active {
    /*visibility: visible; /*Adobeフォント読み込み後*/
}

body {
    font-family: 'Shippori Mincho', serif;
    background-color: #faf6ef;
    color: var(--main-color-dark);
    overflow-x: hidden;
    min-height: 100vh;
}

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

a {
    text-decoration: none;
    color: inherit;
}

@media (min-width: 768px) {
    .sp {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .pc {
        display: none !important;
    }
}

/* ヘッダー */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: transparent;
}

.site-header .nav-container {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 20px;
    z-index: 9999;
    background-color: #faf6ef;
    transition: padding 0.3s ease-in-out, background-color 0.3s ease-in-out, transform var(--transition-duration-transform) ease-in-out;
    width: 100%;
}

.site-header.scroll-down .nav-container {
    position: relative;
    padding: 30px 20px;
}

@media (min-width: 768px) {
    .site-header .nav-container {
        padding: 40px 20px;
    }
    .site-header.scroll-down .nav-container {
        padding: 30px 20px;
    }
}

@media (min-width: 1000px) {
    .site-header .nav-container {
        padding: 30px 20px;
    }
    .site-header.scroll-down .nav-container {
        padding: 10px 20px;
    }
}

/* @media (min-width: 1220px) { */
@media (min-width: 1330px) {
    .site-header .nav-container {
        padding: 3rem 4rem;
    }

    .site-header.scroll-down .nav-container {
        padding: 20px 4rem;
    }
}

.mobile-menu-open .nav-container {
    /*background-color: var(--main-color-dark);*/
    background-color: transparent;
}

.site-header .nav-container:has(.nav-item-with-submenu.active) {
    border-bottom: 1px var(--main-color-light) solid;
}

.is-scrolling .site-header .nav-container {
    transform: translateY(-100%);
}

.site-header .site-logo {
    width: 8rem;
    height: auto;
    /* transition: opacity 0.3s ease; */
    transition: width 0.3s ease;
    position: absolute;
    top: 0.8rem;
}

.site-header.scroll-down .site-logo {
    width: 6.5rem;
    top: 1rem;
}

@media (min-width: 768px) {
    .site-header .site-logo {
        width: 8rem;
        top: 0.8rem;
    }

    .site-header.scroll-down .site-logo {
        width: 7rem;
        top: 1rem;
    }
}

@media (min-width: 1000px) {
    .site-header .site-logo {
        top: 1.3rem;
    }
}

/*@media (min-width: 1220px) {*/
@media (min-width: 1330px) {
    .site-header .site-logo {
        width: 193.87px;
        top: 1.8rem;
    }

    .site-header.scroll-down .site-logo {
        width: 144px;
        top: 1.6rem;
    }
}

.site-header .site-logo.default {
    opacity: 0;
}

.site-header .site-logo.scrolled {
    opacity: 0;
}

.mobile-menu-open .site-header.scrolled .site-logo.scrolled {
    content: url('img/common/logo_footer.png');
}

.site-header .nav-menu {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

/* @media (min-width: 1220px) { */
@media (min-width: 1330px) {
    .site-header .nav-menu {
        gap: 2rem;
    }
}
/* @media (min-width: 1220px) {
    .site-header .nav-menu {
        display: flex;
    }
} */
@media (min-width: 1000px) {
    .site-header .nav-menu {
        display: flex;
    }
}

.site-header .nav-link {
    font-family: 'Cinzel', serif;
    font-weight: 500;
    color: var(--main-color-light);
    font-size: 14px;
    text-align: center;
    letter-spacing: 1.12px;
    line-height: 2rem;
    white-space: nowrap;
}

/* @media (min-width: 1220px) { */
@media (min-width: 1330px) {
    .site-header .nav-link {
        font-size: 16px;
    }   
}

@media (min-width: 768px) {
/*@media (min-width: 1220px) {*/
    .site-header .nav-link {
        color: var(--main-color-dark);
        transition: opacity 0.3s ease;

        &:hover {
            opacity: var(--hover-opacity);
        }
    }
}

.site-header .nav-menu .buttons {
    display: flex;
    gap: 0.7rem;
}

.site-header .nav-link-outline {
    font-family: 'Cinzel', serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1.12px;
    border: 1px solid var(--main-color-light);
    color: var(--main-color-light);
    border-radius: 25px;
    background-color: transparent;
    padding: 0.8em 1.5rem;
    display: inline-block;
}

/* @media (min-width: 1220px) { */
@media (min-width: 1330px) {
    .site-header .nav-link-outline {
        font-size: 16px;
        padding: 0.7em 2rem;
    }   
}

@media (min-width: 1000px) {
/*@media (min-width: 1220px) {*/
    .site-header .nav-link-outline {
        border: 1px solid var(--main-color-dark);
        color: var(--main-color-dark);
        transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;

        &:hover {
            color: var(--main-color-light);
        }

        &.nav-link-outline--hover-gray:hover {
            background-color: var(--color-hover-gray);
            border-color: var(--color-hover-gray);
        }

        &.nav-link-outline--hover-dark:hover {
            background-color: var(--color-hover-dark);
            border-color: var(--color-hover-dark);
        }
    }
}

.site-header .nav-link-button {
    font-family: 'Cinzel', serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1.12px;
    background-color: var(--main-color-dark);
    border: 1px solid var(--main-color-light);
    color: var(--main-color-light);
    border-radius: 25px;
    padding: 0.8em 1.5rem;
    display: inline-block;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;

    &:hover {
        background-color: transparent;
        border-color: var(--main-color-dark);
        color: var(--main-color-dark);
    }
}

/* @media (min-width: 1220px) { */
@media (min-width: 1330px) {
    .site-header .nav-link-button {
        font-size: 16px;
        padding: 0.7rem 2rem;
    }   
}   

@media (min-width: 768px) {
    .site-header .nav-link-button {
        color: #fff;
    }
}
.site-header .nav-item-with-submenu {
    position: relative;
}

.site-header .nav-underline {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    bottom: -37px;
    width: 85px;
    height: 2px;
    background-color: #33444b;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s, bottom 0.3s ease-out;
    transform-origin: left;
}

.site-header.scroll-down .nav-underline {
    bottom: -18px;
}

@media (min-width: 1330px) {
    .site-header .nav-underline {
        bottom: -55px;
    }

    .site-header.scroll-down .nav-underline {
        bottom: -27px;
    }
}   

.site-header .nav-item-with-submenu.active .nav-underline {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}

.site-header.scrolled .nav-underline {
    bottom: -39px;
}

.site-header .submenu-overlay {
    position: fixed;
    top: 90px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.54);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 30;
}

.site-header.scroll-down .submenu-overlay {
    top: 62px;
}

@media (min-width: 1330px) {
    .site-header.scroll-down .submenu-overlay {
        top: 86px;
    }
}

.site-header .submenu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.site-header .submenu {
    position: fixed;
    left: 0;
    right: 0;
    top: 100px;
    background-color: #faf6ef;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s, top 0.3s ease-out;
}

.site-header.scroll-down .submenu {
    top: 62px;
}

@media (min-width: 1330px) {
    .site-header .submenu {
        top: 133px;
    }

    .site-header.scroll-down .submenu {
        top: 86px;
    }
}

.site-header .submenu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-header .submenu-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 32px;
}

.site-header .submenu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: column;
    grid-template-rows: repeat(3, auto);
    gap: 16px 30px;
}

.site-header .submenu-grid-services {
    grid-template-rows: repeat(4, auto);
}

.site-header .submenu-grid-services .smaller {
    font-size: 13px;
}

.site-header .submenu .view-more-link {
    width: 275px;
    margin-bottom: 0;
}

.site-header .submenu .view-more-content.gap-small {
    gap: 1rem;
}

.site-header .submenu .view-more-content {
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.site-header .submenu .view-more-link:hover {
    .line-dark {
        flex: 1 0 100%;
    }
}

.site-header .submenu .line-gray {
    /* width: 257px; */
    flex: 0 1 var(--view-more-link-submenu-left-width);
}

.site-header .submenu .line-dark {
    /* width: 18px; */
    flex: 0 1 var(--view-more-link-submenu-right-width);
}

.mobile-menu-toggle {
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    position: fixed;
    right: 20px;
    z-index: 9999;
    display: grid;
    align-content: center;
}

@media (min-width: 1000px) {
/*@media (min-width: 1220px) {*/
    .site-header .mobile-menu-toggle {
        display: none;
    }
}

.site-header .burger-line {
    display: block;
    width: 40px;
    height: 4px;
    background-color: var(--main-color-dark);
    border-radius: 2px;
    transition:
        width 0.25s ease,
        transform 0.25s ease,
        margin-bottom 0.25s ease;
}

.site-header .burger-line.line-top {
    margin-bottom: 6px;
}

.site-header .burger-line.line-middle {
    margin-bottom: 6px;
}

.site-header .mobile-menu-toggle .burger-line {
    width: 40px;
    margin-left: 0;
    transform-origin: center;
}

.site-header .mobile-menu-toggle.is-open .burger-line {
    background-color: var(--main-color-light);
}

.site-header .mobile-menu-toggle.is-open .line-top {
    transform: rotate(35deg);
    grid-row: 1;
    grid-column: 1;
    margin-bottom: 0;
}
.site-header .mobile-menu-toggle.is-open .line-middle {
    transform: rotate(-35deg);
    grid-row: 1;
    grid-column: 1;
    margin-bottom: 0;
}
.site-header .mobile-menu-toggle.is-open .line-bottom {
    transform: rotate(-35deg);
    grid-row: 1;
    grid-column: 1;
    margin-bottom: 0;
}

.site-header .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    pointer-events: none;
}
.mobile-menu-open .mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.site-header .mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: var(--main-color-dark);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    pointer-events: none;
}

@media (min-width: 1000px) {
/*@media (min-width: 1220px) {*/
    .site-header .mobile-menu-panel {
        display: none;
    }
}

.mobile-menu-open .mobile-menu-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    overflow: auto;
}

.site-header .mobile-menu-content {
    display: flex;
    flex-direction: column;
    /*gap: 1rem;*/
    padding: 2rem 40px;
    margin-top: 5rem;
}

@media (min-width: 768px) {
    .site-header .mobile-menu-content  {
        margin-top: 8rem;
    }
}

.site-header .mobile-menu-content .footer-nav-column {
    order: unset;
}

@media (max-width: 1219px) {
    .site-header .mobile-menu-content .footer-nav-column {
        border-bottom: 1px var(--color-hover-gray) solid;
        margin-bottom: 1.5rem;
    }
    
    .site-header .mobile-menu-content .footer-nav-title-wrap {
        position: relative;
        display: flex;
        gap: 1.5rem;
        padding-bottom: 1rem;
    }

    /*.site-header .mobile-menu-content .footer-nav-title-wrap::before, .footer-nav-title-wrap::after {
        position: absolute;
        content: '';
        display: inline-block;
        width: 10px;
        height: 10px;
        border-top: 2px solid var(--main-color-light);
        right:0px;
        top: 13px;
    }
      
    .site-header .mobile-menu-content .footer-nav-title-wrap::after {
        transform: rotate(90deg);
        right: 5px;
        top: 8px;
    }

    .site-header .mobile-menu-content .footer-nav-title-wrap.open::after {
        display:none
    }

    .site-header .mobile-menu-content .footer-nav-title-wrap.notoggle::before, .footer-nav-title-wrap.notoggle::after {
        width: 0;
        height: 0;
        border:none;
    }

    .site-header .mobile-menu-content .footer-nav-title-wrap.link-blank::before {
        position: absolute;
        content: '';
        width: 100%;
        height:100%;
        right:0;
        top: -7px;
        background:url(img/common/link_blank.png) right no-repeat;
        background-size: 12px;
    }*/

    .site-header .mobile-menu-content .footer-nav-column:has(.footer-nav-list)::before, .footer-nav-column:has(.footer-nav-list)::after {
        position: absolute;
        content: '';
        display: inline-block;
        width: 10px;
        height: 10px;
        border-top: 2px solid var(--main-color-light);
        right:0px;
        top: 13px;
    }
      
    .site-header .mobile-menu-content .footer-nav-column:has(.footer-nav-list)::after {
        transform: rotate(90deg);
        right: 5px;
        top: 8px;
    }

    .site-header .mobile-menu-content .footer-nav-column.open:has(.footer-nav-list)::after {
        display:none
    }

    .site-header .mobile-menu-content .footer-nav-column.notoggle:has(.footer-nav-list)::before, .footer-nav-column.notoggle:has(.footer-nav-list)::after {
        width: 0;
        height: 0;
        border:none;
    }

    .site-header .mobile-menu-content .footer-nav-title-wrap.link-blank::before {
        position: absolute;
        content: '';
        width: 100%;
        height:100%;
        right:0;
        top: -7px;
        background:url(img/common/link_blank.png) right no-repeat;
        background-size: 12px;
    }
}

@media (max-width: 1219px) {
    .site-header .mobile-menu-content .footer-nav-title {
        font-size: 18px;
    }

    .site-header .mobile-menu-content .footer-nav-subtitle {
        font-size: 9px;
        margin-bottom: 0;
        line-height: 30px;
    }

    .site-header .mobile-menu-content .footer-nav-section {
        margin-top: 1.5rem;
        border-bottom: 1px var(--color-hover-gray) solid;
    }

    .site-header .mobile-menu-content .footer-nav-section:first-child {
        margin-top: 0;
    }

    .site-header .mobile-menu-content  .footer-nav-list {
        list-style: none;
        display: none;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        grid-template-rows: repeat(4, auto);
        grid-auto-flow: column;
        margin: 1.5rem 0;
    }

    .site-header .mobile-menu-content  .footer-nav-list.about {
        grid-template-columns: 1fr 1.2fr;
    }
}

@media (max-width: 1219px) {
    .site-header .mobile-menu-content .footer-nav-list.services li:nth-child(1) { grid-column: 1; grid-row: 1; }
    .site-header .mobile-menu-content .footer-nav-list.services li:nth-child(2) { grid-column: 1; grid-row: 2; }
    .site-header .mobile-menu-content .footer-nav-list.services li:nth-child(3) { grid-column: 1; grid-row: 3; }
    .site-header .mobile-menu-content .footer-nav-list.services li:nth-child(4) { grid-column: 1; grid-row: 4; }
    .site-header .mobile-menu-content .footer-nav-list.services li:nth-child(5) { grid-column: 1; grid-row: 5; }
    .site-header .mobile-menu-content .footer-nav-list.services li:nth-child(6) { grid-column: 2; grid-row: 1; }
    .site-header .mobile-menu-content .footer-nav-list.services li:nth-child(7) { grid-column: 2; grid-row: 2; }
    .site-header .mobile-menu-content .footer-nav-list.services li:nth-child(8) { grid-column: 2; grid-row: 3; }
    .site-header .mobile-menu-content .footer-nav-list.services li:nth-child(9) { grid-column: 2; grid-row: 4; }
}

.site-header .mobile-menu-content .nav-link-button,
.site-header .mobile-menu-content .nav-link-outline {
    width: 100%;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.site-header .mobile-menu-content .nav-link-outline.litlink {
    margin: 30px auto 15px;
}

.site-header .mobile-menu-content .footer-social {
    margin-top: 5rem;
}

.site-header .mobile-menu-content .footer-copyright {
    margin-top: 3rem;
    font-size: 9px;
    text-align: center;
}

.site-header .logo-link {
    display: inline-block;
}

.mobile-menu-open .logo-link img {
    content: url('img/common/logo_header_white.png');
}

/* TOP：ヒーローセクション */
body.home .hero-section {
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
}

@media (min-width: 768px) {
    body.home .hero-section {
        height: 791px;
    }
}

body.home .hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem 0 1rem;
}

@media (min-width: 768px) {
    body.home .hero-content {
        padding: 0 2.5rem;
    }
}

body.home .hero-title {
    font-family: var(--font-tsukushi-a-old-mincho);
    font-weight: 400;
    color: var(--main-color-dark);
    font-size: 12.4vw;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-align: left;
    position: relative;
    z-index: 1;

    visibility: hidden;
}

.wf-active body.home .hero-title {
    visibility: visible;
}

@media (min-width: 768px) {
    body.home .hero-title {
        line-height: 171px;
    }
}

@media (min-width: 1240px) {
    body.home .hero-title {
        font-size: 130px;
    }
}

body.home .hero-title-wrap{
    position: relative;
    display: inline-block;
}

body.home .hero-title-mask{
    position: absolute;
    inset: 0;
    z-index: 2;
    background: #faf6ef;
    transform: scaleX(1);
    transform-origin: right center;
    will-change: transform;
}

body.home .hero-text {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-dark);
    font-size: 16px;
    line-height: 1.75;
    text-align: left;
}

@media (min-width: 768px) {
    body.home .hero-text {
        font-size: 22px;
        line-height: 2.5rem;
    }
}

body.home .scroll-down-btn {
    display: flex;
    position: absolute;
    bottom: 0;
    right: 10px;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
}

@media (min-width: 768px) {
    body.home .scroll-down-btn {
        gap: 3rem;
    }
}

body.home .scroll-text {
    writing-mode: vertical-rl;
    font-family: var(--font-tsukushi-a-old-mincho);
    font-weight: 400;
    color: var(--main-color-dark);
    font-size: 13px;
    line-height: 1.5rem;
    white-space: nowrap;
}

@media (min-width: 768px) {
    body.home .scroll-down-btn {
        font-size: 14px;
    }
}

body.home .scroll-arrow {
    width: 13.95px;
    height: 17.3px;
}

/* ギャラリーセクション */
body.home .gallery-section {
    padding: 0;
    background-color: #faf6ef;
    width: 100%;
    overflow: hidden;
}

@media (min-width: 768px) {
    body.home .gallery-section {
        padding: 5rem 0;
    }
}

body.home .gallery-container {
    /*max-width: 1400px;*/
    margin: 0 auto;
    width: 100%;
}

body.home .gallery-scroll {
    display: flex;
    gap: 1rem;
}

@media (min-width: 768px) {
    body.home .gallery-scroll {
        gap: 2rem;
    }
}

body.home .gallery-scroll-item {
    display: flex;
    flex: 0 0 auto;
    gap: var(--gallery-gap);
    animation: infinity-scroll-left 30s linear infinite;

    @media (max-width: 767px) {
        animation: infinity-scroll-left 15s linear infinite;
    }
}

body.home .gallery-img-lg {
    width: 250px;
    height: 340px;
    object-fit: cover;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    body.home .gallery-img-lg {
        width: 510px;
        height: 690px;
    }
}

body.home .gallery-img-md {
    width: 190px;
    height: 250px;
    object-fit: cover;
    flex-shrink: 0;
    margin-top: 70px;
}

@media (min-width: 768px) {
    body.home .gallery-img-md {
        width: 380px;
        height: 510px;
        margin-top: 130px;
    }
}

body.home .gallery-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
    margin-top: 30px;
}

@media (min-width: 768px) {
    body.home .gallery-col {
        gap: 2rem;
        margin-top: 60px;
    }
}

body.home .gallery-img-sm {
    width: 130px;
    height: 170px;
    object-fit: cover;
}

@media (min-width: 768px) {
    body.home .gallery-img-sm {
        width: 256px;
        height: 343px;
    }
}

/* 共通セクションスタイル */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .section-container {
        padding: 0 40px;
    }
}

.section-title-en {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    color: var(--main-color-dark);
    font-size: 50px;
    letter-spacing: 4.2px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-title-en {
        font-size: 3.75rem;
    }
}

.section-title-ja {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-dark);
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 35px;
}

/* ニュース前セクション（アニメーション） */
body.home .news-before-section {
    /* height: 100vh; */
    position: relative;
}

body.home .animation_root::after {
    content: '';
    position: absolute;
    top: 50vh;
    left: 50%;
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background-color: var(--main-color-dark);
}

/* ニュースセクション */
body.home .news-section {
    /* padding: 6rem 0 4rem; */
    margin-top: 6rem;
    /* background-color: #c8cbd1; */
    border-radius: 10px 10px 0 0;
    /* contain: paint; */
}

@media (min-width: 768px) {
    body.home .news-section {
        /* padding: 8rem 0; */
        margin-top: 8rem;
    }
}

body.home .news-section .section-container {
    width: 100%;
    /* padding: 0 40px; */
    padding: 40px;
}

@media (min-width: 768px) {
    body.home .news-section .section-container {
        /* padding: 0 3.077vw 0 10.769vw; */
        padding: 120px 3.077vw 120px 10.769vw;
    }
}

@media (min-width: 1300px) {
    body.home .news-section .section-container {
        /* padding: 0 40px 0 140px; */
        padding: 140px 40px 100px 140px;
    }
}

body.home .news-section .news-inner {
    display: grid;
    align-items: center;
    /* min-height: 100dvh; */
    background-color: #c8cbd1;
    clip-path: inset(0 50% 0 50%);
}

body.home .news-section .news-wrapper {
    position: relative;
    height: 100%;
}

body.home .news-section .news-anim-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
}

body.home .news-section .news-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;

    .news-anim-circle {
        position: absolute;
        top: 0;
        left: 50%;
        width: 10px;
        height: 10px;
        transform: translateX(-50%) translateY(-100%);
        background: var(--main-color-dark);
        border-radius: 50%;
    }

    .news-anim-bar {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 1px;
        height: 100%;
        background: var(--main-color-dark);
    }
}

body.home .news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    body.home .news-grid {
        grid-template-columns: 40% 60%;
        gap: 0;
    }
}

@media (min-width: 768px) {
    body.home .news-header {
        margin-bottom: 3rem;
        align-self: center;
    }
}

body.home .news-header .section-title-ja {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    body.home .news-header .section-title-ja {
        margin-bottom: 35px;
    }
}

.view-more-link {
    width: fit-content;
}

@media (min-width: 768px) {
    .view-more-link {
        margin-bottom: 1.5rem;
    }
}

.view-more-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.view-more-text {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 30px;
}

.view-more-content img {
    width: 17px;
}

.view-more-line {
    height: 2px;
    display: flex;
    width: 100%;
}

.line-gray {
    flex: 0 1 var(--view-more-link-left-width);
    background-color: var(--main-color-light);
}

.line-dark {
    flex: 0 1 var(--view-more-link-right-width);
    background-color: var(--main-color-dark);
    transition: flex 0.3s ease;
}

.line-light {
    flex: 0 1 var(--view-more-link-right-width);
    background-color: var(--main-color-light);
    transition: flex 0.3s ease;
}

.view-more-link a {
    position: relative;
    color: var(--main-color-dark);

    &:hover .line-dark {
        flex: 1 0 100%;
    }
}

.view-more-dark a {
    color: var(--main-color-light);

    &:hover .line-light {
        flex: 1 0 100%;
    }
}

.view-more-dark .line-gray {
    opacity: 0.3;
}

.view-more-mobile {
    display: flex;
    justify-content: flex-end;
    margin-top: 2.5rem;
}

@media (min-width: 768px) {
    .view-more-mobile {
        display: none;
    }
}

body.home .news-list {
    display: flex;
    flex-direction: column;
}

body.home .news-item {
    display: block;
    cursor: pointer;
    transition: background-color 0.2s;
}

body.home .news-item:hover {
    background-color: var(--main-color-dark);
}

body.home .news-item-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--main-color-dark);
    position: relative;
}

@media (min-width: 768px) {
    body.home .news-item-inner {
        padding: 0.7rem 0;
    }
}

body.home .news-item:first-child .news-item-inner {
    border-top: 1px solid var(--main-color-dark);
}

body.home .news-date-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

body.home .news-dot {
    background-color: var(--main-color-dark);
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s;
}

body.home .news-item:hover .news-dot {
    background-color: var(--main-color-light);
}

body.home .news-date {
    writing-mode: vertical-rl;
    font-family: var(--font-tsukushi-a-old-mincho);
    font-weight: 400;
    color: var(--main-color-dark);
    font-size: 16px;
    line-height: 1.5rem;
    text-align: center;
    white-space: nowrap;
    transition: color 0.2s;
}

body.home .news-item:hover .news-date {
    color: var(--main-color-light);
}

body.home .news-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

@media (min-width: 768px) {
    body.home .news-content {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }
}

body.home .news-badge {
    background-color: var(--main-color-dark);
    color: var(--main-color-light);
    border-radius: 15px;
    padding: 0.1rem 1rem;
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5rem;
    transition: all 0.2s;
    display: inline-block;
    width: fit-content;
    border: 1px solid transparent;
}

body.home .news-item:hover .news-badge {
    border: 1px solid var(--main-color-light);
    background-color: transparent;
    color: var(--main-color-light);
}

body.home .news-title {
    font-family: var(--font-tsukushi-a-old-mincho);
    font-weight: 400;
    color: var(--main-color-dark);
    font-size: 16px;
    line-height: 1.5rem;
    transition: color 0.2s;
    flex: 1;
}

body.home .news-item:hover .news-title {
    color: white;
}

body.home .news-arrow {
    width: 1rem;
    height: 1rem;
    align-self: flex-end;
    margin: 0 10px 5px 0;
}

body.home .news-item:hover .news-arrow {
    content: url('img/common/arrow_rightup_white.png');
}

/* アバウトセクション */
body.home .about-section {
    position: relative;
    top: -2px;
    padding: 4rem 0 2rem 0;
    border-radius: 0 0 10px 10px;
    background-color: #c8cbd1;
}

@media (min-width: 768px) {
    body.home .about-section {
        padding: 5rem 0 clamp(1rem, -2.4286rem + 7.1429vw, 4rem) 0;
    }
}

body.home .about-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    body.home .about-container {
        padding: 0 2.5rem;
    }
}

body.home .about-header {
    margin: 0 auto 2rem;
    text-align: right;
    max-width: 1000px;
}

@media (min-width: 768px) {
    body.home .about-header {
        /*margin-bottom: 4rem;*/
    }
}

body.home .about-cards-wrapper {
    position: relative;
    height: 300vh;
}

body.home .about-cards-sticky {
    position: sticky;
    top: 70px;
    height: 100vh;
    transition: top 0.3s ease;
}

body.home:has(.site-header.scroll-up) .about-cards-sticky {
    top: 90px;
}

@media (min-width: 768px) {
    body.home .about-cards-sticky {
        top: 100px;
    }

    body.home:has(.site-header.scroll-up) .about-cards-sticky {
        top: 160px;
    }
}

body.home .about-cards {
    position: relative;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

body.home .about-card {
    border-radius: 10px;
    overflow: hidden;
    padding-bottom: 3em;
    width: 100%;
}

body.home .about-card-1 {
    position: absolute;
    top: 0;
    z-index: 1;
    background-color: #46535d;
}

body.home .about-card-2 {
    /* top: 100px; */
    position: absolute;
    top: 80px;
    z-index: 2;
    background-color: #2d3c48;
}

body.home .about-card-3 {
    position: absolute;
    top: 160px;
    z-index: 3;
    background-color: #152029;
}

body.home .about-card-inner {
    max-width: 1280px;
    padding: 1.5rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    body.home .about-card-inner {
        padding: 0 40px;
    }
}

body.home .about-card-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    body.home .about-card-content {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

body.home .about-card-text {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    body.home .about-card-text {
        margin-top: 3.5rem;
    }
}

body.home .about-card-header {
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    body.home .about-card-text {
        margin-top: 1rem;
    }
}

body.home .about-card-number-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    body.home .about-card-number-row {
        gap: 1rem;
        margin-top: 1rem;
        margin-bottom: 0;
    }
}

body.home .about-card-number {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    color: var(--main-color-light);
    font-size: 30px;
    letter-spacing: 2.1px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    body.home .about-card-number {
        font-size: 1.875rem;
        line-height: 51px;
    }
}

body.home .about-card-title-en {
    font-family: 'Cinzel', serif;
    font-weight: 500;
    color: var(--main-color-light);
    font-size: 16px;
    letter-spacing: 1.12px;
    line-height: 1.75rem;
}

body.home .about-card-divider {
    /*height: 1px;
    background-color: var(--main-color-light);*/
    margin-bottom: 0.5rem;
    position: relative;
}

@media (min-width: 768px) {
    body.home .about-card-divider {
        margin-bottom: 1rem;
    }
}

body.home .about-card-divider::before {
    content: '';
    display: flex;
    align-items: center;
    height: 1px;
    background-color: var(--main-color-light);
    width: 95%;
    margin-left: 13px;
}

body.home .about-card-divider::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--main-color-light);
}

body.home .about-card-title-ja {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-light);
    font-size: 1.25rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    body.home .about-card-title-ja {
        font-size: 1.875rem;
        line-height: 53px;
    }
}

body.home .about-card-description {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-light);
    font-size: 14px;
    line-height: 2rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    white-space: unset;
}

@media (min-width: 768px) {
    body.home .about-card-description {
        font-size: 18px;
        line-height: 2.5rem;
        margin-bottom: 5rem;
        margin-top: 0;
        white-space: pre-line;
    }
}

body.home .about-card-img-mobile {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    body.home .about-card-img-mobile {
        display: none;
    }
}

body.home .about-card-img-mobile img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

body.home .about-card-img {
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

@media (min-width: 768px) {
    body.home .about-card-img {
        justify-content: flex-end;
    }
}

body.home .about-card-img img {
    width: 55vw;
    align-self: center;
}

@media (min-width: 1240px) {
    body.home .about-card-img img {
        max-width: 510px;
    }
}

body.home .about-card .view-more-link {
    align-self: end;
    float: right;
}

/* サービスセクション */
body.home .services-section {
    padding: 4rem 0;
    background-color: #faf6ef;
}

@media (min-width: 768px) {
    body.home .services-section {
        padding: 8rem 0;
    }
}

body.home .services-header-mobile {
    display: block;
    margin-bottom: 1rem;
    padding: 0 20px;
}

@media (min-width: 768px) {
    body.home .services-header-mobile {
        display: none;
    }
}

body.home .services-description {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-dark);
    font-size: 16px;
    line-height: 1.75rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    body.home .services-description {
        font-size: 18px;
        line-height: 2.5rem;
        margin-bottom: 2rem;
    }
}

body.home .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    body.home .services-grid {
        grid-template-columns: 1fr 2.2fr;
    }
}

body.home .services-info {
    display: none;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    body.home .services-info {
        display: flex;
    }
}

body.home .services-visual {
    position: relative;
}

body.home .services-image-container {
    display: none;
    /* background-color: #ececec; */
    align-items: center;
    justify-content: center;
    position: relative;
}

@media (min-width: 768px) {
    body.home .services-image-container {
        display: flex;
    }
}

body.home .services-svg {
    width: 100%;
    height: auto;
    opacity: 0;
}

body.home .service-item {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--main-color-dark);
    border-radius: 1.5rem;
    box-shadow: 0px 3px 3px rgba(59, 101, 116, 0.29);
    padding: 0.3rem 0.6rem;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

body.home .service-item.kukan {
    top: 57%;
    right: 7%;
}

body.home .service-item.kenchiku {
    top: 25%;
    left: 60%;
}

body.home .service-item.mansion {
    top: 48%;
    left: 56%;
}

body.home .service-item.zyutaku {
    top: 67%;
    left: 43%;
}

body.home .service-item.kagu {
    top: 70%;
    left: 13%;
}

body.home .service-item.hotel {
    top: 48%;
    left: 22%;
}

body.home .service-item.development {
    top: 30%;
    left: 38%;
}

body.home .service-item.fudosan {
    top: 24%;
    left: 10%;
}

body.home .service-item-sub {
    display: none;
    position: absolute;
    top: 73%;
    left: 10%;
    z-index: 100;
    box-shadow: 0 3px 30px rgba(0, 0, 0, 0.16);
}

@media (min-width: 768px) {
    body.home .service-item-sub {
        top: 78%;
        left: 12.5%;
    }
}

body.home .service-item-sub a {
    padding: 5px 14px;
    font-size: 14px;
    line-height: 2;
    background-color: #fff;
    color: var(---main-color-dark);
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body.home .service-item-sub a:first-child {
    border-radius: 5px 5px 0 0;
}

body.home .service-item-sub a:last-child {
    border-radius: 0 0 5px 5px;
}

body.home .service-item-sub a:hover {
    background-color: var(--main-color-dark);
    color: #fff;
}

body.home .service-label {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 27px;
    color: var(--main-color-light);
    transition: color 0.3s ease;
}

body.home .service-icon img {
    width: 18px;
    height: auto;
}

@media (max-width: 1290px) {
    body.home .service-label {
        font-size: 1.24vw;
        line-height: 2.093vw;
    }
    
    body.home .service-icon img {
        width: 1.395vw;
    }
}

body.home .service-item:hover {
    background-color: #fff;
}

body.home .service-item:hover .service-label {
    color: var(--main-color-dark);
}

body.home .service-item:hover .service-icon img {
    content: url('img/common/arrow_rightup.png');
}

body.home .services-mobile {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    body.home .services-mobile {
        display: none;
    }
}

body.home .services-mobile-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0;
}

body.home .services-mobile-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    position: relative;
}

body.home .service-button {
    background-color: var(--main-color-dark);
    color: var(--main-color-light);
    border-radius: 101px;
    padding: 0.5rem 1rem;
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5rem;
    display: flex;
    align-items: center;
}

body.home .service-button span {
    margin: 0 auto;
}

body.home .service-button-full {
    grid-column: 1 / -1;
}

body.home .service-button img {
    width: 1rem;
    height: 1rem;
}

body.home .services-section .view-more-mobile {
    padding-right: 24px;
}

.section-between-line {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.section-between-line::before {
    content: '';
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    height: 1px;
    background-color: var(--main-color-dark);
    width: calc(100% - 13px);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 3s linear;

    @media (max-width: 767px) {
        transition-duration: 1s;
    }
}

@media (max-width: 1280px) {
    .section-between-line::before {
        right: 3.125vw;
        width: calc(100% - 7.266vw);
    }
}

@media (max-width: 767px) {
    .section-between-line::before {
        right: 40px;
        width: calc(100% - 93px);
    }
}

.section-between-line.is-active::before {
    transform: scaleX(1);
}

.section-between-line::after {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--main-color-dark);
}

@media (max-width: 1280px) {
    .section-between-line::after {
        left: 3.125vw;
    }
}

@media (max-width: 767px) {
    .section-between-line::after {
        left: 40px;
    }
}

/* 実績セクション */
body.home .works-section {
    padding: 4rem 0;
    background-color: #faf6ef;
}

@media (min-width: 768px) {
    body.home .works-section {
        padding: 8rem 0;
    }
}

body.home .works-section .section-container {
    padding: 0 40px;
}

body.home .works-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    body.home .works-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 2rem;
        margin-bottom: 0;
    }
}

body.home .works-title-group {
    flex-shrink: 0;
}

body.home .works-title-group .section-title-ja {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    body.home .works-title-group .section-title-ja {
        margin-bottom: 35px;
    }
}

body.home .works-description {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-dark);
    font-size: 16px;
    line-height: 1.75rem;
}

@media (min-width: 768px) {
    body.home .works-description {
        font-size: 18px;
        line-height: 2.5rem;
        margin-top: 1rem;
    }
}

body.home .works-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    body.home .works-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

/* body.home .works-info {
    transition: opacity 0.3s ease;
} */

body.home .works-item {
    display: block;

    /* &:hover .works-info {
        opacity: var(--hover-opacity);
    } */

    &:hover .works-img {
        transform: scale(1.05);
    }
}

body.home .works-img-wrapper {
    overflow: hidden;
    width: 100%;
    height: 200px;
}

@media (min-width: 768px) {
    body.home .works-img-wrapper {
        height: 290px;
        margin-bottom: 1rem;
    }
}

body.home .works-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    body.home .works-img {
        height: 290px;
        /* margin-bottom: 1rem; */
    }
}

body.home .works-number {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: #44515f;
    font-size: 14px;
}

@media (min-width: 768px) {
    body.home .works-number {
        line-height: 30px;
    }
}

body.home .works-category {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-dark);
    font-size: 16px;
}

@media (min-width: 768px) {
    body.home .works-category {
        line-height: 30px;
    }
}

body.home .works-view-more {
    margin-top: 4rem;
    display: flex;
    justify-content: flex-end;
}

body.home .works-view-more .view-more-link {
    display: inline-block;
}

/* リクルートセクション */
.recruit-section {
    padding: 4rem 0;
    background-color: #faf6ef;
}

@media (min-width: 768px) {
    .recruit-section {
        padding: 8rem 0;
    }
}

.recruit-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .recruit-container {
        padding: 0 2.5rem;
    }
}

.recruit-header {
    margin-bottom: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .recruit-header {
        margin-bottom: 4rem;
    }
}

.recruit-grid-wrap {
    position: relative;
}

.recruit-grid {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
}

@media (min-width: 768px) {
    .recruit-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.recruit-card {
    overflow: hidden;
    position: relative;
}

.recruit-card-1 {
    background-color: #3d536a;
    border-radius: 10px 10px 0 0;
}

@media (min-width: 768px) {
    .recruit-card-1 {
        border-radius: 10px 0 0 10px;
    }
}

.recruit-card-2 {
    background-color: var(--main-color-dark);
    border-radius: 0 0 10px 10px;
}

@media (min-width: 768px) {
    .recruit-card-2 {
        border-radius: 0 10px 10px 0;
    }
}

.recruit-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.recruit-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transform: translateY(-50%);
}

@media (min-width: 768px) {
    .recruit-content {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        padding: 0 50px;
    }
}

.recruit-title-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    width: 100%;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .recruit-title-group {
        flex-direction: row;
        gap: 0.5rem;
        width: auto;
    }
}

.recruit-title-en {
    font-family: 'Cinzel', serif;
    font-weight: 500;
    color: var(--main-color-light);
    font-size: 12px;
    line-height: 1.2;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .recruit-title-en {
        font-size: 22px;
        line-height: 30px;
        flex-direction: column;
        gap: 0;
    }
}

.recruit-title-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .recruit-title-row {
        display: block;
        padding: 0;
    }
}

.recruit-title-mobile {
    display: inline;
}

@media (min-width: 768px) {
    .recruit-title-mobile {
        display: none;
    }
}

.recruit-title-desktop {
    display: none;
}

@media (min-width: 768px) {
    .recruit-title-desktop {
        display: block;
    }
}

.recruit-divider {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

@media (min-width: 768px) {
    .recruit-divider {
        width: auto;
        flex-direction: row;
        align-items: baseline;
        align-self: flex-end;
    }
}

.recruit-separator {
    font-family: 'Cinzel', serif;
    font-weight: 500;
    color: var(--main-color-light);
    font-size: 16px;
    line-height: 1.2;
    display: none;
}

@media (min-width: 768px) {
    .recruit-separator {
        display: block;
        font-size: 22px;
        line-height: 30px;
    }
}

.recruit-line-mobile {
    width: 100%;
    height: 1px;
    background-color: var(--main-color-light);
    margin: 1rem 0;
}

@media (min-width: 768px) {
    .recruit-line-mobile {
        display: none;
    }
}

.recruit-title-ja {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-light);
    font-size: 21px;
    line-height: 1.2;
    margin-top: 0;
    margin-left: 0.5rem;
}

@media (min-width: 768px) {
    .recruit-title-ja {
        font-size: 18px;
        line-height: 31px;
        margin-top: 0.25rem;
        margin-left: 0;
    }
}

.recruit-content .view-more-link {
    align-self: flex-end;
}

.recruit-humans {
    background-color: #ececec;
    position: relative;
}

.recruit-humans img {
    margin: 0 auto;
    width: 95%;
    padding: 1rem 0;
}

@media (min-width: 768px) {
    .recruit-humans img {
        content: url('img/top/recruit_humans.webp');
        width: 80%;
    }
}

/* パートナーセクション */
body.home .partner-section {
    padding: 1rem 0 4rem;
    background-color: #faf6ef;
}

@media (min-width: 768px) {
    body.home .partner-section {
        padding: 2rem 0 7rem;
    }
}

body.home .partner-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    body.home .partner-container {
        padding: 0 40px;
    }
}

body.home .partner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 20px;
}

@media (min-width: 768px) {
    body.home .partner-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4.1rem;
        padding: 0;
    }
}

body.home .partner-info {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    body.home .parter-info .section-title-ja {
        margin-bottom: 65px;
    }
}

body.home .partner-description-mobile {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-dark);
    font-size: 16px;
    line-height: 1.75rem;
    margin-bottom: 1rem;
    display: block;
}

@media (min-width: 768px) {
    body.home .partner-description-mobile {
        display: none;
    }
}

body.home .partner-buttons {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    body.home .partner-buttons {
        display: flex;
    }
}

body.home .partner-button-primary {
    background-color: var(--main-color-dark);
    color: var(--main-color-light);
    border-radius: 101px;
    padding: 1.5rem;
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.75rem;
    text-align: center;
    display: flex;
    align-items: center;
    border: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;

    &:hover {
        background-color: transparent;
        border-color: var(--main-color-dark);
        color: var(--main-color-dark);

        & .partner-button-icon {
            filter: brightness(0.8) invert(1);
        }
    }
}

@media (min-width: 768px) {
    body.home .partner-button-primary {
        font-size: 18px;
        line-height: 2.5rem;
        padding: 1rem 2rem;
    }
}

body.home .partner-button-outline {
    border: 1px solid var(--main-color-dark);
    color: var(--main-color-dark);
    border-radius: 101px;
    background-color: transparent;
    padding: 1.5rem;
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.75rem;
    text-align: center;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;

    &:hover {
        background-color: var(--main-color-dark);
        color: var(--main-color-light);

        & .partner-button-icon {
            filter: brightness(0.8) invert(1);
        }
    }
}

@media (min-width: 768px) {
    body.home .partner-button-outline {
        font-size: 18px;
        line-height: 2.5rem;
        padding: 1rem 2rem;
    }
}

body.home .partner-button-label {
    margin: 0 auto;
}

body.home .partner-button-icon {
    transition: filter 0.3s ease;
}

body.home .partner-button-icon img {
    width: 18px;
    height: auto;
}

body.home .partner-text {
    display: none;
    align-items: center;
}

@media (min-width: 768px) {
    body.home .partner-text {
        display: flex;
    }
}

body.home .partner-description {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-dark);
    font-size: 16px;
    line-height: 1.75rem;
}

@media (min-width: 768px) {
    body.home .partner-description {
        font-size: 18px;
        line-height: 2.5rem;
    }
}

body.home .partner-buttons-mobile {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    body.home .partner-buttons-mobile {
        display: none;
    }
}

/* フッター */
.site-footer {
    background-color: var(--main-color-dark);
    overflow: hidden;
    position: relative;
    padding: 4rem 0 2rem;
}

@media (min-width: 768px) {
    .site-footer {
        padding: 12rem 0 5rem;
    }
}

.footer-container {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .footer-container {
        padding: 0 40px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 3rem;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 2fr;
        gap: 4rem;
        margin-bottom: 4rem;
        padding: 0;
    }
}

.footer-info {
    display: flex;
    flex-direction: column;
    order: 2;
}

@media (min-width: 768px) {
    .footer-info {
        gap: 1.5rem;
        order: 1;
    }
}

.footer-logo {
    width: 95px;
    height: auto;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-logo {
        width: 11rem;
        height: 45px;
        margin-bottom: 0;
    }
}

.footer-address {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-light);
    font-size: 16px;
    line-height: 27px;
}

.footer-link {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-light);
    font-size: 16px;
    line-height: 30px;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: var(--hover-opacity);
}

.footer-social-wrap {
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-social {
        margin-top: 2rem;
    }
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .footer-social {
        margin-top: 0.5rem;
    }
}

.footer-social a {
    transition: opacity 0.3s ease;

    &:hover {
        opacity: var(--hover-opacity);
    }
}

.social-icon {
    width: 30px;
    height: 30px;
}

.social-icon.instagram {
    width: 35px;
    height: 35px;
}

.footer-contact-link {
    width: 100%;
}

@media (min-width: 768px) {
    .footer-contact-link {
        width: fit-content;
    }
}

.footer-contact-link:hover {
    text-decoration: underline;

    & .line-light {
        flex: 1 0 100%;
    }
}

.footer-contact-link-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .footer-contact-link-content {
        justify-content: unset;
    }
}

.footer-contact-link-text-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-contact-link-text {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-light);
    font-size: 18px;
    line-height: 30px;
    width: 200px;
}

@media (min-width: 768px) {
    .footer-contact-link-text {
        font-size: 14px;
        width: 155px;
    }
}

.footer-contact-link .footer-contact-img {
    width: 29px;
    height: 29px;
}

@media (min-width: 768px) {
    .footer-contact-link .footer-contact-img {
        width: 22px;
        height: 22px;
    }
}

.footer-contact-link .view-more-line {
    margin: 0.5rem 0 1.2rem 0;
}

@media (min-width: 768px) {
    .footer-contact-link .view-more-line {
        margin: 0;
    }
}

.footer-contact-link .arrow-img {
    width: 20px;
}

@media (min-width: 768px) {
    .footer-contact-link .arrow-img {
        width: 17px;
    }
}

.footer-contact-link .line-gray {
    /* width: 93%; */
    flex: 0 1 93%;
    opacity: 0.3;
}

.footer-contact-link .line-light {
    /* width: 7%; */
    flex: 0 1 7%;
    transition: flex 0.3s ease;
}

.footer-nav {
    order: 1;
}

@media (min-width: 768px) {
    .footer-nav {
        order: 2;
    }
}

.footer-contact-mobile {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-light);
    font-size: 16px;
    line-height: 30px;
    display: block;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .footer-contact-mobile {
        display: none;
    }
}

.footer-contact-mobile:hover {
    text-decoration: underline;
}

.footer-tel-mobile {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-light);
    font-size: 16px;
    line-height: 30px;
    display: block;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .footer-tel-mobile {
        display: none;
    }
}

.footer-nav-grid {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-nav-grid {
        gap: 4.5rem;
        flex-direction: row;
        justify-content: flex-end;
    }
}

.footer-nav-column {
    order: 1;
    margin-bottom: 1.5rem;
    border-bottom: 1px var(--color-hover-gray) solid;
    position: relative;
}

@media (min-width: 768px) {
    .footer-nav-column {
        margin-bottom: 0;
        border-bottom: none;
    }
    .footer-nav-column:nth-child(1) {
        order: 1;
    }

    .footer-nav-column:nth-child(2) {
        order: 2;
    }

    .footer-nav-column:nth-child(3) {
        order: 3;
    }
}

.footer-nav-column:last-child {
    border: none;
}

.footer-nav-column.nomargin {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .footer-nav-title-wrap {
        position: relative;
        display: flex;
        /*margin: 0 0 1.5rem;*/
        gap: 1.5rem;
        padding-bottom: 1rem;
    }

    /*.footer-nav-title-wrap::before, .footer-nav-title-wrap::after {
        position: absolute;
        content: '';
        display: inline-block;
        width: 10px;
        height: 10px;
        border-top: 2px solid var(--main-color-light);
        right:0px;
        top: 13px;
    }
      
    .footer-nav-title-wrap::after {
        transform: rotate(90deg);
        right: 5px;
        top: 8px;
    }

    .footer-nav-title-wrap.open::after {
        display:none
    }

    .footer-nav-title-wrap.notoggle::before, .footer-nav-title-wrap.notoggle::after {
        width: 0;
        height: 0;
        border:none;
    }

    .footer-nav-title-wrap.link-blank::before {
        position: absolute;
        content: '';
        width: 100%;
        height:100%;
        right:0;
        top: -7px;
        background:url(img/common/link_blank.png) right no-repeat;
        background-size: 12px;
    }*/

    .footer-nav-column:has(.footer-nav-list)::before, .footer-nav-column:has(.footer-nav-list)::after {
        position: absolute;
        content: '';
        display: inline-block;
        width: 10px;
        height: 10px;
        border-top: 2px solid var(--main-color-light);
        right:0px;
        top: 13px;
        z-index: 1000;
    }
      
    .footer-nav-column:has(.footer-nav-list)::after {
        transform: rotate(90deg);
        right: 5px;
        top: 8px;
    }

    .footer-nav-column.open:has(.footer-nav-list)::after {
        display:none
    }

    .footer-nav-column.notoggle:has(.footer-nav-list)::before, .footer-nav-column.notoggle:has(.footer-nav-list)::after {
        width: 0;
        height: 0;
        border:none;
    }

    .footer-nav-title-wrap.link-blank::before {
        position: absolute;
        content: '';
        width: 100%;
        height:100%;
        right:0;
        top: -7px;
        background:url(img/common/link_blank.png) right no-repeat;
        background-size: 12px;
    }

    .footer-nav-a-wrap {
        position: relative;
        width: 90%;
    }
}

.footer-nav-title {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    color: var(--main-color-light);
    font-size: 18px;
    letter-spacing: 1.92px;
    line-height: 25px;
    /*margin: 2rem 0 0;*/
    margin: 0;
}

@media (min-width: 768px) {
    .footer-nav-title {
        font-size: 24px;
        margin: 0 0 0.5rem 0;
    }
}

.footer-nav-title a {
    transition: opacity 0.3s ease;
    
    &:hover {
        opacity: var(--hover-opacity);
    }
}

.footer-nav-subtitle {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-light);
    font-size: 9px;
    line-height: 30px;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .footer-nav-subtitle {
        font-size: 14px;
        margin-bottom: 1.5rem;
        line-height: 15px;
    }
}

.footer-nav-list {
    list-style: none;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    margin: 1.5rem 0;
}

@media (min-width: 768px) {
    .footer-nav-list {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: unset;
        margin: 0;
    }
}

.footer-nav-list.about {
    grid-template-columns: 1fr 1.2fr;
}

@media (min-width: 768px) {
    .footer-nav-list.about {
        grid-template-columns: 1fr;
    }
}

.footer-nav-list.services {
    column-gap: 1rem;
    row-gap: 1rem;
}

@media (max-width: 767px) {
    .footer-nav-list.services li:nth-child(1) { grid-column: 1; grid-row: 1; }
    .footer-nav-list.services li:nth-child(2) { grid-column: 1; grid-row: 2; }
    .footer-nav-list.services li:nth-child(3) { grid-column: 1; grid-row: 3; }
    .footer-nav-list.services li:nth-child(4) { grid-column: 1; grid-row: 4; }
    .footer-nav-list.services li:nth-child(5) { grid-column: 1; grid-row: 5; }
    .footer-nav-list.services li:nth-child(6) { grid-column: 2; grid-row: 1; }
    .footer-nav-list.services li:nth-child(7) { grid-column: 2; grid-row: 2; }
    .footer-nav-list.services li:nth-child(8) { grid-column: 2; grid-row: 3; }
    .footer-nav-list.services li:nth-child(9) { grid-column: 2; grid-row: 4; }
}

.footer-nav-list a {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-light);
    font-size: 16px;
    line-height: 1.5rem;
    transition: opacity 0.3s ease;
}

.footer-nav-list a:hover {
    opacity: var(--hover-opacity);
}

.footer-nav-list .smaller {
    font-size: 13px;
}

.footer-nav-section {
    margin-top: 1.5rem;
    border-bottom: 1px var(--color-hover-gray) solid;
}

@media (min-width: 768px) {
    .footer-nav-section {
        margin-top: 2rem;
        border-bottom: none;
    }
}

.footer-nav-section:first-child {
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .footer-nav-section:first-child {
        margin-top: 0;
    }
}

.footer-sponsors {
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 3rem;
    display: flex;
    height: 60px;
}

@media (min-width: 768px) {
    .footer-sponsors {
        display: flex;
        justify-content: flex-end;
    }
}

.footer-sponsors.sp {
    gap: 0;
    justify-content: space-between;
    margin-bottom: 1rem;

    display: block;
    height: initial;
    padding: 0 20px;
}

.sponsor-logo {
    height: 45px;
    object-fit: cover;
}

.sponsor-logo.jcd {
    transform: translateY(10px);
}
.sponsor-logo.development {
    height: 37px;
    transform: translateY(7px);
}
.sponsor-logo.takken {
    height: 60px;
}

.footer-sponsors.sp .sponsor-logo {
    /*height: 30px;*/
    height: 35px;
    margin-bottom: 20px;
}

.footer-sponsors.sp .sponsor-logo.jcd {
    display: inline-block;
    transform: translateY(7px);
}
.footer-sponsors.sp .sponsor-logo.jcsc {
    display: inline-block;
    /*margin-left: 15px;*/
}
.footer-sponsors.sp .sponsor-logo.development {
    height: 30px;
}
.footer-sponsors.sp .sponsor-logo.takken {
    height: 45px;
}

.footer-copyright {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: var(--main-color-light);
    font-size: 14px;
    text-align: right;
    line-height: 30px;
}

.footer-copyright.sp {
    font-size: 9px;
    text-align: center;
}

/* 下層共通 */
.padding-header {
    width: 100%;
    padding-top: 350px;
}

.content-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.page-header {
    text-align: left;
    margin-bottom: 44px;
}

.page-title {
    font-family: var(--font-tsukushi-a-old-mincho);
    font-weight: 400;
    color: #33444b;
    font-size: 60px;
    letter-spacing: 0;
    line-height: normal;
}

.page-subtitle {
    font-family: 'Cinzel', Helvetica, serif;
    font-weight: 500;
    /*color: #d9d5c7;*/
    color: #7a8998;
    font-size: 14px;
    letter-spacing: 1.12px;
    line-height: 24px;
}

.breadcrumb-nav {
    position: relative;
    width: 100%;
    padding-top: 200px;
}

.breadcrumb-nav .nav-separator {
    width: 100%;
    height: 1px;
    background-color: #ebebeb;
}

.breadcrumb-nav .nav-links-section {
    position: relative;
    width: 100%;
    /*padding-top: 7px;*/
    padding-bottom: 7px;
}

.breadcrumb-nav .nav-links-section .nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.breadcrumb-nav .nav-links-wrapper {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 0;
}

.breadcrumb-nav .company-info-link {
    font-family: 'Shippori Mincho', Helvetica, serif;
    font-weight: 600;
    color: #33444b;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 60px;
    white-space: nowrap;
    text-decoration: none;
    transition: opacity 0.3s;
    margin-right: 40px;
    margin-top: 7px;
}

.breadcrumb-nav .company-info-link:hover {
    opacity: 0.7;
}

.breadcrumb-nav .company-info-link.active {
    margin-top: 0;
}

.breadcrumb-nav .sub-nav-links {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0 32px;
    font-size: 16px;
    line-height: 60px;
    font-family: 'Shippori Mincho', Helvetica, serif;
    font-weight: 600;
    letter-spacing: 0;
}

.breadcrumb-nav .sub-nav-link {
    color: #33444b;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s;
    margin-top: 7px;
}

.breadcrumb-nav .active {
    border-top: 7px #33444b solid;
    margin-top: 0;
}

.breadcrumb-nav .sub-nav-link:hover {
    opacity: 0.7;
}

.breadcrumb-nav .breadcrumb-bar {
    width: 100%;
    height: 40px;
    background-color: rgb(122, 137, 152);
    display: flex;
    align-items: center;
}

.breadcrumb-nav .breadcrumb-bar .content-inner {
    width: 100%;
}

.breadcrumb-nav .breadcrumb-items {
    display: flex;
    align-items: center;
    gap: 13px;
}

.breadcrumb-nav .breadcrumb-icon {
    width: 10px;
    height: 10px;
    background-color: rgb(217, 213, 199);
    border-radius: 5px;
    flex-shrink: 0;
}

.breadcrumb-nav .breadcrumb-item {
    font-weight: 500;
    color: #faf6ef;
    font-size: 12px;
    letter-spacing: 0.96px;
    line-height: 21px;
    white-space: nowrap;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb-nav .breadcrumb-item:hover {
    opacity: 0.7;
}

.breadcrumb-nav .breadcrumb-en {
    font-family: 'Cinzel', Helvetica, serif;
}

.breadcrumb-nav .breadcrumb-jp {
    font-family: 'Shippori Mincho', Helvetica, serif;
}

.breadcrumb-nav .breadcrumb-divider {
    width: 17px;
    height: 1px;
    background-color: #faf6ef;
}

@media (max-width: 768px) {
    .padding-header {
        padding-top: 150px;
    }

    .content-inner {
        padding: 0 20px;
    }

    .page-title {
        font-size: 36px;
    }
    
    .breadcrumb-nav {
        padding-top: 150px;
    }

    .breadcrumb-nav .company-info-link {
        font-size: 14px;
    }

    .breadcrumb-nav .sub-nav-links {
        gap: 10px 20px;
        font-size: 14px;
    }

    .breadcrumb-nav .breadcrumb-bar {
        height: auto;
        padding: 8px 0;
    }

    .breadcrumb-nav .breadcrumb-container {
        padding: 0 16px;
    }
}

/* 会社概要 */
body.about-us .padding-header {
    padding-top: 180px;
}

body.about-us .main-visual {
	position: relative;
	width: 100%;
	margin: 0 auto;
	padding: 0 40px;
	max-width: 1640px;
}

body.about-us .visual-grid {
    position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 1fr);
	width: 100%;
	height: 100%;
}

body.about-us .grid-item {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	aspect-ratio: 385 / 400;
    display: grid;
}

body.about-us .grid-item img {
    position: absolute;
    top: 0;
    left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
    grid-area: 1 / 1;
    filter: brightness(0.6) contrast(1.6);
    
}

body.about-us .grid-item img:not(:first-child) {
	opacity: 0;
}

body.about-us .grid-item img:nth-child(2),
body.about-us .grid-item img:nth-child(3) {
	opacity: 0;
}

body.about-us .visual-title {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	justify-content: center;
    opacity: 0;
    white-space: nowrap;
}

body.about-us .visual-title h1 {
	font-family: var(--font-tsukushi-a-old-mincho);
	font-weight: normal;
	color: rgba(255, 255, 255, 1);
	font-size: 80px;
	letter-spacing: 6.40px;
	line-height: 80px;
}

@media (max-width: 1600px) {
    body.about-us .visual-title h1 {
        font-size: 5vw;
        letter-spacing: 0.4vw;
        line-height: 5vw;
    }
}

body.about-us .company-info {
    padding-top: 150px;
    padding-bottom: 60px;
}

body.about-us .section-container {
	max-width: 1200px;
	margin: 0 auto;
}

body.about-us .section-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 50px;
}

body.about-us .page-title {
	font-size: 50px;
	letter-spacing: 5px;
}

@media (max-width: 1280px) {
    .section-between-line.inner-section::before {
        right: 0;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .section-between-line.inner-section::before {
        right: 0;
        width: 100%;
    }
}

@media (max-width: 1280px) {
    .section-between-line.inner-section::after {
        left: 0;
    }
}

@media (max-width: 767px) {
    .section-between-line.inner-section::after {
        left: 0;
    }
}

body.about-us .info-content {
    margin-top: 60px;
}

body.about-us .card-section {
	margin-bottom: 60px;
    padding-top: 70px;
}

body.about-us .card-grid {
	display: flex;
	justify-content: space-between;
}

body.about-us .card-between-line {
    width: 1px;
    background-color: var(--main-color-dark);
    margin: 0 30px;
}

body.about-us .info-card {
	border: none;
	box-shadow: none;
	overflow: hidden;
}

body.about-us .info-card a:hover .card-image-wrapper img {
    transform: scale(1.05);
}

body.about-us .card-image-wrapper {
	position: relative;
	width: 100%;
	height: 350px;
	overflow: hidden;
    transition: transform 0.3s ease;
}

body.about-us .card-image-medium {
	height: 265px;
}

body.about-us .card-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
    transition: transform 0.3s ease;
}

body.about-us .overlay-image {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

body.about-us .card-border {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 4px;
	background-color: var(---main-color-dark);
}

body.about-us .card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
}

body.about-us .card-title {
	font-weight: normal;
	color: #33444b;
	font-size: 20px;
	letter-spacing: 0;
	line-height: 30px;
}

body.about-us .chevron-icon {
	width: 14px;
	height: 14px;
	margin-left: 4px;
	color: #33444b;
}

body.about-us .info-card-small {
	position: relative;
	border: none;
	box-shadow: none;
	overflow: hidden;
	border-radius: 0;
	height: 304px;
    aspect-ratio: 348 / 304;
}

body.about-us .bg-neutral {
	background-color: #e5e5e5;
}

body.about-us .bg-beige {
	background-color: #f7ebc9;
}

body.about-us .bg-light {
	background-color: rgba(242, 236, 225, 1);
}

body.about-us .card-bg-image,
body.about-us .card-pattern-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.about-us .card-border-top {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background-color: var(---main-color-dark);
}

body.about-us .card-content {
	position: relative;
	padding: 30px;
	height: 100%;
	display: flex;
	flex-direction: column;
}

body.about-us .card-title-small {
	font-weight: normal;
	color: #33444b;
	font-size: 18px;
	letter-spacing: 0;
	line-height: 30px;
    display: flex;
	justify-content: space-between;
	align-items: center;
}

body.about-us .card-title-small img {
    width: 15px;
    height: 10px;
}

body.about-us .card-description {
	font-weight: normal;
	color: #33444b;
	font-size: 14px;
	letter-spacing: 0;
	line-height: 24px;
	margin-top: 23px;
	white-space: pre-line;
}

body.about-us .card-footer-right {
	margin-top: auto;
	display: flex;
	justify-content: flex-end;
}

body.about-us .section-divider {
	width: 100%;
	height: 1px;
	background-color: #e5e5e5;
	margin-top: 16px;
}

body.about-us .gallery-content {
	width: 100%;
	background-color: #fcfcfc;
	padding: 64px 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

body.about-us .gallery-content img {
	width: 476px;
	height: 151px;
}

body.about-us .gallery-footer {
	width: 100%;
	border-top: 4px solid var(---main-color-dark);
	padding-top: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

body.about-us .gallery-title {
	font-weight: normal;
	color: var(---main-color-dark);
	font-size: 20px;
	letter-spacing: 0;
	line-height: 30px;
}

body.about-us .gallery-link {
	display: flex;
	align-items: center;
	height: auto;
	padding: 0;
	font-family: 'Shippori Mincho', Helvetica;
	font-weight: 600;
	color: #33444b;
	font-size: 16px;
	letter-spacing: 0;
	line-height: normal;
	background: transparent;
	border: none;
	cursor: pointer;
}

body.about-us .gallery-link:hover {
	color: #33444b;
}

body.about-us .gallery-link .chevron-icon {
	width: 16px;
	height: 16px;
	margin-left: 8px;
}

body.about-us .recruit-section {
    padding: 8rem 0 0;
}

@media (min-width: 768px) {
    body.about-us .view-more-link {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    body.about-us .padding-header {
        padding-top: 100px;
    }

    body.about-us .page-title {
        font-size: 36px;
    }

	body.about-us .main-visual {
		padding: 0 20px;
	}
    
    body.about-us .visual-title h1 {
		font-size: 40px;
		letter-spacing: 3.20px;
		line-height: 50px;
	}

    body.about-us .company-info {
        padding-top: 100px;
    }

	body.about-us .section-header {
		margin-bottom: 40px;
	}

    body.about-us .info-content {
        margin-top: 30px;
    }

    body.about-us .card-section {
        padding-top: 50px;
    }

    body.about-us .card-grid {
        display: block;
    }

    body.about-us .info-card {
        margin-bottom: 50px;
    }

    body.about-us .card-image-wrapper,
    body.about-us .card-image-wrapper img,
    body.about-us .card-image-medium  {
        height: auto;
    }

    body.about-us .info-card-small {
        width: 100%;
        margin-bottom: 40px;
    }

	body.about-us .gallery-content img {
		width: 280px;
		height: 89px;
	}

	body.about-us .gallery-footer {
		padding-top: 12px;
	}

	body.about-us .gallery-title {
		font-size: 16px;
	}
}

/* 企業理念 */
body.philosophy .promises-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

body.philosophy .promise-content {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

body.philosophy .promise-header {
    display: flex;
    gap: 48px;
    flex-shrink: 0;
}

body.philosophy .promise-number {
    width: 103px;
    font-family: var(--font-tsukushi-a-old-mincho);
    font-weight: 400;
    color: #d9d5c7;
    font-size: 99px;
    text-align: center;
    letter-spacing: 0;
    line-height: 99px;
    flex-shrink: 0;
}

body.philosophy .promise-title {
    font-family: 'Shippori Mincho', Helvetica, serif;
    font-weight: 400;
    color: rgb(51, 68, 75);
    font-size: 24px;
    line-height: 60px;
    width: 320px;
}

body.philosophy .promise-description {
    flex: 1;
    font-family: 'Shippori Mincho', Helvetica, serif;
    font-weight: 600;
    color: #33444b;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 40px;
}

body.philosophy .indent-1 {
    margin-left: 1rem;
}

body.philosophy .height-narrow {
    line-height: 30px;
}

@media (max-width: 768px) {
    /* 企業理念 */
    body.philosophy .promise-content {
        flex-direction: column;
        gap: 32px;
    }

    body.philosophy .promise-header {
        gap: 24px;
    }

    body.philosophy .promise-number {
        font-size: 60px;
        line-height: 60px;
    }

    body.philosophy .promise-title {
        font-size: 18px;
        line-height: 40px;
    }

    body.philosophy .promise-description {
        font-size: 14px;
        line-height: 34px;
    }
}

/* 100年の歩み */
body.history .page-header {
    text-align: center;
}

body.history .hidtory-description {
    text-align: center;
    font-size: 16px;
    line-height: 40px;
}

body.history .years {
    position: relative;
    opacity: 0;
}

body.history .years__canvas-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
    width: 100%;
    height: 100vh;
}

body.history .years__bg {
    position: fixed;
    z-index: 3;
    bottom: 0;
    right: 0;
    width: 100vmin;
    aspect-ratio: 1/1;

    .dash {
        width: 100%;
        height: 1px;
        border-top: 1px dashed #afafafa4;
        transform: rotate(-45deg) scaleX(1.414);
        transform-origin: right;
    }

    .years__bg-img {
        position: absolute;
        bottom: 10%;
        right: 10%;
        text-align: right;
        @media (max-width: 768px) {
            bottom: 5%;
            right: 5%;
            width: 50%;
        }
    }
}

body.history .years .history {
    position: relative;
    z-index: 4;
    height: calc(350vh * 9);
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

body.history .years .history__inner {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    margin-inline: auto;
}

body.history .years .history__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    img {
        /* padding-bottom: 20vh; */
        padding-bottom: 50vh;
        margin-left: 10vw;

        @media (max-width: 768px) {
            width: 60%;
            max-width: 240px;
        }

        @media (min-height: 1000px) {
            width: 30vh;
            max-width: 80vw;
        }
    }

    p {
        width: 30vw;
    }

    &.history__item--vertical {
        img {
            @media (max-width: 768px) {
                width: 34%;
                max-width: 150px;
                /* max-height: 360px; */
            }

            @media (min-height: 1000px) {
                max-width: 20vw;
            }
        }
    }
}


/* 会社概要 */
body.overview .content-inner {
    max-width: 980px;
}

body.overview .company-info {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}
  
body.overview .info-row {
    display: flex;
    gap: 1rem;
    padding: 2rem 0;
    flex-direction: column;
}
  
body.overview .info-label {
    font-family: 'Shippori Mincho', serif;
    font-weight: 600;
    color: #33444b;
    font-size: 16px;
    line-height: 30px;
    white-space: nowrap;
    width: 213px;
    flex-shrink: 0;
}
  
body.overview .info-content {
    flex: 1;
    min-width: 0;
    font-family: 'Shippori Mincho', serif;
    font-weight: 500;
    color: #33444b;
    font-size: 16px;
    line-height: 30px;
}

body.overview .info-multiline {
    font-weight: 400;
    color: rgb(51, 68, 75);
}

body.overview .map-link {
    text-decoration: underline;
    color: #33444b;
    font-weight: 500;
    transition: opacity 0.3s;
}

@media (min-width: 768px) {
	body.overview .map-link {
		margin-left: 1rem;
	}
}

body.overview .map-link:hover {
    opacity: 0.7;
}

body.overview .separator {
    width: 100%;
    height: 1px;
    background-color: #c9c9c9;
}

@media (min-width: 768px) {
	body.overview .info-row {
		flex-direction: row;
		gap: 2rem;
	}
}

/* トップメッセージ */
body.top-message .padding-header {
    padding-top: 150px;
}

@media (min-width: 768px) {
    body.top-message .padding-header {
        padding-top: 300px;
    }
}

body.top-message .main-visual-section {
    width: 100%;
    padding: 0 20px 6rem;
    position: relative;
}

@media (min-width: 768px) {
    body.top-message .main-visual-section {
        padding: 0 40px 6rem;
    }
}

body.top-message .visual-container {
    max-width: 2150px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    body.top-message .visual-container {
        flex-direction: row;
    }
}

body.top-message .visual-text-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    body.top-message .visual-text-column {
        width: 382px;
        margin-left: 5vw;
        margin-top: 50px;
    }
}

@media (min-width: 1500px) {
    body.top-message .visual-text-column {
        margin-left: 200px;
    }
}

body.top-message .page-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5.6px;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    body.top-message .page-title-wrapper {
        margin-bottom: 62.4px;
    }
}

body.top-message .page-title {
    font-size: 30px;
}

body.top-message .main-headline {
    margin-left: 0.25rem;
    font-family: var(--font-tsukushi-a-old-mincho);
    font-weight: normal;
    color: #33444b;
    font-size: 1.5rem;
    letter-spacing: 1.80px;
    line-height: 2rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    body.top-message .main-headline {
        font-size: 2.25rem;
        line-height: 49px;
        margin-bottom: 22px;
    }
}

body.top-message .author-info {
    margin-left: 3px;
    font-family: 'Shippori Mincho', serif;
    font-weight: normal;
    color: #33444b;
    font-size: 0.875rem;
    letter-spacing: 0;
    line-height: 14px;
}

body.top-message .author-title {
    line-height: 2rem;
}

@media (min-width: 768px) {
    body.top-message .author-title {
        line-height: 2.5rem;
    }
}

body.top-message .author-name {
    font-size: 1.125rem;
    line-height: 2rem;
}

@media (min-width: 768px) {
    body.top-message .author-name {
        font-size: 1.25rem;
        line-height: 2.5rem;
    }
}

body.top-message .visual-slider-column {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 240px;
    width: 100%;
}

@media (min-width: 768px) {
    body.top-message .visual-slider-column {
        min-height: 480px;
    }
}

body.top-message .swiper-slide {
    width: 100%;
    padding: 0 5px;
}

@media (min-width: 768px) {
    body.top-message .swiper-slide {
        width: 750px;
    }
}

@media (min-width: 768px) {
    body.top-message .swiper-slide {
        height: 480px;
    }
}

body.top-message .swiper-slide img {
    object-fit: cover;
}

body.top-message .swiper-pagination {
    position: relative;
    bottom: 0;
    left: 0;
}

body.top-message .swiper-pagination-bullet {
    background: #4a4a4a;
}

body.top-message .main-content-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

body.top-message .content-container {
    width: 100%;
    max-width: 670px;
    margin: 0 auto;
}

/*body.top-message .separator-line {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5.5px;
    padding-top: 2rem;
}

@media (min-width: 768px) {
    body.top-message .separator-line {
        padding-top: 71px;
    }
}

body.top-message .separator-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: rgb(51, 68, 75);
    border-radius: 50%;
    flex-shrink: 0;
}

body.top-message .separator-bar {
    flex: 1;
    height: 1px;
    background-color: var(--main-color-dark);
}*/

body.top-message .text-block {
    width: 100%;
    margin-top: 2rem;
    color: #44515f;
    font-size: 0.75rem;
    line-height: 1.5rem;
    font-family: 'Shippori Mincho', Helvetica, sans-serif;
    font-weight: 600;
    letter-spacing: 0;
    text-align: left;
}

@media (min-width: 768px) {
    body.top-message .text-block {
        margin-top: 71px;
        font-size: 0.875rem;
        line-height: 30px;
    }
}

body.top-message .text-block p {
    margin-bottom: 1.5rem;
}

body.top-message .text-block p:last-child {
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    body.top-message .text-block p:last-child {
        margin-bottom: 71px;
    }
}

/* タブロイズ */
body.tabloids .page-header {
    @media (min-width: 768px) {
        opacity: 0;
    }
}

body.tabloids .books-section {
    margin: 200px 0;
}

body.tabloids .books-section .content-inner {
    display: none;
}

body.tabloids .canvas-loading__text {
    position: fixed;
    /* position: absolute; */
    inset: 0;
    font-size: 24px;
    text-align: center;
    display: grid;
    place-items: center;
    z-index: 10;
    text-align: center;
    pointer-events: none;
    /* animation: opacity-animation 1s ease-in-out infinite; */

    img {
        max-width: 150px;
        margin-inline: auto;
        mask-image: linear-gradient(to left, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,1) 75%, rgba(0,0,0,1) 100%);
        -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 25%, rgba(0,0,0,1) 75%, rgba(0,0,0,1) 100%);
        mask-size: 400% 100%;
        -webkit-mask-size: 400% 100%;
        mask-position: 100% 0;
        -webkit-mask-position: 100% 0;
        animation: mask-sweep 2s ease-in-out infinite;
        /* animation: opacity-animation 1s ease-in-out infinite; */
    }
}

@keyframes opacity-animation {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes mask-sweep {
    0% {
        opacity: 1;
        mask-position: 100% 0;
        -webkit-mask-position: 100% 0;
    }
    50% {
        mask-position: 0% 0;
        -webkit-mask-position: 0% 0;
        opacity: 1;
    }
    100% {
        mask-position: 0% 0;
        -webkit-mask-position: 0% 0;
        opacity: 0;
    }
}

body.tabloids .breadcrumb-nav {
    @media (min-width: 768px) {
        opacity: 0;
    }
}

body.tabloids .site-footer {
    @media (min-width: 768px) {
        opacity: 0;
    }
}

body.tabloids .canvas-inner {
    position: relative;
}

body.tabloids .canvas-arrows-wrapper {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: grid;
    grid-template-rows: 1fr 1fr;
    align-items: center;
    justify-items: center;
}

body.tabloids .canvas-arrows {
    width: calc(100% + 3.8rem);
    display: flex;
    justify-content: space-between;
}

body.tabloids .canvas-arrows button {
    all: unset;
    cursor: pointer;
    pointer-events: auto;
    padding-block: 0.5rem;
    opacity: 0;
}

body.tabloids .canvas-arrows img {
    width: 1.4rem;
    height: auto;
}

body.tabloids .canvas-wrapper {
    position: relative;
    display: block;
    height: calc(100vh - 88px);
    max-height: 1100px;
    width: 100%;
    box-sizing: border-box;
}

body.tabloids .book-controls {
    position: fixed;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

body.tabloids .book-controls__buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

body.tabloids .book-controls__caution {
    font-size: 14px;
    line-height: 24px;
    color: #fff;
    text-align: center;
    margin-bottom: 1rem;
    transition: opacity 0.3s ease;
    visibility: hidden;
}

body.tabloids .book-controls button {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    visibility: hidden;
    user-select: none;
}

body.tabloids .book-controls button:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.tabloids .book-controls button:active {
    transform: scale(0.95);
}

body.tabloids .book-controls .book-controls__prev,
body.tabloids .book-controls .book-controls__next {
    padding-bottom: 0.2rem;
}


body.tabloids .swiper-inner {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

body.tabloids .swiper {
    margin-left: 20px;
}

body.tabloids .swiper-slide {
    width: calc(242px + 55px);
    height: 343px;
    margin-bottom: 58px;
    margin-right: 44px;
}

body.tabloids .swiper-slide:last-child {
    margin-right: 0;
}

body.tabloids .tabloids-info {
    text-align: center;
    margin: 0 55px 10px 0;
    font-size: 14px;
    line-height: 24px;
}

body.tabloids .book-label--title,
body.tabloids .book-label--date {
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

body.tabloids .book-label-wrapper {
    position: relative;
    display: grid;
    justify-content: center;
    justify-items: center;
}

body.tabloids .book-label--title {
    position: absolute;
    bottom: 22px;
    text-wrap: nowrap;
    text-align: center;
}

body.tabloids .img-wrap {
    display: flex;
    height: 100%;
}

body.tabloids .swiper-button-prev1,
body.tabloids .swiper-button-prev2 {
    right: auto;
    left: -100px;
    top: 57%;
}

body.tabloids .swiper-button-next1,
body.tabloids .swiper-button-next2 {
    right: -100px;
    left: auto;
    top: 57%;
}

body.tabloids .swiper-button-prev1::after,
body.tabloids .swiper-button-next1::after,
body.tabloids .swiper-button-prev2::after,
body.tabloids .swiper-button-next2::after {
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    height: 25px;
    margin: auto;
    width: 18px;
}

body.tabloids .swiper-button-prev1::after,
body.tabloids .swiper-button-prev2::after {
    background-image: url('img/common/arrow_left.png');
}

body.tabloids .swiper-button-next1::after,
body.tabloids .swiper-button-next2::after {
    background-image: url('img/common/arrow_right.png');
}

body.tabloids .swiper-button-disabled {
    opacity: 0;
}

body.tabloids .shelf {
    margin-bottom: 50px;
}

@media (max-width: 1300px) {
    body.tabloids .swiper-inner {
        max-width: 76.923vw;
    }
    
    body.tabloids .swiper {
        margin-left: 1.538vw;
    }

    body.tabloids .swiper-slide {
        width: calc(18.615vw + 4.231vw);
        height: 26.385vw;
        margin-bottom: 4.462vw;
        margin-right: 3.385vw;
    }
    
    body.tabloids .tabloids-info {
        margin: 0 4.231vw 0.769vw 0;
        font-size: 1.077vw;
        line-height: 1.846vw;
    }
    
    body.tabloids .swiper-button-prev1,
    body.tabloids .swiper-button-prev2 {
        right: auto;
        left: -7.692vw;
    }

    body.tabloids .swiper-button-next1,
    body.tabloids .swiper-button-next2 {
        right: -7.692vw;
        left: auto;
    }
    
    body.tabloids .swiper-button-prev1::after,
    body.tabloids .swiper-button-next1::after,
    body.tabloids .swiper-button-prev2::after,
    body.tabloids .swiper-button-next2::after {
        height: 1.923vw;
        width: 1.385vw;
    }
    
    body.tabloids .shelf {
        margin-bottom: 3.846vw;
    }
}

@media (max-width: 768px) {
    body.tabloids .books-section {
        margin: 100px 0;
    }

    body.tabloids .books-section .content-inner {
        display: block;
    }

    body.tabloids .canvas {
        display: none;
    }

    body.tabloids .swiper-slide {
        width: 30vw;
        height: 34.65vw;
        width: 35vw;
        height: 40.51vw;
        margin-right: 5vw;
        margin-bottom: 50px;
    }
    
    body.tabloids .tabloids-info {
        margin: 0 6vw 1vw 0;
        font-size: 14px;
        line-height: 24px;
    }

    body.tabloids .swiper-button-prev1::after,
    body.tabloids .swiper-button-next1::after,
    body.tabloids .swiper-button-prev2::after,
    body.tabloids .swiper-button-next2::after {
        height: 25px;
        width: 18px;
    }

    body.tabloids .shelf {
        margin-bottom: 3.846vw;
        height: 20px;
    }
}

/* 委員会・プロジェクト */
body.project .content-inner {
	max-width: 1200px;
}

body.project .page-title {
	font-size: 50px;
}

body.project .project-section {
	margin-top: 150px;
}

body.project .project-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 60px;                             
}

body.project .project-card {
    width: 100%;
    aspect-ratio: 325 / 300;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background-size: cover;
    background-position: center;
}

body.project .project-card-content {
    position: relative;
    width: 100%;
    height: 100%;
}

body.project .project-card-default {
    position: absolute;
    inset: 0;
    transition: opacity 0.5s;
}
body.project .project-card:hover .project-card-default {
    opacity: 0;
}

body.project .project-card-title {
    position: absolute;
    top: 218px;              
    left: 50%;
    transform: translateX(-50%);        
    font-family: 'Shippori Mincho', Helvetica, sans-serif;
    font-weight: 600;
    color: var(--main-color-dark);
    font-size: 20px;         
    line-height: 40px;       
    text-align: center;
    margin: 0;
	width: 100%;
}

body.project .project-card-hover {
    --swipew: 333;
    --swipeh: 308;
    --keycolor: var(--main-color-light);
    --slashwidth: 100px;
    /* 角度を変更する場合はここを変更してください（度単位） */
    --slash-angle: 137deg;
    /* 
     * 角度に基づく計算用の係数（--slash-angleを変更した場合は再計算が必要）
     * 計算式: angle_offset = --slash-angle - 90deg
     * --tan-angle: tan(angle_offset) の値
     * --cos-angle: cos(angle_offset) の値
     * --sec-angle: 1/cos(angle_offset) の値
     */
    --tan-angle: 1.072368710; /* tan(47deg) - 137度の場合 */
    --cos-angle: 0.681998360; /* cos(47deg) - 137度の場合 */
    --sec-angle: 1.466279173; /* 1/cos(47deg) - 137度の場合 */
    -webkit-mask-image: linear-gradient(var(--slash-angle), #000, #000 50%, transparent 50%);
    mask-image: linear-gradient(var(--slash-angle), #000, #000 50%, transparent 50%);
    -webkit-mask-position: calc(var(--swipew)*-1px - var(--swipeh)*1px*var(--tan-angle) - var(--slashwidth)/var(--cos-angle)) 0;
    mask-position: calc(var(--swipew)*-1px - var(--swipeh)*1px*var(--tan-angle) - var(--slashwidth)/var(--cos-angle)) 0;
    -webkit-mask-size: calc(var(--swipew)*2px*1 + var(--swipeh)*1px*var(--tan-angle) + var(--slashwidth)*var(--sec-angle)) calc(var(--swipeh)*1px);
    mask-size: calc(var(--swipew)*2px*1 + var(--swipeh)*1px*var(--tan-angle) + var(--slashwidth)*var(--sec-angle)) calc(var(--swipeh)*1px);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    /* clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); */
}

body.project .project-card-hover::after {
    pointer-events: none;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(var(--slash-angle), transparent, transparent calc(50% - var(--slashwidth)), var(--keycolor) calc(50% - var(--slashwidth)));
    background-position: calc(var(--swipew)*-1px - var(--swipeh)*1px*var(--tan-angle) - var(--slashwidth)/var(--cos-angle)) 0;
    background-size: calc(var(--swipew)*2px*1 + var(--swipeh)*1px*var(--tan-angle) + var(--slashwidth)*var(--sec-angle)) calc(var(--swipeh)*1px);
    background-repeat: no-repeat;
}

body.project .project-card:hover .project-card-hover {
    animation: showslash 0.5s ease-out forwards;
}

body.project .project-card:hover .project-card-hover::after{
    animation: showslashline 0.5s ease-out forwards;
}

body.project .project-card.was-hovered:not(:hover) .project-card-hover {
    animation: hideslash 0.5s ease-out forwards;
}

body.project .project-card.was-hovered:not(:hover) .project-card-hover::after {
    animation: hideslashline 0.5s ease-out forwards;
}

body.project .project-card-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

body.project .project-card-hover-title {
    position: relative;
    z-index: 10;
    font-family: 'Shippori Mincho', Helvetica, sans-serif;
    font-weight: bold;
    color: white;
    font-size: 14px;         
    text-align: center;
    padding: 0 20px;
    margin: 0;
	line-height: 2.5em;
}

@keyframes showslash {
    0% {
        -webkit-mask-position: calc(var(--swipew)*-1px - var(--swipeh)*1px*var(--tan-angle) - var(--slashwidth)/var(--cos-angle) + var(--slashwidth)*.5) 0;
        mask-position: calc(var(--swipew)*-1px - var(--swipeh)*1px*var(--tan-angle) - var(--slashwidth)/var(--cos-angle) + var(--slashwidth)*.5) 0;
    }
    100% {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
}

@keyframes showslashline {
    0% {
        background-position: calc(var(--swipew)*-1px - var(--swipeh)*1px*var(--tan-angle) - var(--slashwidth)/var(--cos-angle) + var(--slashwidth)*.5) 0;
    }
    100% {
        background-position: calc(var(--slashwidth)) 0;
    }
}

@keyframes hideslash {
    0% {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
    100% {
        -webkit-mask-position: calc(var(--swipew)*-1px - var(--swipeh)*1px*var(--tan-angle) - var(--slashwidth)/var(--cos-angle) + var(--slashwidth)*.5) 0;
        mask-position: calc(var(--swipew)*-1px - var(--swipeh)*1px*var(--tan-angle) - var(--slashwidth)/var(--cos-angle) + var(--slashwidth)*.5) 0;
    }
}

@keyframes hideslashline {
    0% {
        background-position: calc(var(--slashwidth)) 0;
    }
    100% {
        background-position: calc(var(--swipew)*-1px - var(--swipeh)*1px*var(--tan-angle) - var(--slashwidth)/var(--cos-angle) + var(--slashwidth)*.5) 0;
    }
}

@media (max-width: 1220px) {
	body.project .project-card-grid {
		gap: 4.918vw;                             
	}
	
	body.project .project-card-title {
		top: 17.869vw;                        
		font-size: 1.639vw;         
		line-height: 3.279vw;
	}
	
	body.project .project-card-hover-title {
		font-size: 1.148vw;         
    	padding: 0 1.639vw;
	}
}

@media (max-width: 768px) {
	body.project .page-title {
		font-size: 30px;
	}

	body.project .project-section {
		margin-top: 100px;
	}

    body.project .project-card-grid {
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;                              
    }

    body.project .project-card-title {
        top: 28.385vw;                  
        font-size: 3.7vw;      
        line-height: 32px;    
    }

    body.project .project-card-hover-title {
        font-size: 2.7vw;
		padding: 0 10px;
		line-height: 1.7em;
    }
}

/* SDGs */
body.sdgs .page-header {
    margin-bottom: 20px;
}

body.sdgs .page-title {
    font-family: 'Cinzel', serif;
    text-align: center;
    letter-spacing: 5px;
}

body.sdgs .sdgs-intro {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 7px;
	padding: 2rem 20px;
}

body.sdgs .sdgs-intro-title {
	font-family: 'Cinzel', serif;
	font-weight: 400;
	color: var(--main-color-dark);
	font-size: 70px;
	text-align: center;
	letter-spacing: 7px;
	line-height: 160px;
	margin: 0;
}

body.sdgs .sdgs-intro-text {
	font-weight: 600;
	color: var(--main-color-dark);
	font-size: 16px;
	text-align: center;
	line-height: 2.5rem;
	padding: 0 1rem;
	margin: 0;
}

@media (max-width:768px) {
	body.sdgs .sdgs-intro-title {
		font-size: 32px;
		letter-spacing: 3.2px;
		line-height: 60px;
	}

	body.sdgs .sdgs-intro-text {
		font-size: 14px;
		line-height: 1.75rem;
	}
}

body.sdgs .sdgs-feature {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 2rem 20px 5rem;
}

body.sdgs .sdgs-feature-content {
	width: 100%;
	max-width: 655px;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

body.sdgs .sdgs-feature-title {
	width: 100%;
	text-align: center;
	font-weight: 500;
	color: var(--main-color-dark);
	font-size: 24px;
	letter-spacing: 1.92px;
	line-height: 45px;
	margin: 0;
}

body.sdgs .sdgs-feature-text {
	width: 100%;
	font-weight: 400;
	color: var(--main-color-dark);
	font-size: 14px;
}

body.sdgs .sdgs-feature-text p {
	font-weight: 600;
	color: var(--main-color-dark);
	line-height: 30px;
	margin: 0 0 1rem 0;
}

@media (max-width:768px) {
	body.sdgs .sdgs-feature-title {
		font-size: 18px;
		letter-spacing: 1.44px;
		line-height: 35px;
	}

	body.sdgs .sdgs-feature-text {
		font-size: 12px;
	}

	body.sdgs .sdgs-feature-text p {
		line-height: 1.5rem;
        padding: 0 1rem;
	}
}

body.sdgs .sdgs-pillars {
	width: 100%;
	background-color: #f2ece1;
	padding: 77px 0;
}

body.sdgs .sdgs-pillars-container {
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 20px;
}

body.sdgs .sdgs-pillars-title {
	font-family: var(--font-tsukushi-a-old-mincho);
	font-weight: 400;
	color: var(--main-color-dark);
	font-size: 50px;
	line-height: 50px;
	text-align: center;
	margin-bottom: 50px;
}

body.sdgs .sdgs-pillars-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

body.sdgs .sdgs-pillar {
	background-color: transparent;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

body.sdgs .sdgs-pillar-image {
	display: flex;
	justify-content: center;
	width: 100%;
    height: 213px;
    align-items: flex-end;
}

body.sdgs .sdgs-pillar-image img {
	width: 100%;
	max-width: 234px;
	height: auto;
	object-fit: cover;
}

body.sdgs .pillar-2 .sdgs-pillar-image img {
    max-width: 270px;
}

body.sdgs .sdgs-pillar-content {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 100%;
	align-items: center;
}

body.sdgs .sdgs-pillar-title {
	max-width: 220px;
	font-weight: 600;
	color: var(--main-color-dark);
	font-size: 22px;
	text-align: center;
	line-height: 2.5rem;
	white-space: pre-line;
	margin: 0;
}

body.sdgs .sdgs-pillar-text {
	max-width: 320px;
	font-weight: 600;
	color: var(--main-color-dark);
	font-size: 14px;
	text-align: center;
	line-height: 30px;
	white-space: pre-line;
	margin: 0;
}

@media (max-width:768px) {
	body.sdgs .sdgs-pillars {
		padding: 3rem 0;
	}

    body.sdgs .sdgs-pillar-image {
        height: initial;
    }

	body.sdgs .sdgs-pillars-title {
		font-size: 28px;
		line-height: 35px;
		margin-bottom: 3rem;
	}

	body.sdgs .sdgs-pillars-grid {
		grid-template-columns: 1fr;
	}

	body.sdgs .sdgs-pillar-title {
		font-size: 18px;
		line-height: 2rem;
	}

	body.sdgs .sdgs-pillar-text {
		font-size: 12px;
		line-height: 1.5rem;
	}
}

body.sdgs .sdgs-activities {
	width: 100%;
	padding: 3rem 20px;
}

body.sdgs .sdgs-activities-title {
	text-align: center;
	font-weight: 600;
	color: var(--main-color-dark);
	font-size: 24px;
	letter-spacing: 1.92px;
	line-height: 45px;
	margin-bottom: 3rem;
}

body.sdgs .sdgs-activities-grid {
	display: grid;
	grid-template-columns: 1fr;

	gap: 2.5rem;
	max-width: 1207px;
	margin: 0 auto;
}

@media (min-width:1024px) {
	body.sdgs .sdgs-activities-grid {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 3.5rem;
		row-gap: 2.5rem;
	}
}

body.sdgs .sdgs-activity {
	border: 0;
	box-shadow: none;
	background-color: transparent;
	display: flex;
	flex-direction: row;
}

body.sdgs .sdgs-activity-content {
	background-color: #ffffff;
	display: flex;
	flex-direction: column;
	padding: 26px;
    width: 100%;
}

body.sdgs .sdgs-activity-title {
	font-weight: 600;
	color: var(--main-color-dark);
	font-size: 18px;
	line-height: 2.5rem;
	white-space: pre-line;
	margin: 0 0 0.5rem 0;
}

body.sdgs .sdgs-activity-text {
	font-weight: 600;
	color: var(--main-color-dark);
	font-size: 14px;
	line-height: 1.5rem;
	margin: 0;
}

body.sdgs .sdgs-activity-image {
	width: 214px;
	height: 222px;
	flex-shrink: 0;
}

body.sdgs .sdgs-activity-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width:768px) {
	body.sdgs .sdgs-activities-title {
		font-size: 18px;
		letter-spacing: 1.44px;
		line-height: 35px;
        margin-bottom: 1rem;
	}

	body.sdgs .sdgs-activity-content {
        width: 70%;
		padding: 20px;
	}

	body.sdgs .sdgs-activity-title {
		font-size: 16px;
		line-height: 2rem;
	}

	body.sdgs .sdgs-activity-text {
		font-size: 12px;
		line-height: 1.25rem;
	}

	body.sdgs .sdgs-activity-image {
        width: 40%;
	}
}

body.sdgs .sdgs-partner {
	width: 100%;
	display: flex;
	justify-content: center;
	padding: 5rem 20px 0;
}

body.sdgs .sdgs-partner-content {
	width: 100%;
	max-width: 742px;
	display: flex;
	flex-direction: column;
	gap: 50px;
}

body.sdgs .sdgs-partner-title {
	width: 100%;
	text-align: center;
	font-weight: 500;
	color: var(--main-color-dark);
	font-size: 24px;
	letter-spacing: 1px;
	line-height: 45px;
	margin: 0;
}

body.sdgs .sdgs-partner-title-h3 {
	width: 100%;
    text-align: left;
    font-weight: 600;
    color: var(--main-color-dark);
    font-size: 18px;
    line-height: 35px;
    margin: 25px 0 10px 0;
}

body.sdgs .sdgs-partner-text {
	width: 100%;
	font-weight: 400;
	color: var(--main-color-dark);
	font-size: 14px;
}

body.sdgs .sdgs-partner-text p {
	font-weight: 600;
	color: var(--main-color-dark);
	line-height: 30px;
	margin: 0 0 1rem 0;
}

body.sdgs .sdgs-partner-chibadog {
    width: 143px;
    margin: 50px auto 40px;
}

body.sdgs .sdgs-partner-chibadog p {
    text-align: center;
    font-size: 14px;
    margin-top: 0.5rem;
}

body.sdgs .sdgs-partner-goals {
    width: 586px;
}

@media (max-width:768px) {
	body.sdgs .sdgs-partner-title {
		font-size: 18px;
		letter-spacing: 1.44px;
		line-height: 35px;
	}

    body.sdgs .sdgs-partner-title-h3 {
        font-size: 16px;
        line-height: 30px;
        margin: 15px 0 8px 0;
    }

	body.sdgs .sdgs-partner-text {
		font-size: 12px;
	}

	body.sdgs .sdgs-partner-text p {
		line-height: 1.5rem;
	}

    body.sdgs .sdgs-partner-goals {
        width: 100%;
    }
}

/* NEWS, 協力会社／募集要項, エントリーフォーム, お問い合わせ, 個人情報保護方針 */
.page-header .page-title--sml01 {
	position: relative;
	font-size: 30px;
	font-weight: 400;
	line-height: 1.75;
	margin: 0;
}

@media (max-width: 768px) {
	.page-header .page-title--sml01 {
		font-size: 26px;
	}
}

@media (max-width: 480px) {
	.page-header .page-title--sml01 {
		font-size: 22px;
	}
}

.content-inner.content-inner--mw980 {
	max-width: 980px;
}

.content-inner.content-inner--mw1080 {
	max-width: 1080px;
}

.link-btn--arrow01 {
	border: 1px solid var(--main-color-dark);
	border-radius: 9999px;
	padding: 1.5rem;
	font-family: "Shippori Mincho", serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.75rem;
	text-align: center;
	display: flex;
	align-items: center;
	margin: 0 auto;
	margin-top: 4em;
	max-width: 480px;
}

@media (max-width: 768px) {
	.link-btn--arrow01 {
		font-size: 16px;
		line-height: 2.5rem;
		padding: 1rem 2rem;
	}
}

.link-btn--arrow01 .partner-button-label {
	position: relative;
	margin: 0 auto;
	padding: 0 2em;
	display: table;
}

.link-btn--arrow01 .partner-button-icon {
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(0, -50%);
	transition: filter 0.3s ease;
	display: block;
	width: 1em;
}

.link-btn--arrow01 .partner-button-icon img {
	width: 100%;
	height: auto;
	display: block;
}

.link-btn--arrow01.btn--primary {
	color: var(--main-color-light);
	background-color: var(--main-color-dark);
	border: 1px solid transparent;
	transition:
		background-color 0.3s ease,
		border-color 0.3s ease;
}

.link-btn--arrow01.btn--primary:hover {
	background-color: transparent;
	border-color: var(--main-color-dark);
	color: var(--main-color-dark);
}

.link-btn--arrow01.btn--primary:hover .partner-button-icon {
	filter: brightness(0.8) invert(1);
}

.link-btn--arrow01.btn--outline {
	color: var(--main-color-dark);
	background-color: transparent;
	transition:
		background-color 0.3s ease,
		color 0.3s ease;
}

.link-btn--arrow01.btn--outline:hover {
	background-color: var(--main-color-dark);
	color: var(--main-color-light);
}

.link-btn--arrow01.btn--outline:hover .partner-button-icon {
	filter: brightness(0.8) invert(1);
}

@media (min-width: 769px) {
	.table--pages01 .info-row {
		flex-direction: row;
		gap: 2rem;
	}
}

.table--pages01 .info-row {
	display: flex;
	gap: 1rem;
	padding: 2rem 0;
	flex-direction: column;
}

.table--pages01 .info-row .info-label {
	font-family: "Shippori Mincho", serif;
	font-weight: 600;
	color: #33444b;
	font-size: 16px;
	line-height: 30px;
	white-space: nowrap;
	width: 213px;
	flex-shrink: 0;
}

.table--pages01 .info-row .info-content {
	flex: 1;
	min-width: 0;
	font-family: "Shippori Mincho", serif;
	font-weight: 500;
	color: #33444b;
	font-size: 16px;
	line-height: 30px;
}

.table--pages01 .info-row .info-multiline {
	font-weight: 400;
	color: #33444b;
}

.table--pages01 .separator {
	width: 100%;
	height: 1px;
	border-bottom: 1px dotted #293c43;
}

.form-section--pages01 {
	position: relative;
}

.form-section--pages01 .section-text,
.form-section--pages01>p {
	font-size: 14px;
	line-height: 2.14285714;
	margin-top: 0;
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.form-section--pages01 .section-text,
	.form-section--pages01>p {
		font-size: 13px;
	}
}

.form-section--pages01 .section-text.mt--1em {
	margin-top: 1em;
}

.form-section--pages01 .section-text a {
	color: #33444b;
	text-decoration: underline;
}

.form-section--pages01 .section-text a:hover {
	text-decoration: none;
}

.form-wrap--pages {
	position: relative;
	font-size: 16px;
}

@media (max-width: 768px) {
	.form-wrap--pages {
		font-size: 14px;
	}
}

.form-wrap--pages input[type="text"],
.form-wrap--pages input[type="password"],
.form-wrap--pages input[type="datetime"],
.form-wrap--pages input[type="datetime-local"],
.form-wrap--pages input[type="date"],
.form-wrap--pages input[type="month"],
.form-wrap--pages input[type="time"],
.form-wrap--pages input[type="week"],
.form-wrap--pages input[type="number"],
.form-wrap--pages input[type="email"],
.form-wrap--pages input[type="url"],
.form-wrap--pages input[type="search"],
.form-wrap--pages input[type="tel"],
.form-wrap--pages input[type="color"] {
	position: relative;
	font-family: "Shippori Mincho", serif;
	font-size: 1em;
	border: 1px solid #ddd;
	border-radius: 0.3125em;
	display: block;
	width: 100%;
	height: 3.75em;
	padding: 1em 1.25em;
	background: #fff;
	box-sizing: border-box;
}

.form-wrap--pages input[type="text"]::placeholder,
.form-wrap--pages input[type="password"]::placeholder,
.form-wrap--pages input[type="datetime"]::placeholder,
.form-wrap--pages input[type="datetime-local"]::placeholder,
.form-wrap--pages input[type="date"]::placeholder,
.form-wrap--pages input[type="month"]::placeholder,
.form-wrap--pages input[type="time"]::placeholder,
.form-wrap--pages input[type="week"]::placeholder,
.form-wrap--pages input[type="number"]::placeholder,
.form-wrap--pages input[type="email"]::placeholder,
.form-wrap--pages input[type="url"]::placeholder,
.form-wrap--pages input[type="search"]::placeholder,
.form-wrap--pages input[type="tel"]::placeholder,
.form-wrap--pages input[type="color"]::placeholder {
	color: #c0c4cb;
}

.form-wrap--pages select,
.form-wrap--pages textarea {
	position: relative;
	font-family: "Shippori Mincho", serif;
	font-size: 1em;
	border: 1px solid #ddd;
	border-radius: 0.3125em;
	display: block;
	width: 100%;
	height: 3.75em;
	padding: 1em 1.25em;
}

.form-wrap--pages select {
	-webkit-appearance: none;
}

.form-wrap--pages .select-wrap {
	position: relative;
	max-width: 280px;
}

.form-wrap--pages .select-wrap:after {
	position: absolute;
	top: 1.25em;
	right: 1.5em;
	transform: rotate(45deg);
	content: "";
	display: block;
	width: 0.75em;
	height: 0.75em;
	border-right: 1px solid #293c43;
	border-bottom: 1px solid #293c43;
	pointer-events: none;
}

.form-wrap--pages .select-wrap select {
	padding-right: 3.25em;
}

.form-wrap--pages textarea {
	max-width: 100%;
	min-height: 9.375em;
}

.form-wrap--pages .privacy-wrap {
	display: table;
	margin: 0 auto;
	margin-top: 4.5em;
}

.form-wrap--pages .privacy-wrap .wpcf7-list-item {
	margin: 0;
}

.form-wrap--pages .btn-wrap {
	position: relative;
	font-size: 18px;
	margin: 0 auto;
	margin-top: 1.66666667em;
	max-width: 380px;
}

@media (max-width: 768px) {
	.form-wrap--pages .btn-wrap {
		font-size: 16px;
	}
}

.form-wrap--pages .btn-wrap input[type="submit"],
.form-wrap--pages .btn-wrap button {
	position: relative;
	font-family: "Shippori Mincho", serif;
	font-size: 1em;
	font-weight: 600;
	line-height: 1.75;
	text-align: center;
	color: var(--main-color-light);
	background-color: var(--main-color-dark);
	border: 1px solid var(--main-color-dark);
	border-radius: 9999px;
	padding: 1.3em 3.4em;
	width: 100%;
	display: block;
	transition:
		background-color 0.3s ease,
		border-color 0.3s ease;
	cursor: pointer;
}

.form-wrap--pages .btn-wrap .button-icon {
	position: absolute;
	top: 1.8em;
	right: 1.8em;
	width: 0.77777778em;
	transition: filter 0.3s ease;
}

.form-wrap--pages .btn-wrap .button-icon img {
	width: 100%;
	height: auto;
	display: block;
}

.form-wrap--pages .btn-wrap .button-icon.button-icon01 {
	left: 15em;
	right: initial;
}

.form-wrap--pages .js-btn-back {
	font-family: "Shippori Mincho", serif;
	font-size: 14px;
	color: #33444b;
	display: table;
	margin: 0 auto;
	margin-top: 0.4em;
	background: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
}

.wpcf7-form.sent .wpcf7-response-output {
	display: none;
}

@media screen and (max-width: 768px) {
	.form-wrap--pages .btn-wrap .button-icon.button-icon01 {
		left: 16.4em;
	}
}

@media screen and (max-width: 440px) {
	.form-wrap--pages .btn-wrap .button-icon.button-icon01 {
		left: 69%;
	}
}

@media screen and (max-width: 375px) {
	.form-wrap--pages .btn-wrap .button-icon.button-icon01 {
		left: 73%;
	}
}

@media screen and (max-width: 320px) {
	.form-wrap--pages .btn-wrap .button-icon.button-icon01 {
		left: 78%;
	}
}

.form-wrap--pages .btn-wrap:hover:has(input[type="submit"]:not(:disabled)) input[type="submit"] {
	background-color: transparent;
	color: var(--main-color-dark);
}

.form-wrap--pages .btn-wrap:hover:has(input[type="submit"]:not(:disabled)) .button-icon {
	filter: brightness(0.8) invert(1);
}

.form-wrap--pages01 {
	max-width: 800px;
	margin-top: 5.625em;
}

table.contact-form-table01 {
	position: relative;
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}

table.contact-form-table01 tr {
	border-top: 1px dotted #ccc;
}

table.contact-form-table01 tr:last-child {
	border-bottom: 1px dotted #ccc;
}

table.contact-form-table01 th,
table.contact-form-table01 td {
	text-align: left;
	background: transparent;
	border: none;
	border-collapse: initial;
	padding: 1.25em 0;
}

@media (min-width: 769px) {

	table.contact-form-table01 th,
	table.contact-form-table01 td {
		vertical-align: middle;
	}
}

@media (max-width: 768px) {

	table.contact-form-table01 th,
	table.contact-form-table01 td {
		display: block;
		width: 100%;
		padding: 1.4em 0;
	}
}

@media (min-width: 769px) {
	table.contact-form-table01 th {
		padding-right: 1.875em;
		width: 33%;
	}
}

@media (max-width: 768px) {
	table.contact-form-table01 th {
		padding-bottom: 0.4em;
	}
}

table.contact-form-table01 th .required-label {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 0.75em;
	font-weight: 700;
	text-align: center;
	color: #fff;
	line-height: 1;
	padding: 0.3em 0.7em;
	background: #b0974c;
	display: table;
	white-space: nowrap;
}

@media (max-width: 768px) {
	table.contact-form-table01 td {
		padding-top: 0.4em;
	}
}

@media (min-width: 769px) {

	table.contact-form-table01 tr.va--t th,
	table.contact-form-table01 tr.va--t td {
		vertical-align: top;
	}

	table.contact-form-table01 tr.va--t th {
		padding-top: 2.75em;
	}
}

table.contact-form-table01 tr.required th .th-text {
	display: flex;
	align-items: center;
}

table.contact-form-table01 tr.required th .th-text .required-label {
	margin-left: auto;
	margin-right: 0;
}

@media (max-width: 768px) {
	table.contact-form-table01 tr.required th .th-text .required-label {
		margin-left: 1.2em;
		margin-right: auto;
	}
}

body.post-type-archive-news .page-header .page-title {
	font-family: "Cinzel", serif;
	letter-spacing: 0.07em;
}

body.post-type-archive-news .page-header .page-subtitle {
	font-family: "Shippori Mincho", serif;
	letter-spacing: 0;
}

.news-section--pages>.section-inner {
	position: relative;
}

.news-section--pages>.section-inner01 {
	padding-top: 72px;
}

@media (max-width: 768px) {
	.news-section--pages>.section-inner01 {
		padding-top: 62px;
	}
}

@media (max-width: 480px) {
	.news-section--pages>.section-inner01 {
		padding-top: 52px;
	}
}

.cat-list--news01 {
	position: relative;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 0;
	color: #33444b;
	list-style: none;
	margin: 0;
	margin-bottom: 72px;
	padding: 0;
	display: table;
}

@media (max-width: 768px) {
	.cat-list--news01 {
		margin-bottom: 62px;
	}
}

@media (max-width: 480px) {
	.cat-list--news01 {
		margin-bottom: 52px;
	}
}

.cat-list--news01>li,
.cat-list--news01>li .btn {
	color: #33444b;
	text-align: center;
	line-height: 2.125;
}

.cat-list--news01>li {
	font-size: 16px;
	letter-spacing: 0.05em;
	display: inline-block;
	vertical-align: top;
	margin: 0.5em 0;
	margin-right: 1.875em;
}

.cat-list--news01>li:last-child {
	margin-right: 0;
}

@media (max-width: 768px) {
	.cat-list--news01>li {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.cat-list--news01>li {
		font-size: 12px;
	}
}

.cat-list--news01>li .btn {
	text-decoration: none;
	border: 1px solid #33444b;
	border-radius: 9999px;
	padding: 0.3em 1.13em;
	transition: all 0.3s;
}

.cat-list--news01>li .btn.current,
.cat-list--news01>li .btn:hover {
	color: #fff;
	background: #33444b;
}

.cat-list--news01>li .btn.current:hover {
	opacity: 0.7;
}

ul.news-list01 {
	position: relative;
	font-size: 14px;
	color: #33444b;
	list-style: none;
	display: grid;
	column-gap: 50px;
	row-gap: 80px;
	margin: 0;
	padding: 0;
	width: 100%;
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1000px) {
	ul.news-list01 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	ul.news-list01 {
		column-gap: 30px;
		row-gap: 50px;
	}
}

@media (max-width: 480px) {
	ul.news-list01 {
		grid-template-columns: repeat(1, 1fr);
		column-gap: 0;
		row-gap: 40px;
	}
}

ul.news-list01>li,
ul.news-list01>li a {
	color: #33444b;
	display: block;
}

ul.news-list01>li {
	margin: 0;
}

ul.news-list01>li a {
	text-decoration: none;
	transition: all 0.3s;
}

ul.news-list01>li a:hover {
	opacity: 0.7;
}

ul.news-list01>li .img-wrap {
	position: relative;
	display: block;
}

ul.news-list01>li .img-wrap:before {
	content: "";
	display: block;
	padding-top: 66.67%;
}

ul.news-list01>li .img-wrap img {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

ul.news-list01>li .info-wrap {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 0.85714286em;
	display: flex;
	align-items: center;
	margin-top: 1em;
	white-space: nowrap;
}

ul.news-list01>li .info-wrap .cat,
ul.news-list01>li .info-wrap .time {
	font-weight: 700;
	line-height: 1;
	display: inline-block;
}

ul.news-list01>li .info-wrap .cat {
	color: #fff;
	text-align: center;
	padding: 0.38em 0.3em;
	background: #33444b;
	margin-right: 1.18em;
}

ul.news-list01>li .info-wrap .time {
	letter-spacing: 0.05em;
}

ul.news-list01>li .ttl {
	font-size: 1em;
	font-weight: 500;
	line-height: 1.75;
	display: block;
	margin-top: 0.6em;
}

.page-header--single01.page-header {
	margin-bottom: 44px;
}

@media (max-width: 768px) {
	.page-header--single01.page-header {
		margin-bottom: 36px;
	}
}

@media (max-width: 480px) {
	.page-header--single01.page-header {
		margin-bottom: 30px;
	}
}

.page-header--single01.page-header .page-title {
	font-size: 30px;
	font-weight: 400;
	line-height: 1.75;
	margin: 0;
}

@media (max-width: 768px) {
	.page-header--single01.page-header .page-title {
		font-size: 26px;
	}
}

@media (max-width: 480px) {
	.page-header--single01.page-header .page-title {
		font-size: 22px;
	}
}

.page-header--single01 .info-wrap {
	font-family: "Noto Sans JP", sans-serif;
	font-size: 14px;
	display: flex;
	align-items: center;
	margin-top: 1em;
	white-space: nowrap;
}

@media (max-width: 768px) {
	.page-header--single01 .info-wrap {
		font-size: 12px;
	}
}

.page-header--single01 .info-wrap .cat,
.page-header--single01 .info-wrap .time {
	font-weight: 700;
	line-height: 1;
	display: inline-block;
}

.page-header--single01 .info-wrap .cat {
	color: #fff;
	text-align: center;
	padding: 0.38em 0.3em;
	background: #33444b;
	margin-right: 1.18em;
}

.page-header--single01 .info-wrap a.cat {
	text-decoration: none;
	transition: all 0.3s;
}

.page-header--single01 .info-wrap a.cat:hover {
	opacity: 0.7;
}

.page-header--single01 .info-wrap .time {
	letter-spacing: 0.05em;
}

.news-section--single01 .eyecatch-wrap {
	display: block;
	margin-bottom: 90px;
}

@media (max-width: 768px) {
	.news-section--single01 .eyecatch-wrap {
		margin-bottom: 75px;
	}
}

@media (max-width: 480px) {
	.news-section--single01 .eyecatch-wrap {
		margin-bottom: 60px;
	}
}

.news-section--single01 .eyecatch-wrap img {
	display: block;
	height: auto;
    aspect-ratio: 900 / 450;
	object-fit: cover;
}

.news-section--single01>.view-more-link {
	margin: 0 auto;
	margin-top: 21em;
}

@media (max-width: 768px) {
	.news-section--single01>.view-more-link {
		margin-top: 14em;
	}
}

@media (max-width: 480px) {
	.news-section--single01>.view-more-link {
		margin-top: 8em;
	}
}

.entry-cntent--single01 {
	font-size: 16px;
	color: #33444b;
}

@media (max-width: 768px) {
	.entry-cntent--single01 {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.entry-cntent--single01 {
		font-size: 14px;
	}
}

.entry-cntent--single01>*:first-child {
	margin-top: 0 !important;
}

.entry-cntent--single01>*:last-child {
	margin-bottom: 0 !important;
}

.entry-cntent--single01 h2,
.entry-cntent--single01 h3,
.entry-cntent--single01 h4,
.entry-cntent--single01 h5,
.entry-cntent--single01 h6, 
.entry-cntent--single01 p,
.entry-cntent--single01 li {
	line-height: 1.875;
    margin: 1em 0 0.5em;
}

.entry-cntent--single01 table {
	margin: 1em 0 0.5em;
}

.entry-cntent--single01 table th,
.entry-cntent--single01 table td {
    border: 1px var(--main-color-dark) solid;
	line-height: 1.875;
    padding: 0 0.5em;
}

.entry-cntent--single01 img {
	margin: 1em 0;
}

.entry-cntent--single01 a {
	color: #33444b;
	text-decoration: underline;
}

.entry-cntent--single01 a:hover {
	text-decoration: none;
}

body.partner .page-header .page-title,
body.partner .page-header .page-subtitle {
	text-align: center;
}

body.partner .page-header .page-title {
	font-family: "Cinzel", serif;
	font-size: 80px;
	letter-spacing: 0.08em;
	padding-left: 0.08em;
}

@media (max-width: 768px) {
	body.partner .page-header .page-title {
		font-size: 60px;
	}
}

@media (max-width: 480px) {
	body.partner .page-header .page-title {
		font-size: 40px;
	}
}

body.partner .page-header .page-subtitle {
	font-family: "Shippori Mincho", serif;
	font-size: 12px;
	letter-spacing: 0;
}

.partner-section--pages {
	position: relative;
}

.partner-section--pages01 {
	padding-top: 120px;
}

@media (max-width: 768px) {
	.partner-section--pages01 {
		padding-top: 80px;
	}
}

@media (max-width: 480px) {
	.partner-section--pages01 {
		padding-top: 40px;
	}
}

.partner-section--pages01 .section-heading01 {
	font-family: var(--font-tsukushi-a-old-mincho);
	font-size: 50px;
	font-weight: 400;
	line-height: 1.75;
	text-align: center;
	margin-top: 0;
	margin-bottom: 1.2em;
}

@media (max-width: 768px) {
	.partner-section--pages01 .section-heading01 {
		font-size: 28px;
	}
}

@media (max-width: 480px) {
	.partner-section--pages01 .section-heading01 {
		font-size: 20px;
	}
}

.partner-section--pages01 .section-text {
	text-align: center;
	line-height: 2.5;
	margin-top: 0;
	margin-bottom: 0;
}

@media (max-width: 768px) {
	.partner-section--pages01 .section-text {
		font-size: 14px;
	}
}

.partner-section--pages01 .section-text.mt--2em {
	margin-top: 2em;
}

.partner-section--pages01 .link-btn-section {
	margin-top: 140px;
}

@media (min-width: 769px) {
	.partner-section--pages01 .link-btn-section {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		-webkit-flex-wrap: wrap;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}

	.partner-section--pages01 .link-btn-section>.btn-wrap {
		flex: 1;
		margin: 0 15px;
	}

	.partner-section--pages01 .link-btn-section>.btn-wrap:first-child {
		margin-left: 0 !important;
	}

	.partner-section--pages01 .link-btn-section>.btn-wrap:last-child {
		margin-right: 0 !important;
	}
}

@media (max-width: 768px) {
	.partner-section--pages01 .link-btn-section {
		margin-top: 100px;
	}

	.partner-section--pages01 .link-btn-section>.btn-wrap {
		margin-bottom: 16px;
	}

	.partner-section--pages01 .link-btn-section>.btn-wrap:last-child {
		margin-bottom: 0 !important;
	}
}

@media (max-width: 480px) {
	.partner-section--pages01 .link-btn-section {
		margin-top: 60px;
	}
}

.partner-section--pages01 .link-btn-section .link-btn--arrow01 {
	margin-top: 0;
}

@media (min-width: 769px) {
	.partner-section--pages01 .link-btn-section .link-btn--arrow01 {
		max-width: 100%;
	}
}

.privacy-section--pages01 {
	position: relative;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 12px;
}

.privacy-section--pages01 .section-text,
.privacy-section--pages01 .section-heading {
	position: relative;
	line-height: 2;
}

.privacy-section--pages01 .section-text {
	font-size: 1em;
	margin-top: 0;
	margin-bottom: 0;
}

.privacy-section--pages01 .section-text.mt--2em {
	margin-top: 2em;
}

.privacy-section--pages01 .section-heading {
	font-weight: 700;
}

.privacy-section--pages01 .section-heading01 {
	font-size: 1.33333333em;
	margin-top: 2.2em;
	margin-bottom: 0.1em;
}

.privacy-section--pages01 .section-heading02 {
	font-size: 1.16666667em;
	margin-top: 1.6em;
	margin-bottom: 0.1em;
}


/* 詳細共通 */
body.single .gallery-item {
    display: inline-block;
}

body.single .alignleft {
    float: left;
}

body.single .alignright {
    float: right;
}

body.single .flex {
    display: flex;
    gap: 20px;
}

body.single .vertical-center {
    align-items: center;
}

body.single a {
    word-break: break-all;
}

/* 404 */
body.error404 .content-inner {
    padding: 0 40px 200px;
}

@media (max-width: 768px) {
	body.error404 .content-inner {
		padding: 0 20px 150px;
	}
}

body.error404 .message404 a {
    text-decoration: underline;
}

body.error404 .message404 a:hover {
    opacity: 0.7;
}



/* アニメーション */
.js-scroll-reveal {
    opacity: 0;
    transform: translateY(12px);

    &.is-animated {
        opacity: 1;
        transform: none;
    }
}

.js-scroll-scale {
    transform: scale(1.1);

    &.is-animated {
        transform: none;
    }
}

.hero-title {
    /*clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);*/
    clip-path: none;
}

@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - var(--gallery-gap)));
    }
}


.about-card {
    @media (min-width: 768px) {
        opacity: 0;
    }
}