/*
Theme Name: ワードプレス_雛形
Description: 株式会社Ａ３のコーポレートサイトテーマ
Version: 1.0
Author: Your Name
*/

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* フェードインアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f3f6fb;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* トップナビゲーション */
.top-nav {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

.top-nav-logo {
    color: #0066cc;
    font-weight: bold;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #0066cc 0%, #0047ab 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 1001;
}

/* ハンバーガーメニューボタン */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.is-active .hamburger-line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.hamburger-menu.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.top-nav-menu {
    display: flex;
    gap: 2rem;
}

.top-nav-menu a {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #333;
    font-size: 0.95rem;
    font-weight: 700;
    transition: color 0.3s;
    white-space: nowrap;
}

.top-nav-menu a:hover {
    color: #0066cc;
}

/* ヒーローセクション */
.hero {
    position: relative;
    background-image: url('https://a-3.jp/wp-content/uploads/main.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.3) 0%, rgba(0, 71, 171, 0.4) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,90 Q180,50 360,65 Q540,75 720,60 Q900,50 1080,55 Q1260,45 1440,35 L1440,120 L0,120 Z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: bottom;
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-main-title {
    font-size: 5rem;
    font-weight: 300;
    color: #fff;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-line {
    flex: 1;
    height: 1px;
    background-color: #fff;
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: #fff;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* セクション共通スタイル */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    display: block;
    color: #0066cc;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.section-title-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0066cc 0%, #0047ab 100%);
    margin: 0 auto;
}

/* 企業についてセクション */
.about-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.about-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.about-human-image {
    flex-shrink: 0;
    width: 200px;
    position: relative;
    z-index: 1;
}

.about-human-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-speech-bubble {
    position: relative;
    background: #fff;
    border: 2px solid #333;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    max-width: 600px;
    flex: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.about-speech-bubble::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 40px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 20px solid #333;
    z-index: 1;
}

.about-speech-bubble::after {
    content: '';
    position: absolute;
    left: -17px;
    top: 42px;
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-right: 18px solid #fff;
    z-index: 2;
}

.speech-bubble-text {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    line-height: 1.8;
}

.about-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 2;
    color: #666;
}

/* 2カラムセクション */
.two-column-section {
    background-color: #f5f8ff;
}

.column-block {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    position: relative;
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.company-block {
    background-color: #ffffff;
}

.service-block {
    background-color: #ffffff;
}

.column-content-box {
    flex: 1;
    max-width: 600px;
    background: #fff;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 2;
    position: relative;
}

.company-block .column-content-box {
    margin-right: -50px;
}

.service-block .column-content-box {
    margin-left: -50px;
    order: 2;
}

.column-image {
    flex: 1;
    max-width: 500px;
    z-index: 1;
}

.service-block .column-image {
    order: 1;
    width: 100%;
}

.column-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 4px;
}

.column-description {
    font-size: 1rem;
    line-height: 2;
    color: #666;
    margin: 1.5rem 0;
}

/* ボタン */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #0066cc 0%, #0047ab 100%);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    transform: translateY(-2px);
}

/* 事業内容セクション */
.business-section {
    padding: 100px 20px;
    background-color: #f8fbff;
    position: relative;
}

.business-feature {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 100px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    min-height: 400px;
}

.business-feature:last-child {
    margin-bottom: 0;
}

.business-feature-left {
    flex-direction: row;
}

.business-feature-right {
    flex-direction: row-reverse;
}

.business-feature-content {
    flex: 1;
    max-width: 600px;
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 1;
    position: relative;
}

.business-feature-left .business-feature-content {
    margin-right: -50px;
    padding-right: 7.5rem;
}

.business-feature-right .business-feature-content {
    margin-left: -50px;
    margin-right: 0;
    padding-left: 7.5rem;
}

.business-feature-number {
    font-size: 5rem;
    font-weight: 700;
    color: #0066cc;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: 'Arial', sans-serif;
}

.business-feature-title {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.business-feature-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.business-feature-description {
    font-size: 1rem;
    line-height: 2;
    color: #555;
}

.business-feature-description .highlight-text {
    color: #0066cc;
    font-weight: 600;
}

.business-feature-image {
    flex: 1;
    max-width: 500px;
    z-index: 2;
    position: relative;
}

.business-feature-left .business-feature-image {
    margin-top: -30px;
}

.business-feature-right .business-feature-image {
    margin-top: -30px;
}

.business-feature-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease;
}

.business-feature-image:hover img {
    transform: scale(1.05);
}

/* 最新情報セクション */
.news-section {
    padding: 80px 20px;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.news-image {
    flex: 1;
    max-width: 500px;
}

.news-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
}

.news-content-box {
    flex: 1;
    background: #fff;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.news-list {
    list-style: none;
    margin: 2rem 0;
}

.news-item {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    gap: 2rem;
}

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

.news-date {
    color: #666;
    font-size: 0.9rem;
    min-width: 100px;
}

.news-title {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title:hover {
    color: #0066cc;
}

.news-empty {
    margin-top: 1.5rem;
    color: #777;
    font-size: 0.95rem;
}

/* 記事一覧ボタン */
.news-more {
    margin-top: 2rem;
    text-align: center;
}

.news-more-button {
    display: inline-block;
    background: linear-gradient(135deg, #0066cc 0%, #0047ab 100%);
    color: #fff;
    padding: 14px 40px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
}

/* .news-more-button::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid #fff;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transition: right 0.3s ease;
} */

.news-more-button:hover {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    transform: translateY(-2px);
}

.news-more-button:hover::before {
    right: 15px;
}

.news-more-button:active {
    transform: translateY(0);
}

/* アーカイブページ */
.archive-main {
    padding-top: 40px;
    padding-bottom: 80px;
    background-color: #f3f6fb;
}

.archive-section {
    padding: 80px 20px;
}

.archive-posts {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.archive-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.archive-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.archive-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.archive-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.archive-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-item:hover .archive-image {
    transform: scale(1.05);
}

.archive-content {
    padding: 1.5rem;
}

.archive-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.archive-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.archive-item:hover .archive-title {
    color: #0066cc;
}

.archive-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

.archive-empty {
    text-align: center;
    padding: 3rem;
    color: #777;
    font-size: 1.1rem;
}

/* ページネーション */
.pagination {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: linear-gradient(135deg, #0066cc 0%, #0047ab 100%);
    color: #fff;
    border-color: #0066cc;
}

.pagination .prev,
.pagination .next {
    font-weight: 500;
}

/* single.php NEWS 詳細 */
/* .single-main {
    padding-top: 40px;
} */

.single-news-section {
    padding: 80px 20px 100px;
    background-color: #ffffff;
}

.single-article {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.single-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.single-content {
    font-size: 1rem;
    line-height: 1.9;
    color: #444;
}

.single-content p + p {
    margin-top: 1rem;
}

.single-back {
    margin-top: 2.5rem;
    text-align: right;
}

.single-back a {
    font-size: 0.9rem;
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 102, 204, 0.4);
    padding-bottom: 2px;
}

.single-back a:hover {
    color: #0047ab;
    border-color: rgba(0, 71, 171, 0.7);
}

/* 会社概要セクション */
.company-detail-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.company-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.company-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.company-table tr:last-child {
    border-bottom: none;
}

.company-table th {
    background: linear-gradient(135deg, #e6f2ff 0%, #f0f7ff 100%);
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: bold;
    color: #003d7a;
    width: 30%;
    vertical-align: top;
    border-right: 1px solid #e0e0e0;
}

.company-table td {
    padding: 1.2rem 1.5rem;
    color: #666;
    line-height: 1.8;
}

.company-table td strong {
    color: #333;
}

/* お問い合わせセクション */
.contact-section {
    padding: 80px 20px;
    background-color: #f5f8ff;
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.contact-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

/* コンタクトフォーム */
.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group .required {
    color: #dc3545;
    margin-left: 0.2rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    background-color: #fff;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
    line-height: 1.6;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.btn-submit {
    background: linear-gradient(135deg, #0066cc 0%, #0047ab 100%);
    color: #fff;
    padding: 12px 40px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    min-width: 200px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Contact Form 7 スタイル */
.wpcf7 {
    max-width: 100%;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1.5rem;
    margin-top: 0.3rem;
}

.wpcf7 label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

/* 必須マークを赤色に */
.wpcf7 label .required,
.wpcf7 label span.require,
.wpcf7 label .wpcf7-required,
.wpcf7 label span[class*="required"],
.wpcf7 label .asterisk {
    color: #dc3545;
    margin-left: 0.2rem;
    font-weight: bold;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}

/* 送信ボタンを中央に配置 */
.wpcf7 p:has(input[type="submit"]),
.wpcf7 div:has(input[type="submit"]),
.wpcf7 .wpcf7-submit-wrapper,
.wpcf7 p.submit,
.wpcf7 span.submit {
    text-align: center;
    margin-top: 2rem;
}

.wpcf7 input[type="submit"] {
    background: linear-gradient(135deg, #0066cc 0%, #0047ab 100%);
    color: #fff;
    padding: 12px 40px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    display: inline-block;
    margin: 0 auto;
}

.wpcf7 input[type="submit"]:hover {
    background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    transform: translateY(-2px);
}

/* スピナーを非表示 */
.wpcf7-spinner {
    display: none !important;
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ok {
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.wpcf7 .wpcf7-validation-errors {
    border: 1px solid #dc3545;
    background-color: #f8d7da;
    color: #721c24;
}

.wpcf7 .wpcf7-mail-sent-ok {
    border: 1px solid #28a745;
    background-color: #d4edda;
    color: #155724;
}

/* 採用情報セクション */
.recruit-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 50%, #e6f2ff 100%);
}

.recruit-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.recruit-main {
    background: #fff;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.recruit-sub {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.recruit-card {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.recruit-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.recruit-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.4);
    color: #fff;
    padding: 2rem;
    text-align: center;
}

.recruit-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.recruit-card-description {
    color: #fff;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.recruit-card .btn-primary {
    background: #fff;
    color: #0066cc;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.recruit-card .btn-primary:hover {
    background: #f0f0f0;
    color: #0047ab;
}

/* フッター */
.footer {
    background: linear-gradient(135deg, #0066cc 0%, #0047ab 100%);
    color: #fff;
}

.footer-top {
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, #0066cc 0%, #0047ab 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
}

.footer-logo {
    flex: 0 0 200px;
}

.footer-logo-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    gap: 3rem;
    flex: 1;
}

.footer-nav-column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.footer-nav-column ul {
    list-style: none;
}

.footer-nav-column ul li {
    margin-bottom: 0.5rem;
}

.footer-nav-column ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-nav-column ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    padding: 20px;
}

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

.footer-bottom-left {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-left a {
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-bottom-right {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ハンバーガーメニューオーバーレイ */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .hero-main-title {
        font-size: 3.5rem;
    }

    .column-block {
        flex-direction: column;
        flex-direction: column-reverse;
        padding: 40px 20px;
    }

    .column-content-box {
        margin: 0;
        margin-bottom: 2rem;
        max-width: 100%;
    }

    .company-block .column-content-box {
        margin-right: 0;
    }

    .service-block .column-content-box {
        margin-left: 0;
        order: 1;
    }

    .service-block .column-image {
        order: 2;
    }

    .column-image {
        max-width: 100%;
    }

    .column-image img {
        height: 400px;
    }

    .business-feature {
        gap: 2rem;
        margin-bottom: 60px;
        flex-direction: column !important;
    }

    .business-feature-left,
    .business-feature-right {
        flex-direction: column !important;
    }

    .business-feature-image {
        order: -1;
        width: 100%;
        max-width: 100%;
        margin-top: 0 !important;
        margin-bottom: 2rem;
    }

    .business-feature-image img {
        width: 100%;
        height: 300px;
    }

    .business-feature-content {
        order: 1;
        padding: 2rem;
        padding-right: 2rem !important;
        padding-left: 2rem !important;
        margin: 0 !important;
        max-width: 100%;
        width: 100%;
    }

    .business-feature-left .business-feature-content {
        margin-right: 0;
        padding-right: 2rem;
    }

    .business-feature-right .business-feature-content {
        margin-left: 0;
        padding-left: 2rem;
    }

    .business-feature-number {
        font-size: 4rem;
    }

    .business-feature-title {
        font-size: 1.6rem;
    }

    .news-container,
    .contact-form-wrapper {
        padding: 2.5rem;
    }

    .news-image {
        width: 100%;
    }

    .news-image img {
        height: 300px;
    } 



    .recruit-container {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .about-section {
        padding: 60px 20px;
    }

    .about-content-wrapper {
        gap: 1.2rem;
    }

    .about-human-image {
        width: 140px;
    }

    .about-speech-bubble {
        max-width: 100%;
        padding: 1.1rem 1.4rem;
    }

    .speech-bubble-text {
        font-size: 1rem;
        text-align: center;
    }

    .business-section {
        padding: 60px 20px;
    }

    .news-section {
        padding: 60px 20px;
    }

    .company-detail-section {
        padding: 60px 20px;
    }

    .contact-section {
        padding: 60px 20px;
    }
}

@media (max-width: 767px) {
    /* ハンバーガーメニュー */
    .hamburger-menu {
        display: flex;
    }

    .top-nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 0;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
    }

    .top-nav-menu.active {
        right: 0;
    }

    .top-nav-menu a {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid #e0e0e0;
        font-size: 1rem;
    }

    .top-nav-menu a:last-child {
        border-bottom: none;
    }

    .top-nav {
        padding: 1rem 0;
    }

    .top-nav-logo {
        font-size: 1.2rem;
    }

    .hero {
        height: 70vh;
        min-height: 500px;
    }

    .hero::after {
        display: none;
    }

    .hero-container {
        padding: 40px 20px;
    }

    .hero-main-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-label {
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .about-section {
        padding: 50px 20px;
    }

    .about-content-wrapper {
      gap: 0.8rem;
      margin-bottom: 1.5rem;
      max-width: 368px;
      margin-top: 20px;
      margin-left: auto;
      margin-right: auto;
      opacity: 0.9;
    }

    .about-human-image {
        width: 90px;
    }

    .about-speech-bubble {
        padding: 0.9rem 1rem;
    }

    .speech-bubble-text {
        font-size: 0.85rem;
    }

    .about-description {
        font-size: 1rem;
        line-height: 1.8;
    }

    .column-block {
        padding: 30px 20px;
        min-height: auto;
    }

    .column-content-box {
        padding: 2rem 1.5rem;
    }

    .column-description {
        font-size: 0.9rem;
        line-height: 1.8;
        margin: 1rem 0;
    }

    .column-image img {
        height: 300px;
    }

    .business-section {
        padding: 50px 20px;
    }

    .business-feature {
        flex-direction: column !important;
        gap: 0;
        margin-bottom: 50px;
        min-height: auto;
    }

    .business-feature-image {
        order: -1;
        width: 100%;
        max-width: 100%;
        margin-top: 0 !important;
        margin-bottom: 1.5rem;
    }

    .business-feature-image img {
        width: 100%;
        height: 250px;
    }

    .business-feature-content {
        order: 1;
        padding: 1.5rem;
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
        margin: 0 !important;
        max-width: 100%;
        width: 100%;
    }

    .business-feature-left .business-feature-content,
    .business-feature-right .business-feature-content {
        margin-right: 0;
        margin-left: 0;
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }

    .business-feature-number {
        font-size: 3rem;
    }

    .business-feature-title {
        font-size: 1.4rem;
    }

    .business-feature-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .business-feature-description {
        font-size: 0.9rem;
        line-height: 1.8;
    }

    .news-section {
        padding: 50px 20px;
    }

    .news-container {
        gap: 2rem;
        padding: 0px;
        flex-direction: column;
    }

    .news-image img {
        height: 250px;
    }

    .news-content-box {
        padding: 2rem 1.5rem;
        width: 100%;
    }

    .news-item {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0;
    }

    .news-date {
        min-width: auto;
        font-size: 0.85rem;
    }

    .news-title {
        font-size: 0.95rem;
    }

    .news-more-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .archive-posts {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .archive-thumbnail {
        height: 180px;
    }

    .archive-content {
        padding: 1.2rem;
    }

    .archive-title {
        font-size: 1.1rem;
    }

    .company-detail-section {
        padding: 50px 20px;
    }

    .company-table {
        font-size: 0.9rem;
    }

    .company-table tr {
        display: block;
        border-bottom: 1px solid #e0e0e0;
        margin-bottom: 0;
    }

    .company-table tr:last-child {
        border-bottom: 1px solid #e0e0e0;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 1rem 0.8rem;
        font-size: 0.85rem;
        border-right: none;
    }

    .company-table th {
        width: 100%;
        font-size: 0.9rem;
        text-align: left;
        border-bottom: 1px solid #e0e0e0;
        padding-bottom: 0.8rem;
    }

    .company-table td {
        padding-top: 0.8rem;
        padding-bottom: 1rem;
    }

    .contact-section {
        padding: 50px 20px;
    }



    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

    .column-description {
        font-size: 0.9rem;
    }

    .btn-primary {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    .footer-top {
        padding: 40px 20px 30px;
    }

    .footer-container {
        gap: 2rem;
    }

    .footer-logo {
        flex: 0 0 100%;
    }

    .footer-nav {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
    }

    .footer-nav-column {
        width: 100%;
    }

    .footer-bottom {
        padding: 15px 20px;
    }

    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-left {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .top-nav-container {
        padding: 0 15px;
    }

    .container {
        padding: 0 0px;
    }

    .column-block {
        padding: 30px 15px;
    }

    .column-content-box,
    .news-content-box,

    .business-feature-content {
        padding: 1.2rem;
    }

    .business-feature-number {
        font-size: 2.5rem;
    }

    .business-feature-title {
        font-size: 1.2rem;
    }

    .company-table th,
    .company-table td {
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
        width: 100%;
    }

    .company-table th {
        width: 100%;
        padding-bottom: 0.6rem;
    }

    .company-table td {
        padding-top: 0.6rem;
    }
}

.recaptcha-notice {
    font-size: 12px;
}

.recaptcha-notice a {
    text-decoration: none;
	color: #333;
}
