@charset "UTF-8";
:root {
    /**
     * common
     */
    --color-black: #333333;
    --color-white: #ffffff;
    --color-main: #00CCFF; /* 25% */
    --color-base: #E0FFFF; /* 70% */
    --color-accent: #66FFCC; /* 5% */
    --color-accent-sub: #C8ACD6;
    --color-darkgray: rgba(44, 44, 44, 0.2);

    --font-gothic: "IBM Plex Sans JP", sans-serif;
    --font-mincho: "BIZ UDPMincho", serif;
    --font-en: "IBM Plex Serif", serif;
    --font-sawarabi: "Sawarabi Mincho", serif;
    --font-kurenaido: "Zen Kurenaido", sans-serif;
    --font-catchphrase: "Zen Kurenaido", sans-serif;

    --content-margin: 3.5vw;
    @media (min-width: 1080px) {
        --content-margin: 5.5vw;
    }

    /**
     * break point
     */
    @media (min-width: 1080px) {
        --is-md: true;  /* Medium: ≥ 1080px */
    }
}

/**
 * responsive
 */
.sp-none {
    display: none !important;
}

@container style(--is-md) {
    .sp-none {
        display: block !important;
    }

    .pc-none {
        display: none !important;
    }
}

/**
 * tag
 */
html, body {
    font-family: var(--font-gothic);
    font-size: 16px;
    color: var(--color-black);
    min-height: 100vh;
    background-color: var(--color-base);
}

html {
    height: 100svh;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

header {
    background-color: var(--color-white);
    align-items: self-end;
    padding: 1.5rem var(--content-margin) 0;
    margin-bottom: 0 !important; /* FIXME:  Do not use `important`. */
    z-index: 10;

    @container style(--is-md) {
        padding: 1.5rem var(--content-margin);
    }
}

a {
    color: black;
}

.header__logo img {
    vertical-align: sub;
}

.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    opacity: 1;
    visibility: visible;
    animation: slide 0.5s ease-in-out;
}

@media screen and (max-width: 1079px) {
    .header {
        display: none;
    }

    .scrolled {
        display: grid;
    }

    .hero.first-view {
        height: 100svh;
        display: flex;
        justify-content: center;
    }
}

@keyframes slide {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0%);
    }
}

header.grid {
  grid-template-columns: clamp(2rem, 3rem, 3rem) 1fr;

  @container style(--is-md) {
    grid-template-columns: clamp(5rem, 6rem, 6rem) 1fr 1fr;
  }
}

header.grid img {
  max-height: 36px;

  @container style(--is-md) {
    max-height: 70px;
  }
}

h1.title {
    font-size: 1.5rem;

    @container style(--is-md) {
        font-size: 2.5rem;
    }
}

h2.subtitle {
    font-size: 0.75rem;

    @container style(--is-md) {
        font-size: 1.25rem;
    }
}

h3.title {
    font-size: 1.25rem;

    @container style(--is-md) {
        font-size: 1.75rem;
    }
}

li.cell {
    padding: 0.25rem;

    @container style(--is-md) {
        padding: 1.25rem;
    }
}

/**
 * class
 */
.font-sawarabi {
    font-family: var(--font-sawarabi);
}

.font-kurenaido {
    font-family: var(--font-kurenaido);
}

.font-catchphrase {
    font-family: var(--font-catchphrase);
    font-style: italic;
}

.catchphrase-marker {
    background: linear-gradient(transparent 50%, rgba(255, 220, 123, 0.5) 50%);
    display: inline-block;
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: background-size 1.5s ease-in-out;
}

.catchphrase-marker.on {
    background-size: 100% 100%;
}

.catchphrase-marker:last-child {
    position: relative;
    left: -0.75rem;
    background-position: 0.75rem 0;
}

.main {
    margin: 0 var(--content-margin);
    position: relative;
}

.section {
    padding: 2.5rem 0;

    @container style(--is-md) {
        padding: 5rem 0;
    }
}

.section__title {
    margin-bottom: 3rem;
}

.section__title-decorate {

}

.section__title-main {

}

.section__title-sub {

}

.text__mincho {
    font-family: var(--font-mincho);
}

.text__vertical {
    writing-mode: vertical-lr;
    letter-spacing: 0.2em;
}

.hero {
    background-image: linear-gradient(rgba(255, 230, 255, 0.5), rgba(255, 255, 255, 0.8)), url("../images/hero-kv.jpg");
    background-position: center, -55vw center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 50vh;
    width: 100vw;
    margin-left: calc(-1 * var(--content-margin));

    @container style(--is-md) {
        background-position: center;
        background-image: linear-gradient(rgba(255, 230, 255, 0.5), rgba(255, 255, 185, 0.1)), url("../images/hero-kv.jpg");
    }

}

@media (orientation: landscape){
    .hero {
        background-position: center;
    }
}

.about {

}

.about img {
    padding: 1.0rem;
    background-color: var(--color-darkgray);
    object-fit: cover;
    border-radius: 0.5rem;
}

.about .grid {
    grid-template-columns: 1fr;
    @container style(--is-md) {
        grid-template-columns: 1fr 1fr;
    }
}

.about p {
    font-size: 1.0rem;
    @container style(--is-md) {
        font-size: 1.5rem;
    }
}

.features {
    background-color: var(--color-main);
    border-radius: 0 0.4rem 0.4rem 0;
    position: relative;
    left: calc(-1 * var(--content-margin));
    width: calc(99vw - var(--content-margin));
    padding-left: var(--content-margin);
}

.features.section {
    padding-top: 3rem;
    padding-right: 1.5rem;
    padding-bottom: 3rem;

    @container style(--is-md) {
        padding-top: 5rem;
        padding-right: 0;
        padding-bottom: 5rem;
    }
}

.features h2 {
    font-size: 4vw;
    text-align: left;
    padding-left: 0.75rem;
    font-weight: bold;

    @container style(--is-md) {
        font-size: 2.5rem;
        text-align: center;
    }
}

.features .grid {
    grid-template-columns: 1fr;

    @container style(--is-md) {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

}

.features li.cell {
    padding: 0.25rem;
}

.features li.cell:first-child {
    @container style(--is-md) {
        padding-left: 1rem;
    }
}

.features li.cell:last-child {
    @container style(--is-md) {
        padding-right: 1rem;
    }
}

.features .card {
    height: 100%;
    @container style(--is-md) {
        min-height: 20.5rem;
    }
}

.features .card .content {
    font-size: 0.75rem;

    @container style(--is-md) {
        font-size: 1.25rem;
    }
}

.contact {

}

.contact .grid {
    grid-template-columns: 1fr;
    @container style(--is-md) {
        grid-template-columns: 1fr 1fr;
    }
}

.contact table {
    width: 100%;
}

.contact .subtitle {
    text-align: center;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;

    @container style(--is-md) {
        margin-bottom: 1rem;
    }
}

.contact__map {
    min-height: 20rem;
}

.cta {

}

.gallery {

}

.footer {
    background-color: var(--color-main);
}

.footer .tel {
    color: var(--color-accent);
}

.is-vertical-center {
    display: flex;
    align-items: center;
}

/**
 * TODO: Buluma Framework override
 * HACK: Remove the framework
 */
.hero-body {
    margin: 0 var(--content-margin);
    margin-bottom: -4.0vh;
    padding: 1rem;

    @container style(--is-md) {
        margin-bottom: -10vh;
        align-items: flex-end !important;  /* FIXME:  Do not use `important`. */
    }
}

.hero-body .title {
    font-size: calc(100vw / 13);
    margin-top: calc(100svh / 3);
    line-height: normal;

    @container style(--is-md) {
        font-size: 3.0vw;
        margin-top: 0;
    }
}

.card-header-title {
    font-size: 1.2rem;
    padding: 0.75rem 0;

    @container style(--is-md) {
        font-size: 1rem;
    }
}

.message {
    margin: 0 0.25rem;
    text-align: center;

    @container style(--is-md) {
        margin: 0 0.75rem;
    }
}

.message-header {
    color: var(--color-base);
    background-color: var(--color-accent-sub);
    justify-content: center;
    font-size: 1.0rem;
    padding: 0.75rem;

    @container style(--is-md) {
        font-size: 1.75rem;
        padding: 0.75rem;
    }
}

.message-header+.message-body {
    background-color: var(--color-white);
    border: 1px solid var(--color-accent-sub);
    font-size: 1.0rem;

    @container style(--is-md) {
        font-size: 1.25rem;
    }
}
