@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');


/*****************************
リセット
*****************************/
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:where([hidden]:not([hidden="until-found"])) {
	display: none !important;
}

:where(html) {
	-webkit-text-size-adjust: none;
	color-scheme: dark light;
	tab-size: 2;
	scrollbar-gutter: stable;
	interpolate-size: allow-keywords;
	line-height: 1.5;
}

:where(html:has(dialog:modal[open])) {
	overflow: clip;
}

@media (prefers-reduced-motion: no-preference) {
	:where(html:focus-within) {
		scroll-behavior: smooth;
	}
}

:where(body) {
	line-height: inherit;
	font-family: system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}

:where(button) {
	all: unset;
}

:where(input, button, textarea, select) {
	font: inherit;
	color: inherit;
	letter-spacing: inherit;
	word-spacing: inherit;
	font-feature-settings: inherit;
	font-variation-settings: inherit;
}

:where(textarea) {
	resize: vertical;
	resize: block;
}

:where(button, label, select, summary, [role="button"], [role="option"]) {
	cursor: pointer;
}

:where(:disabled, label:has(> :disabled, + :disabled)) {
	cursor: not-allowed;
}

:where(a) {
	color: inherit;
	text-underline-offset: 0.2ex;
}

:where(ul, ol) {
	list-style: none;
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
	display: block;
}

:where(img, picture, svg, video) {
	max-inline-size: 100%;
	block-size: auto;
}

:where(p, h1, h2, h3, h4, h5, h6) {
	overflow-wrap: break-word;
}

:where(h1, h2, h3) {
	line-height: calc(1em + 0.5rem);
	text-wrap: balance;
}

:where(hr) {
	border: none;
	border-block-start: 1px solid;
	color: inherit;
	block-size: 0;
	overflow: visible;
}

:where(dialog, [popover]) {
	border: none;
	background: none;
	color: inherit;
	inset: unset;
	max-width: unset;
	max-height: unset;
	overflow: unset;
}

:where(dialog:not([open], [popover]), [popover]:not(:popover-open)) {
	display: none !important;
}

:where(:focus-visible) {
	outline: 3px solid CanvasText;
	box-shadow: 0 0 0 5px Canvas;
	outline-offset: 1px;
}

:where(:focus-visible, :target) {
	scroll-margin-block: 8vh;
}

:where(.visually-hidden:not(:focus-within, :active)) {
	clip-path: inset(50%) !important;
	height: 1px !important;
	width: 1px !important;
	overflow: hidden !important;
	position: absolute !important;
	white-space: nowrap !important;
	border: 0 !important;
	user-select: none !important;
}

/*****************************
ブレイクポイント
*****************************/
/* スマホ（～767px） */
@media (max-width: 767px) {
}

/* タブレット以上（768px〜） */
@media (min-width: 768px) {
}

/* デスクトップ以上（1024px〜） */
@media (min-width: 1024px) {
}

/*****************************
共通
*****************************/
body{
    background-color: #fff;
    color: #000;
    font-size: clamp(1rem, 0.8rem + 1vw, 1.25rem);
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

main{
    min-height: 100vh;
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    overflow-x: clip;
}

a{
    text-decoration: none;
    display: contents;
    width: 100%;
    height: 100%;
}

.BG{
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    padding: 10% 0;/*内包widthはarticleで設定*/
}

.fadein{
    opacity: 0;
    transform: translateY(10%);
    transition: all 1s;
}

.fadein.show{
    opacity: 1;
    transform: translateY(0);
}

#EXAMPLE.BG{
    background-color: #efefef;
}

article{
    width: 95%;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    article{
        width: 85%;
    }
}

@media (max-width: 767px) {
    .sp-only{
        display: block;
    }

    .pc-only{
        display: none;
    }
}

@media (min-width: 768px) {
    .sp-only{
        display: none;
    }

    .pc-only{
        display: block;
    }
}
/*****************************
ヘッダー
*****************************/
header{
    width: 100%;
    max-width: 1920px;
    height: 50px;
    margin: 0 auto;
    padding: 10px 10%;
    line-height: 1.5;
}

@media (min-width: 768px) {
    header {
        height: 70px;
    }
}

h1{
    width: auto;
    height: 100%;
    aspect-ratio: 124/45;
}

/*****************************
MV
*****************************/
#MV.BG{
    width: 100vw;
    background-image: url('/img/MV-gradient.gif');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin: 0 calc(50% - 50vw);
    padding: 30% 0 10% 0;
    opacity: 0;
    animation: fadeInMV 1.5s ease 1s forwards;
}

@keyframes fadeInMV {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media (min-width: 768px) {
    #MV.BG{
        aspect-ratio: 16/8;
        padding: 10% 0;
    }
}

@media (min-width: 1024px) {
    #MV.BG{
        aspect-ratio: 16/7;
        padding: 12% 0 7%;
    }
}

#MV.BG img{
    position: absolute;
    top: -50px;
    right: 0;
    z-index: 2;
    width: 65%;
}

@media (min-width: 768px) {
    #MV.BG img{
        top: -70px;
        width: 73%;
        max-width: 1056px;
    }
}


/* MVの文字 */
article.MV_heading{
    max-width: 1000px;
    position: relative;
    z-index: 3;
}

article.MV_heading > span{
    background-color: #000;
    color: #fff;
    font-size: clamp(1rem, 3vw, 3rem);
    padding: .1em .5em;
    -webit-box-decoration-break: clone;
    box-decoration-break: clone;
    line-height: 2;
    font-weight: bold;
    margin-left: 1rem;
    position: relative;
}

article.MV_heading > span::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0%;
    width: 100%;
    height: 99%;
    /*background-color: rgba(235, 235, 235, 1);*/
    background-color: rgba(0,0,0,1);
    transform: scalex(1);
    transition: 1.5s cubic-bezier(.79, .17, .15, .96) 2s;
    z-index: 2;
    transform-origin: right;
}

article.MV_heading.show > span::before{
    transform: scalex(0);
}

@media (min-width: 768px) {
    article.MV_heading span{
        font-size: clamp(1.3rem, 2vw, 2.5rem);
        margin-left: 2rem;
    }
}

article.MV_heading h2{
    font-family: "Noto Serif JP", serif;
    font-weight: 600;
    font-size: clamp(1.3rem, 5vw, 3.5rem);
    line-height: 1.5;
    color: #fff;
    margin: 1.8rem 0;
    letter-spacing: -1px;
}

@media (min-width: 768px) {
    article.MV_heading h2{
        font-size: clamp(2rem, 4vw, 3.8rem);
        letter-spacing: initial;
    }
}

article.MV_heading h2 strong{
    font-size: 1.4em;
    font-weight: 600;
    font-feature-settings: "palt";
    font-variant-alternates: proportional-width;
}

@media (min-width: 768px) {
    article.MV_heading h2 strong{
        font-size: clamp(2.5rem, 5.5vw, 4rem);
    }
}


/* 手書き「想い」 */
#svg-mask{
    position: absolute;
    bottom: 35%;
    left: 7%;
    transform: translateY(50%);
    width: clamp(3em, 15vw, 8rem);
}

@media (min-width: 768px) {
    #svg-mask{
        bottom: 40%;
        left: 6%;
        width: clamp(3em, 12vw, 8rem);
    }
}

@media (min-width: 1024px) {
    #svg-mask{
        bottom: 35%;
        left: 6%;
        width: clamp(3em, 12vw, 8rem);
    }
}

@media (min-width: 1600px) {
    #svg-mask{
        bottom: 30%;
        left: 6%;
        width: clamp(3em, 12vw, 8rem);
    }
}

#mask-path {
  fill: none;/* 塗りの色 */
  stroke: #ffffff;/* 線の色 */
  stroke-width: 30;/* 線幅 */
  stroke-linecap: round;/* 線端の形状 */
  stroke-linejoin: round;/* 角の形状 */
  stroke-dasharray: 3000;/* 線の間隔を指定する */
  stroke-dashoffset: 3000;/* 線の位置を指定する*/
  animation: draw 7s ease forwards 3s;/* アニメーション設定 5秒間で線が描かれる*/
}

@keyframes draw {
0% {
    stroke-dashoffset:2600px;
}
100% {
    stroke-dashoffset:0px;
}
}

/* MVのCTAボタン */
article.MV_heading a{
    display: block;
    width: 95%;
    max-width: 450px;
    margin: 2em auto 0;
    padding: .2rem 0 .7rem;
    border-radius: 100rem;
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    box-shadow: .15rem .15rem .2rem .1rem rgba(0,0,0,.1);
    background: -moz-linear-gradient(90deg, #d80d22 0%,#febaa3 50%, #d80d22 100%);
    background: -webkit-linear-gradient(90deg, #d80d22 0%,#febaa3 50%, #d80d22 100%);
    background: linear-gradient(90deg, #d80d22 0%,#febaa3 50%, #d80d22 100%);
    background-position: 0% 50%;
    background-size: 200% auto;
    transition: all .4s;
}

article.MV_heading a:hover{
    transform: scale(.95);
    background-position: 110% 50%;
    box-shadow: initial;
}

article.MV_heading a small{
    font-size: .6rem;
    display: inline-block;
    width: 100%;
}

@media (min-width: 768px) {
    article.MV_heading a{
        font-size: 1.5rem;
        width: auto;
    }

    article.MV_heading a small{
        font-size: .85rem;
    }
}

@media (min-width: 768px) {
    article.MV_heading a{
        margin: 3em auto 0;
    }
}

article.MV_heading a span.arrow{
    background-color: #fff;
    position: absolute;
    top: 50%;
    right: .5em;
    transform: translateY(-50%);
    width: auto;
    aspect-ratio: 1/1;
    height: 50%;
    border-radius: 50%;
}

article.MV_heading a span.arrow::before{
    content: '';
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: #F1704F;
    width: 40%;
    height: 1px;
}

article.MV_heading a span.arrow::after{
    content: '';
    position: absolute;
    display: block;
    top: 38%;
    left: 45%;
    transform: translate(-50%,-50%);
    width: 25%;
    height: 25%;
    border-right: 1px solid #F1704F;
    border-top: 1px solid #F1704F;
    transform: rotate(45deg);
}

/*article.MV_heading a:hover span.arrow{
    background-color: #d80d22;
}

article.MV_heading a:hover span.arrow::before{
    background-color: #fff;
}

article.MV_heading a:hover span.arrow::after{
    border-right: 1px solid #fff;
    border-top: 1px solid #fff;
}

/*****************************
「効率」だけでは一文字ずつ
*****************************
.slide-text{
    opacity: 0;
}

.slide-text.show{
    opacity: 1;
}

.slide-text.show .text-animation-span{
    display: inline-block;
    overflow: hidden;
}

.slide-text.show span{
    display: inline-block;
    letter-spacing: 0.1em;
    animation: showText .5s backwards;
}

@keyframes showText {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/*****************************
メイン
*****************************/
h3{
    text-align: center;
    margin-bottom: 2rem;
}

/* HEADING */
#HEADING{
    font-family: "Noto Serif JP", serif;
    color: #111111;
    text-align: center;
}

#HEADING h3{
    font-weight: 500;
    font-size: 1.45rem;
}

#HEADING h4{
    font-weight: 500;
    font-size: 1.3rem;
    margin: 2rem 0;
}

#HEADING h4 strong{
    font-weight: inherit;
    -webkit-text-emphasis: dot currentColor;
    text-emphasis: dot currentColor;
}

@media (min-width: 768px) {
    #HEADING h3{
        font-size: 2.2rem;
    }

    #HEADING h4{
        font-size: 1.8rem;
    }
}

#HEADING p{
    font-family: "Noto Sans-Serif JP", sans-serif;
    font-weight: 500;
    line-height: 1.7rem;
}

/* EXAMPLE */
#EXAMPLE h3,
#ARCHIVE h3{
    color: #1a7475;
    font-weight: 500;
}

@media (min-width: 768px) {
    #EXAMPLE h3,
    #ARCHIVE h3{
        font-size: 1.8rem;
    }
}

ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    font-size: 1.1rem;
}

li{
    width: 280px;
    background-color: #fff;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

li .txt{
    padding: 1rem 1rem 1.2rem;
}

.txt ul li{
    background-color: initial;
    border-radius: initial;
    padding: initial;
    margin-bottom: initial;
}

li p,
.txt ul li{
    color: #444444;
    font-size: .85rem;
}

/* ARCHIVE */
#ARCHIVE article p{
    text-align: center;
    font-size: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    #ARCHIVE article p{
        font-size: 1.2rem;
    }
}

#ARCHIVE article > ul > li{
    box-shadow: .15rem .15rem .2rem .1rem rgba(0,0,0,.1);
    transition: all .4s;
}

#ARCHIVE article > ul > li:hover{
    box-shadow: initial;
    transform: translate(.15rem,.15rem);
}

#ARCHIVE article li img{
    border-radius: 1em 1em 0 0;
    width: 100%;
}

#ARCHIVE .txt ul li{
    position: relative;
    padding-left: .8em;
    font-weight: 600;
}

#ARCHIVE .txt ul li::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: .3em;
    height: .3em;
    border-radius: 50%;
    background-color: currentColor;
}

#ARCHIVE .txt span.detail{
    font-size: 1rem;
    display: inline-block;
    width: 100%;
    text-align: center;
    text-decoration: underline;
    padding: 1em 0 0;
}

#EXAMPLE h4,
#ARCHIVE h4{
    margin-bottom: .5rem;
}

/* CONTACT */
#CONTACT h3{
    color: #ff896b;
    padding: .7rem 0;
    width: 80%;
    margin: 0 auto 2em;
    border-top: 1px solid #bbbbbb;
    border-bottom: 1px solid #bbbbbb;
}

@media (min-width: 768px) {
    #CONTACT h3{
        font-size: 1.9rem;
        width: auto;
    }
}

/*****************************
フッター
*****************************/
footer{
    margin: 0 auto;
    background-color: #111111;
    color: #fff;
    padding: 1rem 10%;
    font-size: 1rem;
}

footer p{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1920px;
    margin: 0 auto;
}

footer p span{
    font-weight: 200;
    font-size: .8em;
    display: inline-block;
    margin-bottom: 1rem;
    width: 100%;
}

footer p span.cr{
    color: #bbbbbb;
    text-align: center;
}

@media (min-width: 768px) {
    footer p{
        justify-content: space-between;
    }

    footer p span{
        margin-bottom: initial;
        font-size: .8rem;
        width: auto;
    }

    footer p span.cr{
        text-align: left;
    }
}

/*****************************
thanks
*****************************/
#HEADING.thanks{
    min-height: 50vh;
    padding: 25% 0 10%;
}

#HEADING.thanks article{
    max-width: 1100px;
}

.to-top{
    width: fit-content;
    background-color: #efefef;
    display: block;
    margin: 10% auto;
    padding: 1em 1.5em;
    letter-spacing: .3em;
    border-radius: 100rem;
    transition: all .4s;
}

.to-top:hover{
    transform: scale(.95);
}

