@charset "UTF-8";

:root {
    --color-bg-white: #fff;
    --color-bg-yellow: #FFE187;
    --color-font-base: #4A453D;
    --color-font-white: #fff;
    --color-font-red: #D53D3D;
    --color-button-pink: #FD9F7C;
    --color-button-white: #fff;
    --color-button-pink-hover: #FFD5C6;
    --color-button-white-hover: #C5B8A4;
    --color-tag: #FD9F7C;
    --color-line: #FD9F7C;
}

/* reset css */
html {
    color: #000;
    background: #fff;
    overflow-x: hidden;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

fieldset,
img {
    border: 0;
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
    font-weight: normal;
}

ol,
ul {
    list-style: none;
}

caption,
th {
    text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}

q:before,
q:after {
    content: "";
}

abbr,
acronym {
    border: 0;
    font-variant: normal;
}

sup {
    vertical-align: text-top;
}

sub {
    vertical-align: text-bottom;
}

input,
textarea,
select,
button {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    font-size: 100%;
    border-radius: 0;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    background-color: inherit;
}

input,
textarea,
select {
    font-size: 16px;
}

textarea {
    resize: vertical;
    display: block;
}

button {
    padding: 0;
    cursor: pointer;
}

legend {
    color: #000;
}

main {
    display: block;
}

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

img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

svg {
    display: block;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

*::before,
*::after {
    box-sizing: border-box;
}

/* ----------------------------------
other settings
-------------------------------------*/
/* 水彩画背景canvas */
#watercolor-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    will-change: transform;
    /* GPUアクセラレーション */
    transform: translateZ(0);
    /* GPUレイヤー作成 */
    -webkit-transform: translateZ(0);
}


body {
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-font-base);
    background: transparent;
    overflow-x: hidden;
}

main {
    position: relative;
}

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


/* -----------------------------------------------------------
スクロールアニメーション
----------------------------------------------------------- */

/* 初期状態（opacity: 0をまとめる） */
.fadeUpTrigger,
.fadeUp {
    opacity: 0;
}

/* FadeUp アニメーション */
.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* アニメーションディレイ */
.delay-02 { animation-delay: 0.2s; }
.delay-04 { animation-delay: 0.4s; }
.delay-06 { animation-delay: 0.6s; }
.delay-08 { animation-delay: 0.8s; }
.delay-10 { animation-delay: 1.0s; }
.delay-12 { animation-delay: 1.2s; }

/* タブレット以下ではディレイをリセット */
@media (width < 1199px) {
    .delay-02,
    .delay-04,
    .delay-06,
    .delay-08,
    .delay-10,
    .delay-12 { 
        animation-delay: unset; 
    }
}


/* -----------------------
loading animation 
-------------------------*/
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    transition: all 1s;
    background-color: var(--color-bg-yellow);
}

.loading-content {
    text-align: center;
    animation: floatAnimation 3s ease-in-out infinite;
    width: 250px;
    height: auto;
    margin: 35vh auto;
}

@keyframes floatAnimation {

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

    50% {
        transform: translateY(-20px);
    }
}

.loaded {
    opacity: 0;
    visibility: hidden;
}

.loading-content p {
    font-weight: bold;
    font-size: 30px;
    color: var(--color-font-base);
}

/* -----------------------
hamburger menu
-------------------------*/
/* ハンバーガーメニューボタン */
.hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--color-bg-white);
    border: 2px solid var(--color-font-base);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(74, 69, 61, 0.1);
    z-index: 10000;
}

.hamburger:hover {
    background-color: var(--color-bg-yellow);
    transform: scale(1.05);
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-font-base);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ナビゲーションメニュー*/
.c-menulist {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: linear-gradient(135deg, #ffe187 0%, #fff4cc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.4s ease;
    box-shadow: -5px 0 20px rgba(74, 69, 61, 0.2);
    z-index: 9999;
}

.c-menulist.active {
    right: 0;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.nav-list li {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    transition: 0.5s;
}

.nav-list li a {
    color: var(--color-font-base);
    text-decoration: none;
    display: block;
    padding: 15px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-list li a:hover {
    background-color: var(--color-bg-white);
    color: var(--color-font-red);
    transform: scale(1.05);
}

/* メニュー用の背景オーバーレイ */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* メニュー開いている時はオーバーレイを表示 */
.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* スマホサイズ（767px以下） */
@media screen and (max-width: 767px) {
    .c-menulist {
        max-width: 60%;
    }

    .nav-item {
        font-size: 18px;
    }
}

/* タブレットサイズ（768px〜1199px） */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .c-menulist {
        max-width: 300px;
    }
}


/* ----------------------------------
layout
-------------------------------------*/
.l-container {
    max-width: 350px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
    padding: 0 20px;
}

@media screen and (min-width: 768px) {
    .l-container {
        max-width: 1098px;
        margin: 0 auto;
        box-sizing: border-box;
        width: 100%;
        padding: 0 40px;
    }
}

@media screen and (min-width: 1200px) {
    .l-container {
        padding: 0;
    }
}


/* ----------------------------------
component
-------------------------------------*/
/* text  */
.c-text--center {
    text-align: center;
}

.c-text--bold {
    font-weight: bold;
}

.c-text--left {
    text-align: left;
}

.c-heading--lv1 {
    font-size: 40px;
}

.c-heading--lv2 {
    font-size: 30px;
}

.c-heading--lv3 {
    font-size: 16px;
}


/* decoration */
.c-divider {
    align-self: stretch;
    background-color: var(--color-line);
    height: 3px;
}

.c-tag {
    background-color: var(--color-tag);
    width: fit-content;
    border-radius: 190px;
    color: var(--color-font-white);
    white-space: nowrap;
}

/* button  */

.c-button {
    padding: 20px 40px;
    border-radius: 190px;
    transition: 0.5s;
}

@media screen and (min-width: 768px) {
    .c-button {
        padding: 24px 100px;
    }
}

.c-button--pink {
    display: flex;
    justify-content: center;
    width: max-content;
    background-color: var(--color-button-pink);
    color: var(--color-font-white);
}

.c-button--pink:hover {
    box-shadow: 0 6px 25px rgba(253, 159, 124, 0.5);
    transform: translateY(-2px);
    background-color: var(--color-button-pink-hover);

}

.c-button--pink:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(253, 159, 124, 0.3);
}

.c-button--white {
    display: flex;
    justify-content: center;
    width: max-content;
    background-color: var(--color-button-white);
    color: var(--color-font-base);
}

.c-button--shadow {
    transition: 0.5s;
    box-shadow: 0 4px 0 var(--color-button-white-hover);
}

.c-button--shadow:hover {
    transform: translateY(4px);
    box-shadow: none;

}

/* 個別ページのhead */
.c-content-head {
    position: relative;
    margin-bottom: 40px;
    padding: 70px 0;
    background-color: var(--color-bg-yellow);
    width: 100%;
}

body.page-work .c-content-head {
    margin-bottom: 0;
}

.c-content-image {
    position: absolute;
    right: -20px;
    top: 10px;
    width: 150px;
    z-index: 9000;
}

.c-content-head h1 {
    font-size: 30px;
}

@media screen and (min-width: 768px) {
    .c-content-head {
        position: relative;
        margin-bottom: 80px;
        padding: 100px 0;
        background-color: var(--color-bg-yellow);
    }

    .c-content-title {
        margin: 0 70px;
    }

    .c-content-image {
        position: absolute;
        right: -50px;
        top: 0px;
        width: 300px;
    }
}


/* ----------------------------------
footer
-------------------------------------*/

.c-footer {
    padding-top: 20px;
}

.c-footer--image {
    width: 280px;
    margin: 0 auto;
}

.c-footer--copyright {
    display: block;
}


.c-works__image {
  position: relative;
  z-index: 10;
}