
.main-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 380px;
    background: #F2F5E5;
    margin-bottom: 50px;
    overflow: hidden;
}
.main-visual__image {
    display: block;
    width: 100vw;
    max-width: 1600px;
    height: auto;
    object-fit: cover;
}

/* Container */
.qa-section {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px 120px;
}

/* Common Sidebar Styles */
.qa-section__sidebar,
.works-section__sidebar,
.overview-section__sidebar {
    writing-mode: vertical-rl;
    font-family: 'Oswald', sans-serif;
    font-size: 100px;
    font-weight: 700;
    text-orientation: mixed;
}

/* Common Flex Sidebar Styles */
.qa-section__sidebar,
.works-section__sidebar {
    flex-shrink: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
}

/* Sidebar */
.qa-section__sidebar {
    margin-right: 80px;
}

.qa-section__logo {
    font-family: 'Oswald', sans-serif;
    font-size: 90px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #2d2d2d;
    margin-bottom: 40px;
}

.qa-section__subtitle {
    font-size: 22px;
    letter-spacing: 0.2em;
    line-height: 1.8;
    font-weight: 400;
}

/* Main Content */
.qa-section__content {
    flex: 1;
    display: flex;
    gap: 60px;
    padding-top: 80px;
}

/* Q&A List */
.qa-section__list {
    flex: 1;
}

.qa-section__title {
    font-size: 40px;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

/* Q&A Item */
.qa-item {
    margin-bottom: 20px;
}

/* Section Header (汎用) */
.section-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.section-header__number {
    font-family: 'Oswald', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #7D9626;
    margin-right: 30px;
    line-height: 1;
}

.section-header__title {
    font-weight: bold;
    color: #7D9626;
}

.qa-item__header{
    align-items: center;
}

.qa-item__header .section-header__title{
    font-size: 30px;
}

.qa-item__summary {
    margin-bottom: 0;
    padding-left: 95px;
    color: #666;
    font-size: 18px;
    line-height: 1.8;
}

.qa-item__detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 95px;
    font-size: 18px;
}

.qa-item__detail.is-open {
    max-height: 1000px;
}

.qa-item__detail-text {
    margin-bottom: 15px;
    padding-top: 20px;
    color: #666;
    line-height: 1.8;
}

/* Toggle Button */
.qa-item__toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 0;
    margin-left: 95px;
    font-size: 18px;
    color: #333;
    transition: color 0.3s ease;
    text-decoration: underline;
}

.qa-item__toggle:hover {
    color: #8b9a3c;
}

.qa-item__toggle-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    border-color: #333 transparent transparent transparent;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.qa-item__toggle.is-active .qa-item__toggle-icon {
    transform: rotate(180deg);
}

/* Profile Image */
.qa-section__profile {
    max-width: 450px;
    width: 38%;
    flex-shrink: 0;
}

.qa-section__profile-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 1024px) {
    .qa-section {
        flex-direction: column;
        margin-bottom: 40px;
    }

    .qa-section__sidebar,
    .works-section__sidebar,
    .overview-section__sidebar {
        writing-mode: horizontal-tb;
    }

    .qa-section__sidebar {
        margin-right: 0;
        margin-bottom: 20px;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
    }

    .qa-section__logo {
        margin-bottom: 0;
        font-size: 80px;
        writing-mode: horizontal-tb;
    }

    .qa-section__subtitle {
        font-size: 20px;
        writing-mode: horizontal-tb;
    }

    .qa-section__content {
        flex-direction: column;
        padding-top: 0;
    }

    .qa-section__profile {
        width: 100%;
        margin: 0 auto 40px;
        max-width: inherit;
        text-align: center;
        & img{
            max-width: 300px;
        }
    }

    .section-header__number {
        font-size: 48px;
    }

    .section-header__title {
        font-size: 20px;
    }

    .qa-item__summary,
    .qa-item__detail,
    .qa-item__toggle {
        padding-left: 10px;
        margin-left: 70px;
    }
}

@media (max-width: 768px) {

    .main-visual {
        min-height: 200px;
        margin-bottom: 30px;
    }
    .main-visual__image {
        width: 100vw;
        max-width: 100vw;
    }

    .qa-section {
        margin-bottom: 140px;
        padding: 40px 15px;
    }

    .qa-section__sidebar,
    .works-section__sidebar,
    .overview-section__sidebar {
        writing-mode: horizontal-tb;
    }

    .qa-section__sidebar {
        gap: 15px;
    }

    .qa-section__logo {
        font-size: 40px;
    }

    .qa-section__logo {
        font-size: 50px;
    }

    .qa-section__subtitle {
        font-size: 15px;
        letter-spacing: 0;
    }

    .section-header__number {
        font-size: 40px;
        margin-right: 15px;
    }

    .section-header__title {
        font-size: 18px;
    }

    .qa-section__content{
        gap: 20px;
    }

    .qa-item__summary,
    .qa-item__detail,
    .qa-item__toggle {
        padding-left: 55px;
        margin-left: 0;
        font-size: 16px;
    }

    .qa-section__title {
        font-size: 24px;
    }

    .qa-item__header .section-header__title {
        font-size: 20px;
        line-height: 1.5;
    }

    .qa-item__header{
        margin-bottom: 20px;
    }

    .qa-section__profile {
        & img {
            max-width: 230px;
        }
    }
}

/* Our Works Section */
.works-section {
    position: relative;
    background-color: #f5f5f5;
}

.works-section__hero {
    width: 100%;
    height: 550px;
    object-fit: cover;
    vertical-align: bottom;
}

.works-section__content {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.works-section__sidebar {
    position: relative;
    color: #fff;
    padding: 60px 0;
    gap: 40px;
    z-index: 10;
}

.works-section__sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 100%;
    width: 100vw;
    height: 100%;
    background-color: #7D9626;
}

.works-section__sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background-color: #7D9626;
    z-index: -1;
    transform: skewX(-10deg);
}

.works-section__title {
    position: relative;
    top: -300px;
    font-family: 'Oswald', sans-serif;
    font-size: 90px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.works-section__subtitle {
    position: relative;
    top: -300px;
    font-size: 22px;
    letter-spacing: 0.3em;
    line-height: 2;
}

.works-section__list {
    flex: 1;
    padding: 80px 60px 80px 80px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Work Item */
.work-item {
    padding: 40px 40px 40px 80px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    left: -50px;
    z-index: 100;
    width: 96%;
}

.work-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,.85);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transform: skewX(-10deg);
    z-index: -1;
}

.work-item:nth-child(2) {
    margin-left: 5%;
}

.work-item:nth-child(3) {
    margin-left: 10%;
}

.work-item__content {
    flex: 1;
}

.work-item__header {
    margin-bottom: 20px;
    align-items: center;
}

.work-item__header .section-header__number {
    color: #7D9626;
    font-style: italic;
    font-size: 84px;
}

.work-item__header .section-header__title {
    line-height: 1.3;
    color: #7D9626;
    font-size: 40px;
}

.work-item__headline {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.6;
}

.work-item__description {
    color: #666;
    line-height: 1.8;
    font-size: 18px;
}

.work-item__toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 0;
    font-size: 18px;
    color: #333;
    transition: color 0.3s ease;
    text-decoration: underline;
}

.work-item__toggle:hover {
    color: #8b9a3c;
}

.work-item__toggle-icon {
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    border-color: #333 transparent transparent transparent;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.work-item__toggle.is-active .work-item__toggle-icon {
    transform: rotate(180deg);
}

.work-item__detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-size: 18px;
}

.work-item__detail.is-open {
    max-height: 2000px;
}

.work-item__detail-text {
    margin-top: 15px;
    color: #666;
    line-height: 1.8;
}

.work-item__image-wrapper {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.work-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1400px) {

    .work-item {
        padding: 25px 25px 25px 60px;
        width: 100%;
    }

    .work-item:nth-child(2) {
        margin-left: 2%;
    }

    .work-item:nth-child(3) {
        margin-left: 4%;
    }

    .work-item__image-wrapper {
        width: 200px;
        height: 200px;
    }

}

/* Responsive Works Section */
@media (max-width: 1024px) {
    .works-section__hero {
        height: 300px;
    }

    .works-section__content {
        flex-direction: column;
    }

    .works-section__sidebar {
        padding: 0 20px;
        justify-content: flex-start;
        gap: 0;
        color: #000;
    }

    .works-section__sidebar::before {
        display: none;
    }

    .works-section__sidebar::after {
        left: 0;
        width: 100%;
        transform: skewX(0);
    }

    .works-section__title {
        width: 440px;
        font-size: 80px;
        top: -400px;
        letter-spacing: 0;
    }

    .works-section__subtitle {
        top: -400px;
        font-size: 20px;
        font-weight: normal;
        letter-spacing: .2em;
        word-break: keep-all;
    }

    .works-section__list {
        margin-top: -40px;
        padding: 0 40px 60px;
        gap: 30px;
    }

    .work-item__header .section-header__title{
        font-size: 35px;
    }

    .work-item__header{
        gap: 10px;
    }

    .work-item {
        padding: 40px;
        left: 0;
    }

    .work-item::before{
        transform: skewX(-5deg);
    }

    .work-item:nth-child(2),
    .work-item:nth-child(3) {
        margin-left: 0;
    }

    .work-item__image-wrapper {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 768px) {

    .works-section{
        margin-bottom: 40px;
    }

    .works-section__list{
        margin-top: -50px;
        padding: 0 20px 60px;
    }

    .works-section__sidebar{
        flex-wrap: wrap;
    }

    .works-section__title{
        top: -280px;
        font-size: 50px;
    }

    .works-section__subtitle{
        top: -280px;
        font-size: 15px;
    }

    .works-section__hero{
        height: 180px;
    }

    .work-item{
        flex-wrap: wrap;
        padding: 25px 25px 35px;
    }

    .work-item__content{
        flex: inherit;
        width: 100%;
    }

    .work-item::before {
        transform: skewX(0);
    }

    .work-item__header .section-header__number{
        font-size: 70px;
    }

    .work-item__header .section-header__title{
        font-size: 26px;
    }

    .work-item__image-wrapper{
        margin: 0 auto;
    }

    .work-item__headline{
        font-size: 20px;
    }

    .work-item__description,
    .work-item__detail-text,
    .work-item__toggle{
        font-size: 16px;
    }

}

/* Numbers Section */
.numbers-section {
    position: relative;
    background-image: url('../img/top/bg_number.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 20px;
}

.numbers-section__inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.numbers-section__header {
    text-align: center;
    color: #fff;
    margin-bottom: 60px;
}

.numbers-section__subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    font-weight: 400;
}

.numbers-section__title {
    font-size: 56px;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.numbers-section__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Number Card */
.number-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.number-card__icon {
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.number-card__icon img,
.number-card__icon svg {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
}

.number-card__number {
    font-family: 'Oswald', sans-serif;
    font-size: 29px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.number-card__title {
    font-size: 20px;
    color: #333;
    font-weight: normal;
}

.number-card__description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.number-card__note {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

/* Responsive Numbers Section */
@media (max-width: 768px) {
    .numbers-section {
        padding: 60px 20px;
        background-attachment: scroll;
    }

    .numbers-section__header{
        margin-bottom: 40px;
    }

    .numbers-section__title {
        font-size: 32px;
        word-break: keep-all;
        line-height: 1.4;
    }

    .numbers-section__subtitle {
        font-size: 14px;
    }

    .numbers-section__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .number-card {
        padding: 25px 30px;
    }

    .number-card__number{
        font-size: 24px;
    }

    .number-card__icon {
        width: 100px;
        height: 70px;
        & img{
            max-width: 100%;
            max-height: 100%;
        }
    }

    .number-card__title {
        font-size: 18px;
    }
}

.challengers-section {
    background-color: #F2F5E5;
    padding: 100px 20px;
    overflow: hidden;
}

.challengers-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.challengers-section__content {
    display: grid;
    grid-template-columns: 4fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.challengers-section__image-wrapper {
    position: relative;
    margin-left: -10vw;
}

.challengers-section__image-main {
    width: 100%;
    aspect-ratio: 16/11;
    object-fit: cover;
}

.challengers-section__text {
    display: flex;
    flex-direction: column;
}

.challengers-section__subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    letter-spacing: 0.2em;
    color: #8b9a3c;
    margin-bottom: 20px;
    font-weight: 600;
}

.challengers-section__title {
    font-size: 70px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 30px;
    color: #1a1a1a;
    white-space: nowrap;
}

.challengers-section__description {
    font-size: 18px;
    line-height: 1.9;
    color: #555;
}

.challengers-section__gallery {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    margin-left: calc(50% - 120px);
    margin-top: -10vw;
    position: relative;
    z-index: 10;
}

img.challengers-section__image-item{
    max-width: 100%;
    width: 18vw;
    height: auto;
}

.challengers-section__cta {
    margin-top: 40px;
}

.challengers-section__link {
    display: block;
    width: 100%;
    padding: 25px 60px;
    border: 2px solid #e85d3c;
    color: #e85d3c;
    text-decoration: none;
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

.challengers-section__link:hover {
    background-color: #e85d3c;
    color: #fff;
}

.challengers-section__link::after {
    content: '→';
    font-size: 20px;
    margin-left: 15px;
}

@media (max-width: 1200px) {
    .challengers-section__title {
        font-size: 6vw;
    }
}


@media (max-width: 1024px) {
    .challengers-section {
        padding: 80px 20px;
    }

    .challengers-section__image-wrapper {
        margin-left: -40px;
    }

    .challengers-section__content {
        gap: 60px;
    }

    .challengers-section__title {
        font-size: 42px;
    }

    .challengers-section__text{
        padding-right: 0;
    }

    .challengers-section__subtitle{
        margin-bottom: 10px;
    }

    .challengers-section__image-main {
        height: 400px;
    }

    .challengers-section__gallery {
        margin-left: 40%;
        margin-top: -100px;
        gap: 10px;
    }

    .challengers-section__image-item {
        width: 220px;
        height: 260px;
    }
}

@media (max-width: 768px) {
    .challengers-section {
        padding: 80px 20px;
    }

    .challengers-section__content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 20px;
    }

    .challengers-section__image-wrapper {
        margin-left: 0;
    }

    .challengers-section__image-main {
        min-height: 300px;
        height: 60vw;
    }

    .challengers-section__text {
        padding-right: 0;
    }

    .challengers-section__title {
        font-size: 42px;
        text-align: center;
    }

    .challengers-section__subtitle {
        font-size: 14px;
        text-align: center;
    }

    .challengers-section__description{
        font-size: 16px;
        text-align: center;
        word-break: auto-phrase;
    }

    .challengers-section__gallery {
        justify-content: center;
        margin-left: 0;
        margin-top: 30px;
        margin-bottom: 0;
        gap: 0 2%;
    }

    img.challengers-section__image-item {
        width: 32%;
    }

    .challengers-section__link {
        padding: 20px;
        font-size: 16px;
    }
}

/* Overview Section */
.overview-section {
    background-color: #fff;
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
}

.overview-section__inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.overview-section__sidebar {
    position: absolute;
    left: -60px;
    left: -3vw;
    top: 0;
    color: #000000;
    z-index: 1;
}

.overview-section__images {
    position: relative;
    width: 100%;
    margin-top: 80px;
    overflow: hidden;
}

.overview-section__swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.overview-section__images-track {
    display: flex;
    gap: 0;
    animation: continuous-scroll 40s linear infinite;
    will-change: transform;
}

.overview-section__image {
    width: 100vw;
    height: auto;
    flex-shrink: 0;
    display: block;
}

.swiper-slide {
    width: 100vw;
    flex-shrink: 0;
}

@keyframes continuous-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive Overview Section */
@media (max-width: 1024px) {
    .overview-section {
        padding: 80px 0 0;
    }

    .overview-section__sidebar {
        display: none;
    }

    .overview-section__images {
        margin-top: 60px;
    }

    .overview-section__image {
        object-fit: cover;
    }

}

@media (max-width: 768px) {
    .overview-section {
        padding: 60px 0 0;
    }

    .overview-section__sidebar {
        position: static;
        font-size: 32px;
        margin-bottom: 40px;
        color: #ddd;
    }

    .overview-section__images {
        margin-top: 40px;
    }

    .overview-section__image {
        object-fit: cover;
    }

}

/* CTA Section */
.cta-section {
    background-color: #fafaf8;
    padding: 120px 20px;
    text-align: center;
}

.cta-section__inner {
    max-width: 1000px;
    margin: 0 auto;
}

.cta-section__subtitle {
    font-family: 'Allura', cursive;
    font-size: 86px;
    color: #8b9a3c;
    margin-bottom: 0;
    font-weight: 400;
    transform: rotate(-3deg);
}

.cta-section__title {
    font-size: 65px;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 60px;
    color: #1a1a1a;
}

.cta-section__text {
    font-size: 22px;
    line-height: 2;
    color: #333;
    margin-bottom: 30px;
}

.cta-section__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 25px 50px;
    border: 2px solid #e85d3c;
    color: #e85d3c;
    text-decoration: none;
    font-size: 20px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

.cta-section__button:hover {
    background-color: #e85d3c;
    color: #fff;
}

.cta-section__button::after {
    content: '→';
    font-size: 22px;
    margin-left: 15px;
}

.cta-section__button--primary {
    background-color: #e85d3c;
    color: #fff;
}

.cta-section__button--primary:hover {
    background-color: #d14d2c;
}

/* Responsive CTA Section */
@media (max-width: 768px) {
    .cta-section {
        padding: 80px 20px;
    }

    .cta-section__subtitle {
        font-size: 40px;
    }

    .cta-section__title {
        font-size: 42px;
        margin-bottom: 40px;
        word-break: keep-all;
    }

    .cta-section__text {
        font-size: 16px;
        line-height: 1.9;
    }

    .cta-section__buttons {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 50px;
    }

    .cta-section__button {
        padding: 20px 40px;
        font-size: 18px;
    }
}
