@charset "UTF-8";
/*!
 * Author: (Passion-Creator)
 * License: MIT License
*/
/* ==============================================
   基本設定と変数
   Webサイト全体で使う「共通の部品」を定義する場所です。
   ここで色やフォントを決めておくと、後で一括で変更できて便利です。
============================================== */
:root {
    /* `--`で始まるものは「変数」です。サイトのテーマカラーなどを定義します。 */
    --primary-color: #005f73;      /* メインの濃い色 (見出しや強調部分) */
    --secondary-color: #0a9396;    /* サブの明るい色 (アクセントやアイコン) */
    --accent-color: #ee9b00;       /* 特に目立たせたいボタンなどの色 */
    --bg-light-color: #f8f9fa;     /* 薄いグレーの背景色 */
    --text-dark-color: #343a40;     /* 基本の濃い文字色 (黒に近い) */
    --text-light-color: #6c757d;    /* 少し薄めの文字色 (グレー) */
    --base-font-family: 'BIZ UDPGothic', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; /* サイト全体の基本フォント */
}


/* ==============================================
   基本スタイル
   サイト全体の基本的なデザインルール（土台）を決めます。
============================================== */
body {
    font-family: var(--base-font-family); /* 基本フォントを指定 */
    margin: 0;                          /* ブラウザ標準の余白をなくす */
    line-height: 1.8;                   /* 行の高さを少し広めにして読みやすくする */
    color: var(--text-dark-color);      /* 基本の文字色を指定 */
    background-color: #fff;             /* 基本の背景色を白に */
}

/* .containerはコンテンツの幅を決め、中央に配置するための便利クラスです。 */
.container {
    max-width: 1100px;                  /* コンテンツの最大幅を1100pxに */
    margin: 0 auto;                     /* 上下の余白は0、左右の余白は自動調整（結果として中央揃えになる） */
    padding: 0 24px;                    /* 内側の左右に24pxの余白を作り、文字が画面端にくっつかないようにする */
}

/* .sectionは各セクション共通のスタイルです。 */
.section {
    padding: 80px 0;                    /* 各セクションの上下に80pxの余白を持たせる */
}

/* .section-titleは各セクションのタイトル文字です。 */
.section-title {
    text-align: center;                 /* 文字を中央揃えに */
    font-size: 2.2rem;                  /* 文字の大きさを指定 */
    margin-bottom: 60px;                /* タイトルの下に60pxの余白をとる */
    font-weight: 700;                   /* 文字の太さを太字に */
    letter-spacing: 2px;                /* 文字と文字の間隔を少し広げる */
}

/* .bg-lightは背景色を少し変えたい時に使う便利クラスです。 */
.bg-light {
    background-color: var(--bg-light-color); /* 背景色を薄いグレーに */
}

/* 汎用ボタン（トップページのお問い合わせセクションなどで使用） */
.btn {
    display: inline-block;              /* ボタンらしい振る舞いをさせる */
    background-color: var(--accent-color); /* 背景色をアクセントカラーに */
    color: #fff;                        /* 文字色を白に */
    padding: 14px 40px;                 /* 内側の余白 */
    border-radius: 50px;                /* 角を丸くしてカプセル型にする */
    text-decoration: none;              /* リンクの下線を消す */
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s; /* アニメーション設定 */
}
.btn:hover {
    transform: translateY(-3px);        /* マウスが乗ったら少し上に動かす */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* 影をつけて立体感を出す */
}


/* ==============================================
   ヘッダー
   ページ上部に固定表示されるメニューバーのデザインです。
============================================== */
.header {
    background-color: rgba(255, 255, 255, 0.95); /* 半透明の白背景 */
    padding: 15px 0;
    border-bottom: 1px solid #eee;      /* ヘッダーの下に薄い境界線 */
    position: sticky;                   /* スクロールしても画面上部にくっついてくる */
    top: 0;                             /* 上端に配置 */
    z-index: 1000;                      /* 他の要素より手前に表示させる */
    backdrop-filter: blur(8px);         /* すりガラス効果 */
}

.header .container {
    display: flex;                      /* 子要素（ロゴとナビ）を横並びにする */
    justify-content: space-between;     /* 両端に配置する */
    align-items: center;                /* 垂直方向の中央に揃える */
}

.header-logo a {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.header-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;                   /* リストの黒点を消す */
    display: flex;
    align-items: center;
}

.header-nav li a {
    display: block;
    padding: 8px 16px;
    color: var(--text-dark-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s;
}

.header-nav li a:hover {
    color: var(--secondary-color);      /* マウスが乗ったら色を変える */
}

.contact-button {
    background-color: var(--accent-color);
    color: #fff !important;             /* !importantで他のスタイルより優先させる */
    border-radius: 50px;
    padding: 8px 20px !important;
    transition: opacity 0.3s;
}

.contact-button:hover {
    opacity: 0.8;                       /* マウスが乗ったら少し透明にする */
}


/* ==============================================
   フッター
   ページの一番下に表示される部分のデザインです。
============================================== */
.footer {
    background-color: var(--text-dark-color);
    color: #f8f9fa;                     /* 明るい文字色 */
    padding-top: 40px;
}
.footer a {
    color: #f8f9fa;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;         /* マウスが乗ったら下線を引く */
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
}
.footer-nav a {
    margin-left: 20px;
}
.copyright {
    text-align: center;
    padding: 20px 0;
    background-color: #212529;          /* フッターより少し暗い黒 */
    font-size: 0.9rem;
}
.copyright p {
    margin: 0;
}


/* ==============================================
   トップページ（index.html）専用スタイル
============================================== */
/* --- メインビジュアル --- */
#hero {
    height: 60vh;                       /* 高さを画面の60%に */
    /* 背景画像の上に半透明の黒い膜を重ねて、文字を読みやすくするテクニック */
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-4.0.3&q=85&fm=jpg&crop=entropy&cs=srgb&w=1600');
    background-size: cover;             /* 画像が常に要素全体を覆うように調整 */
    background-position: center;        /* 画像の中央を表示 */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.hero-content p {
    font-size: 1.2rem;
}

/* --- 私たちの強み --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 画面幅に応じて列数を自動調整 */
    gap: 40px;                          /* 要素間の隙間 */
    text-align: center;
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}
.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.feature-item p {
    color: var(--text-light-color);
}

/* --- 事業内容（カード） --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card {
    background-color: #fff;
    border-radius: 8px;                 /* 角を丸くする */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* 影をつける */
    overflow: hidden;                   /* はみ出した画像を角丸に合わせて切り取る */
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-8px);        /* マウスが乗ったら少し上に動かす */
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;                  /* 画像の比率を保ったまま要素を埋める */
}
.card-content {
    padding: 24px;
}

/* --- 代表メッセージ --- */
.message-container {
    display: flex;
    align-items: center;
    gap: 60px;
}
.message-text { flex: 2; } /* テキスト部分が画像の2倍の幅を持つように */
.message-image { flex: 1; text-align: center; }
.message-image img {
    max-width: 100%;
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;                 /* 画像を円形に切り取る */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.ceo-name { text-align: right; margin-top: 2rem; }

/* --- お知らせ --- */
.news-list {
    list-style: none; padding: 0; max-width: 800px; margin: 0 auto;
}
.news-list li { border-bottom: 1px solid #ddd; }
.news-list a {
    display: flex; align-items: center; padding: 20px 0;
    text-decoration: none; color: var(--text-dark-color);
    transition: background-color 0.3s;
}
.news-list a:hover { background-color: #e9ecef; }
.news-date {
    margin-right: 24px; font-weight: 700; color: var(--text-light-color);
}
.news-label {
    background-color: var(--secondary-color); color: #fff;
    font-size: 0.8rem; padding: 4px 12px; border-radius: 4px;
    margin-right: 24px; font-weight: 700;
}

/* --- 企業情報（トップページ用） --- */
.company-table {
    width: 100%; border-collapse: collapse; max-width: 800px; margin: 0 auto;
}
.company-table th, .company-table td { padding: 20px; border-bottom: 1px solid #eee; }
.company-table th {
    background-color: var(--bg-light-color); text-align: left;
    width: 30%; font-weight: 700;
}

/* --- お問い合わせ誘導セクション --- */
.contact-section {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
}
.contact-section .section-title, .contact-section p { color: #fff; }
.contact-section p { margin-bottom: 30px; }


/* ==============================================
   下層ページ（企業情報・お問い合わせ）共通スタイル
============================================== */
.page-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}
.page-header h1 { font-size: 2.5rem; margin: 0; }
.page-header p { font-size: 1.1rem; margin: 0; opacity: 0.8; }


/* ==============================================
   企業情報ページ（company.html）専用スタイル
============================================== */
.company-table-full {
    width: 100%; border-collapse: collapse; max-width: 900px; margin: 0 auto; border-top: 1px solid #eee;
}
.company-table-full th, .company-table-full td {
    padding: 20px; border-bottom: 1px solid #eee; text-align: left; vertical-align: top;
}
.company-table-full th {
    background-color: var(--bg-light-color); width: 25%; font-weight: 700;
}
.business-list { margin: 0; padding-left: 20px; }
.business-list li { margin-bottom: 8px; }
.business-list li:last-child { margin-bottom: 0; }

/* --- 企業理念 --- */
.philosophy-content { max-width: 800px; margin: 0 auto; text-align: center; }
.philosophy-content h3 { font-size: 1.5rem; color: var(--primary-color); }
.mission-text { font-size: 1.8rem; font-weight: 700; margin: 20px 0 30px; line-height: 1.6; }

/* --- 役員紹介 --- */
.officer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px; max-width: 900px; margin: 0 auto; text-align: center;
}
.officer-item img {
    width: 150px; height: 150px; border-radius: 50%;
    object-fit: cover; margin-bottom: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.officer-item h4 { margin: 0 0 5px; font-size: 1rem; color: var(--text-light-color); }
.officer-item .officer-name { margin: 0; font-size: 1.2rem; font-weight: 700; }


/* ==============================================
   お問い合わせページ（contact.html）専用スタイル
============================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;     /* フォームを2、連絡先情報を1の比率で配置 */
    gap: 60px;
}
.form-description {
    margin-bottom: 40px; color: var(--text-light-color);
}
.form-group { margin-bottom: 25px; }
.form-group label {
    display: block; font-weight: 700; margin-bottom: 8px;
}
.form-group label span {
    background-color: var(--accent-color); color: #fff;
    font-size: 0.75rem; padding: 3px 8px; border-radius: 4px;
    margin-left: 8px; font-weight: normal;
}
.form-group input, .form-group textarea {
    width: 100%; padding: 12px; border: 1px solid #ccc;
    border-radius: 5px; font-size: 1rem; font-family: var(--base-font-family);
    box-sizing: border-box;             /* paddingを含めて幅を100%にする */
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;                      /* ブラウザ標準の青い枠線を消す */
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(10, 147, 150, 0.3);
}
.form-submit { text-align: center; }
.form-submit .btn {
    width: 100%; max-width: 300px; padding: 15px 30px;
    border: none; cursor: pointer;
}

/* --- 連絡先情報 --- */
.contact-info-container {
    padding-left: 30px; border-left: 2px solid #eee;
}
.contact-info-item { margin-bottom: 30px; }
.contact-info-item h3 {
    font-size: 1.2rem; margin-bottom: 8px; display: flex;
    align-items: center; gap: 10px; color: var(--primary-color);
}
.contact-info-item p { margin: 0; color: var(--text-light-color); line-height: 1.6; }
.map-container {
    margin-top: 15px; border-radius: 8px; overflow: hidden; line-height: 0;
}


/* ==============================================
   レスポンシブ対応
   画面幅が狭い（スマホなど）のときのデザインを調整します。
============================================== */
@media (max-width: 900px) {
    /* お問い合わせページのレイアウトを縦並びに変更 */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 80px;
    }
    .contact-info-container {
        padding-left: 0;
        border-left: none;
    }
}

@media (max-width: 768px) {
    /* 画面幅が768px以下のときに適用 */
    .section-title { font-size: 1.8rem; }
    .header .container { flex-direction: column; gap: 10px; }
    .header-nav ul { flex-wrap: wrap; justify-content: center; }
    #hero { height: 50vh; }
    .hero-content h1 { font-size: 2.2rem; }
    .message-container { flex-direction: column; }
    .message-image { order: -1; margin-bottom: 30px; } /* 画像をテキストの上に移動 */
    .news-list a { flex-direction: column; align-items: flex-start; gap: 8px; }
    .footer-container { flex-direction: column; text-align: center; gap: 20px; }
    .footer-nav a { margin: 0 10px; }
}

@media (max-width: 600px) {
    /* 画面幅が600px以下のときに追加で適用（企業情報ページのテーブル） */
    .company-table-full th, .company-table-full td {
        display: block;                 /* テーブルのセルを縦に並べる */
        width: 100%;
        box-sizing: border-box;
    }
    .company-table-full th {
        border-bottom: none; padding-bottom: 5px;
    }
    .company-table-full td { padding-top: 5px; }
}

/* ▼▼▼▼▼ 姉妹サイト誘導CTAセクションのスタイル(不要な場合はそのまま削除してOKです。) ▼▼▼▼▼ */

.sister-cta-section {
    background-color: #f8f9fa; /* 薄い背景色 */
    padding: 5rem 2rem;
    margin-top: 4rem; /* フォームとの間隔 */
    border-top: 1px solid #e9ecef;
}

.sister-cta-content {
    display: flex;
    flex-direction: column-reverse; /* スマホではテキストが先 */
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.sister-cta-text {
    flex: 2; /* テキストエリアの幅を広めに */
}

.sister-cta-lead {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color, #e67e22); /* テーマカラー or オレンジ */
    margin: 0 0 0.5rem 0;
}

.sister-cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

.sister-cta-text p {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 2.5rem;
}

.sister-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 50px;
    color: #fff;
    background: linear-gradient(135deg, #f39c12, #e67e22); /* グラデーションボタン */
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(230, 126, 34, 0.3);
}

.sister-cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
    opacity: 1; /* a:hoverのデフォルトopacityを上書き */
}

.sister-cta-image {
    flex: 1;
    max-width: 250px;
}
.sister-cta-image img {
    width: 100%;
    border-radius: 12px;
}

/* PC表示でのレイアウト調整 */
@media (min-width: 768px) {
    .sister-cta-content {
        flex-direction: row; /* PCでは横並び */
        gap: 4rem;
        text-align: left;
    }
}

/* ▲▲▲▲▲ 姉妹サイト誘導CTAセクションのスタイル(不要な場合はそのまま削除してOKです。)  ▲▲▲▲▲ */