/* style.css */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --primary-color: #4CAF50; /* Green */
    --secondary-color: #333; /* Dark Grey */
    --accent-color: #FFC107; /* Amber */
    --text-color: #444;
    --light-grey: #f8f8f8;
    --border-color: #eee;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-color);
    line-height: 1.8;
    background-color: #ffffff;
}

/* Global Reset & Base */
*, *::before, *::after {
    box-sizing: inherit;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; border-bottom: 2px solid var(--border-color); padding-bottom: 10px; margin-bottom: 25px;}
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

img {
    max-width: 100%;
    height: auto;
    display: block; /* Remove extra space below images */
}

/* Header */
header {
    background-color: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 50px; /* PCでのロゴの高さ */
    margin-right: 10px;
    vertical-align: middle;
}

.logo-text { /* (現在使用していませんが、定義は残しています) */
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    line-height: 1;
}

.logo-text span {
    color: var(--secondary-color);
    font-size: 1.5rem;
    display: block;
    line-height: 1;
}

/* --- Hamburger Menu Icon --- */
.hamburger-menu {
    width: 30px;
    height: 20px;
    display: flex; /* これがないとバーが表示されない */
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001; /* ナビゲーションより手前に */
    display: none; /* PCでは非表示に設定 */
}

.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease-in-out;
}

/* --- Close Button for mobile nav --- */
.close-btn {
    font-size: 2.5rem;
    color: white;
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
    z-index: 1002; /* ハンバーガーメニューより手前に */
    display: none; /* PCでは非表示に設定 */
}


nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav ul li {
    margin-left: 20px;
    margin-bottom: 5px;
    margin-top: 5px;
}

nav ul li a {
    color: var(--secondary-color);
    font-weight: 400;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
    white-space: nowrap;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Hero Section (for index.html) */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://via.placeholder.com/1920x600?text=Your+Company+Hero+Image') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin-bottom: 40px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-weight: 700;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background-color: #5cb85c;
    transform: translateY(-3px);
}

/* Main Content Container */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

/* Section Intro */
.section-intro {
    text-align: center;
    margin-bottom: 50px;
}

.section-intro h2 {
    margin-bottom: 10px;
}

/* Grid Layouts */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Card Styles */
.card {
    background-color: var(--light-grey);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card img {
    border-radius: 5px;
    margin-bottom: 15px;
    object-fit: cover;
    width: 100%;
    height: 200px;
}

.card h3 {
    color: var(--primary-color);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Business Brand Section */
.brand-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.brand-card {
    background-color: var(--light-grey);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    width: calc(33.33% - 20px);
    min-width: 280px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.brand-card img {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}

.brand-card h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
}

.brand-card p {
    font-size: 0.95rem;
    color: #666;
}

.brand-detail-section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: var(--light-grey);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.brand-detail-section h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

.brand-detail-section img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    margin-bottom: 25px;
    border-radius: 8px;
}

/* Company Profile & CEO Message */
.profile-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center; /* セクション全体のアイテムを垂直方向中央に揃える */
    gap: 40px;
    margin-bottom: 40px;
}

.ceo-photos {
    display: flex;
    flex-direction: column; /* PC版では縦並び */
    gap: 20px;
    flex: 0 0 300px;
    text-align: center;
    align-items: center;
    justify-content: center; /* 画像コンテナ内のアイテムを垂直方向中央に揃える */
}

.ceo-photos img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: block;
}

.profile-img-caption {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-top: 15px;
}

.profile-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center; /* テキストブロック内のコンテンツを垂直方向中央に揃える */
}

.profile-text h3 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    border: 1px solid var(--border-color);
    padding: 12px 15px;
    text-align: left;
}

table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
}

table tr:nth-child(even) {
    background-color: var(--light-grey);
}

table tr:hover {
    background-color: #eef;
}

/* Financial Info */
.financial-item {
    background-color: var(--light-grey);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.financial-item h3 {
    color: var(--primary-color);
    font-family: 'Noto Sans JP', sans-serif;
    margin-bottom: 10px;
}

.financial-item a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.financial-item a:hover {
    background-color: #5cb85c;
}

/* Careers Page */
.job-listing {
    background-color: var(--light-grey);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.job-listing h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.job-listing ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.job-listing .apply-btn {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.job-listing .apply-btn:hover {
    background-color: #e0b000;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 50px;
    fo
