/* 全体のリセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #fdffea;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    position: relative;
}

a:hover {
    color: #13912c;
}

a.line-effect:before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2A6734;
    transition: width 0.3s ease;
}

a:hover:before {
    width: 100%;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    user-select: none;  /* 画像の選択を防止 */
    -webkit-user-drag: none;  /* ドラッグを防止 */
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;  /* 画像上でのポインターイベントを無効化 */
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #45beda 0%, #2A6734 100%);
    color: #fff;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 20px;
    margin-right: 15px;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2A6734 0%, #45beda 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(42, 103, 52, 0.4);
    color: #fff;
}

.btn:hover:before {
    left: 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    color: #2A6734;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    /*background: linear-gradient(135deg, #45beda 0%, #2A6734 100%);*/
    border-radius: 2px;
}

/* ヘッダースタイル */
header {
    position: fixed;
    top: 0;
    width: 100%;
    justify-content: space-between;
    transition: all 0.3s ease;
    background-color: transparent;
    z-index: 1000;
    flex-wrap: nowrap;
    padding: 0;
}

/* 初期状態：透明背景、白文字 */
header nav a {
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* スクロール時：白背景、黒文字 */
header.scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

header.scrolled nav a {
    color: #2c3e50 !important;
    font-weight: 500;
}

header div .menu-toggle {
    color: #3f9261;
}

.toggle-btn {
    all: unset;
    width: 48px;
    height: 48px;
    cursor: pointer;
}

.toggle-btn span {
    display: block;
    position: relative;
    left: 50%;
    width: 24px;
    height: 2px;
    transform: translateX(-50%);
    background: #3f9261;
    transition: all 0.4s;
}

.toggle-btn span:nth-of-type(1) {
    top: -4px;
}

.toggle-btn span:nth-of-type(2) {
    top: 1px;
    transform: translateX(-0.45deg);
}

.toggle-btn span:nth-of-type(3) {
    top: 6px;
    transform: translateX(-0.45deg);
}

.toggle-btn.active span:nth-of-type(1) {
    top: 0;
    transform: translateX(-50%) rotate(225deg);
}

.toggle-btn.active span:nth-of-type(2) {
    opacity: 0;
}

.toggle-btn.active span:nth-of-type(3) {
    top: -4px;
    transform: translateX(-50%) rotate(-225deg);
}

/* ハンバーガーアイコン */
.menu-toggle {
    z-index: 100;
    top: 0;
    right: 0;
    height: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}


.logo h1 {
    color: #1a8754;
    font-size: 1.8rem;
    font-weight: bold;
}

nav {
    display: flex;
    z-index: 10;
    position: absolute;
    top: 0;
    right: -100%;

    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100vh;
    background: transparent;
    opacity: 0;
    transition: top 0.6s, right 0.6s, opacity 0.6s;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: inherit;
    padding: 0 20px;

}

nav a {
    text-decoration: none;
    position: relative;
}

nav ul {
    display: block;
    padding-left: 20px;
    padding-right: 20px;
}

.dropdown {
    display: inline-block;
    position: relative;
    width: 100%;
}

.has-dropdown>a::after {
    position: absolute;
    content: "▼";
    top: 50%;
    transform: translateY(-50%);
}

nav li {
    margin-left: 30px;
}

header.scrolled nav a:hover {
    font-weight: 500;
    color: #1a8754 !important;
}

.dropdown {
    display: none;
}

.dropdown li a::before {
    margin-right: 8px;
    margin-left: 8px;
    content: "-";
}

.has-dropdown.is-open .dropdown {
    display: block;
}



nav.active {
    position: fixed;
    top: 0;
    right: 0;
    opacity: 1;
    background-color: #70c88686;
}

/* タブレット画面（768px以上） */
@media screen and (min-width: 768px) {

    .menu-toggle {
        display: none;
    }

    .header-inner {
        margin-right: auto;
        margin-left: auto;
        max-width: initial;
        width: 100%;
    }

    nav {
        position: static;
        opacity: 1;
        height: inherit;
        width: inherit;
        width: 100%;
        max-width: fit-content;
    }

    nav ul {
        padding-left: 0;
        padding-right: 0;
        display: flex;
        flex-direction: row;
    }

    nav.has-dropdown ul {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 130%;
        margin: 0;
        padding: 0;
    }

    nav.has-dropdown ul li {
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: all 0.1s;
    }

    nav.has-dropdown ul li a {
        display: flex;
        align-items: center;
        padding: 13px 20px 13px 10px;
    }

    nav.has-dropdown:hover>ul>li {
        height: 48px;
        overflow: visible;
        background-color: #9bffb449;
    }

    nav.has-dropdown:hover>ul>li:not(:first-child) {
        border-top: 1px solid #000000;
    }

    nav.has-dropdown:hover>ul>li:hover {
        background-color: #fff;
    }

    .dropdown {
        display: block;
        text-align: left;
    }

    .dropdown li {
        position: relative;
    }

    .dropdown li a {
        position: relative;
        white-space: nowrap;
    }
}


/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, rgba(26, 135, 84, 0.9) 0%, rgba(69, 190, 218, 0.9) 100%);
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    color: #fff;
    overflow: hidden;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    background: #fff;
    color: #1a8754;
}

.hero .btn:hover {
    background: #f5f5f5;
}

/* 会社概要セクション */
.about {
    padding: 100px 0;
}

.about-content {
    background-color: #fdffea;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
}

.about-text {
    flex: 3;  /* 左側のテキストエリアの割合を増やす */
    min-width: 200px;
    padding-right: 30px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    width: 100%;           /* 枠の幅 */
    height: 100%;          /* 枠の高さ */
    object-fit: cover;    /* 縦横比を保ちつつ枠を覆う */
    display: flex;
    justify-content: flex-end; /* 画像を右寄せにする */
    margin-left: 10px;     /* 左側のマージンを追加 */
    filter: drop-shadow(20px 20px 0 #1a8754);
    border-radius: 10px;
}

.company-info {
    margin-top: 30px;
    padding: 20px; 
    background-color:  #ffffff;
    border-collapse: separate;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.company-info p {
    margin-bottom: 10px;
    color: #4a9689;
}

table.company-info {
    border-collapse: collapse;
    width: 100%;
    max-width: 700px;
    border-radius: 30px;
    border-collapse: separate;
}

table.company-info th, table.company-info td {
    padding: 1em;
}

table.company-info th {
    color: #13912c;
    font-weight: bold;
    text-align: left;
    width: 20%;
    min-width: 4em;
    position: relative;
}

table.company-info th::after {
    content: '';
    background-color: #13912c;
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
}

/* イメージプレースホルダー */
.image-placeholder {
    background-color: #e9f5ef;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #1a8754;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
}

/* サービスセクション */
.services {
    padding: 100px 0;
    background-color: #fdffea;
    text-align: center;
}

.service-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-item {
    flex: 0 1 calc(33.333% - 14px) !important;
    min-width: 250px !important;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e9f5ef 0%, #d1eedd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 2rem;
    color: #1a8754;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* テクノロジーセクション */
.technology {
    padding: 100px 0;
    background-color: #fdffea;
}

.tech-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px; /* 要素間の間隔を追加 */
}

.tech-text {
    flex: 1;
    min-width: 300px;
    padding-right: 30px; /* 50pxから30pxに変更 */
}

.tech-text h3 {
    margin: 30px 0 15px;
    font-size: 1.5rem;
    color: #1a8754;
}

.tech-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.tech-text li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.tech-text li:before {
    content: '●';
    color: #1a8754;
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.tech-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center; /* 中央揃え */
    filter: drop-shadow(20px 20px 0 #1a8754);
    border-radius: 20px;
}

/* 縦に並べる画像のスタイル */
.vertical-images {
    display: flex;
    flex-direction: column;
    gap: 20px; /* 画像間の間隔 */
    align-items: center; /* 水平方向の中央揃え */
}

/* 技術力セクションの画像サイズを適切に設定 */
.tech-image-full {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 10px;
    object-fit: contain;
}

/* 技術関連ページの動画サイズ最適化 */
.tech-image video,
.tech-image img[src$=".gif"] {
    max-width: 100%;
    height: auto;
    max-height: 600px; /* 450pxから600pxに変更してより大きく表示 */
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    margin: 20px auto; /* 上下の余白を追加して視覚的なバランスを向上 */
}

/* 導入事例セクション */
.case-studies {
    padding: 100px 0;
    background-color: #fdffea;
}

.case-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.case-item {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.case-image {
    flex: 1;
    min-width: 300px;
    height: 180px; /* 高さを250pxから180pxに変更 */
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* coverからcontainに変更して画像全体を表示 */
}

.case-image .image-placeholder {
    height: 100%;
    border-radius: 0;
}

.case-content {
    flex: 2;
    min-width: 300px;
    padding: 30px;
}

/* お問い合わせセクション */
.contact {
    padding: 100px 0;
    background-color: #fdffea;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-form {
    flex: 2;
    min-width: 300px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: #ffffffd3;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

/* 必須項目マーカー */
.required {
    color: #ff3860;
    font-weight: bold;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #1a8754;
}

/* エラー状態のスタイル */
input.error, textarea.error {
    border-color: #ff3860;
    background-color: #ffe8e8;
}

/* フォームレスポンス表示エリア */
.form-response {
    margin-top: 15px;
    padding: 15px;
    border-radius: 5px;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.form-response.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-response.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 送信ボタンの無効化スタイル */
button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #6c757d;
}

.consent {
    font-weight: 400;
    font-size: 1rem;
}

.personal_information {
    font-size: large;
    font-weight: 500;
    color: #45beda;
}

input[type="checkbox"] {
    width: auto;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #1a8754;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: #1a8754;
}

/* フッター */
footer {
    background-color: #376426;
    color: #ffffff;
    padding-top: 70px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-logo {
    flex: 2;
    min-width: 250px;
}

.footer-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.footer-logo p {
    color: #ffffff;
}

.footer-contact {
    flex: 2;
    min-width: 150px;
}

.footer-links, .footer-social {
    flex: 1;
    min-width: 150px;
}

.footer-contact h4, .footer-links h4, .footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #ffffff;
    display: inline-block;
    border-bottom: 3px solid #45beda;
}

.footer-contact h4::after, .footer-links h4:after, .footer-social h4:after {
    content: '';
    position: absolute;
}

.footer-contact p a {
    color: #4edfff;
}

.footer-contact p a:hover{
    color: #32ffaa;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
}

.footer-links a:hover {
    color: #45beda;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(69, 190, 218, 0.2);
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: #45beda;
    color: #000000;
}

.footer-copy {
    color: #ffffff;
    padding: 20px 0;
    border-top: 3px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* 会社概要ページ */
.page-header {
    background: linear-gradient(135deg, rgba(26, 135, 84, 0.7) 0%, rgba(69, 190, 218, 0.7) 100%), url('../images/recruit.jpg');
    background-size: cover;
    background-position: center;
    color: #fdffea;
    padding: 80px 0;
    text-align: center;
    position: relative;
    height: 100%;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.about-company {
    padding: 80px 0;
}

.about-section {
    margin-bottom: 60px;
}

.about-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a8754;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9f5ef;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.company-info-detail {
    background-color: #ffffffbb;
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    
}

.company-info-detail dl {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px dotted #ccc;
    margin-bottom: 0;
}

.company-info-detail dl:last-child {
    border-bottom: none;
}

.company-info-detail dt {
    width: 25%;
    padding: 15px;
    font-weight: 700;
}

.company-info-detail dd {
    width: 75%;
    padding: 15px;
    margin-left: 0;
}

.history-timeline {
    margin: 30px 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
}

.timeline-year {
    width: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a8754;
}

.timeline-content {
    flex: 1;
    padding-left: 30px;
    position: relative;
}

.timeline-content:before {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #1a8754;
    position: absolute;
    left: 0;
    top: 5px;
}

.timeline-content:after {
    content: '';
    width: 2px;
    height: calc(100% + 30px);
    background-color: #e9f5ef;
    position: absolute;
    left: 6px;
    top: 5px;
    z-index: -1;
}

.timeline-item:last-child .timeline-content:after {
    display: none;
}

.management-team {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.management-member {
    flex: 1;
    min-width: 250px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.member-image {
    height: 200px;
}

.member-details {
    padding: 20px;
}

.member-name {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #1a8754;
}

.member-position {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    display: block;
}

.about-nav {
    background-color: #fdffea;
    padding: 20px 0;
}

.about-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.about-nav li a {
    display: block;
    padding: 10px 20px;
    background-color: #1a8754;
    color: #ffffff;
    border-radius: 5px;
    opacity: .5;
    min-width: 70px;
    border-radius: 5px 5px 0 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-nav li a:hover {
    opacity: .8;
}

.about-nav li a.active {
    opacity: 1;
    background-color: #1a8754;
    color: #fff;
}

/* 導入事例ページ用スタイル */
.case-header {
    background: linear-gradient(135deg, rgba(26, 135, 84, 0.9) 0%, rgba(69, 190, 218, 0.9) 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.case-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 400px;
}

.related-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ロゴとイメージプレースホルダースタイル */
.logo img {
    max-height: 40px;
}

.footer-logo img {
    max-height: 40px;
    margin-bottom: 10px;
}

.member-image .image-placeholder {
    height: 100%;
    border-radius: 0;
}

/* サービスアイテムとアバウトセクションのスタイル */
.about-links {
    margin-top: 30px;
}

.tech-cta {
    text-align: center;
    margin-top: 40px;
}

.service-image {
    max-width: 80px;
    height: auto;
}

.about-image img {
    width: 80%; 
    height: auto; 
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* 導入事例詳細ページのスタイル */
.case-detail {
    padding: 80px 0;
}

.case-section {
    margin-bottom: 60px;
}

.case-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #1a8754;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9f5ef;
}

.case-section h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: #1a8754;
}

.case-section p, .case-section li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.case-section ul, .case-section ol {
    padding-left: 25px;
    margin-bottom: 25px;
}

.case-results {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.result-item {
    flex: 1;
    min-width: 250px;
    background-color: #f1f9ef;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.result-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a8754;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a8754;
    margin: 10px 0;
}

.case-image {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
}

.related-cases {
    background-color: #f9fafb;
    padding: 60px 0;
}

.related-case-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.related-case-item {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.related-case-item:hover {
    transform: translateY(-5px);
}

.related-case-image {
    height: 150px;
}

.related-case-content {
    padding: 20px;
}

.related-case-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #1a8754;
}

blockquote {
    font-style: italic;
    border-left: 4px solid #1a8754;
    padding-left: 20px;
}

.related-case-image .image-placeholder {
    height: 100%;
    border-radius: 0;
}

/* サービス詳細ページのスタイル */
.service-detail {
    padding: 100px 0;
}

.service-detail-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.service-detail-text {
    flex: 2;
    min-width: 300px;
}

.service-detail-text h3 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: #1a8754;
}

.service-detail-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.service-qa-list h3 {
    margin-bottom: 1em;
    color: #13912c;
    font-weight: 600;
}

.service-qa-list h3::before,
.service-qa-list p::before {
    margin-right: 1em;
}

.service-qa-list h3::before {
    content: "Q.";
}

.service-qa-list p {
    margin: 0 0 2.5em;
    padding: 1em 1.5em;
    background-color: #ffffff91;
    color: #3c5369;
    border-radius: 10px;
}

.service-qa-list p::before {
    content: "A.";
}

.service-detail-sidebar {
    flex: 1;
    min-width: 250px;
}

.service-detail-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
}

.service-process {
    margin: 50px 0;
    background-color: #ffffffb2;
    padding: 50px;
    border-radius: 30px;
}

.process-step {
    list-style-type: none;
    display: flex;
    /*margin-bottom: 30px;
    background-color: #ffffffae;
    border-radius: 10px;
    padding: 20px;*/
}

.process-step:not(:last-child) {
    margin: 0 0 50px;
}

.step-number {
    width: 90px;
    box-sizing: border-box;
    padding: 20px 10px 10px;
    /*font-size: 2.5rem;*/
    font-weight: bold;
    color: #fdffea;
    background-color: #1a8754;
    text-align: center;
    border-radius: 5px 5px 0 0;
    position: relative;
    line-height: 125%;
    margin: 0;
    /*margin-right: 20px;*/
    /*min-width: 40px;*/
}

.step-number::after {
    content: ' ';
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-top: 20px solid #1a8754;
    position: absolute;
    bottom: -20px;
    left: 0;
}

.step-content {
    padding: 0 0 0 30px;
    width: calc(100% - 115px);
}

.step-content h4 {
    padding: 0 0 5px;
    margin: 0 0 15px;
    font-size: 1.2em;
    font-weight: bold;
    border-bottom: 4px solid #b9b9b9;
    position: relative;
    color: #1a8754;
    /*font-size: 1.4rem;
    margin-bottom: 10px;*/
}

.step-content h4::after {
    content: '';
    width: 20%;
    height: 4px;
    position: absolute;
    bottom: -4px;
    left: 0;
}

/* マップセクションのスタイル */
.map-section {
    margin: 50px 0;
}

.google-map {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5; /* 背景色を追加 */
}

.google-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block; /* ブロック表示に設定 */
}

.map-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.service-cta {
    background-color: #a5cfb3cb;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 50px;
}

/* レスポンシブスタイル */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav li {
        margin: 10px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .about-text, .tech-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .service-item {
        flex: 1 1 calc(50% - 10px);
        min-width: 280px;
    }
    
    .case-content {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .service-item {
        min-width: 100%;
        flex: 1 1 100%;
    }
    
    .about-text, .about-image, .tech-text, .tech-image {
        min-width: 100%;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav li {
        margin: 10px;
    }
    
    .footer-logo, .footer-links, .footer-social {
        min-width: 100%;
    }
}

/* 個人情報保護方針のスタイル */
.privacy-policy {
    background-color: #ffffffb0;
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.privacy-policy h3 {
    font-size: 1.5rem;
    color: #1a8754;
    margin: 25px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e9f5ef;
}

.privacy-policy h4 {
    font-size: 1.2rem;
    color: #2A6734;
    margin: 20px 0 10px;
}

.privacy-policy p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.privacy-policy ul, .privacy-policy ol {
    margin: 15px 0;
    padding-left: 25px;
}

.privacy-policy li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.privacy-policy a {
    color: #45beda;
    text-decoration: underline;
}

.privacy-policy a:hover {
    color: #2A6734;
}

.policy-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
    text-align: right;
}

.privacy-policy h3:first-child {
    margin-top: 0;
}

.privacy-policy .policy-card {
    background-color: #ffffff;
    padding: 20px;
    border-left: 4px solid #1a8754;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.privacy-policy .policy-card h4 {
    margin-top: 0;
    color: #1a8754;
}

.privacy-policy .contact-box {
    background-color: #daeeeec5;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
}

.privacy-policy table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.privacy-policy table th, 
.privacy-policy table td {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    text-align: left;
}

.privacy-policy table th {
    background-color: #e9f5ef;
    color: #1a8754;
}

.privacy-policy table tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .privacy-policy {
        padding: 20px 15px;
    }
    
    .privacy-policy h3 {
        font-size: 1.3rem;
    }
    
    .privacy-policy h4 {
        font-size: 1.1rem;
    }
}

/* 森.gifのオーバーレイスタイル */
.-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    color: white;
    z-index: 10;
}

.text-overlay h2 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
    padding: 0 20px;
    animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* レスポンシブデザイン対応 */
@media (max-width: 768px) {
    .text-overlay h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .text-overlay h2 {
        font-size: 1.8rem;
    }
}

.responsive-img {
    width: 100vw;         /* 画面幅いっぱい */
    height: 100vh;     /* 画面高さいっぱい */
    object-fit: cover;    /* 縦横比を保ちつつ枠を覆う */
    display: block;       /* 下の隙間を消す */
    margin: 0;            /* 余白リセット */
}

/* オフィス風景の画像ギャラリー */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
    justify-content: space-between;
}

.gallery-item {
    flex: 1;
    min-width: 250px;
    max-width: calc(33.333% - 14px);
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.gallery-item p {
    padding: 15px;
    text-align: center;
    font-size: 1rem;
    color: #2c3e50;
}

@media (max-width: 768px) {
    .gallery-item {
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .gallery-item {
        max-width: 100%;
    }
}

/* LINEモーダルのスタイル */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-in-out;
    overflow: hidden;
}

.modal-header {
    background-color: #00B900;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-modal {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 30px;
}

.line-info {
    text-align: center;
}

.line-qr {
    margin-bottom: 30px;
}

.line-qr p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #333;
}

.qr-placeholder {
    background-color: #f5f5f5;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 40px;
    margin: 20px 0;
}

.qr-placeholder p {
    margin-top: 15px;
    color: #666;
    font-size: 1rem;
}

.line-actions {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.line-btn {
    background-color: #00B900;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.line-btn:hover {
    background-color: #009900;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 185, 0, 0.3);
}

.line-btn i {
    font-size: 1.3rem;
}

.line-url {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    word-break: break-all;
}

/* アニメーション */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ対応 */
@media (max-width: 576px) {
    .modal-content {
        margin: 5% auto;
        width: 95%;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .qr-placeholder {
        padding: 30px;
    }
    
    .line-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}