@charset "UTF-8";

/* ==================================================
   基本設定 (Base)
   ================================================== */
body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #fcfcfc;
}

a {
    color: #003366; /* リンク色：ネイビー */
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #cc0000; /* ホバー時：赤 */
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================================================
   レイアウト共通 (Layout)
   ================================================== */
header {
    background-color: #fff;
    border-bottom: 3px solid #003366; /* 下線：ネイビー */
    padding: 10px 0;
}

.logo-area {
    text-align: center;
    padding: 10px;
}

.logo-area img {
    max-width: 250px; /* ロゴの大きさ制限 */
    vertical-align: bottom;
}

main {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #fff;
    min-height: 600px;
}

footer {
    background-color: #003366; /* フッター背景：ネイビー */
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

footer p {
    margin: 10px 0;
}

footer h4 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

/* ==================================================
   メニュー (Navigation)
   ================================================== */
nav {
    background-color: #f2f2f2;
    border-bottom: 1px solid #ddd;
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0;
}

nav li a {
    display: block;
    padding: 15px 25px;
    color: #333;
    font-weight: bold;
    text-decoration: none;
}

nav li a:hover {
    background-color: #003366;
    color: #fff;
    text-decoration: none;
}

/* ==================================================
   見出しスタイル (Headings)
   ================================================== */
h2 {
    font-size: 1.8em;
    color: #003366;
    border-bottom: 2px solid #003366;
    padding-bottom: 10px;
    margin-bottom: 30px;
    margin-top: 40px;
}

h3 {
    font-size: 1.5em;
    color: #333;
    border-left: 6px solid #eebb00; /* アクセント：黄色 */
    padding-left: 15px;
    margin-bottom: 20px;
    margin-top: 40px;
    background-color: #f9f9f9;
    padding-top: 10px;
    padding-bottom: 10px;
}

h3 span {
    display: block;
    font-size: 0.7em;
    font-weight: normal;
    color: #666;
    margin-top: 5px;
}

h4 {
    font-size: 1.2em;
    color: #003366;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* ==================================================
   共通パーツ (Components)
   ================================================== */
/* ボタン */
.cta-button {
    display: inline-block;
    background-color: #cc0000; /* 赤色ボタン */
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    transition: transform 0.2s, opacity 0.2s;
}

.cta-button:hover {
    color: #fff;
    text-decoration: none;
    background-color: #b30000;
    transform: translateY(2px);
}

/* サービス詳細の枠 */
.service-point {
    background-color: #eaf4ff; /* 薄い青 */
    border: 1px solid #003366;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.service-point h4 {
    color: #003366;
    margin-top: 0;
}

/* 定義リスト（dl, dt, dd） */
dl {
    margin-bottom: 30px;
}

dt {
    font-weight: bold;
    color: #003366;
    margin-top: 15px;
    float: left;
    width: 100%;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 5px;
}

@media (min-width: 600px) {
    dt {
        width: 25%;
        clear: left;
        border-bottom: none;
    }
    dd {
        margin-left: 25%;
        padding-left: 20px;
        border-bottom: 1px dotted #eee;
        padding-bottom: 15px;
    }
}

dd {
    margin-bottom: 15px;
}

/* お知らせリスト */
#news ul {
    list-style: none;
    padding: 0;
}

#news li {
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

#news time {
    font-weight: bold;
    color: #003366;
    margin-right: 15px;
}

/* ==================================================
   お問い合わせフォーム (Contact Form)
   ================================================== */
#contact-form-area {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.inquiry-form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.required {
    background-color: #cc0000;
    color: white;
    font-size: 0.8em;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}

.inquiry-form input[type="text"],
.inquiry-form input[type="email"],
.inquiry-form select,
.inquiry-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

/* プライバシーポリシー */
.privacy-policy-box {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin-top: 30px;
    border-radius: 4px;
}

.privacy-policy-box h3 {
    font-size: 1.1em;
    margin-top: 0;
    border-bottom: 2px solid #003366;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.policy-content {
    height: 150px;
    overflow-y: scroll;
    border: 1px solid #eee;
    padding: 10px;
    font-size: 0.9em;
    margin-bottom: 15px;
    background-color: #fafafa;
}

.policy-check {
    text-align: center;
    font-size: 1.1em;
}

.submit-area {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background-color: #003366;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    padding: 15px 50px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #cc0000;
}

/* ==================================================
   レスポンシブ対応 (Mobile)
   ================================================== */
@media screen and (max-width: 768px) {
    nav li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #fff;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    .cta-button {
        width: 80%;
        padding: 15px 0;
        text-align: center;
    }
}