

/* ------------------------------ Base ------------------------------ */
html, body {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5em;
    color: #1a73e8;
    letter-spacing: 1px;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');


/* ------------------------------ Header ------------------------------ */
.header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a73e8;
    letter-spacing: 1px;
}

.logo img {
    height: 40px;    
    width: auto;
    display: block;
}


.nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav li {
    margin-left: 25px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav a:hover {
    color: #1a73e8;
}


/* ------------------------------ HERO（除雪） ------------------------------ */
.hero {
    position: relative;
    width: 100%;
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 8%;
    color: #fff;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/25750201_m.jpg");
    background-size: cover;
    background-position: center;
    animation: heroZoom 12s ease-in-out infinite alternate;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    animation: fadeHero 1.5s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeHero {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tagline {
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 2.7rem;
    line-height: 1.3;
    margin-bottom: 30px;
    font-weight: 800;
}

.hero-title span {
    display: block;
    margin-top: 5px;
    font-size: 3.1rem;
    font-weight: 900;
    color: #00a4ff;
}

.hero-cta {
    display: inline-block;
    padding: 18px 32px;
    background: #0095d9;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.hero-cta:hover {
    transform: translateY(-4px);
    opacity: 0.85;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 4%;
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: #0095d9;
}

.scroll-indicator::after {
    content: "";
    display: block;
    width: 2px;
    height: 38px;
    margin: 10px 0 0 2px;
    background: #0095d9;
    opacity: 0.7;
    animation: scrollAnim 1.8s infinite;
}

@keyframes scrollAnim {
    0% { opacity: 0.2; height: 20px; }
    50% { opacity: 1; height: 38px; }
    100% { opacity: 0.2; height: 20px; }
}


/* ------------------------------ SERVICE ------------------------------ */

/* =========================================================
   SERVICE – 完全確定・画像ズレ100%防止
========================================================= */

.service-section {
  padding: 100px 6%;
  background: #fff;
}

.service-section .section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: #0a6ea8;
  margin-bottom: 80px;
  letter-spacing: 0.08em;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 120px;
}

/* ★ 画像はここだけで制御 */
.service-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキスト */
.service-text {
  position: relative;
  padding-left: 26px;
  font-size: 1rem;
  line-height: 1.9;
}

.service-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #0a6ea8;
}

.service-title {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #0a6ea8;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.season-tag {
  font-size: 0.9rem;
  font-weight: 700;
  color: #c4002f;
}

/* 偶数反転（修正版） */
.service-section .service-block:nth-of-type(even) {
  direction: rtl;
}
.service-section .service-block:nth-of-type(even) > * {
  direction: ltr;
}
.service-section .service-block:nth-of-type(even) .service-text {
  padding-left: 0;
  padding-right: 26px;
}
.service-section .service-block:nth-of-type(even) .service-text::before {
  left: auto;
  right: 0;
}
/* ===============================
   SP
=============================== */
@media (max-width: 768px) {

  .service-section {
    padding: 80px 6%;
  }

  .service-section .section-title {
    font-size: 1.6rem;
    margin-bottom: 60px;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 80px;
  }

  .service-img {
    aspect-ratio: 4 / 3;
  }

  .service-text {
    padding-left: 0;
    padding-top: 14px;
  }

  .service-text::before {
    width: 100%;
    height: 2px;
  }

  .service-title {
    font-size: 1.5rem;
  }
}



/* ------------------------------ PRICE ------------------------------ */
.price-section {
    width: 100%;
    padding: 100px 0;
    background: #fff;
}

.price-area {
    margin: 30px auto 20px; 
    text-align: center;
    max-width: 420px;
}


.price-inner {
    width: 90%;
    max-width: 1400px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 70px;
}

.price-img img {
    width: 100%;
    max-width: 700px;
    border-radius: 12px;
    object-fit: cover;
}

.price-content {
    flex: 1;
    position: relative;
    animation: fadeUp 1.1s ease-out forwards;
    opacity: 0;
    text-align: center;
}

.price-content::before {
    content: "";
    position: absolute;
    top: -25px;
    left: -45px;
    width: 180px;
    height: 180px;
    background-image: radial-gradient(#22a7f0 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: 0.45;
    z-index: -1;
}

.price-en {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
}

.price-title {
    font-size: 28px;
    font-weight: 700;
    color: #25bbe0;
    margin-bottom: 25px;
}

.price-free {
    font-size: 22px;
    font-weight: 800;
    color: #e63946;
    margin-bottom: 12px;
}

.price-text {
    font-size: 15px;
    color: #444;
    line-height: 1.9;
    margin-bottom: 22px;
}

.price-number {
    font-size: 20px;
    font-weight: 650;
    margin-bottom: 20px;
}

.price-bold {
    color: #1e73be;
    font-size: 26px;
    font-weight: 900;
}

.price-discount {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
}

.price-link {
    font-size: 17px;
    color: #1e90ff;
    text-decoration: underline;
    font-weight: 600;
}

.price-area {
    text-align: center;
    margin: 28px auto 22px;
}

.price-area-badge {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;         
    background: #eaf5ff;
    color: #1e73be;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #1e73be;
    letter-spacing: 0.5px;
}

.price-area-badge strong {
    font-weight: 1000;
}


@keyframes fadeUp {
    from { opacity: 0; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ------------------------------ 会社概要 ------------------------------ */
.company {
    position: relative;
    padding: 60px 0;
    background-image: url("images/ace.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.company::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85); /* 白を少し透過 */
}

.company > * {
    position: relative;
    z-index: 1;
}


.company-table {
    max-width: 1000px;
    margin: 0 auto;
    border-top: 1px solid #ddd;
}

.company-table .row {
    display: flex;
    padding: 20px 10px;
    border-bottom: 1px solid #ddd;
}

.company-table .label {
    width: 30%;
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.company-table .value {
    width: 70%;
    color: #444;
    font-size: 16px;
    line-height: 1.8;
}

@media (max-width: 600px) {
    .company-table .row {
        flex-direction: column;
    }

    .company-table .label {
        width: 100%;
        margin-bottom: 6px;
    }

    .company-table .value {
        width: 100%;
    }
}


/* ------------------------------ CONTACT ------------------------------ */
.contact {
    text-align: center;
    padding: 60px 0;
}

.contact .phone {
    font-size: 2rem;
    font-weight: 700;
    margin: 20px 0;
}

.contact .phone a {
    color: #e81a1a;
    text-decoration: none;
}

.contact .mail a {
    text-decoration: none;
    color: #1a73e8;
    font-weight: 600;
    font-size: 1.1rem;
}


/* ------------------------------ DMM風 Footer ------------------------------ */
.footer {
    background: #1b1b1b;
    color: #fff;
    padding: 60px 0;
    margin-top: 40px;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-left {
    max-width: 300px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-left a,
.footer-section a {
    display: block;
    color: #ccc;
    margin: 6px 0;
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-section h3 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.footer-section a:hover {
    color: #fff;
}

.footer .copyright {
    width: 100%;
    text-align: center;
    margin-top: 50px;
    padding-top: 25px;
    color: #aaa;
    font-size: 0.85rem;
    border-top: 1px solid #333;
}


/* ------------------------------ HERO SP最適化 ------------------------------ */
@media (max-width: 768px) {
    .hero {
        height: 78vh;
        padding-left: 4%;
        padding-right: 4%;
        justify-content: center;
        text-align: center;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-title span {
        font-size: 2.5rem;
    }

.hero-tagline {
    font-size: 28px;   
}

.hero-tagline .ace {
    font-size: 42px;   
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #0a8cd7;          /* ブランドカラー */
    text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}


    .hero-cta {
        font-size: 1.25rem;
        padding: 15px 26px;
    }
}

@media (max-width: 600px) {
    .scroll-indicator {
        font-size: 0.7rem;
        bottom: 18px;
    }
}


/* ------------------------------ CONTACT 新デザイン ------------------------------ */
.contact-cards {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 80px 5%;
    background: #f8f8f8;
}

.contact-card {
    width: 360px;
    background: #fff;
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.contact-mail a {
    font-size: 1.2rem;      
    font-weight: 700;
    text-decoration: none;
    color: #0095d9;
    word-break: break-all;   
}

.contact-label {
    position: absolute;
    top: 20px;
    left: -20px;
    writing-mode: vertical-rl;
    font-size: 0.85rem;
    color: #aaa;
    letter-spacing: 2px;
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-phone a {
    font-size: 2rem;
    font-weight: 800;
    text-decoration: none;
    color: #000;
}

.contact-hours {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #666;
}

.contact-btn {
    display: inline-block;
    margin-top: 15px;
    background: #000;
    color: #fff;
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 40px;
    text-decoration: none;
    transition: 0.2s;
}

.contact-btn:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .contact-card {
        width: 100%;
        max-width: 360px;
    }
}


/* Google Map */
.map-embed {
    width: 100%;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}






/* ------------------------------ SERVICE アニメーション ------------------------------ */
.service-block {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 2s ease, transform 2s ease;
}

.service-block.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ------------------------------ PRICE SP最適化 ------------------------------ */
@media (max-width: 768px) {
    .price-inner {
        flex-direction: column;
        gap: 30px;
    }

    .price-img img {
        max-width: 100%;
    }
}




/* =========================================================
    ▼▼ SP（スマホ）専用レイアウト修正 ▼▼
========================================================= */
@media (max-width: 768px) {

    /* ---- 日本語の縦バラけ防止 ---- */
    .service-text,
    .service-title,
    .price-title,
    .company-table,
    .contact,
    .nav a,
    .hero-title,
    .hero-tagline {
        word-break: keep-all;
        white-space: normal;
        line-break: strict;
    }

    /* ---- ナビゲーション文字が広がる問題 ---- */
    .nav ul {
        gap: 10px;
    }
    .nav li {
        margin-left: 12px;
    }
    .nav a {
        font-size: 0.9rem;
    }

    /* ---- HERO ---- */
    .hero-title {
        font-size: 1.9rem;
        line-height: 1.35;
    }
    .hero-title span {
        font-size: 2.3rem;
    }
    .hero-content {
        max-width: 95%;
    }

    /* ---- SERVICE ---- */
    .service-text {
        font-size: 1rem;
        line-height: 1.7;
        letter-spacing: 0.2px;
    }
    .service-img img {
        width: 100%;
    }

/* ---- PRICE ---- */
.price-text,
.price-number,
.price-free,
.price-title {
    word-break: keep-all;
    line-height: 1.7;
    text-align: center;
}


    /* ---- 会社概要 ---- */
    .company-table .value {
        word-break: break-word;
    }

    /* ---- CONTACT ---- */
    .contact-phone a {
        font-size: 1.6rem;
    }
}


/* =========================
    SERVICE（スマホ修正）
========================= */
@media (max-width: 768px) {

    .service-block {
        flex-direction: column !important;
        text-align: left;
        gap: 20px;
    }



    .service-text {
        font-size: 1rem;
        line-height: 1.7;
    }
}


/* =========================
    PRICE（スマホ修正）
========================= */
@media (max-width: 768px) {

    .price-inner {
        flex-direction: column !important;
        gap: 40px;
        width: 100%;
    }

    .price-img img {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 16px;
        height: auto;
    }

    .price-content {
        width: 100%;
        text-align: center;
        padding: 0 10px;
    }

    .price-en {
        font-size: 36px;
        margin-left: 0; 
    }

    .price-title {
        font-size: 22px;
    }

    .price-number {
        font-size: 18px;
    }

    .price-bold {
        font-size: 24px;
    }
}

/* ---------------- ハンバーガー ---------------- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: #1a73e8;
    border-radius: 2px;
    transition: 0.3s;
}


@media (max-width: 768px) {

    /* ハンバーガー表示 */
    .hamburger {
        display: flex;
    }

    /* 通常ナビを隠す */
    .nav {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: #fff;
        display: none;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }

    .nav ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .nav li {
        margin: 15px 0;
    }

    /* 開いたとき */
    .nav.active {
        display: block;
        animation: slideDown 0.3s ease;
    }
}

/* アニメーション */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
