@font-face {
    font-family: 'CustomFont';
    src: url('../fonts/Koruri-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'TitleFont';
    /* フォント名を指定 */
    src: url('../fonts/Senobi-Gothic-Medium.ttf') format('truetype');
    /* ローカルに保存したフォントファイルを指定 */
}

body {
    font-family: 'CustomFont', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f7;
    color: #333;
}

header {
    text-align: center;
    padding: 80px 20px 100px;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(25, 25, 25, 0.78)),
        url('../img/visual0.jpg') center/cover no-repeat;
    color: #fdfdfd;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 0.75rem;
}

header h1 {
    font-family: 'TitleFont', Arial, sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

header h2 {
    font-family: 'CustomFont', Arial, sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: normal;
    margin: 0.5rem 0 0.75rem;
}

header p {
    font-size: 1rem;
    max-width: 720px;
    margin: 0 auto 1.5rem;
    line-height: 1.7;
}

header strong {
    color: #f9a56f;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.btn-primary {
    background: #f04520;
    color: #fff;
    box-shadow: 0 10px 25px rgba(240, 69, 32, 0.4);
}

.btn-primary:hover {
    background: #d53c1b;
    box-shadow: 0 14px 35px rgba(240, 69, 32, 0.45);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: #fdfdfd;
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.7);
}

.container {
    max-width: 960px;
    margin: -40px auto 48px;
    padding: 40px 32px 64px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    box-sizing: border-box;
}

.section {
    padding: 48px 0;
    border-bottom: 1px solid #f0f0f0;
}

.section:last-of-type {
    border-bottom: none;
}

.section-alt {
    background: #fafafa;
    margin: 0 -32px;
    padding-left: 32px;
    padding-right: 32px;
}

.section-highlight {
    background: #fff6f1;
    margin: 0 -32px;
    padding-left: 32px;
    padding-right: 32px;
}

.pricing-card {
    max-width: 420px;
    margin: 0 auto 1.5rem;
    text-align: center;
    padding: 24px 20px 28px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(240, 69, 32, 0.18);
    border: 1px solid rgba(240, 69, 32, 0.18);
    box-sizing: border-box;
}

.pricing-label {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #f04520;
    margin-bottom: 0.5rem;
}

.pricing-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 0.25rem;
}

.pricing-amount {
    font-family: 'TitleFont', Arial, sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #222;
}

.pricing-yen {
    font-size: 1rem;
    color: #444;
}

.pricing-note {
    font-size: 0.9rem;
    color: #666;
}

.pricing-catch {
    margin: 0.4rem auto 0.6rem;
    max-width: 720px;
    text-align: center;
    font-size: 0.95rem;
    color: #555;
}

.pricing-catch .nowrap {
    white-space: nowrap;
}

.pricing-footnote {
    margin-top: 0.25rem;
    font-size: 0.78rem;
    color: #999;
}

.section h2 {
    text-align: center;
    font-family: 'TitleFont', Arial, sans-serif;
    font-size: 1.6rem;
    color: #222;
    margin: 0 0 1.5rem;
    padding: 0;
    border-left: none;
    background: transparent;
}

.section h3 {
    font-family: 'TitleFont', Arial, sans-serif;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.catch {
    text-align: center;
    font-family: 'CustomFont', Arial, sans-serif;
    /* h1のフォントにTitleFontを使用 */
    font-size: 1.2em;
}

.catch h3 {
    padding: 10px;
    font-size: 1.5em;
    color: #333;
    font-weight: bold;
}

.catch strong {
    font-size: 1.2em;
    color: #f33;
}

.catch h4 {
    padding: 10px;
    font-size: 1.2em;
    color: #333;
    font-weight: bold;
}

.message {
    margin: 0 auto;
    max-width: 860px;
    text-align: left;
    font-family: 'CustomFont', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.8;
}

.features {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.features img {
    width: 200px;
    height: 200px;
}

.feature {
    font-family: 'TitleFont', Arial, sans-serif;
    flex-direction: column;
    background-color: #fafafa;
    padding: 16px 12px 20px;
    border-radius: 15px;
    width: 250px;
    height: 280px;
    text-align: center;
    font-size: 1.5em;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.feature.active {
    background-color: #f04520;
    color: #fff;
    box-shadow: 0 12px 28px rgba(240, 69, 32, 0.35);
    transform: translateY(-2px);
}

.feature.inactive {
    background-color: #fafafa;
    color: #333;
}

.feature-minimum {
    font-size: 0.8em;
    color: #999;
}

.feature-content {
    display: block;
    opacity: 1;
    width: 200px;
    height: 200px;
    margin: 0px;
    padding: 0px;
    background-size: cover;
    background-position: center;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
}

.feature-content-1 {
    background-image: url('../img/merit1.png');
}

.feature-content-1.show {
    background-image: url('../img/merit1Show.png');
}

.feature-content-2 {
    background-image: url('../img/merit2.png');
}

.feature-content-2.show {
    background-image: url('../img/merit2Show.png');
}

.feature-content-3 {
    background-image: url('../img/merit3.png');
}

.feature-content-3.show {
    background-image: url('../img/merit3Show.png');
}

.feature-content-text {
    font-family: 'CustomFont', Arial, sans-serif;
    font-size: 0.60em;
    color: #333;
    padding: 35px 10px;
}

.feature-content-text strong {
    font-size: 1.20em;
    color: #e66;
    font-weight: bold;
}

.feature-content.show {
    display: block;
    opacity: 1;
    width: 200px;
    height: 200px;
    padding: 0px;
    margin: 0px;
    background-size: cover;
    background-position: center;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
}

@media (max-width: 800px) {
    .features {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .feature {
        width: 100%;
    }
}

.faq-content {
    visibility: hidden;
    max-height: 0;
    opacity: 0;
    padding: 10px;
    margin: 0px;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
    box-sizing: border-box;
}

.faq-content p,
.faq-content ul {
    font-size: 1em;
}

.faq-content ul {
    list-style: none;
    padding-left: 20px;
}

.faq-item {
    background-color: #f5f5f7;
    padding: 15px;
    margin: 5px 0px;
    cursor: pointer;
    font-size: 1.2em;
    border-radius: 15px;
    transition: background-color 0.3s;
}

.faq-item:hover {
    background-color: #eee;
}

form {
    display: flex;
    flex-direction: column;
}

input,
textarea,
button {
    margin: 5px 0;
    padding: 10px;
    font-size: 1.2em;
}

button {
    background: #e66;
    border: none;
    cursor: pointer;
}

button:hover {
    background: #e99;
}

.contact-info a {
    font-family: 'TitleFont', Arial, sans-serif;
    font-size: 1.2em;
    display: block;
    text-align: center;
    padding: 30px;
    background: #e66;
    color: #fff;
    border-radius: 15px;
    text-decoration: none;
    margin-top: 20px;
    transition: background-color 0.3s, color 0.3s;
}

.contact-info a:hover {
    background: #e99;
}

.company-info {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.company-info img {
    width: 200px;
    height: 200px;
}

@media (max-width: 800px) {
    .company-info {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.video-container {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-title {
    font-family: 'TitleFont', Arial, sans-serif;
    width: inherit;
    background: #333;
    color: #ccc;
    padding: 10px;
    font-size: 1.2em;
    text-align: center;
    border-radius: 8px 8px 0 0;
    box-sizing: border-box;
}

iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 0 0 8px 8px;
}

video {
    width: 100%;
    display: block;
    border-radius: 15px;
}

.copyligit {
    font-family: 'TitleFont', Arial, sans-serif;
    font-size: 0.8em;
    text-align: center;
    color: #333;
}

.copyligit a {
    font-family: 'TitleFont', Arial, sans-serif;
    font-size: 1.5em;
    display: block;
    text-align: center;
    width: inherit;
    padding: 20px 0px;
    background: #f5f5f7;
    color: #555;
    text-decoration: none;
    margin: 20px 0px;
    border-radius: 15px;
    transition: background-color 0.3s, color 0.3s;
}

.copyligit a:hover {
    background: #999;
}

/* 法令リンク（ページ下部・控えめな表示） */
.legal-links-inline {
    max-width: 960px;
    margin: 0 auto 32px;
    padding: 0 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

.legal-links-inline .legal-link {
    border: none;
    background: none;
    padding: 0;
    margin: 0 4px;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 0.5px;
    cursor: pointer;
}

.legal-links-inline .legal-link:hover {
    color: #555;
}

.legal-links-inline .legal-separator {
    color: #bbb;
    margin: 0 2px;
}

/* 法令オーバーレイ */
.legal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

.legal-overlay.is-visible {
    display: flex;
}

.legal-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.legal-dialog {
    position: relative;
    max-width: 720px;
    max-height: 80vh;
    width: calc(100% - 40px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
    padding: 20px 24px 24px;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 1;
}

.legal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #999;
}

.legal-close:hover {
    color: #555;
}

.legal-title {
    margin: 0 32px 12px 0;
    font-family: 'TitleFont', Arial, sans-serif;
    font-size: 1.2rem;
}

.legal-body {
    font-size: 0.9rem;
    line-height: 1.7;
    max-height: calc(80vh - 80px);
    overflow-y: auto;
    padding-right: 4px;
}

.legal-body h1,
.legal-body h2,
.legal-body h3 {
    font-family: 'TitleFont', Arial, sans-serif;
    margin: 1.0em 0 0.4em;
    font-size: 1.0rem;
}

.legal-body p {
    margin: 0.4em 0;
}

.legal-body ul {
    padding-left: 1.2em;
    margin: 0.4em 0 0.6em;
}
