/*
Theme Name: DIGI TANT Theme
Theme URI: https://example.com/
Author: DIGI TANT
Description: A minimalist business theme for DIGI TANT.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digitant
*/

/* =========================================
   Variables & Reset (共通)
   ========================================= */
:root {
  --font-main: "Noto Sans JP", sans-serif;
  --font-serif: "Shippori Mincho", serif;
  --color-bg: #f8fafc;
  --color-text: #334155;
  --color-text-light: #64748b;
  --color-primary: #1e293b;
  --color-primary-light: #e2e8f0;
  --color-accent: #0f766e;
  --color-accent-pop: #f59e0b; 
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --easing: cubic-bezier(0.25, 1, 0.5, 1);
}


*,
*::before,
*::after {box-sizing: border-box;margin: 0;padding: 0;}
html {scroll-behavior: smooth;font-size: 16px;}
body {font-family: var(--font-main);color: var(--color-text);background-color: var(--color-bg);line-height: 1.8;letter-spacing: 0.04em;-webkit-font-smoothing: antialiased;}
img {max-width: 100%;height: auto;display: block;}
a {text-decoration: none;color: inherit;transition: all 0.3s;}
ul {list-style: none;}
.material-symbols-outlined {vertical-align: middle;font-size: 1.2em;line-height: 1;}
.pc{display: block;}
.sp{display: none;}

@media screen and (max-width: 768px) {
  .pc{display: block;}
  .sp{display: none;}
}

/* =========================================
   Scroll Fade Up Animation (Fix)
   ========================================= */
  .js-fade-up {opacity: 0;transform: translateY(30px);transition: opacity 0.8s, transform 0.8s;will-change: opacity, transform;}
  .js-fade-up.is-show {opacity: 1 !important;transform: translateY(0) !important;}



/* =========================================
   Header Layout & Navigation
   ========================================= */
.header { position: fixed; top: 0; left: 0; width: 100%; height: 70px; background-color: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); z-index: 1000; border-bottom: 1px solid rgba(0, 0, 0, 0.05); display: flex; align-items: center; }
.header__inner { width: 92%; max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.header__logo { font-family: var(--font-main); font-size: 1.4rem; font-weight: 700; color: var(--color-primary); letter-spacing: 0.05em; }
.header__nav { display: none; }
.header__list { display: flex; flex-direction: column; gap: 2rem; text-align: center; list-style: none; }
.header__link { font-size: 1rem; font-weight: 500; text-decoration: none; color: var(--color-text); }
.header__button { background-color: var(--color-primary); color: white; padding: 0.8rem 1.8rem; border-radius: 4px; font-size: 0.9rem; font-weight: 700; text-decoration: none; display: inline-block; }

/* =========================================
   Hamburger Menu & Mobile Open State
   ========================================= */
.header__hamburger { display: block; width: 30px; height: 20px; position: relative; background: none; border: none; cursor: pointer; z-index: 1001; }
.header__hamburger span { position: absolute; left: 0; width: 100%; height: 2px; background-color: var(--color-primary); transition: all 0.3s; border-radius: 2px; }
.header__hamburger span:nth-child(1) { top: 0; }
.header__hamburger span:nth-child(2) { top: 9px; }
.header__hamburger span:nth-child(3) { bottom: 0; }
.nav-open .header__nav { display: flex; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background-color: #fff; flex-direction: column; justify-content: center; align-items: center; z-index: 1000; }
.nav-open .header__hamburger span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.nav-open .header__hamburger span:nth-child(2) { opacity: 0; }
.nav-open .header__hamburger span:nth-child(3) { transform: rotate(-45deg); bottom: 9px; }

/* =========================================
   Footer (フッターセクション)
   ========================================= */
.footer { background-color: var(--color-primary); color: #fff; padding: 4rem 0 1rem; }
.footer__inner { display: flex; flex-direction: column; gap: 3rem; margin-bottom: 3rem; }
.footer__info { max-width: 400px; }
.footer__logo { font-family: var(--font-main); font-size: 1.8rem; font-weight: 700; margin-bottom: 1rem; letter-spacing: 0.05em; }
.footer__desc { font-size: 0.9rem; line-height: 1.8; color: rgba(255, 255, 255, 0.8); }
.footer__nav-wrapper { display: flex; flex-direction: column; gap: 2rem; }
.footer__nav, .footer__sub-nav { list-style: none; padding: 0; margin: 0; }
.footer__nav li, .footer__sub-nav li { margin-bottom: 0.8rem; }
.footer__nav a, .footer__sub-nav a { color: rgba(255, 255, 255, 0.9); text-decoration: none; transition: opacity 0.3s, color 0.3s; font-size: 0.95rem; }
.footer__nav a:hover, .footer__sub-nav a:hover { opacity: 0.7; color: var(--color-accent); }
.footer__nav a { font-weight: 500; }
.footer__sub-nav a { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }
.footer__copyright { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.5rem; text-align: center; font-size: 0.8rem; color: rgba(255, 255, 255, 0.4); }

@media (min-width: 768px) {
    .footer__inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}
@media (min-width: 600px) {
    .footer__nav-wrapper { flex-direction: row; gap: 4rem; }
}


/* =========================================
   404 Page (お探しのページは見つかりませんでした)
   ========================================= */
.error-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; background-color: #f8fafc; padding-top: 80px; }
.error-content { max-width: 600px; margin: 0 auto; padding: 3rem 1.5rem; text-align: center; }
.error-icon { font-size: 4rem; color: #cbd5e1; margin-bottom: 0.5rem; }
.error-num { font-family: var(--font-main); font-size: 6rem; font-weight: 700; color: var(--color-primary); line-height: 1; letter-spacing: 0.05em; margin-bottom: 1rem; }
.error-title { font-size: 1.5rem; font-weight: 700; color: var(--color-text); margin-bottom: 1.5rem; }
.error-desc { font-size: 0.95rem; line-height: 1.8; color: var(--color-text-light); margin-bottom: 3rem; }
.error-actions { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }

@media (max-width: 767px) {
    .error-num { font-size: 4rem; }
    .error-title { font-size: 1.2rem; }
    .error-actions { flex-direction: column; gap: 1rem; }
    .error-actions .btn { width: 100%; }
}

/* =========================================
  (法的ページ・規約)
   ========================================= */
/* .breadcrumbs--page { padding-top: 100px; background-color: #f8fafc; margin-bottom: 0; }
.legal-page { background-color: #f8fafc; padding-bottom: 6rem; padding-top: 2rem; }
.legal-title { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 2rem; color: var(--color-text); }
.legal-lead { font-size: 0.95rem; line-height: 1.8; margin-bottom: 3rem; color: var(--color-text); }
.legal-body { background: #fff; padding: 3rem 2rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #e2e8f0; }
.legal-section { margin-bottom: 3rem; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 { font-size: 1.2rem; font-weight: 700; border-bottom: 1px solid #e2e8f0; padding-bottom: 0.5rem; margin-bottom: 1.5rem; color: var(--color-primary); }
.legal-section p { font-size: 0.95rem; line-height: 1.8; margin-bottom: 1rem; color: var(--color-text); }
.legal-section ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-section ol li { font-size: 0.95rem; line-height: 1.8; margin-bottom: 0.5rem; color: var(--color-text); list-style-type: decimal; }
.legal-address { font-style: normal; background: #f8fafc; padding: 1.5rem; border-radius: 8px; margin-top: 1rem; font-size: 0.95rem; line-height: 1.8; color: var(--color-text); }

@media (min-width: 768px) {
    .legal-body { padding: 4rem 5rem; }
} */
/* =========================================
   Tokusho Page Styles (特定商取引法・テーブル)
   ========================================= */
/* .legal-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.8; }
.legal-table th, .legal-table td { padding: 1.5rem; border-bottom: 1px solid #e2e8f0; text-align: left; vertical-align: top; }
.legal-table th { background-color: #f8fafc; font-weight: 700; color: var(--color-primary); width: 100%; display: block; }
.legal-table td { display: block; color: var(--color-text); }
.legal-table ul { list-style: disc; padding-left: 1.5rem; margin: 0; }
.legal-table .note { font-size: 0.85rem; color: #64748b; display: block; margin-top: 0.5rem; }

@media (min-width: 768px) {
    .legal-table th { width: 25%; display: table-cell; border-right: 1px solid #e2e8f0; }
    .legal-table td { display: table-cell; }
} */

/* =========================================
   Legal Page Template (法的ページ共通)
   ========================================= */
.breadcrumbs--page { padding-top: 100px; background-color: #f8fafc; margin-bottom: 0; }
.legal-page { background-color: #f8fafc; padding-bottom: 6rem; padding-top: 2rem; }
.legal-title { font-family: var(--font-serif); font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 2rem; color: var(--color-text); }
.legal-body { background: #fff; padding: 3rem 2rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #e2e8f0; }
.legal-section { margin-bottom: 3rem; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 { font-size: 1.2rem; font-weight: 700; border-bottom: 1px solid #e2e8f0; padding-bottom: 0.5rem; margin-bottom: 1.5rem; color: var(--color-primary); }
.legal-section p { font-size: 0.95rem; line-height: 1.8; margin-bottom: 1rem; color: var(--color-text); }
.legal-section ol, .legal-section ul { padding-left: 1.5rem; margin-bottom: 1rem; color: var(--color-text); }
.legal-section ol li { list-style: decimal; margin-bottom: 0.5rem; }
.legal-section ul li { list-style: disc; margin-bottom: 0.5rem; }
.legal-address { font-style: normal; background: #f8fafc; padding: 1.5rem; border-radius: 8px; margin-top: 1rem; font-size: 0.95rem; line-height: 1.8; color: var(--color-text); }
.legal-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.8; margin-top: 1rem; }
.legal-table th, .legal-table td { padding: 1.2rem; border-bottom: 1px solid #e2e8f0; text-align: left; vertical-align: top; }
.legal-table th { background-color: #f8fafc; font-weight: 700; color: var(--color-primary); width: 100%; display: block; }
.legal-table td { display: block; color: var(--color-text); }

@media (min-width: 768px) {
    .legal-body { padding: 4rem 5rem; }
    .legal-table th { width: 25%; display: table-cell; border-right: 1px solid #e2e8f0; }
    .legal-table td { display: table-cell; }
}


