@charset "UTF-8";

/* ==========================================================================
   Variables
   ========================================================================== */
:root {
    --primary-color: #CA2F2F; /* ASK Red */
    --text-color: #181818;
    --border-color: #ccc;
    --border-color-light: #E0E0E0;
    --bg-gray: #f9f9f9;
    --bg-base: #F8F6F4;
    --font-main: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    --max-width: 1120px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* 1rem = 10px */
}

body {
    font-family: var(--font-main);
    font-size: 1.6rem;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
}

ul, ol {
    list-style: none;
}

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

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

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input, button, textarea, select {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    appearance: none;
}

button {
    cursor: pointer;
}

small {
    font-size: inherit;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.l-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}
@media (min-width: 768px) {
    .sp-only { display: none; }
    .pc-only { display: block; }
}
@media (max-width: 768px) {
    .sp-only { display: block; }
    .pc-only { display: none; }
}

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



/* ==========================================================================
   Components
   ========================================================================== */
.c-heading {
    text-align: center;
    margin-bottom: 40px;
}

.c-heading__main {
    display: block;
    font-size: 4rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.c-heading__sub {
    display: block;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 100px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.c-btn:hover {
    background-color: #ec8a8a;
}

.c-btn__icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 8px;
    flex-shrink: 0;
}

/* ==========================================================================
   Project: Main Visual (Background Fixed)
   ========================================================================== */
.p-mv {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.p-mv__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    animation: mv-zoom 8s ease-out forwards;
}

@keyframes mv-zoom {
    0% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

.p-mv::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.p-mv::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: var(--primary-color);
    z-index: 3;
    transform: scaleX(0);
    transform-origin: left center;
    animation: line-expand 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes line-expand {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

.p-mv__content {
    position: relative;
    z-index: 2;
    font-family: var(--font-main);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.p-mv__logo {
    margin: 0 auto;
    max-width: 200px;
    margin-bottom: 10px;
    opacity: 0;
    animation: mv-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}
.p-mv__logo img {
    width: 100%;
    display: block;
}

.p-mv__title {
    font-size: 4.8rem;
    margin-bottom: 40px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1;
    opacity: 0;
    animation: mv-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 1.2s forwards;
}

.p-mv__lead {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    opacity: 0;
    animation: mv-fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 1.6s forwards;
}

@keyframes mv-fade-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Project: About
   ========================================================================== */
.p-about {
    padding: 100px 0 180px;
}

.p-about__layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.p-about__list {
    display: grid;
    grid-template-columns: 19.2rem 1fr;
    border-top: 1px solid var(--border-color);
}

.p-about__list dt {
    padding: 15px 10px;
    border-bottom: 1px solid var(--border-color);
    font-weight: bold;
}
.p-about__list dt span {
    border-left: 7px solid var(--primary-color);
    display: inline-block;
    padding-left: 16px;
}

.p-about__list dd {
    margin: 0;
    padding: 15px 10px;
    border-bottom: 1px solid var(--border-color);
}

.p-about__info {
    flex: 5;
    min-width: 0;
}

.p-about__map {
    flex-shrink: 0;
    flex:3;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.p-about__map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Project: Download (Background Fixed + Dark Overlay)
   ========================================================================== */
.p-download {
    position: relative;
    background-image: url('../images/download-bg.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.p-download__overlay {
    padding: 150px 0;
    background-color: rgba(0, 0, 0, 0.7); /* MVより暗いオーバーレイ */
    color: #fff;
    text-align: center;
}

.p-download__title {
    font-size: 3.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.p-download__text {
    margin-bottom: 30px;
}
.p-download__action {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.p-download__action a {
    width: 40%;
    max-width: 400px;
    box-sizing: border-box;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.l-footer {
    position: relative;
    background-color: #fff;
    padding: 80px 0 0;
    font-size: 1.6rem;
    border-top: 6px solid var(--primary-color);
}

.l-footer__top-link {
    position: absolute;
    top: -30px;
    right:30px;
    width: 60px;
    height: 60px;
    z-index: 1;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.4rem;
    transition: all 0.3s ease;
}
.l-footer__top-link:hover {
    opacity: 0.8;
}

.l-footer__top {
    display: flex;
    margin-bottom: 80px;
}

.l-footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 2.3rem;
    margin-bottom: 20px;
}
.l-footer__info {
    border-right: 1px solid var(--border-color-light);
    padding-right: 40px;
}

.l-footer__logo img { width: 60px; }

.l-footer__sns {
    display: flex;
    gap: 15px;
    font-size: 2.4rem;
}

.l-footer__sns a { color: #333; }

.l-footer__address {
    padding-left: 40px;
}

.l-footer__address p + p {
    margin-top: 10px;
}

.l-footer__bottom {
    background-color: #FDE6E7;
    padding: 30px 0;
    text-align: center;
    font-size: 1.2rem;
}




/* ==========================================================================
   Responsive (768px以下)
   ========================================================================== */
@media (max-width: 768px) {

    /* --- Layout --- */
    .l-container {
        padding: 0 16px;
    }

    /* --- Components --- */
    .c-heading {
        margin-bottom: 24px;
    }
    .c-heading__main {
        font-size: 2.6rem;
    }
    .c-heading__sub {
        font-size: 1.4rem;
    }
    .c-btn {
        min-width: 200px;
        padding: 12px 24px;
        font-size: 1.4rem;
    }

    /* --- MV --- */
    .p-mv__bg {
        background-image: url('../images/hero-bg-sp.jpg');
        background-attachment: scroll;
    }
    .p-mv::after {
        height: 6px;
    }
    .p-mv__logo {
        max-width: 120px;
    }
    .p-mv__title {
        font-size: 2.8rem;
        margin-bottom: 24px;
    }
    .p-mv__lead {
        font-size: 1.4rem;
        letter-spacing: 0.08em;
    }

    /* --- About --- */
    .p-about {
        padding: 48px 0 60px;
    }
    .p-about__layout {
        flex-direction: column;
        gap: 32px;
    }
    .p-about__list {
        grid-template-columns: 1fr;
        font-size: 1.4rem;
    }
    .p-about__list dt {
        padding: 12px 8px 4px;
        border-bottom: none;
        font-size: 1.3rem;
    }
    .p-about__list dt span {
        border-left-width: 5px;
        padding-left: 12px;
    }
    .p-about__list dd {
        padding: 4px 8px 12px;
        font-size: 1.4rem;
    }
    .p-about__map {
        width: 80%;
        margin: 0 auto;
    }

    /* --- Download --- */
    .p-download {
        background-image: url('../images/download-bg.jpg');
        background-attachment: scroll;
    }
    .p-download__overlay {
        padding: 80px 0;
    }
    .p-download__title {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    .p-download__text {
        font-size: 1.4rem;
        margin-bottom: 24px;
    }

    .p-download__action {
        gap: 16px;
    }
    .p-download__action a {
        width: 80%;
    }

    .p-download__action a {
        width: 80%;
    }


    /* --- Footer --- */
    .l-footer {
        padding: 48px 0 0;
    }
    .l-footer__top-link {
        top: -22px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 1.8rem;
    }
    .l-footer__top-link:hover {
        opacity:1;
    }

    .l-footer__top {
        flex-direction: column;
        gap: 0;
        margin-bottom: 40px;
    }
    .l-footer__info {
        border-right: none;
        border-bottom: 1px solid var(--border-color-light);
        padding-right: 0;
        padding-bottom: 24px;
        margin-bottom: 24px;
    }
    .l-footer__logo {
        font-size: 1.8rem;
        margin-bottom: 16px;
    }
    .l-footer__logo img {
        width: 44px;
    }
    .l-footer__sns {
        font-size: 2rem;
        gap: 12px;
    }
    .l-footer__address {
        padding-left: 0;
        font-size: 1.3rem;
    }
    .l-footer__bottom {
        padding: 20px 0;
        font-size: 1.1rem;
    }
}