/* カルチャーページのスタイル */

/* イントロセクション */
.culture-intro {
    padding: 60px 0 20px;
    background-color: transparent;
}

.culture-intro-title {
    font-size: 24px;
    font-weight: 700;
    color: #005AB2;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

/* 価値観セクション */
.culture-values {
    padding: 0 0 60px;
    background-color: #EDF9F9;
}

.culture-value-item {
    margin-bottom: 60px;
    position: relative;
}

.culture-value-item:last-child {
    margin-bottom: 0;
}

.culture-value-image {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 12px;
    max-width: 840px;
    margin: 0 auto;
}

.culture-value-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.culture-value-label {
    display: block;
    text-align: left;
    /* margin: 40px auto -80px 40px; */
    margin: 40px auto -56px 0px;
    transform: rotate(-10deg);
    transform-origin: bottom left;
    font-family: 'La Belle Aurore', cursive;
    font-size: 32px;
    color: #005AB2;
    letter-spacing: 0.1em;
    position: relative;
    z-index: 10;
    width: fit-content;
    font-weight: 400;
}

/* 偶数番目（2番目、4番目）は右寄せ */
.culture-value-item:nth-child(even) .culture-value-label {
    text-align: right;
    margin: 40px 0px -60px auto;
    transform: rotate(10deg);
    transform-origin: bottom right;
}

.culture-value-content {
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 720px;
    margin: 20px auto 0;
    position: relative;
}

.culture-value-title {
    font-size: 20px;
    font-weight: 700;
    color: #3EBAB3;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: 0.1em;
}

.culture-value-text {
    font-size: 16px;
    color: #000000;
    line-height: 1.8;
    letter-spacing: 0.1em;
}

/* 社内アンケートセクション */
.culture-survey {
    padding: 80px 0;
    background: linear-gradient(to bottom, #FFFFFF 0%, #FFFFFF 3696px, #EDF9F9 3696px, #EDF9F9 100%);
    position: relative;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: #005AB2;
    text-align: left;
    margin-bottom: 60px;
    letter-spacing: 0.1em;
}

.survey-section {
    margin-bottom: 80px;
}

.survey-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 40px;
    padding: 4px 16px;
    background-color: #005AB2;
    display: block;
    border-radius: 0 16px 0 16px;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

.survey-question {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .sp-only {
        display: block;
    }
}

.question-number {
    font-size: 40px;
    font-weight: 400;
    color: #3EBAB3;
    margin-right: 24px;
    line-height: 1.366;
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

.question-text {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    line-height: 1.556;
    letter-spacing: 0.05em;
    padding-top: 12px;
}

.survey-answers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.answer-item {
    background-color: #EDF9F9;
    border-radius: 80px;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 700;
    color: #005AB2;
    letter-spacing: 0.05em;
    line-height: 2;
    height: 24px;
    display: inline-flex;
    align-items: center;
}

/* 新・グラフセクション */
.new-chart-container {
    width: 320px;
    position: relative;
    margin: 0 auto 20px;
}

.new-chart-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.new-chart-label {
    padding: 8px 6px 8px 0;
    width: 160.0px;
    text-align: right;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-blue);
    border-right: 2px solid var(--primary-blue);
}

.new-chart-item--1st .new-chart-label {
    color: #EB8D4C;
}

.new-chart-bar {
    position: relative;
    width: 160.0px;
    height: 20px;
}

.new-chart-bar:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    min-width: 12px;
    height: 20px;
    background-color: var(--primary-blue);
}

.new-chart-item--1st .new-chart-bar:before {
    background-color: #EB8D4C;
    width: 149px;
}

.new-chart-item--2nd .new-chart-bar:before {
    width: 138px;
}

.new-chart-item--3rd .new-chart-bar:before {
    width: 109px;
}

.new-chart-item--4th .new-chart-bar:before {
    width: 109px;
}

.new-chart-item--5th .new-chart-bar:before {
    width: 41px;
}

.new-chart-item--6th .new-chart-bar:before {
    width: 13px;
}

/* グラフセクション */
.survey-chart {
    margin-bottom: 40px;
    position: relative;
}

.chart-container {
    width: 170px;
    height: 194px;
    margin: 0 auto 20px;
    position: relative;
}

@media (max-width: 768px) {
    .chart-container {
        width: 100%;
        min-height: 280px;
        height: auto;
    }
    
}

.chart-container::after {
    content: '';
    position: absolute;
    left: 170px;
    top: 0;
    width: 2px;
    height: 194px;
    background-color: #005AB2;
}

@media (max-width: 768px) {
    .chart-container:after {
        display: none;
    }
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: 200px;
    position: absolute;
    top: 0;
    left: 0;
}

@media (max-width: 768px) {
    .chart-legend {
        position: relative;
        margin-left: 0;
    }
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #005AB2;
    letter-spacing: 0.05em;
    line-height: 2;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 0;
    flex-shrink: 0;
}

/* 趣味カテゴリ */
.hobby-categories {
    margin-bottom: 40px;
}

.hobby-category {
    margin-bottom: 32px;
}

.hobby-category-title {
    font-size: 16px;
    font-weight: 700;
    color: #3EBAB3;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    line-height: 1.75;
    text-align: center;
}

.hobby-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.hobby-item {
    padding: 0 12px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 80px;
    letter-spacing: 0.05em;
    line-height: 2;
    height: 24px;
    display: inline-flex;
    align-items: center;
}

.hobby-items.outdoor .hobby-item {
    background-color: #EDF9F9;
    color: #3EBAB3;
}

.hobby-items.indoor .hobby-item {
    background-color: rgba(235, 141, 76, 0.2);
    color: #EB8D4C;
}

.hobby-items.desire-to-begin .hobby-item {
    background-color: rgba(109, 189, 255, 0.2);
    color: var(--primary-blue);
}

/* Survey Item */
.survey-answer-item {
    background-color : #FFF1E7;
    color: var(--primary-blue);
    font-weight: 700;
    border-radius : 12px;
    padding : 12px;
    width: 100%;
    text-align: left;
    margin-left : auto;
    margin-right : auto;
}

.survey-answer-item +
.survey-answer-item {
    margin-top: 4px;
}

/* ハイライト */
.survey-highlight {
    background-color: #FFF1E7;
    border: 1px solid #005AB2;
    border-radius: 12px;
    padding: 12px 2px;
    margin-bottom: 16px;
    text-align: center;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.highlight-title {
    font-size: 18.0px;
    font-weight: 700;
    color: #005AB2;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

@media (min-width: 769px) {
    .highlight-title {
        font-size: 20px;
        letter-spacing: 0.05em;
    }
}

.survey-answers-large {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.answer-large {
    background-color: #EDF9F9;
    border-radius: 80px;
    padding: 4px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #005AB2;
    text-align: left;
    letter-spacing: 0.05em;
    line-height: 1.72;
    min-height: 36px;
    display: inline-flex;
    width: max-content;
    align-items: center;
    justify-content: center;
}

/* 社員インタビューセクション */
.culture-interviews {
    padding: 80px 0 120px;
    background-color: #EDF9F9;
    position: relative;
    overflow: hidden;
}

.culture-interviews::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 36px;
    width: 360px;
    height: 800px;
    background-color: #3EBAB3;
    border-radius: 24px 0 0 24px;
    z-index: 1;
}

.section-title-script {
    font-family: 'Avenir', sans-serif;
    font-size: 36px;
    color: #005AB2;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.interview-cards {
    position: relative;
    z-index: 2;
    padding: 0 16px;
}

.interview-card {
    display: block;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    /* margin-bottom: 24px; */
    margin-bottom: 32px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.interview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.culture-interview-card-image {
    position: relative;
    height: 148px;
    /* height: 140px; */
    overflow: hidden;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .culture-interview-card-image {
        height: 140px;
    }
}

.culture-interview-card-image img {
    width: 152px;
    height: 168px;
    object-fit: cover;
    position: absolute;
    left: -12px;
    top: -14px;
    border-radius: 24px 0 0 24px;
}

.interview-number {
    position: absolute;
    top: -20.2px;
    left: 12px;
    font-family: 'Avenir', "FigTree", sans-serif;
    font-style: italic;
    font-size: 32px;
    font-weight: 350;
    color: #005AB2;
    /* opacity: 0.2; */
    opacity: 1;
    letter-spacing: 0.1em;
    line-height: 1.366;
    z-index: 3;
}

.interview-content {
    position: absolute;
    top: 19px;
    left: 0;
    right: 0;
    padding: 0 16px;
    z-index: 2;
}

.interview-title {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    margin-top: 8px;
    margin-bottom: 8px;
    letter-spacing: 0.1em;
    margin-left: 140px;
}

.interview-author {
    font-family: 'Avenir', sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: #FFFFFF;
    letter-spacing: 0.1em;
    line-height: 1.366;
    margin-left: 140px;
}

.interview-arrow {
    position: absolute;
    bottom: 3px;
    left: 156px;
    width: 32px;
    height: 32px;
    background-color: #EDF9F9;
    border-radius: 24px;
    opacity: 0.9;
}

.interview-arrow::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 11px;
    width: 11px;
    height: 3px;
    background-color: #005AB2;
    transform: rotate(45deg);
    transform-origin: right center;
}

.interview-arrow::before {
    content: '';
    position: absolute;
    top: 14px;
    left: 11px;
    width: 11px;
    height: 3px;
    background-color: #005AB2;
    transform: rotate(-45deg);
    transform-origin: right center;
}

.culture-interviews.atCultureTop {
    padding-top: 75px;
}

.atCultureTop.section-title-script {
    position: relative;
    z-index: 1;
    padding-top: 0;
    text-align: left;
    color: var(--white);
    font-weight: 400;
    font-size: 24px;
    max-width: 720px;
    margin: 0 auto 16px;
}

@media (max-width: 768px) {
    .atCultureTop.section-title-script {
        margin: 0 0 32px 16px; 
    }
}

.atCultureTop .interview-card {
    background: none;
    transition: transform 0.4s, background 0.4s;
}

.atCultureTop .interview-card:hover {
    background-color: rgba(255,255,255, 0.2);
}

.atCultureTop .interview-content {
    top: 0;
}

.atCultureTop.culture-interviews::before {
    left: initial;
    right: 0;
    width: 85vw;
    min-width: 800px;
    max-width: 1440px;
}

@media (max-width: 768px) {
    .atCultureTop.culture-interviews::before {
        width: calc(100% - 16px);
        min-width: 0;
        right: 0;
    }
}

.atCultureTop .interview-title {
    margin-top: 8px;
    margin-bottom: 8px;
}

@media (min-width: 769px) {
    .atCultureTop .interview-title  br {
        display: none;
    }
}

.atCultureTop .interview-author {
    margin-top: 0;
    margin-bottom: 0;
}

.atCultureTop .interview-arrow {
    left: 172px;
    top: 107px;
}

@media (max-width: 768px) {
    .atCultureTop .interview-arrow {
        left: 154px;
        top: 100px;
    }
}


.atCultureTop .culture-interview-card-image img{
    width: 140px;
    height: 140px;
    top: 0;
    left: 0;
    border-radius: 24px;
}

.atCultureTop .interview-arrow:before,
.atCultureTop .interview-arrow:after {
    display: none;
}

/* PC対応 */
@media (min-width: 769px) {
    .culture-intro-title {
        font-size: 36px;
        margin-bottom: 60px;
    }
    
    .culture-intro-title br.sp-only {
        display: none;
    }
    
    .survey-highlight {
        padding: 13px;
    }
    
    .culture-values {
        padding: 0 0 100px;
    }
    
    .culture-value-item {
        margin-bottom: 100px;
    }
    
    .culture-value-image {
        height: 480px;
        margin-bottom: 0;
    }
    
    .culture-value-label {
        font-size: 48px;
        margin: 35px auto -95px 60px;
    }
    
    .culture-value-item:nth-child(even) .culture-value-label {
        margin: 35px 60px -95px auto;
    }
    
    .culture-value-content {
        padding: 40px;
        max-width: 720px;
    }
    
    .culture-value-title {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    .culture-value-text {
        font-size: 18px;
    }
    
    .culture-survey {
        padding: 120px 0;
    }
    
    .culture-survey .container {
        max-width: 800px;
    }
    
    .section-title {
        font-size: 40px;
        margin-bottom: 80px;
        text-align: left;
    }
    
    .survey-subtitle {
        font-size: 24px;
        max-width: 100%;
        display: inline-block;
        margin-left: 0;
    }
    
    .question-number {
        font-size: 48px;
        margin-right: 32px;
    }
    
    .question-text {
        font-size: 20px;
    }
    
    .answer-large {
        line-height: 2.0
    }
    
    .survey-answers {
        max-width: 100%;
        /* max-width: 520px; */
        margin-left: 0;
        margin-right: 0;
    }
    
    .chart-container {
        width: 320px;
        height: 320px;
        margin: 0;
        display: inline-block;
    }
    
    .chart-container::after {
        left: 320px;
        height: 320px;
    }
    
    .survey-chart {
        display: flex;
        align-items: center;
        gap: 40px;
        margin-left: auto;
        margin-right: auto;
        max-width: 520px;
    }
    
    .chart-legend {
        position: static;
        margin-left: 0;
        gap: 16px;
    }
    
    .hobby-categories {
        display: flex;
        gap: 40px;
        /* max-width: 520px; */
        max-width: 100%;
        margin: 0 0 60px;
    }
    
    .hobby-category {
        flex: 1;
    }
    
    .hobby-category-title {
        font-size: 20px;
        text-align: left;
    }
    
    .culture-interviews {
        padding: 120px 0 160px;
    }
    
    .culture-interviews::before {
        width: 800px;
        height: 440px;
        top: 60px;
        left: 200px;
    }
    
    .section-title-script {
        font-size: 48px;
        margin-bottom: 60px;
    }
    
    .interview-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: 720px;
        margin: 0 auto;
        padding: 0;
    }

    .interview-card {
        margin-bottom: 0;
    }
    
    .interview-title {
        margin-left: 156px;
    }
    
    .interview-author {
        margin-left: 156px;
    }
}