* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

main {
    margin-top: 70px;
    padding-bottom: 50px;
}

section {
    position: relative;
}

section:after,
section:last-of-type:after {
    display: none;
}

.email-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.email-link:hover {
    color: #2e7b8b;
    text-decoration: underline;
}

footer .email-link {
    color: #ddd;
}

footer .email-link:hover {
    color: #2e7b8b;
}

.btn {
    display: inline-block;
    padding: 12px 50px;
    background-color: #2e7b8b;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #3a96a9;
    color: #ffffff;
}

.form-submit .btn,
#contactForm .btn,
form .btn {
    transition: background-color 0.3s ease;
    letter-spacing: normal;
    transform: none;
    font-size: 16px;
}

.form-submit .btn:hover,
#contactForm .btn:hover,
form .btn:hover {
    letter-spacing: normal;
    transform: none;
}

.form-submit .btn i {
    margin-right: 12px;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.handwritten {
    font-family: 'Klee One', cursive;
    font-size: 1.5em;
    color: #2e7b8b;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ヘッダーとナビゲーション */
header {
    background-color: rgba(36, 41, 46, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo a:hover {
    color: inherit;
}

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

nav li {
    margin-left: 25px;
    position: relative;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    position: relative;
    transition: 0.3s;
    font-family: 'Oxanium', cursive;
}

nav a.active {
    color: #4cc3d9;
    text-decoration: underline;
}

nav a:hover {
    color: #4cc3d9;
}

nav a[href="faq.php"]::after {
    content: '\f35d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 14px;
    display: inline-block;
}

a[href$="faq.php"]::after {
    content: '\f35d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 14px;
    display: inline-block;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin-bottom: 5px;
    border-radius: 2px;
    transition: 0.3s;
}

/* セクションタイトル */
.section-title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #333;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 5px;
    letter-spacing: 3px;
}

.section-title .subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    color: #444;
    margin-top: 5px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #2e7b8b;
}

/* セクション装飾 */
.section-divider {
    position: relative;
    height: 2px;
    background: linear-gradient(to right, rgba(46,123,139,0), rgba(46,123,139,0.7) 20%, rgba(46,123,139,0.7) 80%, rgba(46,123,139,0));
    margin: 0;
    width: 100%;
    display: block;
    border: none;
}

.section-divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 320px;
    background: linear-gradient(135deg, #2e7b8b 30%, rgba(100, 176, 196, 0.3) 65%, rgba(46, 123, 139, 0.9) 100%);
    clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
    z-index: 1;
}

.section-divider.service-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 320px;
    clip-path: polygon(0% 0%, 100% 0%, 0% 100%);
    background: linear-gradient(225deg, rgba(46, 123, 139, 0.9) 0%, rgba(100, 176, 196, 0.3) 35%, #2e7b8b 70%);
    z-index: 1;
}

/* ヒーローセクション */
#hero {
    height: 50vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    padding: 20px 100px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

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

.hero-content p {
    font-size: 24px;
    margin-bottom: 20px;
}

/* ABOUT US セクション */
#about {
    background-color: #fff;
    position: relative;
    padding-bottom: 30px;
    margin-bottom: 50px;
}

.about-container {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    align-items: center;
}

.about-image {
    flex: 0 0 44%;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.about-content {
    flex: 0 0 51%;
}

.about-text {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
}

.about-text h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2e7b8b;
}

.about-text p {
    color: #444;
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-item {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: none;
    transition: 0.3s;
    margin-bottom: 30px;
    border: 1px solid #2e7b8b;
    min-height: 150px;
}

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

.about-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #2e7b8b;
}

.about-item p {
    color: #666;
    margin-bottom: 0;
}

.ceo-signature {
    text-align: right;
    margin-top: 20px;
    margin-bottom: 5px;
    font-weight: 500;
}

/* SERVICE セクション */
#service {
    background-color: #fff;
    padding-bottom: 50px;
    position: relative;
    overflow: hidden;
}

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

.service-item {
    padding: 40px 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: 0.3s;
    border: 1px solid #2e7b8b;
    min-height: 280px;
}

.service-item:hover {
    border-color: #2e7b8b;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(46, 123, 139, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-style: italic;
    color: #2e7b8b;
}

.service-icon i {
    font-size: 30px;
    color: #2e7b8b;
}

.service-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

/* RECRUIT セクション */
#recruit {
    background: linear-gradient(135deg, #1a365d, #2e7b8b, #1a365d);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding-bottom: 50px;
}

#recruit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

#recruit .section-title h2,
#recruit .section-title .subtitle {
    color: #fff;
}

.recruit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.job-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

#recruit .job-card {
    background-color: rgba(255, 255, 255, 0.9);
}

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

#recruit .job-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

.job-image {
    height: 200px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.job-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.job-card:hover .job-image img {
    transform: scale(1.1);
}

.job-image i {
    font-size: 50px;
    color: #2e7b8b;
}

.job-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: calc(100% - 200px);
}

.job-content .btn {
    align-self: center;
    margin-top: auto;
}

.job-content p {
    flex-grow: 1;
    margin-bottom: 20px;
}

#recruit .job-content h3 {
    color: #333;
}

#recruit .job-content p {
    color: #555;
}

/* ギャラリー */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #2e7b8b;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    opacity: 0;
    transition: 0.3s;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* CONTACT セクション */
#contact {
    background-color: #fff;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-left: auto;
    margin-right: 0;
    width: 95%;
}

.contact-info {
    flex: 0 0 28%;
}

.contact-info h3 {
    font-size: 24px;
    color: #2e7b8b;
    margin-bottom: 15px;
}

.contact-detail {
    display: flex;
    margin-bottom: 15px;
}

.contact-detail h4 {
    font-size: 18px;
    margin-bottom: 3px;
    color: #333;
}

.contact-icon {
    font-size: 22px;
    margin-right: 12px;
    color: #2e7b8b;
}

.contact-detail p {
    color: #444;
}

.contact-form {
    flex: 0 0 68%;
    background-color: #fff;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #2e7b8b;
}

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

.form-group:last-of-type {
    margin-bottom: 6px;
}

.form-group label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: #333;
}

.required-label {
    position: relative;
    display: flex;
    align-items: center;
}

.required-badge {
    display: inline-block;
    background-color: #8B0000;
    color: #fff;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 8px;
    font-weight: normal;
}

.required-mark {
    color: #ff0000;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: 0.3s;
    background-color: #f5f9f7;
}

.form-control:focus {
    border-color: #2e7b8b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 123, 139, 0.2);
    background-color: #ffffff;
}

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

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.checkbox-group {
    margin-top: 8px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.checkbox-label {
    margin-left: 8px;
    font-weight: 600;
}

.privacy-link {
    margin-left: 8px;
    color: #2e7b8b;
    text-decoration: none;
    transition: 0.3s;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* 確認画面 */
.confirm-section {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.confirm-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.confirm-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #666;
}

.confirm-value {
    color: #333;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

/* プライバシーポリシー */
.policy-content {
    background-color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #2e7b8b;
}

.policy-content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: #2e7b8b;
    font-family: 'Noto Sans JP', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    margin-left: 0;
}

.policy-content p,
.policy-content ul,
.policy-content li {
    font-family: 'Noto Sans JP', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #444;
    font-size: 16px;
    line-height: 1.8;
    font-weight: 400;
}

.policy-content p {
    margin-left: 2em;
}

.policy-content ul {
    padding-left: 0;
    list-style-type: none;
    margin-left: 2em;
}

.policy-content li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 10px;
}

.policy-content li:before {
    content: "・";
    position: absolute;
    left: 0;
}

/* サンクスページ */
.privacy-policy-section, 
.thanks-section {
    background-color: #fff;
    padding: 20px 0;
}

.privacy-policy-section {
    padding-bottom: 0;
}

.thanks-container {
    background-color: #fff !important;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #2e7b8b;
}

.thanks-content {
    text-align: center;
}

.thanks-content h3 {
    font-size: 24px;
    color: #2e7b8b;
    margin-bottom: 20px;
}

.thanks-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* イベントページ */
#event {
    background-color: #fff;
    padding-top: 40px;
    padding-bottom: 0;
}

.event-content {
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #2e7b8b;
}

/* フッター */
footer {
    background-color: rgba(36, 41, 46, 0.9);
    color: #fff;
    padding: 25px 0 10px;
    backdrop-filter: blur(5px);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

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

.footer-logo img {
    height: 36px;
    margin-right: 10px;
}

.footer-logo h2 {
    font-family: 'Roboto', 'Noto Sans JP', sans-serif;
    font-size: 24px;
    color: #fff;
    letter-spacing: 1.5px;
}

.footer-links h3 {
    font-family: 'Oxanium', 'Noto Sans JP', sans-serif;
    font-size: 16px;
    margin-bottom: 8px;
    color: #3a96a9;
    letter-spacing: 0.5px;
    font-weight: 600;
}

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

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

.footer-links a {
    color: #f1f1f1;
    font-weight: 500;
    text-decoration: none;
    transition: 0.3s;
    font-family: 'Oxanium', cursive;
}

.footer-links a:hover {
    color: #4cc3d9;
}

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

.footer-contact i {
    margin-right: 10px;
    color: #2e7b8b;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #aaa;
}

.scroll-top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #2e7b8b;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-weight: bold;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.scroll-top:hover {
    background-color: #3a96a9;
    transform: translateY(-5px);
}

/* FAQページ専用 */
#faq {
    background-color: #fff;
    padding: 40px 0 60px;
}

.faq-search {
    max-width: 600px;
    margin: 0 auto 40px;
}

.search-container {
    display: flex;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
    border: 1px solid #e0e0e0;
    overflow: hidden;
}

#faqSearch {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 16px;
    outline: none;
}

.search-btn {
    background-color: #2e7b8b;
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #3a96a9;
}

.faq-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    background-color: #e0e0e0;
}

.tab-btn.active {
    background-color: #2e7b8b;
    color: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 40px;
}

.category-title {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2e7b8b;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-item.hidden {
    display: none;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: #f9f9f9;
}

.faq-question h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    flex: 1;
}

.toggle-icon {
    width: 24px;
    height: 24px;
    width: 24px;
    height: 24px;
    text-align: center;
    color: #2e7b8b;
    transition: transform 0.3s;
}

.faq-question.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question.active + .faq-answer {
    padding: 20px 25px;
    max-height: 1000px;
}

.faq-answer p, 
.faq-answer ul, 
.faq-answer ol {
    color: #555;
    margin-bottom: 15px;
}

.faq-answer ul, 
.faq-answer ol {
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer a {
    color: #2e7b8b;
    text-decoration: none;
    transition: color 0.3s;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-list .faq-category {
    margin-bottom: 40px;
}

.faq-list #service, 
.faq-list #price, 
.faq-list #technical, 
.faq-list #support, 
.faq-list #freelance, 
.faq-list #about {
    padding-bottom: 20px;
}

.faq-list #service {
    margin-bottom: 40px;
}

.more-questions {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.more-questions h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.more-questions p {
    color: #666;
    margin-bottom: 25px;
}

.no-results {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 20px;
    color: #666;
    margin-bottom: 10px;
}

.no-results p {
    color: #888;
}

.highlight {
    background-color: rgba(46, 123, 139, 0.2);
    padding: 2px 0;
}

/* レスポンシブ対応 */
@media screen and (max-width: 992px) {
    .contact-info, 
    .contact-form {
        flex: 0 0 100%;
    }
    
    .contact-info {
        margin-bottom: 15px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 768px) {
    .header-container {
        padding: 10px 5px;
        justify-content: space-between;
    }
    
    .menu-toggle {
        position: absolute;
        right: 10px;
        display: flex;
    }
    
    .logo-image {
        height: 36px; /* 元の40pxから少し小さく */
    }
    
    .footer-logo img {
        height: 32px;
    }

    .section-divider::after,
    .section-divider.service-divider::before {
        display: none;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #343a40;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
        padding: 20px;
        z-index: 1000;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav li {
        margin: 10px 0;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .contact-form, 
    .confirm-section, 
    .policy-content {
        padding: 20px;
    }
    
    .button-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .button-group .btn {
        width: 100%;
    }

    #hero {
        height: 40vh;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 5px;
        padding: 10px 5px;
        border-radius: 5px;
    }
    
    .hero-content h2 {
        font-size: 23px;
        margin-bottom: 6px;
        white-space: nowrap;
    }
    
    .hero-content p {
        font-size: 13px;
        margin-bottom: 6px;
        white-space: nowrap;
    }
    
    .contact-info,
    .contact-detail {
        margin-bottom: 10px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .about-container {
        flex-direction: column;
    }
    
    .about-image {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
    
    .about-content {
        flex: 0 0 100%;
    }
    
    .scroll-top {
        width: 50px;
        height: 50px;
        line-height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 14px;
    }
    
    .faq-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h4 {
        font-size: 16px;
    }
    
    .faq-question.active + .faq-answer {
        padding: 15px 20px;
    }
    
    .category-title {
        font-size: 20px;
    }
    
    .more-questions {
        padding: 30px 20px;
    }
}