/* 基本設定 */
body {
    font-family: 'Hiragino Sans', 'ヒラギノ角ゴ ProN', 'Meiryo', 'メイリオ', sans-serif;
    line-height: 1.7; /* 読みやすさのためLPより少し広めに */
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
}

.container {
    max-width: 1000px; /* LPより少し広めの最大幅 */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* ヘッダー */
.site-header {
    background-color: #ffffff;
    height: 80px;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky; /* スクロールしても追従 */
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-size: 1.8em;
    font-weight: bold;
    margin: 0;
}
.site-logo img {
    height: 80px;
}

.site-logo a {
    color: #2c3e50;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    font-size: 1.0em;
    color: #555;
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

#header {
    display: none;
}

/* ヒーローセクション（トップビジュアル） */
.hero-section {
    background-image: url("../img/mv.jpg");
    background-repeat: no-repeat;
    background-size: cover ;
    background-position: center center;
    height: 350px;
    opacity: 0.6;
}

.hero-sub-catch {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 600;
    color: #007bff;
}

.hero-catch {
    font-size: 3.5em; /* LPよりさらに大きめに */
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: bold;
}

.hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 共通セクションスタイル */
.section-block {
    padding: 10px 0 20px 0; /* 上下のパディングをゆったりと */
    margin-bottom: 0; /* セクション間のマージンはパディングで吸収 */
}

.section-block.bg-light {
    background-color: #ccecff; /* セクションごとの背景色を切り替え */
}

.section-title {
    font-size: 2.5em; /* 見出しを少し大きめに */
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px; /* 下のコンテンツとの余白 */
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px; /* 少し長めのライン */
    height: 5px;
    background-color: #007bff;
    margin: 15px auto 0;
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.8em;
    color: #34495e;
    margin-top: 50px;
    margin-bottom: 25px;
    border-left: 6px solid #007bff;
    padding-left: 15px;
}

.description-text {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

.text-content p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 1.2em;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background-color: #007bff;
    color: white;
    box-shadow: 0 8px 15px rgba(0, 123, 255, 0.3);
}

.primary-btn:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 123, 255, 0.4);
}

.secondary-btn {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
    box-shadow: none;
}

.secondary-btn:hover {
    background-color: #e0f2ff;
    color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.center-btn-area {
    text-align: center;
    margin-top: 60px;
}

/* コンテンツグリッド（画像とテキスト） */
.content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.content-grid.reverse-order {
    flex-direction: row-reverse; /* 左右の配置を反転 */
}

.content-grid .text-content {
    flex: 1;
}

.content-grid .image-content {
    flex: 1;
    text-align: center;
}

.content-grid .image-content img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 350px;
}

/* チェックリスト */
.check-list {
    list-style: none;
    padding: 0;
    margin: 30px auto;
    max-width: 700px;
}

.check-list li {
    font-size: 1.15em;
    margin-bottom: 15px;
    padding-left: 40px;
    position: relative;
}

.check-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: #28a745;
    font-size: 1.3em;
    line-height: 1.7;
}

/* 事業内容カード */
.business-card-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* 小さい画面で折り返す */
    margin-top: 40px;
    margin-bottom: 60px;
}

.business-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    flex: 1;
    min-width: 300px; /* カードの最小幅 */
    max-width: 45%; /* 2列表示 */
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.business-card .business-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: #e0f2ff;
    padding: 10px;
    object-fit: contain;
}

.business-card h3 {
    font-size: 1.6em;
    margin-top: 0;
    margin-bottom: 15px;
    border-left: none; /* 個別のカードではラインを消す */
    padding-left: 0;
    color: #2c3e50;
}

.business-card p {
    font-size: 1em;
    line-height: 1.7;
}


/* 私たちの想い */
.vision-mission-block {
    text-align: center;
    margin-bottom: 60px;
}

.vision-mission-block h3 {
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 20px;
    border-left: none;
    padding-left: 0;
    color: #007bff;
}

.vision-mission-block p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 1.5em;
}

.ceo-message-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background-color: #fefefe;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
}

.ceo-text-content {
    flex-grow: 1;
    text-align: left;
}

.ceo-text-content h3 {
    margin-top: 0;
    font-size: 1.8em;
    border-left: none;
    padding-left: 0;
    color: #2c3e50;
}

.ceo-text-content p {
    font-size: 1.1em;
}

.value-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.value-list li {
    background-color: #e0f7fa; /* 淡い水色 */
    padding: 20px 30px;
    border-radius: 8px;
    flex: 1;
    min-width: 280px;
    max-width: 32%;
    box-sizing: border-box;
    text-align: center;
    font-size: 1.1em;
    color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 会社概要 */
.company-body {
    display: flex;
    margin: auto;
    padding: auto;
    justify-content: space-between;
}
.about-table {
    width: 60%;
    padding: 0 10px;
    background-color: #fff;
    align-content: center;
    align-items: center;
    margin: 0 0 auto 0;
}
tr {
    align-content: center;
    align-content: normal;
}
.about-head {
    padding: 20px 10px;
    border-bottom: 2px dotted #2C2D35;
}
.about-content {
    padding: 20px 10px;
    border-bottom: 2px dotted #2C2D35;
}
.about-content a:hover {
    opacity: 60%;
    transform: translateY(2px); /* ボタンが少し下がる */
}
.map-area {
    width: 40%;
    max-width: 360px;
    margin: auto auto auto 0 ;
}
.map-area img{
    max-height: 360px;
}


/* お問い合わせセクション */
.center-text-content {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.center-text-content h2 {
    margin-bottom: 30px;
}

.center-text-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* フッター */
.site-footer {
    background-color: #34495e;
    color: #ecf0f1;
    padding: 10px 0;
    text-align: center;
    font-size: 0.9em;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* モバイル対応 */
}

.site-footer p {
    margin: 0;
}

.footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav ul li {
    margin: 0 15px;
}

.footer-nav ul li a {
    color: #ecf0f1;
    font-size: 0.95em;
}

.footer-nav ul li a:hover {
    color: #a0cffc;
}

.small-text {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .main-nav ul li {
        margin-left: 20px;
    }

    .hero-catch {
        font-size: 2.8em;
    }

    .section-title {
        font-size: 2em;
    }

    .content-grid, .ceo-message-block {
        flex-direction: column;
        text-align: center;
    }

    .content-grid.reverse-order {
        flex-direction: column; /* モバイルでは反転も解除して縦並び */
    }

    .business-card {
        max-width: 100%; /* モバイルでは1列表示 */
    }

    .value-list li {
        max-width: 48%; /* 2列表示 */
    }

    .flow-list li {
        min-width: 120px; /* 少し小さく */
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    .site-header {
        height: 50px;
        padding: 10px 0;
    }
    .site-header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-logo img {
        height: 50px;
    }

    .main-nav {
        margin-top: 15px;
        width: 100%;
        display: none;
    }

    #header {
        display: block;
        position: fixed;
        height: 50px;
    }
    #navi {
        display: block;
        position: fixed;
        top: 0;
        left: -300px;
        bottom: 0;
        width: 300px;
        color: #fff;
        padding: 60px 25px;
        background-color: #121212;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: all .5s;
        z-index: 20;
        opacity: 0;
    }

    #navi a {
        color: #fff;
    }
    .open #navi {
        left: 0;
        opacity: 1;
    }
    #navi ul {
        margin: 0;
        padding: 0;
    }
    #navi ul.nav-menu {
        margin-bottom: 60px;
        border-top: 1px solid #fff;
    }
    #navi ul.nav-menu li {
        position: relative;
        margin: 0;
        padding: 20px 0;
        border-bottom: solid 1px #fff;
    }
    #navi ul.nav-sns li {
        padding: 5px 0;
    }

    .toggle_btn {
        margin: auto;
        display: block;
        position: fixed;
        top: 25px;
        right: 45px;
        width: 30px;
        height: 30px;
        transition: all .5s;
        cursor: pointer;
        z-index: 20;
    }
    .toggle_btn span {
        display: block;
        position: absolute;
        left: 0;
        width: 30px;
        height: 2px;
        background-color: #333;
        border-radius: 4px;
        transition: all .5s;
    }
    .toggle_btn span:nth-child(1) {
        top: 4px;
    }
    .toggle_btn span:nth-child(2) {
        top: 14px;
    }
    .toggle_btn span:nth-child(3) {
        bottom: 4px;
    }

    .open .toggle_btn span{
        background-color: #fff;
    }
    .open .toggle_btn span:nth-child(1) {
        -webkit-transform: translateY(10px) rotate(-315deg);
        transform: translateY(10px) rotate(-315deg);
    }
    .open .toggle_btn span:nth-child(2) {
        opacity: 0;
    }
    .open .toggle_btn span:nth-child(3) {
        -webkit-transform: translateY(-10px) rotate(315deg);
        transform: translateY(-10px) rotate(315deg);
    }

    #mask {
        display: none;
        transition: all .5s;
    }
    .open #mask {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #000;
        opacity: .8;
        z-index: 10;
        cursor: pointer;
    }


    .hero-section {
        padding: 80px 15px;
    }

    .hero-catch {
        font-size: 2.2em;
    }

    .hero-description {
        font-size: 1.1em;
    }

    .section-title {
        font-size: 1.8em;
    }

    .section-subtitle {
        font-size: 1.4em;
    }

    .company-body {
        display: block;
    }
    .about-table {
        width: 100%;
    }

    .map-area{
        width: 100%;
        margin: auto;
    }

    .btn {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .site-footer .container {
        flex-direction: column;
    }
    .site-footer p {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .hero-catch {
        font-size: 1.8em;
    }
    .hero-description {
        font-size: 1em;
    }
    .section-title {
        font-size: 1.6em;
    }
    .section-subtitle {
        font-size: 1.2em;
    }
    .check-list li, .recruit-info-block dt, .recruit-info-block dd,
    .company-info-list dt, .company-info-list dd, .faq-item p {
        font-size: 0.95em;
    }
    .flow-list li {
        min-width: 100%; /* 1列表示 */
    }
    .value-list li {
        max-width: 100%;
    }
}