main {
    width: 100%;
}

h1 {
    text-align: center;
    color: #2399E1;
    font-size: 36px;
    font-weight: bold;
    margin: 50px auto 20px;
}

h2 {
    text-align: center;
    /* color: #222; */
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    /* font-weight: 400; */
    line-height: normal;
    /* border-bottom: 2px dashed #2399E1; */
    /* width: 80%; */
    margin: 50px auto;
    /* background-color: #2399E1; */
    background-image: linear-gradient(to right, #6bafff, #8888ff, #6bafff);
    padding: 20px 0;
    border-radius: 5px;
}

section {
    margin: 50px auto;
    width: 80%;
}

/* 技術・研究ページ用スタイル */
.hero {
    text-align: center;
    margin: 30px auto;
}

.hero p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

/* SECURITY ACTIONページ用スタイル */
.declaration-footer-inline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.footer-logo {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo img {
    max-width: 200px;
    height: auto;
}

.footer-text {
    text-align: right;
}

.declaration-footer-inline .date {
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.declaration-footer-inline .signature {
    font-weight: bold;
    color: #2399E1;
    line-height: 1.4;
}

.security-declaration {
    margin: 30px auto;
    width: 80%;
}

.security-principles {
    margin: 50px auto;
    width: 80%;
    box-sizing: border-box;
}

.security-principles .solution-item {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.security-principles ol {
    list-style-type: decimal;
    counter-reset: item;
    padding-left: 0;
}

.security-principles ol li {
    margin: 10px 0;
    padding: 0 20px 0 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #2399E1;
    border-radius: 0 5px 5px 0;
}

.security-principles ol li h3 {
    color: #2399E1;
    font-size: 18px;
    margin-bottom: 10px;
}

.download-section {
    margin: 50px auto;
    width: 80%;
}

.download-section h2 {
    text-align: center;
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    line-height: normal;
    margin: 50px auto;
    background-image: linear-gradient(to right, #6bafff, #8888ff, #6bafff);
    padding: 20px 0;
    border-radius: 5px;
}

.download-button {
    text-align: center;
    margin: 20px 0;
}

.download-button .btn {
    background-color: #2399E1;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.download-button .btn:hover {
    background-color: #1976d2;
}

.download-button .btn span {
    font-weight: bold;
}

/* SECURITY ACTIONページのスマホ対応 */
@media (max-width: 768px) {
    .security-declaration {
        width: 95%;
        margin: 20px auto;
    }
    
    .security-principles {
        width: 95%;
        margin: 20px auto;
    }
    
    .declaration-footer-inline {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .footer-logo img {
        max-width: 150px;
    }
    
    .footer-text {
        text-align: right;
    }
    
    .download-section {
        width: 95%;
        margin: 20px auto;
    }
    
    .declaration-footer-inline .date,
    .declaration-footer-inline .signature {
        font-size: 14px;
    }
    
    .security-principles ol li {
        margin: 8px 0;
        padding: 0 15px;
    }
    
    .security-principles ol li h3 {
        font-size: 16px;
    }
    
    .security-principles ol li p {
        font-size: 14px;
    }
    
    .download-section h2 {
        font-size: 20px;
        margin: 30px auto;
        padding: 15px 0;
    }
    
    .download-button .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

.tech-overview {
    margin: 50px auto;
    width: 80%;
}

.tech-overview h2 {
    text-align: center;
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    line-height: normal;
    margin: 50px auto;
    background-image: linear-gradient(to right, #6bafff, #8888ff, #6bafff);
    padding: 20px 0;
    border-radius: 5px;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 30px;
}

.tech-category {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #2399E1;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tech-category h3 {
    color: #2399E1;
    font-size: 20px;
    margin-bottom: 15px;
}

.tech-category p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tech-link {
    display: inline-block;
    padding: 10px 20px;
    background: #2399E1;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.tech-link:hover {
    background: #1976d2;
}

.damage-detection-tech, .ai-development-process {
    margin: 50px auto;
    width: 80%;
}

.damage-detection-tech h2, .ai-development-process h2 {
    text-align: center;
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    line-height: normal;
    margin: 50px auto;
    background-image: linear-gradient(to right, #6bafff, #8888ff, #6bafff);
    padding: 20px 0;
    border-radius: 5px;
}

.ai-development-process > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.step {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #2399E1;
    text-align: left;
    position: relative;
}

.step:not(:last-child):after {
    content: "→";
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #2399E1;
    font-weight: bold;
}

.step h3 {
    color: #2399E1;
    font-size: 20px;
    margin-bottom: 15px;
}

.step p {
    color: #666;
    line-height: 1.6;
}

.benefits {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #2399E1;
    margin-top: 40px;
}

.benefits h3 {
    color: #2399E1;
    font-size: 20px;
    margin-bottom: 20px;
}

.benefits ul {
    list-style: none;
    padding: 0;
}

.benefits ul li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    line-height: 1.6;
}

.benefits ul li:last-child {
    border-bottom: none;
}

.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.before, .after {
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.before {
    background: #fff5f5;
    border-left: 4px solid #f44336;
}

.after {
    background: #f0f8f0;
    border-left: 4px solid #4caf50;
}

.before h4, .after h4 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.before h4 {
    color: #d32f2f;
}

.after h4 {
    color: #388e3c;
}

.before ul, .after ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.before ul li, .after ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    line-height: 1.5;
}

.before ul li:last-child, .after ul li:last-child {
    border-bottom: none;
}

.case-study {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #2399E1;
    margin-top: 40px;
}

.case-study h3 {
    color: #2399E1;
    font-size: 20px;
    margin-bottom: 15px;
}

.case-study p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-cta {
    text-align: center;
    background: linear-gradient(135deg, #2399E1, #1976d2);
    color: white;
    padding: 50px 30px;
    border-radius: 15px;
    margin: 60px auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn.primary {
    background-color: #fff;
    color: #2399E1;
}

.btn.primary:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
}

.btn.secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn.secondary:hover {
    background-color: #fff;
    color: #2399E1;
}

.hello_img{
    margin: 0;
    width: 100%;
}

.hello_img img {
    width: 100%;
    /* border-radius: 1px; */
}

.news ul {
    margin: auto;
    padding: 0;
    width: 100%;
}

.news ul li {
    margin-top: 20px;
    padding-bottom: 5px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(35, 153, 225, 0.5);
}

.message_from_the_ceo .text-right {
    text-align: right;
}

.business_description ul {
    margin: auto;
}

.business_description ul li {
    margin-top: 20px;
    padding-bottom: 5px;
    display: flex;
    justify-content: left;
    border-bottom: 1px solid rgba(35, 153, 225, 0.5);
    gap: 20px;
}

.business_description ul li span:first-child {
    flex-basis: 50px;
    flex-grow: 0;
    flex-shrink: 0;
}

.company_overview ul {
    margin: auto;
}

.company_overview ul li {
    margin-top: 20px;
    padding-bottom: 5px;
    display: flex;
    justify-content: left;
    border-bottom: 1px solid rgba(35, 153, 225, 0.5);
    gap: 20px;
}

.company_overview ul li span:first-child {
    flex-basis: 50px;
    flex-grow: 0;
    flex-shrink: 0;
}

.hatsuri img {
    width: 90%;
    display: block;
    margin: 0 auto;
}

.panorama img {
    width: 90%;
    display: block;
    margin: 0 auto;
}

.digimeasure-app img {
    width: 90%;
    display: block;
    margin: 0 auto;
}

.download-button {
    text-align: center;
    margin: 20px 0;
}

.download-button .btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #1a75b0;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
}

.ai-damage-detection img {
    width: 90%;
    display: block;
    margin: 0 auto;
}

/* 事業紹介ページ用スタイル */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.service-category {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #2399E1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-category h3 {
    color: #2399E1;
    font-size: 20px;
    margin-bottom: 15px;
}

.service-category p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-link {
    display: inline-block;
    padding: 10px 20px;
    background: #2399E1;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: background 0.3s ease;
    margin-top: auto;
}

.service-link:hover {
    background: #1976d2;
}

.solution-item {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    border-left: 5px solid #2399E1;
}

.solution-item h3 {
    color: #2399E1;
    font-size: 24px;
    margin-bottom: 20px;
}

.features {
    margin-top: 30px;
}

.feature {
    margin: 30px 0;
    padding: 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature h4 {
    color: #2399E1;
    font-size: 18px;
    margin-bottom: 15px;
}

.feature img {
    width: 100%;
    border-radius: 8px;
    margin-top: 20px;
}

.feature ul {
    margin-top: 15px;
    padding-left: 20px;
}

.feature ul li {
    margin: 8px 0;
    line-height: 1.6;
}

.note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    font-style: italic;
}

.case-study {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    border-left: 4px solid #2399E1;
}

.case-study h3 {
    color: #2399E1;
    margin-bottom: 15px;
}

/* 受託開発セクション用スタイル */
.development-examples, .customer-benefits {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.development-examples h3, .customer-benefits h3 {
    color: #2399E1;
    font-size: 18px;
    margin-bottom: 15px;
}

.development-examples ul, .customer-benefits ul {
    list-style: none;
    padding: 0;
}

.development-examples ul li, .customer-benefits ul li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    line-height: 1.6;
}

.development-examples ul li:last-child, .customer-benefits ul li:last-child {
    border-bottom: none;
}

.reference-note {
    margin-top: 20px;
    padding: 15px;
    background: #e3f2fd;
    border-radius: 5px;
    text-align: center;
}

.reference-note a {
    color: #1976d2;
    text-decoration: none;
    font-weight: bold;
}

.reference-note a:hover {
    text-decoration: underline;
}

/* 技術・研究ページのスマホ対応 */
@media (max-width: 768px) {
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }
    
    .tech-category {
        padding: 20px;
    }
    
    .tech-category h3 {
        font-size: 18px;
    }
    
    .tech-overview {
        width: 95%;
        margin: 30px auto;
    }
    
    .tech-overview h2 {
        font-size: 20px;
        margin: 30px auto;
        padding: 15px 0;
    }
    
    .damage-detection-tech, .ai-development-process {
        width: 95%;
        margin: 30px auto;
    }
    
    .damage-detection-tech h2, .ai-development-process h2 {
        font-size: 20px;
        margin: 30px auto;
        padding: 15px 0;
    }
    
    .ai-development-process > p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 30px 0;
    }
    
    .step {
        padding: 20px;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
    
    .step h3 {
        font-size: 18px;
    }
    
    .step p {
        font-size: 14px;
    }
    
    .benefits {
        padding: 20px;
        margin-top: 30px;
    }
    
    .benefits h3 {
        font-size: 18px;
    }
    
    .benefits ul li {
        font-size: 14px;
        padding: 8px 0;
    }
    
    .comparison {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }
    
    .before, .after {
        padding: 20px;
    }
    
    .before h4, .after h4 {
        font-size: 16px;
    }
    
    .case-study {
        padding: 20px;
        margin-top: 30px;
    }
    
    .case-study h3 {
        font-size: 18px;
    }
    
    .contact-cta {
        padding: 30px 20px;
        margin: 40px auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* タブレット対応 */
@media (min-width: 769px) and (max-width: 1024px) {
    .tech-grid {
        gap: 30px;
    }
    
    .process-steps {
        gap: 25px;
    }
    
    .step:not(:last-child):after {
        right: -15px;
        font-size: 20px;
    }
}

/* 事業紹介ページのスマホ対応 */
@media (max-width: 768px) {
    /* 全体的な調整 */
    section {
        width: 95%;
        margin: 30px auto;
    }
    
    h1 {
        font-size: 28px;
        margin: 30px auto 15px;
    }
    
    h2 {
        font-size: 20px;
        margin: 30px auto;
        padding: 15px 0;
    }
    
    /* ヒーローセクション */
    .hero p {
        font-size: 16px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    /* サービス概要グリッド */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }
    
    .service-category {
        padding: 20px;
    }
    
    .service-category h3 {
        font-size: 18px;
    }
    
    /* ソリューションアイテム */
    .solution-item {
        padding: 20px;
        margin: 20px 0;
    }
    
    .solution-item h3 {
        font-size: 20px;
    }
    
    /* 機能グリッド */
    .features {
        margin-top: 20px;
    }
    
    .feature {
        margin: 20px 0;
        padding: 15px;
    }
    
    .feature h4 {
        font-size: 16px;
    }
    
    /* 画像サイズ調整 */
    .feature img, .digimeasure-app img, .hatsuri img, .panorama img {
        width: 100%;
    }
    
    /* 開発事例・お客様メリット */
    .development-examples, .customer-benefits {
        padding: 15px;
        margin: 15px 0;
    }
    
    .development-examples h3, .customer-benefits h3 {
        font-size: 16px;
    }
    
    .development-examples ul li, .customer-benefits ul li {
        padding: 8px 0;
        font-size: 14px;
    }
    
    /* お問い合わせCTA */
    .contact-cta {
        padding: 30px 15px;
        margin: 40px auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    /* リストの調整 */
    .solution-item ul {
        padding-left: 15px;
    }
    
    .solution-item ul li {
        margin: 8px 0;
        font-size: 14px;
    }
    
    /* ダウンロードボタン */
    .download-button {
        margin: 15px 0;
    }
    
    .download-button .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    /* 参照案内 */
    .reference-note {
        margin-top: 15px;
        padding: 12px;
        font-size: 14px;
    }
}

/* 事業紹介ページのタブレット対応 */
@media (min-width: 769px) and (max-width: 1024px) {
    section {
        width: 90%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .solution-item {
        padding: 30px;
    }
    
    .feature img, .digimeasure-app img, .hatsuri img, .panorama img {
        width: 95%;
    }
}

/* 会社情報ページ用スタイル */
.message_from_the_ceo .solution-item {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    border-left: 5px solid #2399E1;
}

.message_from_the_ceo .solution-item p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.message_from_the_ceo .text-right {
    text-align: right;
    font-weight: bold;
    color: #2399E1;
    margin-top: 30px;
}

.business_description .solution-item,
.company_overview .solution-item {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
    border-left: 5px solid #2399E1;
}

.business_description ul,
.company_overview ul {
    margin: auto;
    padding: 0;
}

.business_description ul li,
.company_overview ul li {
    margin-top: 20px;
    padding-bottom: 15px;
    display: flex;
    justify-content: left;
    border-bottom: 1px solid rgba(35, 153, 225, 0.3);
    gap: 20px;
    align-items: flex-start;
}

.business_description ul li span:first-child,
.company_overview ul li span:first-child {
    flex-basis: 80px;
    flex-grow: 0;
    flex-shrink: 0;
    font-weight: bold;
    color: #2399E1;
}

.business_description ul li span:last-child,
.company_overview ul li span:last-child {
    flex: 1;
    line-height: 1.6;
}

/* 会社情報ページのスマホ対応 */
@media (max-width: 768px) {
    .message_from_the_ceo .solution-item,
    .business_description .solution-item,
    .company_overview .solution-item {
        padding: 20px;
        margin: 20px 0;
    }
    
    .message_from_the_ceo .solution-item p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .business_description ul li,
    .company_overview ul li {
        flex-direction: column;
        gap: 5px;
        padding-bottom: 10px;
    }
    
    .business_description ul li span:first-child,
    .company_overview ul li span:first-child {
        flex-basis: auto;
        font-size: 14px;
    }
    
    .business_description ul li span:last-child,
    .company_overview ul li span:last-child {
        font-size: 14px;
    }
}

/* お問い合わせページ用スタイル */
.contact-form-content {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2399E1;
    box-shadow: 0 0 0 3px rgba(35, 153, 225, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.required {
    color: #f44336;
    font-weight: bold;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.checkbox-label a {
    color: #2399E1;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 40px;
}

.form-submit .btn {
    padding: 15px 40px;
    font-size: 18px;
    background: #2399E1;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit .btn:hover {
    background: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 153, 225, 0.3);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.contact-method {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.contact-method h3 {
    color: #2399E1;
    font-size: 18px;
    margin-bottom: 15px;
}

.contact-method p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.contact-method strong {
    color: #333;
    font-size: 18px;
}

/* お問い合わせページのスマホ対応 */
@media (max-width: 768px) {
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 14px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .form-submit .btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-method {
        padding: 20px;
    }
    
    .contact-method h3 {
        font-size: 16px;
    }
    
    .contact-method strong {
        font-size: 16px;
    }
}

/* 確認ページ用スタイル */
.confirm-content {
    margin-top: 30px;
}

.confirm-item {
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #2399E1;
}

.confirm-item label {
    display: block;
    font-weight: bold;
    color: #2399E1;
    margin-bottom: 8px;
    font-size: 14px;
}

.confirm-value {
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

.message-content {
    white-space: pre-wrap;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

.confirm-actions {
    text-align: center;
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.confirm-actions .btn {
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.confirm-actions .btn.primary {
    background: #2399E1;
    color: white;
}

.confirm-actions .btn.primary:hover {
    background: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 153, 225, 0.3);
}

.confirm-actions .btn.secondary {
    background: #6c757d;
    color: white;
}

.confirm-actions .btn.secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* 確認ページのスマホ対応 */
@media (max-width: 768px) {
    .confirm-item {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .confirm-item label {
        font-size: 13px;
    }
    
    .confirm-value {
        font-size: 14px;
    }
    
    .message-content {
        padding: 10px;
    }
    
    .confirm-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .confirm-actions .btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* 完了ページ用スタイル */
.complete-message {
    margin-top: 30px;
}

.complete-content {
    margin-top: 30px;
}

.complete-item {
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
}

.complete-item label {
    display: block;
    font-weight: bold;
    color: #4caf50;
    margin-bottom: 8px;
    font-size: 14px;
}

.complete-value {
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

.complete-notice {
    background: #e8f5e8;
    padding: 25px;
    border-radius: 10px;
    margin-top: 40px;
    border-left: 4px solid #4caf50;
}

.complete-notice h3 {
    color: #388e3c;
    font-size: 18px;
    margin-bottom: 15px;
}

.complete-notice ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.complete-notice ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(76, 175, 80, 0.3);
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.complete-notice ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.complete-notice ul li:last-child {
    border-bottom: none;
}

.complete-actions {
    text-align: center;
    margin-top: 40px;
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.complete-actions .btn {
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.complete-actions .btn.primary {
    background: #2399E1;
    color: white;
}

.complete-actions .btn.primary:hover {
    background: #1976d2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 153, 225, 0.3);
}

.complete-actions .btn.secondary {
    background: #6c757d;
    color: white;
}

.complete-actions .btn.secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* 完了ページのスマホ対応 */
@media (max-width: 768px) {
    .complete-item {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .complete-item label {
        font-size: 13px;
    }
    
    .complete-value {
        font-size: 14px;
    }
    
    .complete-notice {
        padding: 20px;
        margin-top: 30px;
    }
    
    .complete-notice h3 {
        font-size: 16px;
    }
    
    .complete-notice ul li {
        font-size: 14px;
        padding: 6px 0;
        padding-left: 18px;
    }
    
    .complete-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .complete-actions .btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* モーダルウィンドウ用スタイル */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

.modal h2 {
    color: #333;
    margin-bottom: 20px;
    padding-right: 30px;
    background: none;
    text-align: left;
    font-size: 24px;
    font-weight: bold;
}

.modal h3 {
    color: #2399E1;
    font-size: 18px;
    margin: 25px 0 15px 0;
}

.modal p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.modal li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* モーダルウィンドウのスマホ対応 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
        max-height: 85vh;
    }
    
    .modal h2 {
        font-size: 18px;
        padding-right: 25px;
    }
    
    .modal h3 {
        font-size: 16px;
    }
    
    .modal p, .modal li {
        font-size: 14px;
    }
}
