@charset "UTF-8";

/* ===============================================
   基本設定
   =============================================== */
body {
    background-color: #ffffff;
    color: #ffffff;
    position: relative;
    min-height: 100vh;
    margin: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    z-index: 0;
    display: flex;
    flex-direction: column;
}

body.no-scroll {
    overflow: hidden;
}

main {
    flex: 1;
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* 背景画像 */
body:before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/background10.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

/* 共通コンテナ */
.container {
    width: 90%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* タイトル帯 */
h2.title,
.services-section h2,
.map-section h2,
.company-section h2 {
    max-width: 100%;
    margin: 30px auto 30px;
    padding: 10px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(to right, #080f2900, #080f29, #080f2900);
    font-size: 1.5rem;
}

/* ===============================================
   ヘッダー
   =============================================== */
header {
    background-color: #080f29;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-logo {
    max-height: 50px;
    width: auto;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: bold;
}

nav a:hover {
    color: #66ccff;
}

/* ===============================================
   メインコンテンツ
   =============================================== */
.mainvisual-section {
    width: 100%;
    margin-bottom: 40px;
}

.mainvisual {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.mainvisual img {
    width: 100%;
    height: auto;
    display: block;
}

/* 事業内容（PC向け基本設定） */
.services-section {
    margin-top: 40px;
    color: rgba(8, 15, 41, 0.9);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
}

.service-item {
    border-bottom: 1px solid rgba(8, 15, 41, 0.15);
    padding-bottom: 15px;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item h3 {
    margin: 0 0 20px 0;
    color: rgba(8, 15, 41, 0.9);
    font-size: 1.2rem;
    line-height: 1.3;
}

.service-item p {
    margin: 0 0 4px 0;
    line-height: 1.5;
    color: rgba(8, 15, 41, 0.9);
}

.service-item p:last-child {
    margin-bottom: 0;
}

/* Google Map */
.map-container {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.map-container iframe {
    width: 100%;
    display: block;
}

/* 会社情報 */
.company-section {
    margin-top: 40px;
    padding: 30px;
    padding-bottom: 60px;
    background-color: rgba(8, 15, 41, 0.9);
    border-radius: 8px;
    color: #fff;
}

.company-details p {
    margin: 12px 0;
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 5px;
}

.company-details p:last-child {
    border-bottom: none;
}

/* お問い合わせボタン */
.contact-btn-wrap {
    text-align: center;
    padding: 20px;
    margin: 40px 0;
}

.contact-btn {
    display: inline-block;
    background-color: #080f29;
    color: #ffffff;
    padding: 15px 0;
    width: 200px;
    text-align: center;
    box-sizing: border-box;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    border: 2px solid #66ccff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.contact-btn:hover {
    background-color: #66ccff;
    color: #080f29;
}

/* ===============================================
   フッター・トップへ戻る
   =============================================== */
.page-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    background-color: #66ccff;
    color: #080f29;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.page-top.show {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    background-color: #ffffff;
    color: #66ccff;
    transform: translateY(-5px);
}

footer {
    background-color: #080f29;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer .site-logo {
    margin-bottom: 10px;
}

/* ===============================================
   レスポンシブ対応（スマホ・タブレット）
   =============================================== */
@media (max-width: 600px) {
    .container { 
        width: 94%; 
    }
    
    nav ul { 
        font-size: 0.8rem; 
        gap: 10px; 
    }
    
    /* 事業内容（スマホ用調整） */
    .service-item h3 {
        margin-bottom: 6px;
    }

    .service-item p {
        margin-bottom: 8px;
        line-height: 1.65;
    }
    
    .company-section { 
        padding: 20px; 
    }
}

/* ===============================================
   お問い合わせフォーム用追加スタイル
   =============================================== */
.contact-form-section {
    max-width: 800px;
    margin: 30px auto;
    padding: 40px 20px;
    background-color: rgba(8, 15, 41, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: bold;
}

.contact-form input[type="text"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 5px;
    background: #ffffff;
    color: #333;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #66ccff;
    box-shadow: 0 0 5px rgba(102, 204, 255, 0.5);
}

/* ===============================================
   採用情報ページ専用スタイル
   =============================================== */
.recruit-section {
    margin-top: 40px;
    padding: 30px;
    padding-bottom: 60px;
    background-color: #ffffff; /* 下敷きのフレームを白に設定 */
    border-radius: 8px;
    color: rgba(8, 15, 41, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* タイトル帯の背景を白にし、文字色を変更 */
.recruit-section h2 {
    max-width: 100%;
    margin: 10px auto 30px;
    padding: 10px;
    text-align: center;
    color: rgba(8, 15, 41, 0.9); /* 指定の文字色 */
    background: transparent;     /* 暗い背景帯を透明（白）に変更 */
    font-size: 1.5rem;
    border-bottom: 2px solid rgba(8, 15, 41, 0.15); /* 下線で区切り */
}

/* 本文テキストのスタイル */
.recruit-details p {
    margin: 16px 0;
    font-size: 1rem;
    line-height: 1.6;
    border-bottom: 1px solid rgba(8, 15, 41, 0.15); /* 下線も濃紺系に変更 */
    padding-bottom: 10px;
    color: rgba(8, 15, 41, 0.9);
}

.recruit-details p:last-child {
    border-bottom: none;
}

/* 白背景グラデーションの見出し（反転カラー） */
h2.title-light {
    max-width: 100%;
    margin: 30px auto 30px;
    padding: 10px;
    text-align: center;
    color: rgba(8, 15, 41, 0.9); /* 指定の濃紺文字 */
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff, rgba(255, 255, 255, 0)); /* 白グラデーション */
    font-size: 1.5rem;
}