/*
Theme Name: THEME2
Author: Your Name
Description: A minimal theme based on the provided design.
Version: 1.0
*/
@charset "UTF-8";

:root {
    /* ===== Font Sizes ===== */
    --font-xs: clamp(0.75rem, 0.3vw, 0.875rem);
    --font-sm: clamp(0.875rem, 1.05vw, 1rem);
    --font-base: clamp(1rem, 1.2vw, 1.125rem);
    --font-md: clamp(1.125rem, 1.4vw, 1.25rem);
    --font-lg: clamp(1.25rem, 1.8vw, 1.5rem);
    --font-xl: clamp(1.5rem, 2.2vw, 2rem);
    --font-xxl: clamp(2rem, 4vw, 3rem);
    --font-4xl: clamp(3rem, 7vw, 7srem);

    /* ===== Spacing / Margin / Padding ===== */
    --space-xs: clamp(0.25rem, 0.5vw, 0.5rem);
    --space-sm: clamp(0.5rem, 1vw, 1rem);
    --space-md: clamp(1rem, 2vw, 2rem);
    --space-lg: clamp(2rem, 4vw, 4rem);
    --space-xl: clamp(4rem, 6vw, 6rem);

    /* ===== Layout Sizes ===== */
    --container-width: 1200px;
    --sidebar-width: clamp(140px, 10vw, 200px);
    --gutter: clamp(1rem, 2vw, 2rem);

    /* ===== Line Height ===== */
    --line-height-base: 1.7;
    --line-height-tight: 1.4;
    --line-height-loose: 1.9;

    /* ===== Border Radius ===== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* ===== Transition ===== */
    --transition-fast: 0.2s ease;
    --transition-slow: 0.5s ease;

    /* ===== width ===== */
    --content-min-width: 1000px;
    --content-preferred-width: calc(70vw + 10rem);
    --content-max-width: 1800px;
    --content-max-width-auto: auto;

    /* ===== color ===== */
    --Mcolor: #7aaaff;

}

/* --- 基本的なリセットと全体設定 --- */

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

body {
    font-family: Inter, 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #111;
}

p {
    line-height: 1.8rem;
}

ul {
    list-style: none;
    text-align: left;
}

/* パンくずリスト */
.breadcrumb {
    font-size: 0.9rem;
    margin: 0 0 1.5rem;
    color: #666;
    padding-left: 2rem;
    text-align: left;
}

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

.breadcrumb span {
    color: #999;
}

/*

TOPpage

*/

/* Header */
.header {
    top: 0;
    left: 0;
    right: 0;
    position: fixed;
    width: 100%;
    padding: 1rem 2rem;
    z-index: 100;
    color: #fff;
}

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

.logo {
    width: auto;
    max-height: 40px;
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 40px;
    height: auto;
    width: auto;
    display: block;
}

.branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-name h1 a {
    font-size: 1.2rem;
    margin: 0;
    text-decoration: none;
    mix-blend-mode: difference;
    color: #fff;
}

/* 共通：メニュー横並び用 */
.main-menu {
    display: flex;
    gap: 3.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

/* PC表示のみ */
@media (min-width: 768px) {
    .desktop-menu {
        display: block;
        background-color: rgba(255, 255, 255, 0.38);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        padding: 1rem 3rem;
        border-radius: 2rem;
        border: 1px solid rgba(255, 255, 255, .3);
    }

    .menu-toggle,
    .mobile-menu,
    .menu-overlay {
        display: none;
    }

    .nav {
        justify-content: space-between;
        align-items: center;
    }
}

/* スマホ表示のみ */

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #333;
    margin: 4px 0;
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 4px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -4px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 30vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 100px 40px 40px;
    opacity: 0;
    transform: translateX(20px) scale(0.98);
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 999;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    pointer-events: none;
}


.mobile-menu.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
}


.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 30px;
}

.mobile-menu a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    display: block;
    padding: 10px 0;
}

.mobile-menu a:hover {
    color: #666;
}

.mobile-menu .menu-section {
    margin-bottom: 40px;
}

.mobile-menu .menu-section h3 {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
    font-weight: 400;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    pointer-events: none;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* button */
.btn {
    position: relative;
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    border: 2px solid #333;
    overflow: hidden;
    transition: color 0.4s ease;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #333;
    z-index: 0;
    transition: left 0.4s ease;
}

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

.btn:hover {
    color: #fff;
}

.btn span {
    position: relative;
    z-index: 1;
}

/* fadein */
/* 最初は非表示＋下方向にずらす */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示状態 */
.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

section:not(.hero) {
    position: relative;
    z-index: 1;
    background: #fff;
}

/* About Section */
.about {
    padding: 10rem 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-content {
    display: grid;
    grid-template-columns: 0.81fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-icon {
    width: 13rem;
    height: 13rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 50%;
}

.about-icon img {
    width: 100%;
}

.about-text {
    line-height: 1.8;
    color: #666;
}

/* Parallax Wood Section */
.parallax-wood {
    height: 60vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wood-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    transform: translateZ(0);
}

.wood-text {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.wood-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.wood-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.wood-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Portfolio Grid */
.portfolio {
    padding: 10rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 60px;
}

.portfolio-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.portfolio-image {
    height: 300px;
    background: linear-gradient(45deg, #4a90e2, #7b68ee);
    position: relative;
    background-size: cover;
}

.portfolio-content {
    padding: 30px;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 15px;
    color: #333;
}

.portfolio-description {
    color: #666;
    line-height: 1.6;
}

.portfolio-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.portfolio-small {
    height: 200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* News */

.news-section {
    padding: 6rem 2rem 12rem;
    background: #fff;
    font-family: 'Noto Sans JP', sans-serif;
}

.news-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-left {
    width: 35%;
}

.news-title-en {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.news-title-ja {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    border-left: 4px solid #333;
    padding-left: 10px;
    margin-bottom: 1rem;
}

.news-description {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.news-button {
    display: inline-block;
    background: white;
    border: 1px solid #ccc;
    padding: 0.6rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    color: #333;
    transition: all 0.3s;
}

.news-button:hover {
    background: #f2f2f2;
}

.news-right {
    width: 65%;
}

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

.news-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid #eee;
}

.news-date {
    font-weight: bold;
    width: 100px;
    color: #333;
    font-size: 0.9rem;
}

.news-label {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-weight: bold;
    white-space: nowrap;
}

.label-info {
    background: #e6f0ff;
    color: #0072CE;
}

.label-important {
    background: #ffe6e6;
    color: #E60012;
}

.news-item-title {
    flex: 1;
    color: #333;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.news-item-title:hover {
    color: #0072CE;
}



/* Character Section */
.character-section {
    padding: 80px 0;
    background: #333 !important;
    color: white;
    text-align: center;
}

.character-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.character-icon img {
    width: 100%;
    display: block;
    height: auto;
}

.character-text {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Services Section */
.services {
    padding: 12rem 0;
    background: white;
}

.services-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

.services-image {
    height: 442px;
    border-radius: 12px;
    background-size: cover;
}

.services-text {
    padding-top: 40px;
}

.services-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #333;
}

.services-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.services-list {
    display: grid;
    gap: 20px;
}

.service-item {
    padding: 20px;
    background: #f8f4ef;
    border-radius: 8px;
}

/* Final Section */
.final-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height: 400px;
}

.final-item {
    position: relative;
    overflow: hidden;
}

.final-content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    color: white;
}

.final-title {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.final-subtitle {
    opacity: 0.8;
}


.final-item:nth-child(1) {
    background: linear-gradient(45deg, #ff4500, #ff6b35);
}

.final-item:nth-child(2) {
    background: #333;
}

.final-item:nth-child(3) {
    background: linear-gradient(45deg, #4a90e2, #7b68ee);
}

/* Footer */
.footer {
    background: #dfdcd8;
    padding: 60px 0;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin: 0 0 30px;
    background: #333;
    border-radius: 50%;
}

.footer-text {
    color: #666;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: auto;
}

.footer-left-area {
    padding-left: 10rem;
}

.footer-right-area {
    display: flex;
    gap: 6rem;
    justify-content: flex-end;
    align-items: flex-end;
}

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

.footer-widget .share-icons {
    justify-content: flex-start;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    padding: 2rem 1rem;
    border-top: 1px solid #ccc;
}

footer li {
    line-height: 3.4rem;
    font-size: var(--font-sm);
}


/* Parallax Effects */
.parallax-element {
    transition: transform 0.1s linear;
}

/*

TOP pageここまで

*/

/* page.php */
.page-content {
    max-width: 800px;
    margin: 3.8rem auto;
}

.page-content h2,
.page-content h3 {
    margin: 3rem 0 1rem;
}

/* CONTACT */

input,
select,
textarea {
    direction: ltr;
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.cf7-step-form {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    max-width: 640px;
    margin: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-family: 'Noto Sans JP', sans-serif;
}

.cf7-step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.cf7-step-list {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0 auto;
    list-style: none;
    max-width: 400px;
}

.cf7-step-list li {
    position: relative;
    font-size: 0.85rem;
    color: #999;
}

.cf7-step-list li span {
    display: inline-block;
    background: #ddd;
    color: #fff;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    margin-bottom: 0.3rem;
}

.cf7-step-list li.active span {
    background: #00B36B;
}

.cf7-step-list li.active {
    color: #333;
    font-weight: bold;
}

.cf7-step-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
}

.cf7-field {
    margin-bottom: 1.5rem;
}

.cf7-label {
    font-weight: bold;
    display: block;
    margin-bottom: 0.3rem;
}

.cf7-required {
    background: #FF5722;
    color: #fff;
    padding: 0.1rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 0.5rem;
    margin-left: 0.3rem;
}

.cf7-input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.cf7-button-wrap {
    text-align: center;
}

.cf7-button {
    background: #00B36B;
    color: #fff;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: 0.3s;
}

.cf7-button:hover {
    background: #009e5c;
}


/* page.php */
.page h2 {
    margin-bottom: 2rem;
}

/* page-service.php */
.service-section {
    padding: 5.8rem 6rem;
    margin: 0 auto;
    font-family: "Noto Sans JP", sans-serif;
}

.page-hero {
    text-align: center;
    background-color: #f8f4ef;
    padding-bottom: 1rem;
}

.page-hero img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.page-hero h1 {
    margin: 2rem;
    font-size: 2.5rem;
    color: #333;
}

.service-menu-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3.8rem;
}


.service-menu-item img {
    width: 100%;
    object-fit: cover;
    max-height: 210px;
    aspect-ratio: 4 / 3;
}

.service-menu-item .text {
    font-size: var(--font-sm);
}

.menu-title {
    margin: 1rem 0;
    font-size: var(--font-md);
}

.service-freespace {
    background: #fff;
    margin-bottom: 2rem;
}

.service-faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.service-faq-item summary {
    font-weight: bold;
    cursor: pointer;
    padding: 0.5rem 0;
}

.service-faq-item p {
    padding-left: 1rem;
    color: #555;
}

.service-access {
    background-color: #f8f8f8;
    padding: 6.8rem 2rem;
    text-align: center;
}

.service-access iframe {
    max-width: 100%;
    height: 300px;
    border: none;
}

.service-map {
    margin: 3rem 0;
}

/* page-company.php */
.company-page {
    font-family: "Noto Sans JP", sans-serif;
}

/* 共通セクションスタイル */
.company-section {
    padding: 5.8rem 2rem;
    margin: 0 auto;
}

.company-section-inner {
    max-width: 1000px;
    margin: auto;
}

.company-flex {
    display: flex;
    gap: 5rem;
    align-items: center;
}

/* 会社概要 */
.company-info dl {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.company-item {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #eee;
    padding: 2rem 0;
}

.company-item dt {
    font-weight: bold;
    width: 160px;
    color: #333;
}

.company-item dd {
    flex: 1;
    margin: 0;
    color: #555;
}

/* 代表あいさつ */
.company-greeting {
    background-color: #f8f4ef;
    padding: 9rem 2rem 5.8rem;
}

.company-greeting h2 {
    margin-bottom: 1rem;
}

.greeting-text {
    background: #fff;
    padding: 2rem;
    color: #333;
    border-radius: 6px;
    line-height: 1.8;
}

/* 地図セクション */
.company-map {
    background-color: #f8f8f8;
    text-align: center;
}

.company-map h2 {
    margin-bottom: 1rem;
}

.map-embed iframe {
    max-width: 100%;
    height: 300px;
    border: none;
}


/* NEWS一覧ページ */

.news-archive {
    max-width: 1000px;
    margin: 0 auto 100px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 3rem;
    list-style: none;
    padding: 0;
}


.pagination .page-numbers li {
    display: inline-block;
    font-size: 0.95rem;
}

.pagination .page-numbers li a {
    display: block;
    padding: 0.5em 1em;
    border: 1px solid #ccc;
    border-radius: 30px;
    color: #333;
    transition: background-color 0.2s, color 0.2s;
}

.pagination .page-numbers li a:hover {
    background-color: #0072ce;
    color: #fff;
    border-color: #0072ce;
}

.pagination li>.current {
    font-weight: bold;
    background-color: #0072ce;
    color: #fff;
    display: block;
    padding: 0.5em 1em;
    border: 1px solid #0072ce;
    border-radius: 30px;
    transition: background-color 0.2s, color 0.2s;
}

@media (max-width: 600px) {
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
}

@media (max-width: 1024px) {
    .service-menu-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-section {
        padding: 2.8rem 2rem;
    }
}

/* single.php */
.single-post {
    margin-top: 150px;
    text-align: left;
}

.post-layout {
    display: flex;
    gap: 2rem;
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: auto;
}

.post-left {
    width: 35%;
    max-width: 400px;
}

.post-right {
    flex: 1;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.post-share {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #333;
}

.post-share ul {
    list-style: none;
    padding: 0;
    margin-top: 0.5rem;
    display: flex;
    gap: 1rem;
    justify-content: end;
}

.post-share li {
    margin-bottom: 0.5rem;
}

.post-share a {
    text-decoration: none;
    color: #666;
}

.share-icons {
    display: flex;
    gap: 1rem;
    padding: 0;
    list-style: none;
    margin-top: 1rem;
}

.share-icons li a {
    font-size: 1.2rem;
    color: #333;
    text-decoration: none;
}

.share-icons li a:hover {
    color: #0072ce;
}

.post-header {
    margin-bottom: 2rem;
    border-bottom: 3px solid #333;
    padding-bottom: .3rem;
}

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

.post-meta .post-date {
    margin-right: 1rem;
}

.post-title {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.4;
    color: #111;
}

.post-category-link {
    color: #0072ce;
    text-decoration: none;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.post-category-link:hover {
    text-decoration: underline;
}


.post-content img {
    padding: 1rem 0;
}

.post-nav {
    margin-top: 4rem;
    padding: 2rem;
    border-top: 1px solid #eee;
}

.post-nav-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.prev-post a,
.next-post a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

.prev-post a:hover,
.next-post a:hover {
    color: #999;
}


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

    .mobile-menu {
        width: 100vw;
    }

    .nav-menu {
        display: none;
    }

    .hero-content,
    .about-content,
    .portfolio-grid,
    .services-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .about {
        padding: 3rem 0;
    }

    .about-icon {
        margin: auto;
    }

    .parallax-wood {
        height: 60vh;
    }

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

    .final-section {
        grid-template-columns: 1fr;
    }

    .wood-subtitle {
        font-size: .9rem;
        opacity: 0.9;
    }

    .portfolio {
        padding: 3rem 0;
    }

    .portfolio-grid {
        gap: 3rem;
        ;
    }

    .portfolio-bottom {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .portfolio-content {
        padding: 15px;
    }

    .portfolio-image {
        height: 120px;
    }

    .portfolio-title {
        font-size: 1rem;
        font-weight: 600;
    }

    .portfolio-description {
        font-size: .9rem;
    }

    .services {
        padding: 3rem 0;
    }

    .services-title {
        font-size: 1.6rem;
    }

    .services-text {
        padding-top: 0;
    }
}

@media (max-width: 768px) {

    .desktop-menu {
        display: none;
    }

    .menu-toggle.active {
        position: fixed;
        top: 1rem;
        right: 1rem;
        z-index: 1001;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu {
        display: none;
        /* ハンバーガーで開くときにJSで display: block にする */
    }

    /* 開いてる状態はJSでクラスを付けて管理 */
    .mobile-menu.active {
        display: block;
    }

    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
        line-height: 1.4;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4.5vw, 1.2rem);
    }

    .service-menu-list {
        grid-template-columns: auto
    }

    .about,
    .services,
    .portfolio,
    .news-section,
    .character-section,
    .final-section {
        padding: 4rem 1.5rem;
    }

    .page-hero {
        padding: 2rem 1rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .portfolio-image {
        height: auto;
        aspect-ratio: 4 / 3;
        background-size: cover;
        background-position: center;
    }

    .portfolio-item {
        border-radius: 12px;
        overflow: hidden;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }

    .footer-left-area,
    .footer-right-area {
        padding-left: 0;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-right-area {
        gap: 2rem;
    }

    .news-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .news-left {
        width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }

    .news-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .news-button {
        margin-top: 1rem;
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }

    .news-right {
        width: 100%;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1.2rem 0;
    }

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

    .news-item-title {
        font-size: 1rem;
    }

    .news-label {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

}