/* Global Reset Fixes */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

:root {
    --primary: #00382f;
    /* より洗練されたディープグリーン */
    --accent: #e67e22;
    /* 温かみのあるオレンジ */
    --text-main: #1f1f1f;
    --text-sub: #4b4b4b;
    --white: #ffffff;
    --bg-light: #f4f7f6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-main);
    line-height: 1.8;
    background-color: var(--white);
}

/* Header Navigation */
header {
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e1e1e1;
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 2000;
    display: flex;
    align-items: center;
}

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

.logo img {
    height: 48px;
    display: block;
}

/* PC Menu */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: bold;
    font-size: 15px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

/* Hamburger (Hidden on PC) */
.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 28px;
    z-index: 2001;
}

#menu-toggle {
    display: none;
}

/* Hero Section with Background Image */

.hero {
    position: relative;
    height: 100vh;
    /* Screen height exactly */
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45)), url('../img/hero02.jpg') center left/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding-top: 80px;
    /* offset for fixed header */
}

.hero-content {
    max-width: 1200px;
    /* Widened to prevent unwanted wrapping */
    width: 90%;
    padding: 0 20px;
}


.hero-content h1 {
    font-size: clamp(2.2rem, 7vw, 4.2rem);
    /* Responsive scaling */
    margin-bottom: 45px;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 2;
    /*background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 4px;*/
}

/* Section Styling */
section {
    padding: 120px 0;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary);
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 25px auto 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Message */
.message-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.message-text h3 {
    font-size: 1.8rem;
    margin-bottom: 35px;
    color: var(--text-main);
}

/* Values & Future Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.card {
    background: white;
    padding: 35px 35px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border-top: 6px solid var(--primary);
    transition: transform 0.3s;
}

#vision .card {
    padding-bottom: 35px;
}

.card:hover {
    transform: translateY(-10px);
}

.card h4 {
    font-size: 1.4rem;
    margin:0 0 15px;
    color: var(--primary);
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    line-height: 1.6
}

.card p {
    font-size: 1rem;
    color: var(--text-sub);
    margin: 0
}

/* Business Section Table */
.business-list {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.business-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    border-bottom: 1px solid #eee;
}

.business-item:last-child {
    border-bottom: none;
}

.business-label {
    background: var(--primary);
    color: white;
    padding: 30px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.business-desc {
    padding: 30px;
    background: white;
}

/* Company Section */
.company-flex {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.rep-photo-wrapper {
    flex: 0 0 350px;
    text-align: center;
}

.rep-photo-wrapper img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.rep-name {
    margin-top: 15px;
    font-weight: bold;
    font-size: 1.2rem;
}

.company-info {
    flex: 1;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 18px 0;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.company-table th {
    width: 180px;
    color: var(--primary);
    vertical-align: top;
}

/* Contact Section - High Impact */
.contact-cta {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.partner-recruit {
    background: var(--white);
    color: var(--primary);
    padding: 60px;
    border-radius: 15px;
    margin-bottom: 50px;
    border: 4px solid var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.partner-recruit h3 {
    font-size: 2.2rem;
    margin: 0 0 20px;
    color: var(--accent);
}

.partner-recruit p {
    font-size: 1.3rem;
    margin-bottom: 0;
}

.mail-link {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid var(--accent);
    transition: opacity 0.3s;
}

.mail-link:hover {
    opacity: 0.8;
}

/* Shop section */
.shop-box {
    text-align: center;
    background: #eee;
    padding: 80px 20px;
}

footer {
    background: #1a1a1a;
    color: #777;
    text-align: center;
    padding: 40px 0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .hero-content h1 {
        font-size: clamp(2.2rem, 7vw, 4.2rem);
        /* Responsive scaling */
        margin-bottom: 25px;
        line-height: 1.3;
        letter-spacing: 0.05em;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 991px) {

    /* Navigation Mobile: Hamburger */
    .menu-icon {
        display: block;
    }

    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        transition: 0.4s;
        overflow-y: auto;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        padding: 50px 0;
        gap: 40px;
    }

    nav ul li a {
        font-size: 20px;
    }

    #menu-toggle:checked ~ nav {
        left: 0;
    }

    /* Layout shifts */
    .business-item {
        grid-template-columns: 1fr;
    }

    .business-label {
        padding: 15px 30px;
    }

    .company-flex {
        flex-direction: column;
        align-items: center;
    }

    .rep-photo-wrapper {
        margin-bottom: 40px;
    }

    .company-table th {
        width: 120px;
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }


    .hero-content h1 {
        font-size: clamp(2.2rem, 7vw, 4.2rem);
        /* Responsive scaling */
        margin-bottom: 25px;
        line-height: 1.3;
        letter-spacing: 0.05em;
        word-break: keep-all;
        overflow-wrap: anywhere;
    }

.hero-content p {
    font-size: 1rem;
    line-height: 1.8;
    padding: 20px;
}

    .partner-recruit {
        padding: 30px 20px;
    }

    .partner-recruit h3 {
        font-size: 1.5rem;
    }

    .mail-link {
        font-size: 1.5rem;
    }
}

/* Print/PDF Hide Header interaction */
@media print {
    header {
        position: relative;
    }

    .menu-icon {
        display: none;
    }
}


.shop_yotei {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 35px 0 0 0;
  width: 100%;
}

.shop_yotei li {
  flex: 1;
}

.shop_yotei img {
  display: block;
  width: 100%;
  height: auto;
}

.card {
  padding-bottom: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card h4, .card p {
  width: 100%;
}

.card-img {
  display: block;
  width: calc(100% + 70px);
  margin-left: -35px;
  margin-right: -35px;
  margin-top: auto;
  padding-top: 25px;
}
