@charset "UTF-8";

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { width: 100vw; font-size: 10px; overflow-x: hidden; }
body { background: #FF8C1A; color: #000; font-family: "Zen Kaku Gothic Antique", sans-serif; font-size: 1.6rem; font-weight: 500; line-height: 1.5; -webkit-text-size-adjust: 100%; }
img { border: 0; vertical-align: top; transition: all .3s ease; -ms-interpolation-mode: bicubic; }
button { background: transparent; border: none; appearance: none; cursor: pointer; outline: none; }
a { transition: all .3s ease; }
a:link { color: #; text-decoration: none; }
a:visited { color: #; text-decoration: none; }
a:hover { color: #; text-decoration: underline; }
a:hover img { opacity: 0.8; }

/* --------------------------------------------------
  汎用クラス
-------------------------------------------------- */

.d-block { display: block; }
.d-flex { display: flex; }
.d-none { display: none; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.clearfix::after { content: ''; display: block; clear: both; }

/* --------------------------------------------------
  
-------------------------------------------------- */

#wrapper { width: 100%; overflow-x: hidden; }

@media screen and (max-width: 767px) {
  #wrapper { padding-top: 80px; }
}

/* --------------------------------------------------
  グローバルヘッダ
-------------------------------------------------- */

#globalHeader {}
#globalHeader .inner { width: 100%; height: 120px; display: flex; align-items: center; justify-content: flex-end; position: fixed; top: 0; z-index: 9999; }
#globalHeader #sp-logo { display: none; }
#globalHeader #globalNavi { height: 46px; background: #fff; border-radius: 100vw; display: flex; }
#globalHeader #globalNavi ul { padding: 0 20px; list-style: none; display: flex; }
#globalHeader #globalNavi li { display: flex; align-items: center; }
#globalHeader #globalNavi li::after { content: ''; width: 1px; height: 22px; background-image: linear-gradient(to bottom, #999 1px, transparent 1px); background-size: 1px 3px; background-repeat: repeat-y; }
#globalHeader #globalNavi li:last-child::after { display: none; }
#globalHeader #globalNavi a { padding: 0 20px; color: #000; font-size: 1.5rem; }
#globalHeader #sns { margin: 0 40px 0 20px; }
#globalHeader #sns ul { list-style: none; display: flex; gap: 20px; }
#globalHeader #sns a { width: 46px; height: 46px; background: #fff; border-radius: 100vw; display: flex; align-items: center; justify-content: center; }

@media screen and (max-width: 767px) {
  #globalHeader {}
  #globalHeader .inner { height: 60px; background: #fff; position: fixed; justify-content: flex-start; }
  #globalHeader #sp-logo { height: 60px; display: flex; align-items: center; position: absolute; top: 0; left: 15px; }
  #globalHeader #sp-logo img { height: 40px; }
  #globalHeader #globalNavi { display: none; }
  #globalHeader #sns { display: none; }
  #globalHeader #genbaichiba { display: none; }
  #sp { width: 60px; height: 60px; display: flex; position: fixed; right: 0; top: 0; z-index: 101; }
  #sp span { width: 40px; height: 2px; background: #FF8C1A; display: inline-block; position: absolute; left: 10px; transform: translateY(-50%); transition: all .3s; }
  #sp span:nth-of-type(1) { top: 30%; }
  #sp span:nth-of-type(2) { top: 50%; }
  #sp span:nth-of-type(3) { top: 70%; }
  
  body.on #wrapper { position: fixed; }
  body.on #globalHeader .inner { padding-top: 100px; height: 100vh; flex-direction: column; align-items: start; }
  body.on #globalHeader #globalNavi { width: 100%; height: auto; background: none; display: block; }
  body.on #globalHeader #globalNavi ul { margin-bottom: 30px; flex-direction: column; }
  body.on #globalHeader #globalNavi li { margin: 20px 0; justify-content: center; }
  body.on #globalHeader #globalNavi li::after { display: none; }
  body.on #globalHeader #globalNavi a { padding: 0; }
  body.on #globalHeader #sns { margin: 0; width: 100%; display: flex; justify-content: center; }
  body.on #globalHeader #sns ul { padding: 0; justify-content: center; }
  body.on #sp { background: none; }
  body.on #sp span:nth-of-type(1) { top: 50%; transform: rotate(35deg); }
  body.on #sp span:nth-of-type(2) { display: none; }
  body.on #sp span:nth-of-type(3) { top: 50%; transform: rotate(-35deg); }
}

/* --------------------------------------------------
  コレガナイトとは
-------------------------------------------------- */

#introduction { padding: 140px 0 220px; background-attachment: fixed; background-image: url(../img/introduction.png); background-image: image-set(url(../img/introduction.png) 1x, url(../img/introduction@2x.png) 2x); background-position: right bottom; background-repeat: no-repeat; background-size: 55% auto; color: #fff; position: relative; animation: introduction 2s ease; }
#introduction::after { content: ''; width: 100%; height: calc(100vw * 0.17638); background: linear-gradient(to left top, #fff 50%, transparent 50%); position: absolute; bottom: 0; }
#introduction .inner { margin: 0 auto; width: 1300px; }
#introduction .introduction { width: 540px; }
#introduction .introduction h1 { margin-bottom: 30px; }
#introduction .introduction h1 img { opacity: 1; animation: logo 5s ease; }
#introduction .introduction > div { margin: 0 auto; width: 480px; }
#introduction .introduction .youtube { margin-bottom: 30px; width: 100%; aspect-ratio: 16 / 9; }
#introduction .introduction .youtube iframe { width: 100%; height: 100%; }
#introduction .introduction .button ul { list-style: none; display: flex; justify-content: space-between; }
#about { padding-top: 100px; }
#about h2 { margin-bottom: 20px; font-size: 1.6rem; font-weight: 500; display: flex; align-items: center; gap: 12px; }
#about h2::before { content: ''; width: 30px; height: 1px; background: #fff; }
#about strong { margin-bottom: 40px; font-size: 3.2rem; font-weight: 500; display: block; }
#about p { margin-bottom: 1em; }

@media screen and (max-width: 767px) {
  #introduction { padding: 100vw 0 110px; background-image: url(../img/introduction.webp); background-image: image-set(url(../img/introduction.webp) 1x, url(../img/introduction@2x.webp) 2x); background-attachment: fixed; background-attachment: scroll; background-position: center top; background-size: 100% auto; animation: none; }
  #introduction .inner { padding: 0 10px; width: 100%; }
  #introduction .introduction { padding: 30px 0 0; width: 100%; }
  #introduction .introduction > div { width: 100%; }
  #introduction .introduction h1 img { width: 100%; }
  #introduction .introduction .button ul {}
  #introduction .introduction .button li { width: 50%; text-align: center; }
  #introduction .introduction .button li img { width: 100%; max-width: 95%; }
  #about { padding-top: 50px; }
  #about strong { font-size: 2.4rem; }
}

.fadein { opacity: 0; visibility: hidden; transition: all 1s; }
.fadein.on { opacity: 1; visibility: visible; }

.bottom-to-up { margin-bottom:;}
.bottom-to-up.on {}

@keyframes introduction {
  from {
    background-position: right -100% bottom;
  }
  to {
    background-position: right bottom;
  }
}

@keyframes logo {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* --------------------------------------------------
  コレガナイトの使命
-------------------------------------------------- */

#mission { padding: 40px 0 120px; background: #fff; position: relative; }
#mission .inner { margin: 0 auto; width: 1180px; position: relative; }
#mission .title { margin-bottom: 80px; color: #FF661A; text-align: center; transform: translateY(100px); transition: all 1s; }
#mission .title h2 { margin-bottom: 5px; font-size: 4.2rem; font-weight: 700; }
#mission .title span { font-family: "Barlow", sans-serif; font-weight: 300; }
#mission .title.on { transform: translateY(0); }
#mission ol { list-style: none; display: flex; justify-content: space-between; position: relative; z-index: 3; }
#mission li { padding: 40px 30px 30px; width: 380px; background: #fff; border-radius: 30px; box-shadow: 0 3px 20px rgba(0, 0, 0, 0.16); position: relative; transform: translateY(100px); transition: all .5s; }
#mission li.on { transform: translateY(0px); }
#mission li div { margin: 0 auto; width: 55px; height: 55px; background: #FF661A; border-radius: 100vw; color: #fff; font-size: 2.4rem; display: flex; align-items: center; justify-content: center; position: absolute; left: 0; right: 0; top: 0; transform: translateY(-50%); }
#mission li strong { margin-bottom: 20px; color: #FF661A; font-size: 2rem; display: block; }
#mission li p { line-height: 1.8; }
#mission li span { font-size: 1.8rem; font-weight: bold; }
#mission img.bg { position: absolute; left: 100vw; top: -245px; z-index: 2; transition: all 2s; }
#mission img.bg.on { left: calc(50vw + 590px - 344px); }
#catchphrase { margin: 40px auto 0; width: 1070px; display: flex; justify-content: space-between; }
#catchphrase div { width: 700px; display: flex; flex-direction: column; justify-content: end; gap: 60px; }
#catchphrase strong { transform: translateY(100px); font-size: 3.6rem; font-weight: 700; transition: all .5s; }
#catchphrase strong.on { transform: translateY(0); }
#catchphrase .left { transform: translateY(200px); transition: all .5s; }
#catchphrase .left.on { transform: translateY(0); }
#catchphrase .right { transform: translateX(calc(700px + ((100vw - 1070px) /2))); transition: all 1s; }
#catchphrase .right.on { transform: translateX(0); }

@media screen and (max-width: 767px) {
  #mission { padding: 20px 0 60px; }
  #mission .inner { padding: 10px; width: 100%; }
  #mission .title { margin-bottom: 40px; }
  #mission .title h2 { font-size: 2.4rem; }
  #mission ol { flex-direction: column; gap: 40px; }
  #mission li { padding: 30px 20px 20px; width: 100%; border-radius: 15px; }
  #mission li div { width: 40px; height: 40px; }
  #mission img.bg { margin: 0 auto 40px; width: 50%; display: block; position: static; transform: translateY(100px); transition: all 1s; }
  #mission img.bg.on { transform: translateY(0); }
  #catchphrase { width: 100%; flex-direction: column; align-items: center; }
  #catchphrase div { margin-top: 30px; width: 100%; text-align: center; }
  #catchphrase strong { font-size: 2.4rem; }
  #catchphrase .left { max-width: 50%; transform: ; }
}

/* --------------------------------------------------
  コレガナイトのスペック
-------------------------------------------------- */

#spec { padding: 90px 0 60px; }
#spec .inner { margin: 0 auto; width: 1250px; }
#spec .title { margin-bottom: 40px; color: #fff; text-align: center; }
#spec .title h2 { margin-bottom: 5px; font-size: 4.2rem; font-weight: 700; }
#spec .title span { font-family: "Barlow", sans-serif; font-weight: 300; }
#spec #parts { margin-bottom: 40px; display: flex; justify-content: space-between; }
#spec #parts .img { order: 2; }
#spec #parts .parts { width: 320px; }
#spec #parts .parts01-04 { order: 1; }
#spec #parts .parts05-08 { order: 3; }
#spec #parts ol { list-style: none; display: flex; flex-direction: column; gap: 40px; }
#spec #parts li { opacity: 0; visibility: hidden; transition: all .5s; }
#spec #parts li.on { opacity: 1; visibility: visible; }
#spec #parts li .parts-name { margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
#spec #parts li .parts-name div { width: 44px; height: 44px; background: #000; border-radius: 100vw; color: #fff; font-size: 2rem; display: flex; align-items: center; justify-content: center; }
#spec #parts li .parts-name strong { font-size: 2rem; font-weight: 700; }
#spec #parts li p { font-size: 1.4rem; }
#spec #skill { margin: 0 auto 30px; width: 1020px; }
#spec #skill ul { list-style: none; display: flex; justify-content: space-between; }
#spec #skill li { padding: 30px 50px 30px 200px; width: 500px; background: #fff; border-radius: 30px; display: flex; align-items: center; position: relative; }
#spec #skill figure { display: flex; align-items: center; }
#spec #skill figure img { position: absolute; }
#spec #skill figure.left img { left: -20px; }
#spec #skill figure.right img { left: 40px; bottom: 0; }
#spec #skill figcaption { display: flex; flex-direction: column; }
#spec #skill figcaption strong { margin-bottom: 10px; font-size: 2rem; font-weight: 500; text-align: center; display: block; }
#spec #skill figcaption p {}
#spec #profile { margin: 0 auto; width: 1020px; color: #fff; display: flex; align-items: center; justify-content: space-between; }
#spec #profile dl { padding: 10px 0; width: 740px; border: solid 1px #fff; border-width: 1px 0; display: flex; flex-wrap: wrap; }
#spec #profile dt { padding: 10px; width: 25%; }
#spec #profile dd { padding: 10px; width: 75%; }

@media screen and (max-width: 767px) {
  #spec { padding: 45px 0 30px; }
  #spec .inner { padding: 0 10px; width: 100%; }
  #spec .title { margin-bottom: 20px; }
  #spec .title h2 { font-size: 2.4rem; }
  #spec #parts { flex-direction: column; }
  #spec #parts .img { margin: 20px 0 40px; order: 0; }
  #spec #parts .img img { max-width: 100%; }
  #spec #parts .parts { margin-bottom: 20px; width: 100%; }
  #spec #parts .parts01-04 { order: 1; }
  #spec #parts .parts05-08 { order: 1; }
  #spec #parts ol { gap: 20px; }
  #spec #parts li .parts-name div { width: 30px; height: 30px; }
  #spec #skill { width: 100%; }
  #spec #skill ul { flex-direction: column; gap: 20px; }
  #spec #skill li { padding: 20px; width: 100%; flex-direction: column; }
  #spec #skill figure { flex-direction: column; }
  #spec #skill figure img { margin-bottom: 10px; position: static; }
  #spec #skill figcaption strong br { display: none; }
  #spec #profile { width: 100%; flex-direction: column; }
  #spec #profile dl { margin-top: 30px; width: 100%; }
  #spec #profile dt { padding: 0; width: 30%; }
  #spec #profile dd { padding: 0 0 10px; width: 70%; }
}

/* --------------------------------------------------
  お知らせ
-------------------------------------------------- */

#news { padding: 90px 0; background: #fff; }
#news .inner { margin: 0 auto; width: 1160px; position: relative; z-index: 2; }
#news .title { margin-bottom: 40px; color: #FF661A; text-align: center; }
#news .title h2 { margin-bottom: 5px; font-size: 4.2rem; font-weight: 700; }
#news .title span { font-family: "Barlow", sans-serif; font-weight: 300; }
#news .flex { display: flex; justify-content: center; }
#news #calendar { margin-bottom: 10px; width: 800px; height: 640px; display: flex; align-items: center; justify-content: center; }
#news ul { list-style: none; display: flex; align-items: center; justify-content: center; gap: 20px; }
#news li {}
#news li a { width: 46px; height: 46px; background: #fff; border: solid 1px #ccc; border-radius: 100vw; display: flex; align-items: center; justify-content: center; }

@media screen and (max-width: 767px) {
  #news { padding: 45px 0; }
  #news .inner { padding: 0 10px; width: 100%; }
  #news .title { margin-bottom: 20px; }
  #news .title h2 { font-size: 2.4rem; }
  #news #calendar { width: 100%; }
}

/* --------------------------------------------------
  メッセージ
-------------------------------------------------- */

#message { margin-top: -200px; padding: 280px 0 380px; background-color: #000; background-image: url(../img/message.png); background-image: image-set(url(../img/message.png) 1x, url(../img/message@2x.png) 2x); background-position: right bottom; background-repeat: no-repeat; color: #fff; position: relative; }
#message::before, #message::after { content: ''; width: 100%; height: calc(100vw * 0.17638); position: absolute; }
#message::before { background: linear-gradient(to right top, transparent 50%, #fff 50%); top: 0; }
#message::after { background: linear-gradient(to left top, #fff 50%, transparent 50%); bottom: 0; }
#message .inner { margin: 0 auto; width: 1160px; }
#message p { font-size: 4.2rem; }
#message p span { display: inline-block; position: relative; overflow: hidden; }
#message p span::before { content: ''; width: 100%; height: 100%; background: #000; position: absolute; left: 0; transition: all 1s; }
#message p span.on::before { content: ''; left: 100%; }

@media screen and (max-width: 767px) {
  #message { margin-top: -100px; padding: 140px 0 190px; background-size: contain; }
  #message .inner { padding: 0 10px; width: 100%; }
  #message p { font-size: 2.4rem; text-align: center; letter-spacing: -.05em; }
}


/* --------------------------------------------------
  グローバルフッタ
-------------------------------------------------- */

#globalFooter { margin-top: -45px; padding: 0 0 100px; background: #fff; text-align: center; }
#globalFooter .inner { margin: 0 auto; position: relative; z-index: 2; }
#globalFooter .logo { width: 240px; }
#globalFooter .button { margin: 20px 0 30px; }
#globalFooter .button ul { list-style: none; display: flex; justify-content: center; gap: 20px; }
#globalFooter .button li { box-shadow: 0 0 10px rgba(0,0,0,.1); }
#globalFooter .button li { border-radius: 12px; }
#globalFooter p { font-size: 1.2rem; }

@media screen and (max-width: 767px) {
  #globalFooter { margin-top: 0; padding-bottom: 50px; }
  #globalFooter .button ul { margin: 0 auto; width: 230px; flex-direction: column; }
}
