/* Reset and Base Styles */
:root {
    --primary-color: #00529B;
    --secondary-color: #00A3E0;
    --text-color: #333;
    --bg-color: #fff;
    --light-gray: #f4f4f4;
    --dark-gray: #666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', 'Arial', 'Hiragino Sans', 'Meiryo', sans-serif;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1100px;
    margin-top: 0px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

h1, h2 {
    margin-top:10px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

h3 {
    margin-top:5px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-top: -30px;
    margin-bottom: 10px;
}

h701 {
    margin-top: -30px;
    margin-bottom: 5px;
    color: var(--primary-color);
    text-align: center;
    font-size: 2.2rem;
}

h801 {
    margin-left:100px;
}


h901 {
    font-size: 1.5rem;
    margin-bottom: 60px;
}

h902 {
    font-size: 1.4rem;
    margin-bottom: 60px;
}

h903 {
    font-size: 1.2rem;
    margin-bottom: 60px;
}

h904 {
    font-size: 1.1rem;
    margin-bottom: 60px;
}

p {
    margin-bottom: 20px;
}

/* Header */
header {
    background: var(--bg-color);
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

header .logo {
    font-size: 2rem;
    font-weight: bold;
}

header .title901 {
    font-size: 1.4rem;
    font-weight: bold;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    font-weight: bold;
    transition: color 0.3s;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: url('../pic/Image_background.jpg') no-repeat center center/cover;
    color: #fff;
    height: 40vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    color: #fff;
}

.hero p {
    font-size: 1.4rem;
}

/* About Section */
.about {
    padding: 80px 0;
    text-align: center;
}

.about .container {
    max-width: 1000px;
}

/* Services Section */
.services {
    background: var(--light-gray);
    padding: 80px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background: #fff;
    padding: 20px;
    width: 300px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.service-item i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 2.2rem;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--secondary-color);
}

/* News Section */
.news {
    padding: 80px 0;
}

.news ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.news ul li {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.news ul li time {
    margin-right: 20px;
    font-weight: bold;
}

/* Footer */
footer {
    background: var(--text-color);
    color: #fff;
    padding: 40px 0 0;
}

footer .container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

footer .footer-links ul {
    list-style: none;
}

footer .footer-links ul li a {
    color: #fff;
    transition: color 0.3s;
}

footer .footer-links ul li a:hover {
    color: var(--secondary-color);
}

.copy {
    background: #222;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background: var(--light-gray);
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
}

/* Corporate Pages */
.corporate-links, .company-overview, .business-detail, .corporate-philosophy, .recruitment-section {
    padding: 80px 0;
}

.link-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.link-item {
    display: block;
    background: var(--light-gray);
    padding: 30px;
    border-radius: 5px;
    transition: all 0.3s;
    color: var(--text-color);
}

.link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.link-item h3 {
    color: var(--primary-color);
}

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

.overview-table th, .overview-table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
}

.overview-table th {
    background: var(--light-gray);
    width: 25%;
}

.overview-table td ul {
    list-style-position: inside;
}

.organization-chart, .csr-content {
    padding: 80px 0;
}

.org-chart-image {
    text-align: center;
    margin-bottom: 40px;
}

.org-chart-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
}

.organization-chart dl dt {
    font-weight: bold;
    margin-top: 20px;
    padding-left: 1em;
    border-left: 3px solid var(--primary-color);
}

.organization-chart dl dd {
    margin-left: 1em;
    padding-left: 1em;
    margin-bottom: 10px;
}

/* Recruitment Pages */
.recruitment-top, .recruitment-details, .entry-form-section {
    padding: 80px 0;
}

.recruitment-top {
    text-align: center;
}

.recruitment-links {
    margin-top: 40px;
}

.recruitment-links .btn {
    margin: 0 10px;
}

.btn-secondary {
    background: var(--dark-gray);
}

.btn-secondary:hover {
    background: var(--secondary-color);
}

.recruitment-features {
    background: var(--light-gray);
    padding: 80px 0;
}

.recruitment-features .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

.recruitment-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.recruitment-table th, .recruitment-table td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
}

.recruitment-table th {
    background: var(--light-gray);
    width: 25%;
}

.entry-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group label span {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.8rem;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 10px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.form-group input[type="radio"] {
    margin-right: 5px;
}

.form-group label:has(input[type="radio"]) {
    display: inline-block;
    margin-right: 20px;
    font-weight: normal;
}


/* Responsive */
@media screen and (max-width: 768px) {

   .hero {
    background: url('../pic/Image_background.jpg') no-repeat center center/cover;
    color: #fff;
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
   }

   .logo {
      font-size: 1.2rem;
      font-weight: bold;
   }

    h2 {
        font-size: 1.8rem;
    }

    h701 {
        font-size: 1.8rem;
    }

    header nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

  .service-grid {
    grid-template-columns: 1fr !important; /* ←強制的に1列にする */
  }

  .service-item {
    width: 320px;
  }

    footer .container {
        flex-direction: column;
        text-align: center;
    }

    footer .footer-info {
        margin-bottom: 20px;
    }
}




