/* --- 基本設定 --- */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.8;
}

/* --- 固定ヘッダー --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 4px solid #004ea2;
    z-index: 9999;
    display: flex;
    align-items: center;
}

.header-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { display: flex; flex-direction: column; }

.logo a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    transition: 0.3s;
}

.company-name {
    font-size: 1.25rem;
    font-weight: 900;
    color: #004ea2;
    letter-spacing: 0.05em;
}

.site-name {
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.g-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.g-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.3s;
}

.g-nav a:hover,
.logo a:hover { color: #004ea2; }

.nav-cta a {
    background-color: #004ea2;
    color: #fff !important;
    padding: 10px 25px;
}

/* --- ヒーローエリア --- */
.hero {
    position: relative;
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('images/image.01.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
}

.hero-lead {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-copy {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 40px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.hero-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 50px;
}

.hero-tags span {
    background-color: #fff;
    color: #004ea2;
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 900;
}

/* メインCTAボタン（ロイヤルブルー＋白枠＋光沢） */
.btn-main {
    display: inline-block;
    background: linear-gradient(135deg, #004ea2 0%, #002d5e 100%);
    color: #fff;
    padding: 25px 60px;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.4;
    text-align: center;
    letter-spacing: 0.1em;
    border: 3px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-main::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    animation: shine-blue 4s infinite;
}

@keyframes shine-blue {
    0% { left: -100%; }
    15% { left: 150%; }
    100% { left: 150%; }
}

.btn-main:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* --- イントロセクション --- */
.intro-section {
    padding: 120px 0;
    background-color: #f8fbff;
}

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

.intro-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.intro-text-box { flex: 1; }

.intro-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #004ea2;
    margin-bottom: 30px;
    line-height: 1.4;
    border-left: 8px solid #004ea2;
    padding-left: 20px;
}

.intro-desc { font-size: 1.1rem; color: #555; }

.intro-image-box { flex: 1; }

.sub-photo {
    width: 100%;
    height: auto;
    box-shadow: 30px 30px 0 #004ea2;
}

/* --- 応募フォームセクション --- */
.entry-section {
    padding: 100px 0;
    background-color: #fff;
}

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

.section-title {
    font-size: 2rem;
    font-weight: 900;
    color: #004ea2;
    text-align: center;
    margin-bottom: 10px;
}

.section-title span {
    display: block;
    font-size: 0.9rem;
    color: #999;
    letter-spacing: 0.2em;
}

.section-lead {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
}

.main-form {
    background: #fcfcfc;
    padding: 40px;
    border: 1px solid #eee;
    border-top: 5px solid #004ea2;
}

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

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.required {
    background: #e74c3c;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 10px;
    vertical-align: middle;
}

.any {
    background: #bbb;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 10px;
    vertical-align: middle;
}

input[type="text"], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #004ea2;
    box-shadow: 0 0 5px rgba(0, 78, 162, 0.2);
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background: #fff;
    padding: 15px;
    border: 1px solid #eee;
}

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

.btn-submit {
    background-color: #004ea2;
    color: #fff;
    border: none;
    padding: 20px 80px;
    font-size: 1.2rem;
    font-weight: 900;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: #003670;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .hero-copy { font-size: 2.5rem; }
    .intro-content { flex-direction: column; gap: 30px; }
    .main-form { padding: 20px; }
    .btn-submit { width: 100%; }
}
/* ==========================================================================
   サンクスページ（問い合わせ完了画面）
   ========================================================================== */

/* 1. 全体レイアウト */
.thanks-section {
    display: flex;
    align-items: center;
    padding: 150px 0 100px;
    min-height: 80vh;
    background-color: #f8fbff;
}

.thanks-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* 2. ヘッドライン・メッセージ */
.thanks-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: #004ea2;
    color: #fff;
    font-size: 40px;
    border-radius: 50%;
}

.thanks-title {
    margin-bottom: 20px;
    color: #004ea2;
    font-size: 2rem;
    font-weight: 900;
}

.thanks-message {
    margin-bottom: 50px;
    color: #555;
    line-height: 1.8;
}

/* 3. 今後の流れエリア（ステップ表示） */
.next-steps {
    margin-bottom: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 6px;
    text-align: left;
}

.next-steps h3 {
    display: table;
    margin: 0 auto 20px;
    padding-bottom: 5px;
    color: #333;
    font-size: 1.2rem;
    border-bottom: 2px solid #004ea2;
}

.next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.next-steps li:last-child {
    margin-bottom: 0;
}

.step-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #004ea2;
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
}

.next-steps p {
    margin: 0;
    color: #444;
    font-size: 0.95rem;
}

/* 4. 戻るボタン */
.btn-back {
    display: inline-block;
    padding: 15px 40px;
    background: #eee;
    color: #666;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s ease;
}

.btn-back:hover {
    background: #ddd;
    color: #333;
}

/* 5. フッター（コピーライト等） */
.footer {
    padding: 30px;
    color: #999;
    font-size: 0.8rem;
    text-align: center;
}
/* --- イントロ＆会社概要マップセクション --- */
.intro-section.profile-map-layout {
    padding: 100px 0;
    background-color: #f8fbff;
}
.profile-map-layout .intro-content {
    display: flex;
    align-items: stretch;
    gap: 60px;
}
.profile-map-layout .intro-text-box { flex: 1; }
.intro-title { font-size: 2.8rem; font-weight: 900; color: #004ea2; margin-bottom: 50px; }
.company-profile-card {
    margin-top: 40px; padding: 35px; background: #fff;
    border-top: 5px solid #004ea2; box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-radius: 8px;
    width: 800px;
    margin: 100px auto 0;
}
.company-profile-card h4 {
    font-size: 1rem; color: #004ea2; margin-bottom: 25px; letter-spacing: 0.2em;
    font-weight: 700; border-bottom: 1px solid #eee; padding-bottom: 10px;
}
.profile-list { display: flex; flex-wrap: wrap; margin: 0; }
.profile-list dt { width: 30%; font-weight: 700; color: #004ea2; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.profile-list dd { width: 70%; padding: 12px 0; border-bottom: 1px solid #f0f0f0; margin: 0; color: #444; }
.intro-map-box { flex: 1.2; border-radius: 12px; overflow: hidden; box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1); }
@media (max-width: 992px) {
    .profile-map-layout .intro-content { flex-direction: column; }
    .intro-map-box iframe { min-height: 400px; }
    .profile-list dt, .profile-list dd { width: 100%; }
}
/* ==========================================================================
   1. 地図リンク（ボタン風のデザイン）
   ========================================================================== */
.map-link {
    display: inline-block;
    margin-bottom: 8px;
    color: #333;
    text-decoration: none;
    line-height: 1.4;
    transition: 0.3s;
}

/* 右側の「GoogleMap」などのラベル部分 */
.map-link span {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 10px;
    background: #ffd43b; /* コーポレートカラーの黄色 */
    color: #000;
    font-size: 0.75rem;
    font-weight: 900;
    border-radius: 20px; /* 丸みのあるデザイン */
    white-space: nowrap;
    transition: 0.3s;
}

/* ホバー時の挙動 */
.map-link:hover {
    color: #004ea2;
    text-decoration: underline;
    opacity: 0.9;
}

.map-link:hover span {
    background: #004ea2;
    color: #fff;
}

.intro-image-box {
    flex: 1.2;
}

.profile-photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 20px 20px 0 #ffd43b; /* 黄色のアクセント */
    transition: box-shadow 0.3s ease;
}


.sub-container {
    text-align: center;
    margin-top: 50px;
}
/* ==========================================================================
   3. レスポンシブ対応（タブレット・スマホ）
   ========================================================================== */
@media (max-width: 992px) {
    .profile-photo {
        box-shadow: 10px 10px 0 #ffd43b; /* 画面が狭いときは影を控えめに */
    }
}