/* ==================================================
   リセット & ベース（390px基準・SP専用設計）
================================================== */

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

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    width: 100%;
    color: #333;
    background-color: #fff;
    font-family:
        "Noto Sans JP",
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        Meiryo,
        sans-serif;
    font-size: 16px;
    line-height: 1.8;
}

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

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

button {
    border: none;
    background: none;
    font: inherit;
}


/* ==================================================
   ファーストビュー (390px対応)
================================================== */

.fv {
    position: relative;
    width: 100%;
    height: 75svh;
    overflow: hidden;
}

.fv_wave_white {
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: auto;
    z-index: 5;
    pointer-events: none;
}

.fv-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.fv-catchcopy {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 75%;
    max-width: 260px;
    transform: translateX(-50%);
    z-index: 3;
}

.fv-parts {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.fv-parts img {
    position: absolute;
    height: auto;
    max-width: none;
}

.kumo1 { top: 20%; left: 10%; width: 75px; }
.kumo2 { top: 8%; left: 25%; width: 80px; }
.kamome1 { top: 14%; left: 52%; width: 55px; }
.kamome2 { top: 16%; left: 68%; width: 65px; }
.kamome2-2 { top: 20%; left: 78%; width: 60px; }
/* 横スクロールの原因にならないよう右端配置を調整 */
.wani { right: -120px; bottom: 15%; width: 230px; }


/* ==================================================
   ロゴ
================================================== */

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 30px;
    background-color: #fff;
}

.brand-logo {
    width: 160px;
}


/* ==================================================
   固定メニュー
================================================== */

.fixed-menu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    pointer-events: none;
}

.fixed-menu-button { width: 80px; pointer-events: auto; }
.fixed-contact-button { width: 135px; pointer-events: auto; }


/* ==================================================
   メイン
================================================== */

main {
    width: 100%;
    position: relative;
    overflow-x: clip;
}


/* ==================================================
   動けるくるま
================================================== */

.about {
    width: 100%;
    padding: 30px 20px 30px;
    background-color: #fff;
}

.about-message {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 25px;
}

.about-subcopy { 
    width: 90px;
    flex-shrink: 0;
}

.about-text {
    flex-shrink: 0;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

.about-text p {
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0.08em;
    margin: 0;
}


/* ==================================================
   写真スライダー（途切れ防止 & 重なり整理）
================================================== */

.works-preview {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px 0px;
}

.works-track {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: works-slide 60s linear infinite;
}

.works-set {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
}

.works-set img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 25px;
    flex-shrink: 0;
}

@keyframes works-slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 3));
    }
}


/* ==================================================
   サービス（水色エリア全体：波の表示を改善）
================================================== */

.service {
    position: relative;
    width: 100%;
    background-color: #e8f7fc;
    padding: 140px 20px 140px;
    overflow: hidden;
}

/* 上の波 */
.service-wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 150%;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

/* 下の波 */
.service-wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

.service-character {
    position: absolute;
    top: 10px;
    right: 35px;
    width: 120px;
    z-index: 25;
}

.service-inner {
    position: relative;
    z-index: 3;
}

.service-heading {
    margin-bottom: 25px;
}

.service-label {
    width: 65px;
    margin: 0 auto 5px;
}

.service-heading h2 {
    margin: 0;
    text-align: center;
    font-size: 40px;
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.12em;
    color: #3b1c0e;
}

.service-description {
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 30px;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;

    padding: 14px 6px;
    background-color: #fff;
    border-radius: 16px;
}

.service-name {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #222;
    z-index: 1;
}

.service-name::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;
    height: 6px;
    background-color: #ffd000;
    z-index: -1;
}

.service-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.service-more {
    display: block;
    width: 130px;
    margin: 35px auto 0;
    filter: drop-shadow(0 5px 0 #bdbdbd);
}


/* --------------------------------------------------
   LINE相談（390px対応）
-------------------------------------------------- */

.line-section {
    position: relative;
    width: 100%;
    padding: 80px 20px 20px;
}

.line-content {
    position: relative;
    z-index: 2;
}

.line-heading {
    text-align: center;
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 700;
}

.line-heading > p {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: 0.08em;
}

.line-heading-text {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    gap: 6px;
    margin-top: 5px;
}

.line-heading-text img {
    width: 50px;
}

.line-heading-text p {
    margin: 0;
    font-size: 22px;
    line-height: 1.4;
    letter-spacing: 0.08em;
}

.line-description {
    margin: 15px 0;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: #3b1c0e;
}

.line-button {
    display: block;
    width: 260px;
    margin: 0 auto;
    filter: drop-shadow(0 5px 0 #bdbdbd);
}

.line-character {
    display: block;
    width: 260px;
    margin: 50px auto 0;
}

.service-works-preview {
    margin-top: 20px;
    width: calc(100% + 40px);
    margin-left: -20px;
}



/* =========================
   WORKS
========================= */

.works {
    position: relative;
    z-index: 1;
    padding: 20px 20px 40px;
    text-align: center;
}

.section-title img {
    width: 65px;
    margin: 0 auto 8px;
}

.section-title h2 {
    margin: 0;
    font-size: 40px;
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.12em;
    color: #3b1c0e;
}

.works-lead {
    margin: 15px auto 25px;
    font-size: 16px;
    line-height: 1.8;
}

.works-instagram {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.works-instagram .instagram-media {
    margin-left: auto !important;
    margin-right: auto !important;
    min-width: 280px !important;
}

.works-instagram-link {
    padding: 25px 0 10px;
}

.works-instagram-text h3 {
    margin: 0;
    font-size: 22px;
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.08em;
    color: #3b1c0e;
}

.works-instagram-text p {
    margin: 12px 0 20px;
    font-size: 15px;
    line-height: 1.7;
}

.works-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.works-character-button {
    position: relative;
    width: 155px;
    height: 100px;
}

.works-character {
    position: absolute;
    width: 68px;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
    z-index: 1;
}

.works-button {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    display: block;
}

.works-button img {
    width: 155px;
    filter: drop-shadow(0 5px 0 #bdbdbd);
}

.works-insta {
    position: relative;
    display: grid;
    place-items: center;
    width: 115px;
    height: 115px;
}

.insta-follow {
    grid-area: 1 / 1;
    width: 115px;
    height: 115px;
    animation: instaRotate 25s linear infinite;
}

.icon-insta {
    grid-area: 1 / 1;
    width: 45px;
}

@keyframes instaRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* =========================
   ACCESS (390px & 波前面化)
========================= */

.access {
    position: relative;
    background: #e8f7fd;
    padding: 120px 20px 120px;
    overflow: hidden;
}

.access-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

.access-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

.access-inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.access-title h2 {
    margin: 0 0 15px;
    color: #009fe3;
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-size: 35px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.access-map iframe {
    display: block;
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: 15px;
}

.access-map-button {
    display: block;
    width: 180px;
    margin: 20px auto;
    filter: drop-shadow(0 5px 0 #bdbdbd);
}

.access-address {
    margin: 0;
    font-style: normal;
    font-size: 13px;
    line-height: 1.6;
}

.access-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.access-frame {
    position: relative;
    width: 78%;
}

.access-frame p {
    position: absolute;
    top: 50%;
    left: 47%;
    width: 85%;
    margin: 0;
    transform: translate(-50%, -50%);
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

.access-character {
    width: 60px;
    flex-shrink: 0;
}


/* =========================
   CONTACT
========================= */

.contact {
    position: relative;
    z-index: 3;
    background: #fff;
    padding: 20px 20px 0px;
}

.contact-inner {
    width: 100%;
    text-align: center;
}

.contact h2 {
    margin: 0 0 25px;
    font-family: "fot-tsukuardgothic-std", sans-serif;
    font-size: 35px;
    font-weight: 600;
    color: #42200f;
    line-height: 1.4;
    letter-spacing: 0.12em;
}

.contact-lead {
    margin: 0 0 35px;
    font-size: 16px;
    line-height: 1.8;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info h3 {
    font-size: 16px;
    font-weight: 700;
}

.contact-info p {
    margin: 0;
    font-size: 16px;
}

.contact-phone {
    margin-top: 35px;
}

.contact-phone h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.contact-dots {
    width: 170px;
    max-width: 100%;
    height: 6px;
    margin: 0px auto 10px;

    background-image: radial-gradient(
        circle,
        #00a9e0 1.5px,
        transparent 1.7px
    );
    background-size: 7px 6px;
    background-repeat: repeat-x;
}

.contact-phone a {
    font-family: "DIN", sans-serif;
    color: #42200f;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.contact-line {
    margin-top: 30px;
}

.contact-line h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
}

.page-top {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
}

.contact-bottom {
    position: relative;
    height: 70px;
    margin-top: 20px; 
}

.contact-line .line-button {
    width: 180px;
    margin-bottom: 50px;
}

.contact-character {
    position: absolute;
    right: 35px;
    width: 100px;
    bottom: -100px;
    z-index: 25;
}


/* =========================
   FOOTER
========================= */

.footer {
    position: relative;
    background: #00b1f0;
    color: #fff;
    padding:100px 20px 20px;
}

.footer-inner {
    width: 100%;
}

.footer-wave{
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 2;
    pointer-events: none;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    flex-shrink: 0;
}

.footer-symbol img {
    width: 38px;
    height: 38px;
}

.footer-logo-type {
    width: 140px;
}

.footer-address {
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.6;
}

.footer-instagram {
    display: block;
    width: 22px;
    margin: 10px 10px 0 auto;
}

.copyright {
    margin: 30px 0 0;
    text-align: center;
    font-size: 10.5px;
}