@charset "UTF-8";

/*
Theme Name:  no6
Theme URI:   https://natty1971.com/no6
Author:      Masaya Fujimoto
Author URI:  https://natty1971.com/portfolio
Description: 就労継続支援B型事業所のオリジナルテーマです。
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:        responsive-layout
*/

@import url('https://fonts.googleapis.com/css2?family=Yomogi&display=swap');

/* ==========================================
   基本設定
   ========================================== */

 :root {
    --primary-color: #B1BF41;
    --secondary-color: #E68478;
    --bg-light: #FDF9E6;
    --text-color: #333;
    --text-color-light: #666;
    --main-green: #B1BF41;
    --dark-green: #7A862A;
    --bg-cream: #FDF9E6;
    --bg-cream2: #FDF1D6;
    --qa-dark-green: #7A862A;
    --qa-light-green: #B1BF41;
    --qa-bg-cream: #FDF9E6;
    --white: #fff;
}

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

body {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    letter-spacing: 0.08em;
    background-color: var(--bg-cream);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 0 20px;
}

.main-title-wrap {
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.main-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-color);
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 10px;
}


/* ==========================================
   ヘッダー
   ========================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: var(--bg-light);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.header-top {
    position: relative;
    z-index: 1000;
    background-color: var(--bg-light);
}

.header-top-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    width: 70px;
    height: 70px;
    margin-right: 20px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    display: block;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-text {
    text-align: right;
}

.tel {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.3;
    padding: 0 6px 4px;
    z-index: 1;
    letter-spacing: 0.06em;
}

.tel::before {
    content: "";
    position: absolute;
    left: -2px;
    right: -6px;
    bottom: 2px;
    height: 0.7em;
    background: #f6e79a;
    border-radius: 12px 8px 14px 10px;
    transform: rotate(-1.5deg);
    z-index: -2;
    opacity: 0.95;
}

.tel::after {
    content: "";
    position: absolute;
    left: 2px;
    right: -2px;
    bottom: 5px;
    height: 0.55em;
    background: #f2dc7d;
    border-radius: 10px 14px 8px 12px;
    transform: rotate(1.2deg);
    z-index: -1;
    opacity: 0.7;
}

.hours {
    display: block;
    font-size: 1.1rem;
    margin-top: 4px;
}


/* ==========================================
   ナビゲーション
   ========================================== */

.main-nav {
    background-color: var(--bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 0 20px;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 15px 0;
    list-style: none;
    margin: 0;
}

.main-nav a {
    display: block;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.main-nav a:hover {
    opacity: 0.7;
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hamburger,
.nav-overlay {
    display: none;
}

.hamburger {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fffaf0;
    border: 2px solid #ebe2bf;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1003;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #6b6b4a;
    border-radius: 999px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-contact {
    display: none;
}


/* ==========================================
   メインビジュアル (FV)
   ========================================== */

.fv {
    position: relative;
    min-height: 780px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 0;
}

.fv-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.fv-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
}

.fv-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.fv-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.fv-card {
    max-width: 850px;
    margin: 0 auto;
    padding: 56px 48px;
    text-align: center;
    background: rgba(255, 253, 245, 0.8);
    border: 4px solid #ffffff;
    border-radius: 36px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    position: relative;
}

.fv-card::before,
.fv-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(177, 191, 65, 0.52);
    z-index: -1;
}

.fv-card::before {
    width: 120px;
    height: 120px;
    top: -24px;
    left: -24px;
}

.fv-card::after {
    width: 90px;
    height: 90px;
    right: -18px;
    bottom: -18px;
    background: rgba(230, 132, 120, 0.54);
}

.fv-sub {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 20px;
    background-color: #f7f1d7;
    color: #6b6b4a;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 999px;
}

.h1 {
    position: relative;
    display: inline-block;
}

.fv-title {
    font-family: 'Yomogi', cursive;
    font-size: 5rem;
    line-height: 1.2;
    color: #5d6f2d;
    margin: 0 0 24px;
    letter-spacing: 0.08em;
}

.fv-lead {
    font-size: 2rem;
    line-height: 2;
    color: #4c4c4c;
    margin: 34px auto;
    max-width: 34em;
    letter-spacing: 0.06em;
    display: inline;
    padding: 0 6px;
    background-image: linear-gradient(transparent 55%, rgba(246, 231, 154, 0.85) 55%), linear-gradient(transparent 60%, rgba(246, 231, 154, 0.6) 60%);
    background-repeat: repeat;
    background-size: 100% 1.6em;
}

.mampu {
    position: absolute;
    top: -30%;
    right: -5%;
    width: 60px;
}

.fv-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.fv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 16px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.fv-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.fv-btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.fv-btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.sp-only {
    display: none;
}


/* ==========================================
   お知らせ
   ========================================== */

.news {
    background-color: #FDF9E6;
    width: 100%;
    padding-top: 150px;
    padding-bottom: 50px;
}

.news-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.news-title-wrap {
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

.news-mampu img {
    width: 20%;
    position: absolute;
    right: -10%;
    top: -20%;
}

.news-title {
    font-size: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.news-title::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 1.2em;
    background-color: #B1BF41;
    border-radius: 3px;
}

.news-body {
    max-width: 900px;
    margin: 0 auto;
}

.news-list {
    list-style: none;
    border-top: 1px solid #333;
}

.news-item {
    border-bottom: 1px solid #333;
}

.news-item a {
    display: flex;
    padding: 20px 10px;
    color: #333;
    transition: background-color 0.3s;
}

.news-item a:hover {
    background-color: rgba(177, 191, 65, 0.1);
}

.news-date {
    width: 200px;
    flex-shrink: 0;
    font-weight: bold;
}

.news-article-title {
    flex-grow: 1;
}


/* ==========================================
   強みセクション
   ========================================== */

.features {
    text-align: center;
    padding: 0 0 100px 0;
    background-color: var(--bg-cream);
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.features-title {
    position: relative;
    display: inline-block;
    font-size: 2.2rem;
    color: var(--text-color);
    margin-bottom: 80px;
    padding-bottom: 15px;
}

.features-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 6px;
    background-color: var(--main-green);
    border-radius: 10px;
    opacity: 0.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    padding: 25px;
    border-radius: 50px;
    border: 3px solid #fff;
    box-shadow: 0 15px 35px rgba(230, 132, 120, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(177, 191, 65, 0.12);
}

.card-label {
    align-self: center;
    background-color: var(--bg-cream2);
    color: var(--secondary-color);
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.card-image {
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    border-radius: 35px;
    margin-bottom: 25px;
    border: 5px solid var(--bg-cream);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .card-image img {
    transform: scale(1.08);
}

.card-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.3;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-color-light);
    text-align: left;
    padding: 0 10px;
}


/* ==========================================
   CTA
   ========================================== */

.cta {
    padding: 100px 20px;
}

.cta-outer {
    background-color: var(--primary-color);
    border-radius: 40px;
    padding: 30px;
    text-align: center;
}

.cta-heading {
    color: var(--white);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.cta-white-card {
    background-color: var(--white);
    border-radius: 30px;
    display: flex;
    align-items: center;
    padding: 30px;
    width: 100%;
    margin: 0 auto;
}

.cta-col {
    flex: 1;
    padding: 0 40px;
}

.cta-tel-area {
    border-right: 1px solid var(--text-color-light);
    text-align: left;
}

.cta-lead {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.cta-tel-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 10px;
}

.cta-time {
    font-size: 1rem;
    color: var(--text-color-light);
}

.cta-action-area {
    text-align: center;
}

.btn-visit {
    display: inline-block;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 1.5rem;
    padding: 20px 80px;
    border-radius: 15px;
    font-weight: bold;
    transition: transform 0.2s, opacity 0.3s;
    box-shadow: 0 4px 0 var(--dark-green);
}

.btn-visit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}


/* ==========================================
   1日の流れ
   ========================================== */

.flow {
    background-color: var(--bg-light);
}

.schedule-title-wrap {
    position: relative;
    text-align: center;
}

.schedule-mampu img {
    width: 5%;
    position: absolute;
    right: 37%;
    top: 30%;
}

.schedule-title {
    position: relative;
    padding-left: 30px;
    display: inline-block;
    font-size: 2rem;
    margin: 100px 0 50px 0;
}

.schedule-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 1.2em;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.schedule-item {
    display: flex;
    margin-bottom: 50px;
    align-items: center;
    gap: 30px;
}

.schedule-item:nth-child(even) {
    flex-direction: row-reverse;
}

.num-block {
    width: 220px;
    height: 220px;
    background-color: var(--primary-color);
    border-radius: 55% 45% 52% 48% / 48% 52% 50% 52%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.schedule-item:nth-child(even) .num-block {
    background-color: var(--secondary-color);
}

.num-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 8rem;
    font-weight: 900;
    opacity: 0.4;
    line-height: 1;
}

.num-label {
    position: relative;
    z-index: 2;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
}

.content-block {
    background-color: #fff;
    border-radius: 50px;
    padding: 30px;
    display: flex;
    align-items: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    border: 3px solid #fff;
    min-height: 180px;
    width: 100%;
}

.content-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.text-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.time-badge {
    display: inline-block;
    border: 2px solid var(--primary-color);
    background-color: #fff;
    color: var(--primary-color);
    padding: 5px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.text-info p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.8;
}

.photo {
    width: 200px;
    height: 180px;
    flex-shrink: 0;
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    border: 4px solid var(--bg-cream2);
}


/* ==========================================
   QA
   ========================================== */

.qa-section {
    background-color: var(--bg-cream2);
    padding: 120px 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.title-wrap {
    display: inline-block;
    position: relative;
    padding-left: 30px;
}

.title-wrap::before {
    content: "";
    position: absolute;
    left: 0;
    top: 40%;
    transform: translateY(-50%);
    width: 6px;
    height: 2.2em;
    background-color: var(--qa-light-green);
    border-radius: 10px;
}

.qa-mampu img {
    width: 65px;
    position: absolute;
    right: -55px;
    top: -45px;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.05));
}

.qa-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.qa-item {
    background-color: #fff;
    border-radius: 45px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(177, 191, 65, 0.08);
    border: 4px solid #fff;
    transition: transform 0.3s ease;
}

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

.qa-question {
    padding: 30px 45px;
    display: flex;
    align-items: center;
    gap: 25px;
    color: var(--text-color);
}

.qa-question .qa-symbol {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    color: var(--text-color);
    font-family: 'Arial Rounded MT Bold', 'Helvetica Rounded', sans-serif;
    opacity: 0.9;
}

.question-text {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.5;
    color: var(--text-color);
    letter-spacing: 0.05em;
}

.qa-answer {
    background-color: #fff;
    padding: 40px 45px 45px;
    display: flex;
    gap: 25px;
    position: relative;
}

.qa-answer .qa-symbol {
    color: var(--secondary-color);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    font-family: 'Arial Rounded MT Bold', 'Helvetica Rounded', sans-serif;
}

.answer-content {
    flex: 1;
    padding-top: 5px;
}

.answer-content p {
    margin: 0;
    line-height: 1.9;
    font-size: 1.05rem;
    color: var(--text-color);
}


/* ==========================================
   アクセス
   ========================================== */

.access-section {
    background-color: var(--bg-cream);
    padding-top: 50px;
    padding-bottom: 100px;
}

.section-title-wrap {
    width: fit-content;
    position: relative;
    padding: 0 40px;
    margin: 0 auto;
}

.access-mampu img {
    width: 20%;
    position: absolute;
    right: 0%;
    top: -30%;
}

.section-title-wrap::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 50%;
    background-color: var(--qa-light-green);
}

.access-flex {
    display: flex;
    gap: 50px;
    justify-content: space-around;
    padding-top: 50px;
}

.access-map {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.access-map iframe {
    width: 100%;
    display: block;
}

.access-info {
    flex: 1;
}

.info-list {
    margin: 0;
}

.info-row {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid var(--text-color-light);
}

.info-row dt {
    width: 120px;
    font-weight: bold;
    font-size: 1.1rem;
}

.info-row dd {
    flex: 1;
    margin: 0;
    line-height: 1.6;
}


/* ==========================================
   フッター
   ========================================== */

.site-footer {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 60px 0;
}

.footer-bg-overlay {
    background: rgba(0, 0, 0, 0.1);
    margin: -60px 0;
    padding: 60px 0;
}

.footer-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 40px;
    padding: 40px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.f-logo-area {
    text-align: center;
    flex-shrink: 0;
}

.f-logo {
    width: 80px;
}

.f-logo-text {
    font-size: 0.8rem;
    font-weight: bold;
    margin-top: 5px;
}

.f-main-area {
    flex: 1;
}

.f-nav {
    border-bottom: 1px solid var(--text-color-light);
}

.f-nav ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    width: 100%;
}

.f-nav li {
    padding-bottom: 10px;
    position: relative;
}

.f-nav a {
    color: var(--text-color);
    font-weight: bold;
    font-size: 0.8rem;
}

.f-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 30px;
}

.f-sns-icons {
    display: flex;
    margin-bottom: 15px;
}

.f-sns-icons img {
    width: 35px;
    height: 35px;
    opacity: 0.8;
}

.x img {
    scale: 0.6;
}

.f-privacy {
    font-size: 0.75rem;
    color: var(--text-color);
}

.f-contact {
    text-align: right;
}

.f-tel {
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
}

.f-hours {
    font-size: 0.9rem;
    margin-top: 5px;
}

.f-copyright {
    text-align: center;
    font-size: 0.7rem;
    margin-top: 30px;
    color: var(--white);
}

.page-top-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 55px;
    height: 55px;
    background-color: var(--dark-green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}


/* ==========================================
   ACF背景色
   ========================================== */

.is-odd {
    background-color: var(--bg-cream);
}

.is-even {
    background-color: var(--bg-cream2);
}


/* ==========================================
   私たちの強み・アーチ
   ========================================== */

.arch-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 40px;
}

.arch-mampu {
    position: absolute;
    top: 40%;
    right: 7%;
    width: 60px;
    z-index: 2;
}

.arch-mampu img {
    width: 100%;
    height: auto;
}

.arch-container svg {
    width: 100%;
    height: auto;
    display: block;
}

.arch-container text {
    font-size: 28px;
    font-weight: bold;
    fill: var(--text-color-light);
    letter-spacing: 0.15em;
    font-family: 'Noto Sans JP', sans-serif;
}


/* ==========================================
   Contact Form 7
   ========================================== */

.contact-form-container {
    border: 1px solid #eee;
}

.wpcf7-form p {
    margin-bottom: 25px;
}

.wpcf7-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    background-color: #fafafa;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    letter-spacing: 0.1em;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    border-color: var(--main-green);
    background-color: #fff;
    box-shadow: 0 0 10px rgba(177, 191, 65, 0.1);
}

.wpcf7-form textarea {
    height: 180px;
}

.wpcf7-form .wpcf7-submit {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 40px auto 0;
    padding: 20px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 0 var(--dark-green);
}

.wpcf7-form .wpcf7-submit:hover {
    transform: translateY(2px);
    box-shadow: 0 2px 0 var(--dark-green);
    opacity: 0.9;
}

.wpcf7-form .required {
    color: var(--secondary-color);
    margin-left: 5px;
}

.wpcf7-not-valid-tip {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-top: 5px;
}

.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 15px !important;
    border-radius: 15px !important;
    text-align: center;
    border: 2px solid var(--main-green) !important;
}


/* ==========================================
   1024px以下
   ========================================== */

@media (max-width: 1024px) {
    .fv {
        min-height: 700px;
        padding: 70px 0;
    }
    .fv-card {
        max-width: 680px;
        padding: 48px 36px;
    }
    .fv-title {
        font-size: 3.3rem;
    }
    .fv-lead {
        font-size: 1.25rem;
    }
}


/* ==========================================
   992px以下
   ========================================== */

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ==========================================
   768px以下
   ========================================== */

@media (max-width: 768px) {
    .header-top-inner {
        justify-content: space-between;
        padding: 12px 0;
    }
    .logo {
        width: 56px;
        height: 56px;
        margin-right: 0;
    }
    .header-info {
        margin-left: auto;
        margin-right: 70px;
        gap: 0;
    }
    .contact-text {
        text-align: right;
    }
    .tel {
        font-size: 1rem;
        padding: 0 4px 2px;
    }
    .hours {
        font-size: 0.7rem;
        margin-top: 2px;
    }
    .hamburger {
        display: flex;
    }
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease;
        z-index: 1001;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(82vw, 340px);
        height: 100vh;
        background: #fffdf5;
        border-top: none;
        box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
        transform: translateX(100%);
        visibility: hidden;
        pointer-events: none;
        transition: none;
        z-index: 1002;
        overflow-y: auto;
        will-change: transform;
    }
    .nav-inner {
        width: 100%;
        padding: 0;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 20px 0;
    }
    .main-nav li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    .main-nav li:last-child {
        border-bottom: none;
    }
    .main-nav a {
        padding: 18px 20px;
        font-size: 1rem;
    }
    .nav-toggle:checked~.nav-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .nav-toggle:checked~.main-nav {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
        transition: transform 0.35s ease;
    }
    .nav-toggle:checked~.header-top .hamburger span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .nav-toggle:checked~.header-top .hamburger span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle:checked~.header-top .hamburger span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .fv {
        min-height: auto;
        padding: 60px 0;
    }
    .fv-content.container {
        width: 90%;
        padding: 0;
    }
    .fv-card {
        padding: 38px 22px 34px;
        border-radius: 28px;
    }
    .fv-card::before {
        width: 80px;
        height: 80px;
        top: -14px;
        left: -14px;
    }
    .fv-card::after {
        width: 64px;
        height: 64px;
        right: -10px;
        bottom: -10px;
    }
    .fv-sub {
        font-size: 0.86rem;
        padding: 7px 14px;
        margin-bottom: 14px;
    }
    .fv-title {
        font-size: 2.4rem;
        margin-bottom: 18px;
    }
    .fv-lead {
        font-size: 1.05rem;
        line-height: 1.9;
        margin-bottom: 28px;
    }
    .mampu {
        width: 42px;
        right: -8%;
        top: -20%;
    }
    .fv-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .fv-btn {
        text-align: center;
        margin: 0 auto;
        width: 80%;
        min-width: auto;
        font-size: 0.95rem;
        padding: 15px 20px;
    }
    .sp-only {
        display: inline;
    }
    .news-item a {
        flex-direction: column;
        gap: 5px;
    }
    .news-date {
        width: auto;
        font-size: 0.85rem;
        color: var(--text-color);
    }
    .news-title {
        font-size: 1.8rem;
    }
    .features {
        padding: 60px 0;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .features-title {
        font-size: 1.8rem;
    }
    .feature-card {
        border-radius: 40px;
        padding: 20px;
    }
    .cta-white-card {
        flex-direction: column;
        padding: 40px 20px;
    }
    .cta-tel-area {
        border-right: none;
        border-bottom: 1px solid #E0E0E0;
        padding-bottom: 40px;
        margin-bottom: 40px;
        text-align: center;
    }
    .cta-tel-number {
        font-size: 2rem;
    }
    .cta-heading {
        font-size: 1.5rem;
    }
    .btn-visit {
        padding: 15px 40px;
        width: 100%;
    }
    .schedule-item,
    .schedule-item:nth-child(even) {
        flex-direction: column;
        gap: 20px;
    }
    .num-block {
        width: 140px;
        height: 140px;
        margin-bottom: -30px;
        z-index: 2;
    }
    .num-bg {
        font-size: 6rem;
    }
    .num-label {
        font-size: 1.2rem;
    }
    .content-block {
        width: 100%;
        padding: 50px 20px 30px;
        border-radius: 40px;
    }
    .content-inner {
        flex-direction: column;
        gap: 20px;
    }
    .photo {
        width: 100%;
        height: auto;
    }
    .qa-section {
        padding: 80px 0;
    }
    .qa-item {
        border-radius: 35px;
    }
    .qa-question {
        padding: 25px 25px;
        gap: 15px;
    }
    .qa-answer {
        padding: 30px 25px;
        gap: 15px;
    }
    .qa-symbol {
        font-size: 2rem !important;
    }
    .question-text {
        font-size: 1.05rem;
    }
    .answer-content p {
        font-size: 0.95rem;
    }
    .access-flex {
        flex-direction: column;
        width: 100%;
    }
    .access-map iframe {
        width: 100%;
    }
    .footer-card {
        flex-direction: column;
        text-align: center;
        border-radius: 20px;
    }
    .f-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        border-bottom: none;
    }
    .f-bottom-flex {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .f-contact {
        text-align: center;
    }
    .f-tel {
        font-size: 1.5rem;
    }
    .footer-menu-list {
        display: flex;
        flex-wrap: wrap;
        gap: 16px 24px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .footer-menu-list li {
        margin: 0;
        padding: 0;
    }
    .footer-menu-list a {
        color: #333;
        text-decoration: none;
        transition: opacity .3s;
    }
    .footer-menu-list a:hover {
        opacity: 0.7;
    }
    .contact-form-container {
        padding: 30px 20px !important;
    }
    .wpcf7-form .wpcf7-submit {
        width: 100%;
        font-size: 1.1rem;
    }
}


/* ==========================================
   480px以下
   ========================================== */

@media (max-width: 480px) {
    .fv-title {
        font-size: 2rem;
    }
    .fv-lead {
        font-size: 0.98rem;
    }
    .container {
        width: 94%;
        padding: 0 12px;
    }
}


/* ==========================================
   番外編 768px以下
   ========================================== */

@media (max-width:768px) {
    .menu-contact {
        display: block;
        padding: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        background: #fffaf2;
    }
    .menu-contact-label {
        font-size: 0.9rem;
        color: var(--text-color-light);
        margin-bottom: 10px;
        text-align: center;
    }
    .menu-tel-btn {
        display: block;
        text-align: center;
        background: var(--secondary-color);
        color: #fff;
        font-weight: 700;
        padding: 14px 18px;
        border-radius: 999px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    }
    .menu-contact-hours {
        font-size: 0.8rem;
        color: var(--text-color-light);
        margin-top: 10px;
        text-align: center;
    }
}


/* ==========================================
   single.php CSS
   ========================================== */

.single-container {
    padding: 100px;
}