/* 基本設定 */
:root {
    --color-primary: #0047A0;
    --color-secondary: #F2F5F9;
    --color-accent: #FFD700;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #FFFFFF;
    --font-family: Georgia, 'Times New Roman', Times, serif;

}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.common-blue-title {
    font-weight: 600;
    display: block;
    font-size: 30px;
    background: linear-gradient(90deg, #1a2c91, #0589d7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;

    text-align: center;
    margin-bottom: 0 auto 40px;
    position: relative;
}

.common-blue-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 80px;
    margin: 15px auto 40px;
}


.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 15px auto 0;
}

.btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #003A80;
}

.btn--large {
    padding: 15px 40px;
    font-size: 18px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.header__logo img {
    height: 60px;
    width: auto;
}

.header__nav-list {
    display: flex;
}

.header__nav-item {
    margin-left: 30px;
}

.header__nav-item a {
    font-weight: 500;
    position: relative;
}

.header__nav-item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s;
}

.header__nav-item a:hover::after {
    width: 100%;
}

.header__contact {
    display: flex;
    align-items: center;
}

.header__tel {
    font-weight: 700;
    font-size: 18px;
    margin-right: 20px;
}

.header__contact-btn {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.header__contact-btn:hover {
    background-color: #003A80;
}

.header__menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.header__menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    position: absolute;
    transition: all 0.3s;
}

.header__menu-btn span:nth-child(1) {
    top: 0;
}

.header__menu-btn span:nth-child(2) {
    top: 9px;
}

.header__menu-btn span:nth-child(3) {
    bottom: 0;
}

/* ヒーローセクション（更新版） */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 8s ease-in-out;
    transform: scale(1.05);
    z-index: 1;
}

.hero__slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

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

.hero__content {
    position: absolute;
    top: 63%;
    left: 0;
    transform: translateY(-50%);
    z-index: 3;
    padding: 0 5%;
}


.kv_logo {
    position: absolute;
    right: -79%;
    top: -149%;
    z-index: 2;
}

.kv_logo img {
    max-width: 400px;
    opacity: 0.35;
}

.hero__message {
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 4;
}

.hero__message-line {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.95);
    color: #0047A0;
    font-size: 28px;
    font-weight: 700;
    padding: 15px 30px;
    line-height: 1.4;
    margin: 0;
}

.hero__news {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    background-color: #0047A0;
    color: white;
    height: 70px;
    z-index: 3;
}

.hero__news-label {
    padding: 0 30px;
    font-size: 20px;
    font-weight: 700;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    height: 100%;
    display: flex;
    align-items: center;
}

.hero__news-content {
    flex: 1;
    padding: 0 30px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero__news-date {
    margin-right: 20px;
}

.hero__news-arrow {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #003A80;
    cursor: pointer;
}

.arrow-right {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
}

.hero__scroll {
    position: absolute;
    right: 20px;
    bottom: 100px;
    color: white;
    font-size: 12px;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    z-index: 3;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero {
        height: 65vh;
    }

    .kv_logo {
        right: 4%;
        top: 62%;
    }

    .kv_logo img {
        max-width: 165px;
    }

    .hero__message-line {
        font-size: 22px;
        padding: 12px 20px;
    }

    .hero__news {
        height: 60px;
    }

    .hero__news-label {
        padding: 0 15px;
        font-size: 16px;
    }

    .hero__news-content {
        padding: 0 15px;
        font-size: 14px;
    }

    .hero__news-arrow {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero__news-date {
        display: none;
    }

    .hero__scroll {
        right: 10px;
        bottom: 80px;
        font-size: 10px;
    }
}

/* 事務所について（更新版） */
.about {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/top_bg_fix.png');
    background-size: cover;
    z-index: -1;
    position: fixed
}

.about .container {
    position: relative;
    z-index: 2;
}

.about__inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
}

.about__inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 40px;
}

.about__content {
    flex: 1;
}

.about__title {
    font-weight: 600;
    display: inline-block;
    font-size: 30px;
    background: linear-gradient(90deg, #1a2c91, #0589d7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    text-align: left;
}

.about__subtitle {
    font-size: 20px;
    color: #A9A082;
    margin-bottom: 30px;
    font-weight: 400;
    font-family: 'Times New Roman', serif;
}

.about__text {
    margin-bottom: 40px;
    line-height: 2;
}

.about__more {
    margin-top: 30px;
}

.about__more-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 500px;
    padding: 15px 30px;
    border: 1px solid #A9A082;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.about__more-link::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #A9A082;
    border-right: 2px solid #A9A082;
    transform: rotate(45deg);
    transition: all 0.3s;
}

.about__more-link:hover {
    background-color: rgba(169, 160, 130, 0.1);
}

.about__more-link:hover::after {
    transform: rotate(45deg) translateX(5px);
}

.about__image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 20px;
    padding-left: 20px;
}

.about__image {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.about__image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: #D6E5F3;
    border-radius: 4px;
    z-index: -1;
}

.about__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.back-to-top {
    position: fixed;
    /* bottom: 30px;
    right: 30px; */
    z-index: 100;
    /* Difyのバブル型チャットを設置したため少し上へ調整 ↓*/
    bottom: 95px;
    right: 21px;
}

.back-to-top__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #0047A0;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.back-to-top__link:hover {
    background-color: #003A80;
    transform: translateY(-5px);
}

.back-to-top__arrow {
    display: block;
    width: 12px;
    height: 12px;
    border-left: 3px solid white;
    border-top: 3px solid white;
    transform: rotate(45deg) translateY(2px);
}

/* レスポンシブ対応 */
@media (min-width: 768px) {
    .about__inner {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .about__content {
        flex: 1;
    }

    .about__image-wrapper {
        flex: 1;
    }

    .about__text br {
        display: block;
    }
}

@media (max-width: 767px) {
    .about {
        padding: 60px 0;
    }

    .about__title {
        font-size: 24px;
    }

    .about__subtitle {
        font-size: 18px;
    }

    .about__text br {
        display: block;
    }

    .back-to-top__link {
        width: 50px;
        height: 50px;
    }
}

/* サービス内容 */
.service {
    padding: 80px 0;
    background-color: var(--color-primary);
    color: var(--color-white);
}

.service .section-title::after {
    background-color: var(--color-white);
}

.service__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service__item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.service__item:hover {
    transform: translateY(-5px);
}

.service__number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-accent);
}

.service__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.service__text {
    font-size: 15px;
    line-height: 1.6;
}


.service .btn {
    background-color: var(--color-white);
    color: var(--color-primary);
}

.service .btn:hover {
    background-color: #F0F0F0;
}

/* サービス一覧 */
.service-list {
    padding: 80px 0;
    background-color: #fff;
}

.service-list__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-list__item {
    text-align: center;
    transition: transform 0.3s;
}

.service-list__item:hover {
    transform: translateY(-5px);
}

.service-list__image {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
}

.service-list__image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.service-list__item:hover .service-list__image img {
    transform: scale(1.05);
}

.service-list__title {
    font-size: 18px;
    font-weight: 700;
}

.service-list__more {
    text-align: center;
    margin-top: 40px;
}

/* スタッフ紹介（更新版） */
.staff {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.staff__header {
    text-align: center;
    margin-bottom: 60px;
}

.staff__title {
    font-size: 28px;
    font-weight: 700;
    color: #0047A0;
    margin-bottom: 10px;
}

.staff__subtitle {
    font-size: 20px;
    color: #A9A082;
    font-weight: 400;
    font-family: 'Times New Roman', serif;
}

.staff__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.staff__item {
    text-align: center;
}

.staff__image {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 4px;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.staff__image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.staff__item:hover .staff__image img {
    transform: scale(1.05);
}

.staff__position {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.staff__name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.staff__name-en {
    font-size: 16px;
    color: #0047A0;
    font-family: 'Times New Roman', serif;
}

.staff__more {
    text-align: center;
    margin-top: 40px;
}

.staff__more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 60px;
    border: 1px solid #A9A082;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    min-width: 300px;
}

.staff__more-link::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #A9A082;
    border-right: 2px solid #A9A082;
    transform: rotate(45deg);
    position: absolute;
    right: 20px;
    transition: all 0.3s;
}

.staff__more-link:hover {
    background-color: rgba(169, 160, 130, 0.1);
}

.staff__more-link:hover::after {
    transform: rotate(45deg) translateX(5px);
}

.staff__decoration {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.staff__decoration-image {
    max-height: 80vh;
    opacity: 0.7;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .staff__decoration-image {
        max-height: 60vh;
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .staff {
        padding: 60px 0;
    }
    
    .staff__title {
        font-size: 24px;
    }
    
    .staff__subtitle {
        font-size: 18px;
    }
    
    .staff__items {
        gap: 30px;
    }
    
    .staff__name {
        font-size: 20px;
    }
    
    .staff__decoration {
        top: 12%;
    }
    
    .staff__decoration-image {
        max-height: 40vh;
        opacity: 0.9;
    }
}

@media (max-width: 480px) {
    .staff__items {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .staff__image {
        max-width: 200px;
    }
    
    .staff__more-link {
        min-width: 250px;
        padding: 12px 40px;
    }
    
}


/* お知らせ */
.news {
    padding: 80px 0;
    background-color: #fff;
}

.news__items {
    margin-bottom: 40px;
}

.news__item {
    padding: 20px 0;
    border-bottom: 1px solid #E0E0E0;
}

.news__meta {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.news__date {
    font-size: 14px;
    color: var(--color-text-light);
    margin-right: 15px;
}

.news__tag {
    font-size: 12px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 4px 10px;
    border-radius: 4px;
}

.news__title {
    font-size: 16px;
    font-weight: 500;
}


/* コラム */
.column {
    padding: 80px 0;
    background-color: var(--color-secondary);
}

.column__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.column__item {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.column__item:hover {
    transform: translateY(-5px);
}

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

.column__title {
    font-size: 18px;
    font-weight: 700;
    padding: 20px;
}

.column__more {
    text-align: center;
    margin-top: 40px;
}

/* 採用情報 */
.recruit {
    padding: 80px 0;
}

.recruit__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.recruit__text {
    margin-bottom: 30px;
}

/* お問い合わせ */
.contact {
    padding: 80px 0;
    background-color: var(--color-secondary);
}

.contact__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact__text {
    margin-bottom: 20px;
}

.contact__tel {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 30px;
}

/* フッター */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer__content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer__info {
    flex: 1;
    min-width: 250px;
}

.footer__logo {
    margin-bottom: 20px;
}

.footer__address {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.footer__tel {
    font-size: 14px;
}

.footer__nav {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer__nav-group {
    flex: 1;
    min-width: 150px;
}

.footer__nav-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.footer__nav-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-white);
    margin-top: 8px;
}

.footer__nav-list li {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer__nav-list a:hover {
    text-decoration: underline;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer__copyright {
    font-size: 12px;
}

/* レスポンシブ対応 */

@media (max-width: 768px) {

    .header__nav,
    .header__contact {
        display: none;
    }

    .header__menu-btn {
        display: block;
    }

    .header.is-open .header__nav {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }

    .header.is-open .header__nav-list {
        flex-direction: column;
    }

    .header.is-open .header__nav-item {
        margin: 0 0 15px 0;
    }

    .section-title {
        font-size: 24px;
    }

}

@media (max-width: 480px) {
    .header__inner {
        height: 60px;
    }

    .header__logo img {
        height: 30px;
    }


    .service__number {
        font-size: 28px;
    }

    .service__title {
        font-size: 18px;
    }

    .contact__tel {
        font-size: 24px;
    }

    .btn--large {
        padding: 12px 30px;
        font-size: 16px;
    }
}


/*――――――――――――――シナリオ型誘導フォームセクション―――――――――――――― */
/* ガイド付きフォームのスタイル */
.contact-form__inner{
    max-width: 880px;
    margin: 0 auto;
    padding: 0 20px;
}
.contact-form__lead {
    margin-bottom: 2rem;
}
.guided-form {
    max-width: 880px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.guided-form__progress {
    padding: 20px;
    background-color: #f9f9f9;
    border-bottom: 1px solid #eee;
}

.guided-form__progress-bar {
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.guided-form__progress-indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #0047A0;
    transition: width 0.3s ease;
    width: 25%; /* 初期値 */
}

.guided-form__steps {
    display: flex;
    justify-content: space-between;
}

.guided-form__step {
    font-size: 12px;
    color: #999;
    position: relative;
    transition: color 0.3s ease;
}

.guided-form__step.active {
    color: #0047A0;
    font-weight: 500;
}

.guided-form__container {
    position: relative;
    min-height: 400px;
}

.guided-form__step-content {
    padding: 30px;
    display: none;
    animation: fadeIn 0.5s ease;
}

.guided-form__step-content.active {
    display: block;
}

.guided-form__question {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
}

.guided-form__options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.guided-form__options--checkbox {
    margin-bottom: 30px;
}

.guided-form__option {
    position: relative;
    cursor: pointer;
}

.guided-form__option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.guided-form__option-content {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.guided-form__option input:checked + .guided-form__option-content {
    border-color: #0047A0;
    background-color: rgba(0, 71, 160, 0.05);
    box-shadow: 0 2px 8px rgba(0, 71, 160, 0.1);
}

.guided-form__option-icon {
    font-size: 24px;
    margin-right: 15px;
}

.guided-form__option-text {
    font-size: 16px;
}

.guided-form__field {
    margin-bottom: 20px;
}

.guided-form__label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

.guided-form__required {
    display: inline-block;
    background-color: #E74C3C;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: normal;
}

.guided-form__input,
.guided-form__textarea,
.guided-form__select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.guided-form__input:focus,
.guided-form__textarea:focus,
.guided-form__select:focus {
    border-color: #0047A0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 71, 160, 0.1);
}

.guided-form__actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.guided-form__button {
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.guided-form__button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.guided-form__button--next {
    background-color: #0047A0;
    color: white;
}

.guided-form__button--next:hover:not(:disabled) {
    background-color: #003A80;
}

.guided-form__button--back {
    background-color: #f5f5f5;
    color: #666;
}

.guided-form__button--back:hover {
    background-color: #e0e0e0;
}

.guided-form__button--primary {
    background-color: #0047A0;
    color: white;
    padding: 15px 30px;
}

.guided-form__button--primary:hover {
    background-color: #003A80;
}

.guided-form__button--secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
    padding: 15px 30px;
}

.guided-form__button--secondary:hover {
    background-color: #e0e0e0;
}

.guided-form__final-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.guided-form__final-option {
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
}

.guided-form__final-option:hover {
    border-color: #0047A0;
    box-shadow: 0 5px 15px rgba(0, 71, 160, 0.1);
}

.guided-form__final-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.guided-form__final-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.guided-form__completion {
    text-align: center;
    padding: 40px 20px;
}

.guided-form__completion-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: #4CAF50;
    color: white;
    font-size: 40px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.guided-form__completion-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.guided-form__completion-message {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .guided-form__options {
        grid-template-columns: 1fr;
    }
    
    .guided-form__final-options {
        grid-template-columns: 1fr;
    }
    
    .guided-form__step-content {
        padding: 20px;
    }
    
    .guided-form__question {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .guided-form__steps {
        display: none;
    }
    
    .guided-form__actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .guided-form__button {
        width: 100%;
    }
    
    .guided-form__button--back {
        order: 2;
    }
    
    .guided-form__button--next {
        order: 1;
    }
}

