@charset "UTF-8";

/* ==========================================================
   Variables & Reset
   ========================================================== */
:root {
    --color-bg-base: #FFFFFF;
    --color-bg-light: #E0F7FA;
    --color-accent: #00A7B5;
    --color-accent-hover: #008f9b;
    --color-accent-light: #e6f6f7;
    --color-text-main: #424242;
    --color-text-heading: #000000;
    --color-text-muted: #757575;
    --color-border: #E0E0E0;
    --color-border-light: #F0F0F0;

    --font-main: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;

    --nav-width-pc: 280px;
    --header-height-sp: 70px;

    --spacing-xs: 10px;
    --spacing-sm: 20px;
    --spacing-md: 40px;
    --spacing-lg: 80px;
    --spacing-xl: 140px;

    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    color: var(--color-text-main);
    background-color: var(--color-bg-base);
    font-family: var(--font-main);
    line-height: 1.8;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text-heading);
    font-weight: 700;
    line-height: 1.4;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

/* ==========================================================
   Utility Classes
   ========================================================== */
.text-accent {
    color: var(--color-accent);
}

.text-muted {
    color: var(--color-text-muted);
}

.text-sm {
    font-size: 0.85rem;
}

.text-xs {
    font-size: 0.75rem;
}

.text-lg {
    font-size: 1.25rem;
}

.text-xl {
    font-size: 1.5rem;
}

.text-2xl {
    font-size: 2rem;
}

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

.font-bold {
    font-weight: 700;
}

.bg-white {
    background-color: var(--color-bg-base);
}

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

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

.box-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.border-radius {
    border-radius: 8px;
}

.p-4 {
    padding: 1.5rem;
}

.p-6 {
    padding: 2.5rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.mb-spacing {
    margin-bottom: var(--spacing-md);
}

.mb-spacing-large {
    margin-bottom: var(--spacing-lg);
}

.mt-spacing {
    margin-top: var(--spacing-md);
}

.mt-spacing-large {
    margin-top: var(--spacing-lg);
}

.req {
    background-color: var(--color-text-main);
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

.opt {
    background-color: var(--color-bg-light);
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

/* ==========================================================
   Buttons
   ========================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    box-shadow: 0 4px 15px rgba(0, 167, 181, 0.4);
    transform: translateY(-2px);
}

.block-btn {
    display: flex;
    width: 100%;
}

.large-btn {
    padding: 1.5rem 3rem;
    font-size: 1.1rem;
}

/* ==========================================================
   Layout - PC (2 Column)
   ========================================================== */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--nav-width-pc);
    height: 100vh;
    background-color: var(--color-accent);
    color: #FFFFFF;
    border-right: none;
    z-index: 100;
    overflow-y: hidden;
}

.nav-inner {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: var(--spacing-md) var(--spacing-md);
}

.nav-brand {
    margin-bottom: var(--spacing-md);
}

.logo-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.05em;
    display: block;
}

.logo-link img {
    max-width: 100%;
    height: auto;
    display: block;
}

.nav-menu {
    flex-grow: 1;
}

.nav-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.nav-link {
    display: block;
    position: relative;
    padding-left: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background-color: #FFFFFF;
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: #FFFFFF;
}

.nav-link:hover::before,
.nav-link.active::before {
    height: 100%;
}

.nav-footer {
    margin-top: var(--spacing-md);
}

.nav-footer .btn-primary {
    background-color: #FFFFFF;
    color: var(--color-accent);
}

.nav-footer .btn-primary:hover {
    background-color: var(--color-bg-light);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

.social-links {
    margin-top: var(--spacing-md);
}

.social-links a {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
}

.social-links a:hover {
    color: #FFFFFF;
}

.copyright {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

/* Main Content Area */
.main-content {
    margin-left: var(--nav-width-pc);
    width: calc(100% - var(--nav-width-pc));
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content>.section {
    flex-grow: 1;
}

.section {
    padding: var(--spacing-xl) 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.3;
    position: relative;
    display: inline-block;
}

.title-underline {
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin-top: 15px;
}

/* ==========================================================
   Hero Section
   ========================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
    object-position: center center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    /* Lightened for video */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    color: #ffffff;
}

.hero-title {
    color: #ffffff;
    font-size: 4rem;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-catch {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 2;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.sp-only {
    display: none;
}

/* ==========================================================
   Anchor Links (Sub Nav)
   ========================================================== */
.anchor-nav-section {
    padding: var(--spacing-sm) 0 var(--spacing-md);
    background-color: var(--color-bg-base);
    border-bottom: 1px solid var(--color-border-light);
}

.anchor-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.anchor-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: #FFFFFF;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.anchor-btn i {
    margin-right: 8px;
    font-size: 1.1rem;
}

.anchor-btn:hover {
    background-color: var(--color-accent);
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 167, 181, 0.2);
    transform: translateY(-2px);
}

/* ==========================================================
   Issue Section
   ========================================================== */
.issue-text {
    font-size: 1.1rem;
    max-width: 800px;
}

.rule-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.rule-card {
    background-color: var(--color-bg-base);
    border: 1px solid var(--color-border);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-smooth);
}

.rule-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--color-accent);
    transform: translateY(-5px);
}

.rule-card.danger {
    border-color: #ffdddd;
    background-color: #fff9f9;
}

.rule-card.danger:hover {
    border-color: #ff4d4d;
}

.rule-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.rule-card.danger .rule-icon {
    color: #ff4d4d;
}

.rule-content h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.rule-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.issue-conclusion {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================
   Reason Section
   ========================================================== */
.reason-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.card {
    background-color: var(--color-bg-base);
    padding: 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--color-border-light);
    transition: var(--transition-smooth);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 167, 181, 0.1);
}

.card-icon {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.card-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* ==========================================================
   Services Section
   ========================================================== */
.service-table-wrapper {
    overflow-x: auto;
}

.service-table {
    width: 100%;
    border-collapse: collapse;
}

.service-table th {
    background-color: var(--color-text-heading);
    color: #fff;
    padding: 1.5rem;
    font-size: 1.25rem;
    text-align: left;
    border-radius: 8px 8px 0 0;
}

.service-table td {
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-top: none;
}

.table-label {
    width: 25%;
    background-color: var(--color-bg-light);
    font-weight: 700;
}

.inline-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    border-radius: 4px;
    font-size: 0.9rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent);
    font-family: Arial, sans-serif;
}

.price span {
    font-size: 1rem;
    color: var(--color-text-main);
}

.option-block {
    background-color: var(--color-bg-base);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

.option-content {
    display: flex;
}

.option-text {
    flex: 1;
    padding: 3rem;
}

.badge {
    display: inline-block;
    background-color: var(--color-text-main);
    color: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.option-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.option-text h3 small {
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: normal;
}

.option-catch {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-text-heading);
}

.option-image {
    width: 40%;
}

.option-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================
   Flow Section
   ========================================================== */
.flow-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flow-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

.step-number {
    font-family: Arial, sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-border);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.flow-arrow {
    font-size: 1.5rem;
    color: var(--color-border);
    padding: 0 1rem;
}

.sp-arrow {
    display: none;
}

.bullet-list {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.border-l-4 {
    border-left: 4px solid var(--color-accent);
    padding-left: 10px;
}

/* ==========================================================
   FAQ (Accordion)
   ========================================================== */
.accordion {
    border-top: 1px solid var(--color-border);
}

.accordion-item {
    border-bottom: 1px solid var(--color-border);
}

.accordion-header {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-heading);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.accordion-header:hover {
    color: var(--color-accent);
}

.accordion-header .icon {
    font-size: 1.2rem;
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.accordion-header.active .icon {
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-body p {
    padding-bottom: 1.5rem;
    color: var(--color-text-muted);
    padding-right: 2rem;
}

/* ==========================================================
   Forms
   ========================================================== */
.border-layout {
    border-top: 1px solid var(--color-border);
}

.clean-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 4rem;
}

.form-section-title {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    margin-bottom: 1.5rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
    background-color: var(--color-bg-light);
    transition: var(--transition-smooth);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-accent);
    background-color: var(--color-bg-base);
    box-shadow: 0 0 0 3px rgba(0, 167, 181, 0.1);
}

/* Quantity Control in form */
.item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    margin-bottom: 1rem;
    background-color: var(--color-bg-base);
}

.item-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.item-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-qty {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-light);
    font-size: 1.2rem;
    color: var(--color-text-main);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-qty:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.input-qty {
    width: 60px !important;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}

.unit {
    margin-left: 0.5rem;
}

.estimate-wrapper {
    background-color: var(--color-bg-base);
    padding: 2.5rem;
    border: 2px solid var(--color-accent);
    border-radius: 8px;
}

.estimate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
}

.estimate-row.total {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--color-border);
    font-weight: 700;
}

/* Checkbox */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
}

.checkbox-wrapper input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    accent-color: var(--color-accent);
}

.underline {
    text-decoration: underline;
}

/* Select */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f0d7';
    font-family: 'FontAwesome';
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--color-text-muted);
}

.select-wrapper select {
    appearance: none;
}

/* ==========================================================
   Info & Contact Section
   ========================================================== */
.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.def-list {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem 0;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

.def-list dt {
    font-weight: 700;
    color: var(--color-text-muted);
}

.main-footer {
    text-align: center;
    padding: 3rem;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 1.1rem;
    font-weight: 500;
}

.hero-release-text {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    width: 100%;
}

.hero-release-text p {
    display: inline-block;
    color: #ff8c00;
    /* Theme matching Orange */
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Make it stand out against video */
    background: rgba(255, 255, 255, 0.85);
    /* Slightly transparent white block for maximum contrast */
    padding: 10px 25px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.05em;
}

/* ==========================================================
   Modal
   ========================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background-color: var(--color-bg-base);
    width: 90%;
    max-width: 800px;
    border-radius: 8px;
    padding: 3rem;
    position: relative;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.modal-overlay.active .modal-box {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

.modal-close:hover {
    color: var(--color-accent);
    transform: rotate(90deg);
}

.terms-scroll-area {
    overflow-y: auto;
    padding-right: 1rem;
}

/* ==========================================================
   Blog Page Layout
   ========================================================== */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
}

.blog-articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 167, 181, 0.15);
    /* Subtly colored shadow on hover */
}

.blog-card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

.blog-card-link:hover .blog-card-thumb img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    color: #ffffff;
    background-color: var(--color-accent);
}

/* Category Specific Colors - Turquoise theme variations */
.cat-law {
    background-color: var(--color-accent);
}

.cat-review {
    background-color: #008f9c;
}

/* Darker Turquoise */
.cat-spot {
    background-color: #26c6da;
}

/* Lighter Cyan */
.cat-report {
    background-color: #00acc1;
}

/* Mid Cyan */
.cat-news {
    background-color: #4dd0e1;
}

/* Softer Cyan */

.blog-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: var(--color-text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.blog-card-link:hover .blog-title {
    color: var(--color-accent);
}

.blog-excerpt {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sidebar Styles */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.widget {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent);
    color: var(--color-text-main);
    display: inline-block;
}

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

.widget-list li {
    margin-bottom: 0.8rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    padding-bottom: 0.8rem;
}

.widget-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.widget-list a {
    text-decoration: none;
    color: var(--color-text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.widget-list a:hover {
    color: var(--color-accent);
}

.widget-list .count {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* ==========================================================
   Article Page Styles
   ========================================================== */

/* Article Hero */
.article-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.article-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 206, 209, 0.45);
    /* Turquoise transparent */
}

.article-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    max-width: 800px;
    padding: 2rem;
}

.hero-badge {
    position: relative;
    display: inline-block;
    top: 0;
    left: 0;
    font-size: 0.9rem;
    padding: 6px 16px;
    margin-bottom: 1.5rem;
}

.article-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.4;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Article Content Wrapper */
.article-page {
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-xl);
}

.article-content-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.article-main-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-text-main);
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 1rem;
}

/* Table of Contents */
.toc-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem 2rem;
}

.toc-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

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

.toc-list li {
    margin-bottom: 0.6rem;
}

.toc-list li:last-child {
    margin-bottom: 0;
}

.toc-list a {
    text-decoration: none;
    color: var(--color-accent);
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.toc-list a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Article Blocks (Headers and Text) */
.article-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 1.2rem;
    margin-top: 2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--color-accent);
}

.article-block p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.2rem;
}

/* Warning Box */
.warning-box {
    background-color: #2a2a2a;
    border-left: 5px solid #FF4500;
    border-radius: 0 8px 8px 0;
    padding: 1.5rem;
    color: #f1f1f1;
}

.warning-header {
    color: #FF4500;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.warning-list {
    padding-left: 1.5rem;
    color: #ddd;
    line-height: 1.7;
}

.warning-list li {
    margin-bottom: 0.5rem;
}

/* 3 Walls Grid (Stacked vertically) */
.three-walls-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.wall-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wall-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 206, 209, 0.1);
}

.wall-icon {
    font-size: 2.5rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.wall-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text-main);
}

.wall-card p {
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Solution Block */
.solution-block {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 100%);
    border: 1px solid rgba(0, 206, 209, 0.2);
    border-radius: 12px;
    padding: 2.5rem;
}

.solution-title {
    display: flex;
    align-items: center;
    border: none !important;
    padding-left: 0 !important;
}

.inline-logo {
    height: 30px;
    margin-right: 15px;
}

.solution-points {
    list-style: none;
    padding: 0;
}

.solution-points li {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

/* Tooltips */
.tooltip {
    position: relative;
    border-bottom: 1px dashed var(--color-text-muted);
    cursor: help;
    color: var(--color-accent);
    font-weight: 600;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 400;
    width: max-content;
    max-width: 250px;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, bottom 0.3s ease;
    z-index: 100;
    line-height: 1.4;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: calc(125% - 5px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333333 transparent transparent transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, bottom 0.3s ease;
    z-index: 100;
}

.tooltip:hover::after,
.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    bottom: 135%;
}

.tooltip:hover::before {
    bottom: calc(135% - 5px);
}

/* Call to Action */
.article-cta {
    text-align: center;
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--color-accent);
}

.cta-message {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background-color: #06C755;
    /* LINE Official Color */
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-line:hover {
    background-color: #05a847;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
}

/* ==========================================================
   Responsive Display (Mobile)
   ========================================================== */
@media screen and (max-width: 1024px) {

    /* Adjust grid columns */
    .rule-cards,
    .reason-cards {
        gap: 1.5rem;
    }

    .grid-layout {
        gap: 3rem;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }

    /* Blog layout adjustments */
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .blog-articles {
        grid-template-columns: repeat(2, 1fr);
        /* Keep 2 columns on tablet */
    }

    /* Article Layout (Tablet) */
    .article-hero-title {
        font-size: 2.2rem;
    }

    .article-content-wrapper {
        padding: 2rem;
    }
}

@media screen and (max-width: 768px) {

    /* Article Layout (Mobile) */
    .article-hero {
        height: 50vh;
        min-height: 350px;
    }

    .article-hero-title {
        font-size: 1.8rem;
    }

    .article-content-wrapper {
        padding: 1.5rem;
    }

    .three-walls-grid {
        grid-template-columns: 1fr;
    }

    .solution-block {
        padding: 1.5rem;
    }

    .toc-box {
        padding: 1.5rem;
    }

    /* Global Navigation Mobile (Header Style) */
    .global-nav {
        transform: none;
        width: 100%;
        height: auto;
        position: fixed;
        top: 0;
        left: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background-color: var(--color-accent);
        display: flex;
        flex-direction: column;
        padding: 0;
        z-index: 1000;
        overflow: visible;
    }

    .nav-inner {
        padding: 10px 15px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        transition: all 0.3s ease;
    }

    .nav-brand {
        margin-bottom: 15px !important;
        padding: 0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: flex-start !important;
        transition: all 0.3s ease;
        opacity: 1;
        overflow: hidden;
    }

    .nav-brand .logo-link img {
        height: 25px !important;
        /* Reduced from 40px to approximately half size */
        transition: all 0.3s ease;
        display: block !important;
        width: auto !important;
    }

    .logo-link {
        font-size: 1rem;
    }

    .nav-menu {
        width: 100%;
        height: auto;
        display: block;
        padding-bottom: 5px;
    }

    .nav-menu ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 10px;
        justify-content: center;
        padding: 0;
    }

    .nav-menu li {
        margin-bottom: 0;
    }

    /* Scrolled state applied via JS */
    body.nav-scrolled .nav-inner {
        padding: 5px 10px;
    }

    body.nav-scrolled .nav-brand {
        margin-bottom: 0px;
        opacity: 0;
        height: 0;
        /* smoothly collapse height */
    }

    body.nav-scrolled .nav-brand .logo-link img {
        height: 0px;
        /* shrink image to 0 */
    }

    body.nav-scrolled .nav-menu {
        width: 100%;
        padding-bottom: 0;
    }

    body.nav-scrolled .nav-menu ul {
        justify-content: center;
        gap: 5px 10px;
    }

    body.nav-scrolled .nav-link {
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
        display: inline-block;
        border-radius: 20px;
        padding-left: 0;
        /* Override existing padding-left */
    }

    .nav-link::before {
        display: none;
    }

    .nav-link.active {
        background-color: #ffffff;
        color: var(--color-accent);
    }

    .nav-footer {
        display: none;
        /* Hide large CTA and socials on mobile header, we have anchor links */
    }

    /* Adjust main content to account for top fixed header */
    .layout-wrapper {
        flex-direction: column;
        display: block;
        /* Override flex */
        min-height: auto;
        /* Adjust min-height for mobile */
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding-top: 110px;
        /* Add padding to prevent content from hiding under mobile header */
        min-height: auto;
        /* Adjust min-height for mobile */
    }

    .section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    /* Spacing adjustments */
    :root {
        --spacing-md: 20px;
        --spacing-lg: 40px;
        --spacing-xl: 60px;
    }

    /* Container and spacing overrides */
    .section-title {
        font-size: 1.8rem;
    }

    .sp-only {
        display: block;
    }

    /* Blog mobile layout */
    .blog-articles {
        grid-template-columns: 1fr;
        /* Stack cards on mobile */
    }

    .hero-section {
        min-height: 60vh;
        /* Shorter on mobile to reveal more horizontal landscape */
        height: 60vh;
    }

    /* Hero */
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.4;
    }

    .hero-catch {
        font-size: 1.1rem;
    }

    /* Anchor Nav - Mobile */
    .anchor-links {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
        padding-bottom: 5px;
        gap: 8px;
    }

    .anchor-btn {
        flex: 0 0 auto;
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    /* Grids to 1 column */
    .rule-cards,
    .reason-cards,
    .grid-layout {
        grid-template-columns: 1fr;
    }

    /* Option Block */
    .option-content {
        flex-direction: column-reverse;
    }

    .option-text {
        padding: 1.5rem;
    }

    .option-image {
        width: 100%;
        height: 200px;
    }

    /* Flow */
    .flow-container {
        flex-direction: column;
    }

    .flow-arrow i.fa-chevron-right {
        display: none;
    }

    .flow-arrow i.sp-arrow {
        display: inline-block;
        padding: 1rem 0;
    }

    /* Form */
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Hide some elements on mobile to keep minimal */
    .table-label {
        width: 35%;
    }

    .estimate-row.total {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}