/* --- 基本設定 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Roboto', sans-serif;
    color: #333;
    line-height: 1.8;
    background-color: #fff;
    overflow-x: hidden;
}

.wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

/* --- ヘッダー --- */
#header_top {
    width: 100%;
    padding: 20px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top_category {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top_category_logo img {
    height: 45px;
}

.top_category_right a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 700;
    margin-left: 20px;
}

/* --- ヘッダーENボタン --- */

.top_category_right img {
    width: 40px;
    margin-bottom: -6px;
}


/* --- ヒーロー ( sample.png を背景に ) --- */
#hero {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/bg_top.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero_content .title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    color: #fff;
    font-family: "Century Gothic";
}

.hero_content .sub {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 2;
    color: #fff;
}

/* --- セクション共通 --- */
section {
    padding: 100px 0;
    width: 100%;
    display: block; /* 縦並びを確定 */
}

.section_title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.2em;
    position: relative;
    padding-bottom: 15px;
}

.section_title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #333;
}

/* --- 事業内容 --- */
#business { background-color: #fcfcfc; }
.business_container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.business_item {
    background: #fff;
    padding: 40px;
    border-left: 8px solid #cc395b;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.business_item h2 { margin-bottom: 15px; font-size: 1.5rem; }

/* --- 理念 --- */
#philosophy {
    background-color: #cf4867;
    color: #fff;
}
#philosophy .section_title { color: #fff; }
#philosophy .section_title::after { background: #fff; }

.philosophy_intro { text-align: center; margin-bottom: 40px; }
.philosophy_visual { text-align: center; margin-bottom: 60px; }
.philosophy_visual img { width: 100%; max-width: 500px; border-radius: 10px; }

.philosophy_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.philosophy_card {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}
.philosophy_card h2 { color: #fcd860; margin-bottom: 15px; }

/* --- 会社概要 (テーブル形式) --- */
.table_box dl {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #f2dae0;
}
.table_box dt {
    width: 25%;
    background: #f5e9eb;
    padding: 10px;
    font-weight: bold;
    text-align: center;
    font-size: 0.9rem;
}
.table_box dd {
    width: 75%;
    padding: 25px;
    font-size: 0.9rem;
    text-align: center;
}

/* --- ブランド (Instagram風グリッド) --- */
.brand_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
    
}

.brand_item {
    margin-bottom: 30px;
}

.brand_item img {
    max-width: 70%;
    height: auto;
    object-fit: cover;
    background-color: #fff;
    margin: auto;
    display: flex;
}
.brand_item p { text-align: center; margin-top: 8px; font-size: 18px; }

/* --- 問い合わせ・フッター --- */
#contact { text-align: center; background: #cf4867; color: #fff; }
#contact .section_title { color: #fff; }
#contact .section_title::after { background: #fff; }
.contact_info b { color: #fcd860; font-size: 1.2rem; }

footer {
    background: #333;
    color: #999;
    padding: 30px 0;
    text-align: center;
    font-size: 12px;
}

/* --- レスポンシブ (スマホ対応) --- */
@media (max-width: 768px) {
    .hero_content .title { font-size: 2rem; }
    .philosophy_grid { grid-template-columns: 1fr; }
    .table_box dt, .table_box dd { width: 100%; }
}