/* ========================================
   アルファ水工コンサルタンツ 共通スタイル
   ======================================== */

/* 基本設定 */
body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
}

.font-roboto {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
}

/* ヒーロー装飾テキスト（サブページ共通） */
.hero-deco-text {
    display: none;
    position: absolute;
    bottom: 0;
    right: -4rem;
    transform: translateY(calc(100% - 60px));
    font-family: 'Roboto', sans-serif;
    font-size: 130pt;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -3px;
    background: linear-gradient(90deg, #56c6f2 0%, #b47cc7 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    opacity: 0.5;
    text-align: right;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}
@media (min-width: 768px) {
    .hero-deco-text {
        display: block;
    }
}

/* ========================================
   サブページ共通コンポーネント
   (ヒーロー / ローカルナビ / パンくず)
   ======================================== */

/* サブヒーローセクション */
#sub-hero {
    position: relative;
    width: 92%;
    margin: 0.75rem auto 0;
}

.sub-hero-container {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 34vh;
}
@media (min-width: 768px) {
    .sub-hero-container {
        height: 42vh;
    }
}

.sub-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, rgba(30, 44, 130, 0.85), rgba(30, 44, 130, 0.60), transparent);
}

.sub-hero-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 2rem;
}
@media (min-width: 768px) {
    .sub-hero-content {
        padding: 0 4rem;
    }
}

.sub-hero-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}
@media (min-width: 768px) {
    .sub-hero-title {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

.sub-hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    line-height: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .sub-hero-subtitle {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
}

/* ローカルナビ */
#local-nav {
    position: relative;
    z-index: 40;
    width: fit-content;
    margin-top: -2.5rem;
    left: 6%;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.local-nav-inner {
    padding: 0 2rem;
    display: flex;
    align-items: center;
    height: 80px;
}

.local-nav-label {
    display: flex;
    align-items: center;
    margin-right: 2rem;
    border-right: 1px solid #e5e7eb;
    padding-right: 2rem;
    height: 100%;
}

.local-nav-label span {
    color: #1E2C82;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.75rem;
    letter-spacing: -0.05em;
    white-space: nowrap;
}

.local-nav-links {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.5rem 0;
    height: 100%;
}

.local-nav-links a {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    transition: color 0.3s;
}

.local-nav-links a:hover {
    color: #1E2C82;
}

.local-nav-links a.active {
    background-color: #1E2C82;
    color: #fff;
}

.local-nav-links a.active:hover {
    color: #fff;
}

/* パンくずリスト */
#breadcrumb {
    width: 88%;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

#breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    line-height: 1rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

#breadcrumb nav a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

#breadcrumb nav a:hover {
    color: #374151;
}

#breadcrumb .current {
    color: #374151;
}

/* ヘッダー */
.header-shadow {
    box-shadow: 0 10px 25px -10px rgba(0,0,0,.25);
}

/* ロゴホバーエフェクト */
.logo-link {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-link:hover {
    transform: translateY(-4px);
    filter: drop-shadow(0 8px 16px rgba(30, 44, 130, 0.2));
}

/* セクションタイトル */
.section-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin-bottom: 2rem;
}

.japanese-title {
    font-size: 2rem;
    font-weight: bold;
    color: #1E2C82;
    margin-bottom: 0.25rem;
}

/* セクション見出しのグラデーションアンダーライン */
.section-heading-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}
.section-heading-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, #56c6f2 0%, #b47cc7 100%);
}

.english-subtitle {
    font-size: 0.80rem;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    color: #1E2C82;
    display: flex;
    align-items: center;
}

.english-subtitle::before,
.english-subtitle::after {
    content: '';
    display: block;
    height: 1px;
    width: 3.0rem;
    background-color: #1E2C82;
    margin: 0 0.75rem;
}

#news-col .english-subtitle::before {
    display: none;
}

/* 採用情報タイトル用のグラデーション */
.recruit-title-gradient {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 200;
    font-size: 64pt;
    line-height: 1;
    letter-spacing: -5px;
    background: linear-gradient(90deg, #56c6f2 0%, #ff7c9c 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 2rem;
}

/* 採用セクション背景 */
.recruit-section-bg {
    background: linear-gradient(to right, #e5f4ff, #e3f2ff, #f0eaff);
    position: relative;
    overflow: hidden;
}
.recruit-section-bg::before {
    content: '';
    position: absolute;
    bottom: -250px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1.0' d='M0,160L40,149.3C80,139,160,117,240,112C320,107,400,117,480,128C560,139,640,149,720,160C800,171,880,181,960,192C1040,203,1120,213,1200,192C1280,171,1360,117,1400,90.7L1440,64L1440,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 1;
}

.recruit-wave-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

/* サブページ用の採用セクション背景（上部に白グラデーション） */
.recruit-section-bg-subpage {
    background:
        linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 25%),
        linear-gradient(to right, #e5f4ff, #e3f2ff, #f0eaff);
}

/* ========================================
   index.html 専用スタイル
   ======================================== */

/* トップヒーロー 装飾テキスト */
.top-hero__large-copy {
    pointer-events: none;
    user-select: none;
    display: block;
    position: absolute;
    z-index: 5;
    overflow: visible;
    bottom: -1vh;
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 0.85;
    letter-spacing: -5px;
    font-size: 130pt;
    background: linear-gradient(90deg, #56c6f2 0%, #b47cc7 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}
@media (max-width: 1600px) {
    .top-hero__large-copy {
        font-size: 110pt;
    }
}
@media (max-width: 1366px) {
    .top-hero__large-copy {
        font-size: 100pt;
    }
}
@media (max-width: 1200px) {
    .top-hero__large-copy {
        font-size: 90pt;
    }
}

/* トップヒーロー セクション */
.top-hero {
    position: relative;
    display: flex;
    justify-content: center;
    width: 92%;
    height: 70vh;
    margin: 10px auto 0;
    color: #fff;
    overflow: hidden;
    border-radius: 1.5rem;
}
@media (min-width: 768px) {
    .top-hero {
        height: 78vh;
    }
}

/* カルーセルコンテナ */
.top-hero__carousel {
    position: absolute;
    inset: 0;
}

/* オーバーレイ */
.top-hero__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

/* ヒーローカルーセルスタイル */
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.carousel-item.active {
    opacity: 1;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 1.0);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}
.carousel-dot.active {
    background-color: #56c6f2;
}

/* キャッチコピーエリア */
#hero-text-content {
    position: absolute;
    z-index: 10;
    top: 34vh;
    width: 100%;
    padding: 0 1rem;
    transition: opacity 0.8s ease-in-out;
    opacity: 1;
}
#hero-text-content.fade-out {
    opacity: 0;
}
@media (max-width: 1200px) {
    #hero-text-content {
        top: 30vh;
    }
}

/* メインタイトル */
.top-hero__title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.25;
    filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
    text-align: center;
    letter-spacing: 0.1em;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}
@media (max-width: 1366px) {
    .top-hero__title {
        font-size: 2.5rem;
    }
}
@media (max-width: 1200px) {
    .top-hero__title {
        font-size: 2.25rem;
    }
}

/* サブタイトル */
.top-hero__subtitle {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.5;
    filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.07)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.06));
    text-align: center;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
}
@media (max-width: 1366px) {
    .top-hero__subtitle {
        margin-top: 0.8rem;
        font-size: 0.9rem;
    }
}

/* カルーセルドット */
.top-hero__dots {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    z-index: 20;
}
@media (max-width: 1366px) {
    .top-hero__dots {
        margin-top: 1.75rem;
    }
}

/* 背景：波が下にあるパターン */
.about-section-bg {
    background: linear-gradient(to right, #e5f4ff, #e3f2ff, #f0eaff);
    position: relative;
    overflow: hidden;
}
.about-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2364b5f6' fill-opacity='0.15' d='M0,160L40,149.3C80,139,160,117,240,112C320,107,400,117,480,128C560,139,640,149,720,160C800,171,880,181,960,192C1040,203,1120,213,1200,192C1280,171,1360,117,1400,90.7L1440,64L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 1;
}

/* 矢印ボタンのスタイル */
.arrow-button {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 9999px;
    border: 1px solid #1E2C82;
    color: #1E2C82;
    transition-property: background-color, color;
    transition-duration: 300ms;
}

/* カードコンポーネント共通 */
.card {
    position: relative;
    display: block;
    background-color: #fff;
    padding-bottom: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-decoration: none;
    color: inherit;
}
.card:hover {
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    transform: translateY(-8px);
}
.card:hover .arrow-button {
    background-color: #1E2C82;
    color: white;
}
.card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.card__body {
    padding: 1.5rem;
}
.card__title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 600;
    color: #1E2C82;
    margin-bottom: 0.5rem;
}
.card__text {
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.25rem;
}
.card__meta {
    color: #9ca3af;
    font-size: 0.75rem;
    line-height: 1rem;
    margin-top: 0.5rem;
}

/* アクセントカード（CTAカード） */
.card--accent {
    background-color: #1E2C82;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 250px;
}
.card--accent .card__body {
    color: #fff;
    padding: 0;
}
.card--accent .card__body > * + * {
    margin-top: 1rem;
}
.card--accent .card__title {
    color: #fff;
    font-weight: 700;
    border-bottom: 1px solid #fff;
    padding-bottom: 0.5rem;
}
.card--accent .card__text {
    color: rgba(255,255,255,0.9);
}
.card__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem auto 0;
    transition: background-color 0.3s;
}
.card__icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #fff;
}

/* SVG sizing inside arrow button */
.arrow-button svg {
    width: 1rem;
    height: 1rem;
}

/* カードグリッド */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 6rem;
}
@media (min-width: 768px) {
    .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .card-grid { grid-template-columns: repeat(3, 1fr); }
}
.card-grid--4col {
    margin-bottom: 4rem;
}
@media (min-width: 1280px) {
    .card-grid--4col { grid-template-columns: repeat(4, 1fr); }
}
.card-grid--narrow {
    gap: 1.5rem;
    margin-bottom: 0;
}
@media (min-width: 1024px) {
    .card-grid--narrow { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) {
    .card-grid--narrow { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================
   ボタンコンポーネント
   ======================================== */

.btn {
    display: inline-block;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s;
}

/* バリエーション: solid（塗り） */
.btn--solid {
    background-color: #1E2C82;
    color: #fff;
}
.btn--solid:hover {
    background-color: #3E4CA2;
}

/* バリエーション: outline（枠線） */
.btn--outline {
    background-color: transparent;
    border-color: #1E2C82;
    color: #1E2C82;
}
.btn--outline:hover {
    background-color: #1E2C82;
    color: #fff;
}

/* バリエーション: gradient（グラデーション） */
.btn--gradient {
    background: linear-gradient(90deg, #56c6f2 0%, #7f9cf5 100%);
    color: #fff;
    border: none;
}
.btn--gradient:hover {
    opacity: 0.85;
    transform: scale(1.05);
}

/* サイズ: sm */
.btn--sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

/* サイズ: md */
.btn--md {
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
}

/* サイズ: lg */
.btn--lg {
    padding: 1rem 3rem;
    font-size: 1.125rem;
}

/* 背景：波が上にあるパターン */
.news-gradient-bg {
    background: linear-gradient(to right, #e5f4ff, #e3f2ff, #f0eaff);
    position: relative;
    overflow: hidden;
}
.news-gradient-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23fff' fill-opacity='1.0' d='M0,160L40,149.3C80,139,160,117,240,112C320,107,400,117,480,128C560,139,640,149,720,160C800,171,880,181,960,192C1040,203,1120,213,1200,192C1280,171,1360,117,1400,90.7L1440,64L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 1;
    transform: rotate(180deg) scale(-1, 1);
}

.image-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.image-one {
    position: absolute;
    width: 350px;
    height: 350px;
    top: 30px;
    right: -100px;
    z-index: 10;
    border-radius: 9999px;
    overflow: hidden;
}

.image-two {
    position: absolute;
    width: 400px;
    height: 400px;
    bottom: 0;
    right: 10.0vw;
    transform: translateX(0) translateY(40px);
    z-index: 20;
    border-radius: 9999px;
    overflow: hidden;
}

/* ========================================
   service_survey2.html 専用スタイル
   ======================================== */

/* メインコンテンツ背景：波が下にあるパターン */
.main-wave-bg {
    background-color: #fff;
    position: relative;
    overflow: hidden;
}
.main-wave-bg::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2364b5f6' fill-opacity='0.08' d='M0,160L40,149.3C80,139,160,117,240,112C320,107,400,117,480,128C560,139,640,149,720,160C800,171,880,181,960,192C1040,203,1120,213,1200,192C1280,171,1360,117,1400,90.7L1440,64L1440,320L1400,320C1360,320,1280,320,1200,320C1120,320,1040,320,960,320C880,320,800,320,720,320C640,320,560,320,480,320C400,320,320,320,240,320C160,320,80,320,40,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 0;
}
.main-wave-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cpath fill='none' stroke='%2364b5f6' stroke-width='1' opacity='0.3' d='M0,300 C200,320 400,260 720,200 S1300,60 1440,60'/%3E%3C/svg%3E");
    background-size: 100vw 100%;
    background-repeat: no-repeat;
    background-position: center top;
    z-index: 0;
}

/* スクロールバー非表示 */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* アコーディオンアニメーション */
.accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-item.is-open .accordion-content {
    grid-template-rows: 1fr;
}
.accordion-inner {
    overflow: hidden;
}

/* プラスアイコンの回転 */
.icon-plus {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-item.is-open .icon-plus {
    transform: rotate(45deg);
}

/* ========================================
   ヘッダー (includes/header.html)
   ======================================== */

#header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-topbar {
    background-color: #f3f4f6;
    padding: 0.375rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-bottom: 1px solid #e5e7eb;
}

.header-topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-topbar-link {
    color: #4b5563;
    transition: color 0.3s;
}
.header-topbar-link:hover {
    color: #3b82f6;
}

.header-lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-lang-switch .lang-active {
    color: #1E2C82;
    font-weight: bold;
}

.header-lang-switch .lang-inactive {
    color: #4b5563;
    transition: color 0.3s;
}
.header-lang-switch .lang-inactive:hover {
    color: #1E2C82;
}

.header-lang-switch .lang-divider {
    color: #9ca3af;
}

.header-main {
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    width: 400px;
    position: relative;
    top: -3px;
}

.header-nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
    font-size: 1rem;
    font-weight: 500;
}
@media (min-width: 768px) {
    .header-nav {
        display: flex;
    }
}

.nav-item {
    position: relative;
}

.nav-button {
    display: flex;
    align-items: center;
    color: #000;
    transition: color 0.3s;
    font-size: 12pt;
    font-weight: 600;
    padding-bottom: 0.5rem;
    margin-top: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}
.nav-button:hover {
    color: #374151;
}
.nav-button:focus {
    outline: none;
}
.nav-button.nav-active {
    color: #1E2C82;
}

.nav-icon {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    transition: transform 0.3s;
}
.nav-item:hover .nav-icon {
    transform: rotate(180deg);
}

.nav-dropdown {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    width: 14rem;
    background-color: #1E2C82;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 0.5rem 0;
    z-index: 50;
    font-size: 0.875rem;
    font-weight: normal;
}
.nav-dropdown.wide {
    width: 14rem;
}
.nav-item:hover .nav-dropdown {
    display: block;
}

.nav-dropdown-link {
    display: block;
    padding: 0.5rem 1.25rem;
    color: white;
    transition: padding 0.3s;
}
.nav-dropdown-link:hover {
    padding-left: 1.5rem;
}


/* ========================================
   フッター (includes/footer.html)
   ======================================== */

#site-footer {
    background-color: #232A58;
    color: white;
    padding: 3rem 0;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 768px) {
    .footer-inner {
        padding: 0 2rem;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.footer-company {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
@media (min-width: 768px) {
    .footer-company {
        grid-column: span 2;
        align-items: flex-start;
        text-align: left;
    }
}

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

.footer-logo img {
    width: 300px;
}

.footer-addresses {
    margin-top: 1.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-address h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-address p {
    font-size: 0.875rem;
    color: white;
}

.footer-address p + p {
    margin-top: 0.25rem;
}

.footer-nav-col {
    grid-column: 1 / -1;
}
@media (min-width: 768px) {
    .footer-nav-col {
        grid-column: span 1;
    }
}

.footer-nav-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-nav-link {
    font-size: 0.875rem;
    color: #d1d5db;
    margin-bottom: 0.5rem;
    display: block;
}
.footer-nav-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #2E3C92;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
    .footer-links {
        justify-content: flex-start;
        margin-bottom: 0;
    }
}

.footer-links a {
    transition: color 0.3s;
}
.footer-links a:hover {
    color: white;
}

.footer-copyright {
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.3);
}
@media (min-width: 768px) {
    .footer-copyright {
        text-align: right;
    }
}

/* ========================================
   採用情報コンテンツ (includes/recruit.html)
   ======================================== */

.recruit-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}
@media (min-width: 1024px) {
    .recruit-content {
        padding: 0 3rem;
    }
}

.recruit-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
}
@media (min-width: 768px) {
    .recruit-layout {
        flex-direction: row;
    }
}

.recruit-image {
    width: 100%;
    height: 300px;
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    z-index: 0;
}
@media (min-width: 768px) {
    .recruit-image {
        width: 66.666667%;
        height: 500px;
    }
}

.recruit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recruit-card {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem;
    position: relative;
    z-index: 10;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid white;
    margin-top: -50px;
}
@media (min-width: 768px) {
    .recruit-card {
        width: 41.666667%;
        padding: 3.5rem;
        margin-left: -8rem;
        margin-top: 0;
    }
}

.recruit-subheading {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1E2C82;
    line-height: 1.4;
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .recruit-subheading {
        font-size: 1.875rem;
    }
}

.recruit-text {
    color: #4b5563;
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 3rem;
    margin-top: 2rem;
}
@media (min-width: 768px) {
    .recruit-text {
        font-size: 1rem;
    }
}

.recruit-btn-wrapper {
    text-align: right;
}


/* ========================================
   ティザーエリア (includes/teaser.html)
   ======================================== */

#teaser {
    padding-bottom: 3rem;
    background-color: white;
}

.teaser-inner {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.teaser-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    justify-items: center;
    align-items: center;
}
@media (min-width: 768px) {
    .teaser-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.teaser-item {
    transition: transform 0.3s;
}

.teaser-banner-1 {
    width: 180px;
    margin: 0 auto;
}

.teaser-banner-2 {
    width: 200px;
    margin: 0 auto;
}

.teaser-banner-3,
.teaser-banner-4 {
    width: 160px;
    margin: 0 auto;
}

/* ========================================
   ニュースリスト (index.html)
   ======================================== */

.news-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}
.news-item:last-child {
    border-bottom: none;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.news-date {
    font-size: 0.75rem;
    color: #6b7280;
}

.news-category {
    font-size: 10px;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid #1E2C82;
    color: #1E2C82;
}

.news-title {
    font-size: 0.875rem;
    font-weight: 500;
}

/* ========================================
   番号付きリスト
   ======================================== */

.steps {
    list-style: none;
    counter-reset: step-counter;
    margin-top: 1.5rem;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.steps li {
    counter-increment: step-counter;
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    line-height: 1.5;
}
@media (min-width: 768px) {
    .steps li {
        font-size: 1rem;
    }
}

.steps li::before {
    content: counter(step-counter);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: #1E2C82;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.steps li a {
    color: #1E2C82;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.steps li a:hover {
    text-decoration: underline;
}
