/* Google Fonts - Noto Sans JP */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap');
/* Google Fonts - Zen Antique Soft */
@import url('https://fonts.googleapis.com/css2?family=Zen+Antique+Soft&display=swap');

/* ===================================
   リセット & 基本設定
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', '游ゴシック', 'Yu Gothic', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
    line-height: 1.7;
    color: #333333;
    background-color: #FFFFFF;
    overflow-x: hidden;  /* 横スクロールを防ぐ */
}

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

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

/* ===================================
   共通コンポーネント
   =================================== */

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

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #DE0716;
    text-align: center;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    font-weight: 400;
    color: #666666;
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.8;
}

/* ===================================
   1. ファーストビュー（ヒーローセクション）
   =================================== */

.hero {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 1000 / 415;
    background-color: #DE0716;
    background-image: url('./img/001.png');
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

/* PC版：ヒーロー背景のグラデーション */
@media (min-width: 1201px) {
    body {
        background: linear-gradient(to right,
            #e73441 0%,
            #DE0716 15%,
            #FFFFFF 20%,
            #FFFFFF 80%,
            #DE0716 85%,
            #DE0716 100%
        );
    }
    
    /* ヒーローセクション以降は通常の背景色に戻す */
    .features,
    .mission,
    .details,
    .cta-section,
    .reasons,
    .conditions,
    .flow,
    .application,
    .faq,
    .footer {
        position: relative;
        background-clip: padding-box;
    }
}


/* ===================================
   2. 仕事内容（4つの流れ）
   =================================== */

.features {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 24px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: linear-gradient(to bottom, #FAFAFA, #F5F5F5);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background-color: #FDE8E9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 40px;
    color: #DE0716;
}

.feature-card:hover .feature-icon {
    background-color: #DE0716;
    transform: scale(1.1);
}

.feature-card:hover .feature-icon i {
    color: #FFFFFF;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #DE0716;
    margin-bottom: 16px;
}

.feature-text {
    font-size: 15px;
    font-weight: 400;
    color: #666666;
    line-height: 1.8;
}

/* ===================================
   3. スーパーカーゴの強み
   =================================== */

.mission {
    background-color: #DE0716;
    padding: 60px 0;
    text-align: center;
}

.mission-title {
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.mission-text {
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 1.8;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===================================
   4. 開業までのサポート（3カラム）
   =================================== */

.details {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.detail-card {
    background: linear-gradient(to bottom, #FAFAFA, #F5F5F5);
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.detail-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.detail-card:hover .detail-image img {
    transform: scale(1.1);
}

.detail-content {
    padding: 24px;
}

.detail-title {
    font-size: 20px;
    font-weight: 700;
    color: #DE0716;
    margin-bottom: 16px;
    line-height: 1.4;
}

.detail-text {
    font-size: 15px;
    font-weight: 400;
    color: #333333;
    line-height: 1.8;
}

.detail-subtitle {
    font-size: 17px;
    font-weight: 700;
    color: #DE0716;
    margin-bottom: 12px;
    margin-top: 16px;
    line-height: 1.5;
}

/* ===================================
   5. CTAボタン
   =================================== */

.cta-section {
    background: linear-gradient(135deg, #F5F5F5 0%, #FAFAFA 50%, #FFFFFF 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(17, 167, 59, 0.08) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    width: 360px;
    height: 64px;
    background-color: #11A73B;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    line-height: 64px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(17, 167, 59, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #0e8c32;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(17, 167, 59, 0.4);
}

/* ===================================
   6. スーパーカーゴが選ばれる理由
   =================================== */

.reasons {
    background-color: #F5F5F5;
    padding: 80px 0;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.reason-card {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.reason-title {
    font-size: 20px;
    font-weight: 700;
    color: #DE0716;
    margin-bottom: 16px;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 12px;
}

.reason-title i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    width: 36px;
    height: 36px;
    background-color: #FDE8E9;
    border-radius: 50%;
    color: #DE0716;
    font-size: 18px;
    transition: all 0.3s ease;
}

.reason-card:hover .reason-title i {
    background-color: #DE0716;
    color: #FFFFFF;
    transform: scale(1.1);
}

.reason-text {
    font-size: 15px;
    font-weight: 400;
    color: #333333;
    line-height: 1.8;
    margin-top: 3%;
    margin-bottom: 3%;
}

/* ===================================
   7. 報酬・条件（テーブル）
   =================================== */

.conditions {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.conditions-table {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.conditions-table table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #E5E7EB;
}

.conditions-table th {
    background-color: #DE0716;
    color: #FFFFFF;
    font-weight: 700;
    padding: 16px;
    text-align: left;
    width: 200px;
}

.conditions-table td {
    padding: 16px;
    border: 1px solid #E5E7EB;
    font-weight: 400;
    line-height: 1.8;
}

.conditions-table tr:nth-child(even) {
    background-color: #FAFAFA;
}

/* ===================================
   8. エントリーから開業までの流れ
   =================================== */

.flow {
    background-color: #DE0716;
    padding: 80px 0;
}

.flow .section-title {
    color: #FFFFFF;
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.flow-step {
    text-align: center;
    max-width: 200px;
}

.flow-number {
    width: 50px;
    height: 50px;
    background-color: #FFFFFF;
    color: #DE0716;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.flow-icon {
    font-size: 48px;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.flow-title {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.flow-text {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.flow-text a {
    color: #FFFFFF;
    font-weight: 700;
    text-decoration: underline;
}

.flow-arrow {
    font-size: 32px;
    color: #FFFFFF;
}

/* ===================================
   10. 応募フォーム
   =================================== */

.application {
    background-color: #FFFFFF;
    padding: 80px 0;
}

.application-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
}

.required {
    color: #DE0716;
    font-size: 14px;
    margin-left: 4px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #FAFAFA;
    border: 1px solid #E5E7EB;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border: 2px solid #DE0716;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-submit {
    text-align: center;
    margin-top: 32px;
}

.submit-button {
    width: 100%;
    height: 56px;
    background-color: #11A73B;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #0e8c32;
}

/* ===================================
   11. よくある質問（FAQ）
   =================================== */

.faq {
    background-color: #F5F5F5;
    padding: 80px 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #FFFFFF;
    border: 1px solid #E5E7EB;
    margin-bottom: 16px;
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #FAFAFA;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 700;
    color: #DE0716;
    margin: 0;
}

.faq-toggle {
    font-size: 24px;
    color: #DE0716;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 15px;
}

.faq-answer p {
    padding: 0 20px 20px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    color: #333333;
}

/* ===================================
   12. フッター
   =================================== */

.footer {
    background-color: #DE0716;
    color: #FFFFFF;
    padding: 60px 0 40px;
}

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-phone {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-phone i {
    margin-right: 12px;
}

.footer-hours {
    font-size: 16px;
    font-weight: 400;
    color: #cccccc;
    margin-bottom: 32px;
}

.footer-cta-button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    height: 70px;
    padding: 14px 40px;
    background-color: #FFFFFF;
    color: #DE0716;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 8px;
    line-height: 1.3;
    text-align: center;
    vertical-align: top;
}

.footer-cta-button .button-main {
    display: block;
    white-space: nowrap;
}

.footer-cta-button i {
    display: inline;
    margin-right: 6px;
}

.footer-cta-button .button-subtext {
    font-size: 11px;
    font-weight: 400;
    display: block;
    margin-top: 4px;
    line-height: 1.2;
}

.footer-cta-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-bottom-left {
    text-align: left;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-copyright {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 12px;
}

.footer-links {
    font-size: 14px;
    font-weight: 400;
}

.footer-links a {
    color: #DDDDDD;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-links span {
    margin: 0 12px;
}

.footer-phone-link {
    /* リンクらしくない見た目にする */
    color: inherit;              /* 親要素の色を継承 */
    text-decoration: none;       /* 下線を削除 */
    cursor: pointer;             /* ポインターカーソルは維持 */
    display: block;              /* 領域全体をクリック可能に */
}

.footer-phone-link:hover {
    opacity: 0.8;                /* ホバー時の視覚効果（任意） */
}

/* ===================================
   レスポンシブデザイン
   =================================== */

/* タブレット（768px〜1023px） */
@media (max-width: 1023px) {
    .section-title {
        font-size: 28px;
    }

    .section-description {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .details-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .flow-arrow {
        display: none;
    }

    .flow-steps {
        justify-content: center;
    }
}

/* モバイル（〜767px） */
@media (max-width: 767px) {
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .hero {
        height: 600px;
        max-width: 100%;
        width: 100%;
        margin: 0;
        background-color: #DE0716;
        background-image: url('./img/001_sp.png');
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }

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

    .section-description {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .features {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mission {
        padding: 40px 0;
    }

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

    .mission-text {
        font-size: 14px;
    }

    .details {
        padding: 60px 0;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cta-section {
        padding: 40px 0;
    }

    .cta-button {
        width: 100%;
        max-width: 360px;
    }

    .reasons {
        padding: 60px 0;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .conditions {
        padding: 60px 0;
    }

    .conditions-table th {
        width: auto;
        font-size: 14px;
    }

    .conditions-table td {
        font-size: 14px;
    }

    .flow {
        padding: 60px 0;
    }

    .flow-steps {
        flex-direction: column;
        gap: 32px;
    }

    .flow-arrow {
        display: block;
        transform: rotate(90deg);
    }

    .application {
        padding: 60px 0;
    }

    .faq {
        padding: 60px 0;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .footer {
        padding: 40px 0 30px;
    }

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

    .footer-phone {
        font-size: 28px;
    }

    .footer-cta-button {
        width: 100%;
        max-width: 320px;
        margin: 8px auto;
        height: 70px;
        padding: 12px 32px;
    }
    
    .footer-cta-button .button-subtext {
        font-size: 10px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer-bottom-left {
        text-align: center;
    }

    .footer-logo {
        height: 35px;
    }
}

/* 最小幅の調整 */
@media (max-width: 480px) {
    .conditions-table {
        font-size: 13px;
    }

    .conditions-table th,
    .conditions-table td {
        padding: 12px;
    }
}

/* ===================================
   スクロールボタンのレスポンシブ調整
   =================================== */

@media (max-width: 767px) {
    .scroll-top-button {
        bottom: 20px !important;
        right: 20px !important;
        min-width: 100px !important;
        height: 45px !important;
        font-size: 14px !important;
        padding: 0 16px !important;
    }
}

/* ===================================
   フルHD対応（1600px以上）
   =================================== */

@media (min-width: 1600px) {
    /* コンテナの最大幅を1600pxに拡張 */
    .container {
        max-width: 1600px;
    }
    
    /* ヒーローセクション - フルHD用画像を使用 */
    .hero {
        max-width: 1920px;
        background-image: url('./img/001_fhd.png');
    }
    
    /* ボディのグラデーション背景を1920px基準に調整 */
    body {
        background: linear-gradient(to right,
            #e73441 0%,
            #DE0716 calc((100% - 1920px) / 2),
            #FFFFFF calc((100% - 1920px) / 2),
            #FFFFFF calc(100% - (100% - 1920px) / 2),
            #DE0716 calc(100% - (100% - 1920px) / 2),
            #DE0716 100%
        );
    }
}


.contact-kiyaku-desc {
    font-size: 0.9em;
    margin: 20px 0;
}
.contact-kiyaku-content {
    text-align: left;
    height: 180px;
    padding: 1.5em 1.25em;
    overflow: auto;
    border-radius: 4px;
    background: #FAFAFA;
    border: 1px solid #E5E7EB;
}
.contact-kiyaku-content dl {
  margin: 0 auto 1.5em;
  display: block
}
.contact-kiyaku-content dl:last-of-type {
  margin: 0 auto 0; 
}
.contact-kiyaku-content dt {
  width: 100%;
  margin-bottom: 8px;
  padding-bottom: 8px;
  font-weight: bold;
  font-size: 1.0em;
  border-bottom: 1px solid #DE0716;
}
.contact-kiyaku-content dd {
  width: 100%;
  font-size: 0.9em;
  display: block;
  line-height: 1.8;
}

.contact-kiyaku-content .policy {
    margin: 0 0 1.5em 1em;
}
.contact-kiyaku-content .policy li {
    font-size: 0.9em;
}
.contact-kiyaku-content .policy li + li {
    margin-top: 0.5em;
}
.contact-kiyaku-content .policy li a {
    color: #DE0716;
    text-decoration: underline;
    overflow: hidden;
    outline: none;
}
.contact-kiyaku-content .policy li a img {
    width: 24px;
    height: 25px;
    display: inline-block;
    margin: 0 5px;
}
.contact-kiyaku-content .policy .people {
    margin: 0 0 0 1em;
}

.contact-kiyaku-content .establishment-day {
    margin: 0 auto 1.5em;
}

.contact-kiyaku-content .agreetment-add {}
.contact-kiyaku-content .agreetment-add .note {
    font-size: 0.9em;
    font-weight: bold;
    margin: 0 0 10px;
}
.contact-kiyaku-content .agreetment-add a {
    display: inline-block;
    color: #DE0716;
    line-height: 1.2em;
    text-decoration: underline;
    overflow: hidden;
    outline: none;
}
.contact-kiyaku-content .note {
    font-size: 0.85em;
    color: #666666;
    margin-top: 10px;
}
@media (max-width: 767px) {
    
}
