/* =Base Styles
-------------------------------------------------------------- */
body {
  font-family: "Noto Sans JP", メイリオ, Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "MS Ｐゴシック", "MS PGothic", sans-serif;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  transition: all 0.3s ease;
  color: #000;
  text-decoration: none;
}

a:hover {
  color: #000;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-weight: bold;
}

h1 {
  font-size: 30px !important;
  line-height: 30px !important;
}

h2,
h3 {
  font-size: 25px !important;
}

h4 {
  font-size: 20px !important;
}

p {
  margin: 0;
  padding: 0;
  color: #121212;
  font-size: 18px;
}

.mobileon {
  display: block;
}

.mobileoff {
  display: none;
}



/* =Typography
-------------------------------------------------------------- */
.gfont {
  font-family: 'Josefin Sans', 'Staatliches', 'Mochiy Pop P One', sans-serif;
}

.gfont-day {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.gfont-jp {
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.big1 {
  font-size: 50px !important;
  line-height: 0.9;
}

.big2 {
  font-size: 50px !important;
  line-height: 80px !important;
}

.big2-jp {
  font-size: 30px !important;
  line-height: 50px !important;
}

.big3 {
  font-size: 25px !important;
  line-height: 50px !important;
}

.big3-jp {
  font-size: 22px !important;
  line-height: 50px !important;
}

.bold {
  font-weight: bold;
}

.small1 {
  font-size: 14px;
}

.small12 {
  font-size: 12px;
}

.small15 {
  font-size: 15px !important;
}

.small18 {
  font-size: 18px !important;
}

.big30 {
  font-size: 30px;
}

.center {
  text-align: center !important;
}



/* =Colors
-------------------------------------------------------------- */
.red {
  color: #FF0000;
}

.blue {
  color: #1e90ff;
}

.yellow {
  color: #FFD700;
}

.green {
  color: #00FF00;
}

.white {
  color: #FFF;
}

.black {
  color: #000;
}

.gray {
  color: #777777;
}

.cha {
  color: #bc8837;
}

.usucha {
  color: #fff0db;
}

.kogecha {
  color: #A46635;
}

.kurokogecha {
  color: #391a09;
}

.b-usucha {
  background-color: #fff0db;
}

.b-yellow {
  background-color: #fff100;
}

.b-cha {
  background-color: #bc8837;
}

.b-kogecha {
  background-color: #A46635;
}

.b-kurokogecha {
  background-color: #391a09;
}

/* ハンバーガーメニュー
-------------------------------------------------------------- */
#hamburger {
  display: block;
}

.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all 0.1s;
  box-sizing: border-box;
  position: relative;
  z-index: 101;
}

.menu-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: none;
  border: none;
  appearance: none;
  cursor: pointer;
  margin: 6px 0 0 0;
}

.menu-trigger .hamburger {
  width: 40px;
  height: 24px;
  position: relative;
  margin: 0;
}

.menu-trigger .hamburger div {
  position: absolute;
  left: 0;
  width: 100%;
  height: 6px !important;
  background-color: #391a09;
  border-radius: 3px;
  transition: transform 0.05s ease;
}

.menu-trigger .hamburger div:nth-child(1) {
  top: 0px;
}

.menu-trigger .hamburger div:nth-child(2) {
  top: 12px;
}

.menu-trigger .hamburger div:nth-child(3) {
  top: 24px;
}

/*チェックボックスにチェックが入ったら*/
#hamburger:checked+label+div {
  display: block;
}

.hamburger {
  width: 40px;
  height: 24px;
}

.hamburger div {
  width: 24px;
  height: 3px;
  background: #391a09;
  border-radius: 5px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger div:nth-child(1) {
  --angle: 2;
}

.hamburger div:nth-child(2) {
  --angle: -1;
}

.hamburger div:nth-child(3) {
  --angle: 1.5;
}

/* チェック時のハンバーガーアニメーション */
#hamburger:checked+label .hamburger div:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

#hamburger:checked+label .hamburger div:nth-child(2) {
  opacity: 0;
}

#hamburger:checked+label .hamburger div:nth-child(3) {
  transform: translateY(-14px) rotate(-45deg);
}

/* ハンバーガーメニューの配置 */
#hamburger-menu {
  position: fixed;
  top: 10px;
  right: 16px;
  z-index: 1001;
}

/* チェックボックスを非表示 */
#hamburger {
  display: none;
}

.global_menu {
  visibility: hidden;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 20px;
  right: 0;
  padding: 30px;
  background: #fff0db;
  overflow-y: scroll;
  text-align: center;
  opacity: 0;
  transition: 0.4s top;
  z-index: 100;
}

#hamburger:checked~.global_menu {
  visibility: visible;
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
  padding: 135px 20px;
  opacity: 1;
  z-index: 1000;
}

.global_menu a {
  display: block;
  font-size: 22px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  margin-left: -10px;
  width: calc(100% + 20px);
  box-sizing: border-box;
  border-bottom: 1px solid rgba(164, 102, 53, 0.3);
  color: #391a09;
  transition: all 0.3s ease;
  font-weight: bold;
}

.global_menu a:hover {
  background-color: rgba(206, 161, 106, 0.04);
  color: #391a09;
  transform: translateY(-2px);
}

.global_menu ul {
  font-size: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
}

.global_menu li {
  position: relative;
  padding: 0 10px;
}

.global_menu li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.nav-item {
  font-weight: bold;
  text-decoration: none;
}



.py-150 {
  padding-top: 150px;
  padding-bottom: 150px;
}







/* =Layout -------------------------------------------------------------- */
.wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header {
  width: 100%;
  height: auto;
  background-color: transparent;
  position: relative;
}

.logo-c {
  position: absolute;
  top: 20px;
  left: 14px;
  width: 40px;
  height: auto;
  display: block;
}

/* タブレット以上でロゴを大きく */
@media screen and (min-width: 768px) {
  .logo-c {
    width: 55px;
  }
}


.cmon-logo {
  width: 600px;
  display: block;
  margin: 0 auto;
}

.cmon-kanji-logo {
  width: 80%;
  display: block;
  margin: 0 auto;
}

.cmon-kao {
  width: 100%;
  display: block;
  margin: -80px auto 0;
}

.quack1 {
  width: 100%;
  height: 500px;
  background-color: #fff100;
}

.logo-cmonchanpng {
  width: 150px;
  margin: 0 0 -10px -5px;
}

.quack1-cmonchan {
  width: 270px;
  position: absolute;
  top: 10px;
  left: 30px;
}

.cmonchan {
  width: 400px;
  margin: 100px 0 0 -20px;
  position: relative;
}

.fukura {
  width: 400px;
  position: absolute;
  right: 200px;
  top: 120px;
}

.p-1 {
  margin-left: 2px;
}

.story,
.h1-story {
  position: relative;
  z-index: 0 !important;
}

/* =Buttons -------------------------------------------------------------- */
.btn-cmon {
  display: inline-block;
  margin: 0;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 1.4;
  background-color: #FFF;
  border: 1px solid #AAAAAA;
  border-radius: 5px;
  text-align: left;
  text-decoration: none;
  transition: background-color 0.3s;
  position: relative;
}

.btn-cmon:hover {
  background-color: #EFEFEF;
}


/* =Sections -------------------------------------------------------------- */

.h1-story {
  font-size: 22px !important;
  margin: 0;
}

.h1-story.nowrap {
  display: inline;
  white-space: nowrap !important;
}

.sleep-cmonchan {
  width: 100%;
  position: relative;
  top: auto;
  right: auto;
}

/* BEM: story overlapping layout without quack2 */
.story-overlap {
  position: relative;
  box-sizing: border-box;
  padding: 20px 20px 100px;
}

.story-overlap .sleep-cmonchan {
  width: 100%;
  position: relative;
  top: auto;
  right: auto;
}

.story-overlap .story {
  font-size: 21px;
  line-height: 30px;
  margin-top: 20px;
  font-weight: bold;
  display: block;
  text-align: left;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.story {
  font-size: 21px;
  line-height: 30px;
  margin-top: 20px;
  font-weight: bold;
  display: block;
  text-align: left;
  padding: 0 20px;
  position: relative;
  z-index: auto;
}

.story-jp {
  font-size: 18px !important;
  line-height: 40px !important;
}

.quack3 {
  width: 100%;
  padding: 100px 0;
  background-color: #fff100;
}

.contents-center {
  width: 100%;
  padding: 100px 0;
  background-color: #fff100;
}

.twitter {
  width: 322px;
  margin: 0 auto;
}

.videowrap {
  width: 300px;
  margin: 0 auto;
}

.quack4 {
  width: 100%;
  padding: 200px 50px;
  background-color: #A46635;
  box-sizing: border-box;
}

.quack4 a {
  color: #fff0db;
  text-decoration: none;
}

.quack4 a:hover {
  color: #FFF;
  font-weight: bolder;
}

.description {
  display: -webkit-box;
  display: box;
  -webkit-box-orient: vertical;
  box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  cursor: pointer;
  max-height: 40px;
  flex-direction: column;
  align-items: center;
}

.universal-w {
  width: 40px;
  margin: 0 auto;
  display: block;
}

.language-options {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.language-options a:first-child {
  margin-top: 10px;
}

.language-options a+a {
  margin-top: 5px;
}

.quack5 {
  width: 100%;
  padding: 100px 50px;
  background-color: #fff0db;
  box-sizing: border-box;
}

.dreamin {
  width: 70%;
  display: block;
  margin: 0 auto;
  border-radius: 50px;
}


/* =Story Section -------------------------------------------------------------- */
.quack-story {
  width: calc(100% - 20px);
  height: auto;
  margin: 0 auto;
  padding: 50px 0 0 0;
  background-color: #ffffff;
}

.story-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.day {
  font-size: 18px;
  width: calc(100% - 80px);
  padding: 0;
  position: absolute;
  top: 30px;
  left: 10px;
  z-index: 1;
}

.story-pic {
  width: 100%;
  margin: 100px auto 0 !important;
  padding: 0;
}

.story-text {
  width: calc(100% - 20px);
  margin: 20px auto 100px;
  font-size: 20px;
  line-height: 28px;
}

.story-text-jp {
  font-size: 18px !important;
}

/* BEM: Semantic Story Section */
.story-section {
  padding: 20px 20px 100px 20px;
  background-color: #ffffff;
}

.story-date {
  font-size: 18px;
  color: #777777;
  margin-bottom: 10px;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.story-title {
  font-size: 22px;
  margin: 0 0 30px 0;
  font-weight: bold;
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.story-image {
  width: 100%;
  max-width: 840px;
  display: block;
  margin: 0 auto 10px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.story-content {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 20px;
}

.story-heading {
  font-size: 30px;
  line-height: 50px;
  margin-bottom: 0px;
  font-weight: bold;
}

.story-description {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 30px;
  color: #121212;
}

.t-story-pic {
  width: 200px;
  margin: 0 0 10px 0;
  display: block;
}

.wrap-menu {
  padding-top: 100px;
}

.quack-story-menu {
  width: calc(100% - 40px);
  height: auto;
  margin: 0 auto 100px;
  padding: 0;
  background-color: #ffffff;
}

.btn-menu {
  width: 100%;
  margin: 10px 0 0 0;
  padding: 15px;
  display: inline-block;
  font-size: 16px;
  line-height: 1.4;
  background-color: #FFF;
  border: 1px solid #AAAAAA;
  border-radius: 5px;
  text-align: left;
  text-decoration: none;
  transition: background-color 0.3s;
  position: relative;
  box-sizing: border-box;
}

.m-story-pic {
  width: 100px;
  margin: 0;
}

.story-menu {
  width: 100%;
  margin: 0;
}

.story-menu-big {
  font-size: 22px;
  margin: 0;
  line-height: 34px;
}

.story-menu-big-title {
  font-size: 17px;
  margin: 0;
  line-height: 22px;
}

.img-left {
  float: left;
  margin: 0 20px 0 0;
}

.quack-story-menu h1 {
  margin-bottom: 2rem;
}


/* =witcha Section -------------------------------------------------------------- */
.quack6 {
  width: 100%;
  padding: 200px 50px;
  background-color: #CEA16A;
  box-sizing: border-box;
}

.videowrap-witcha {
  width: 180px;
  margin: 0 auto;
}

.witcha-video {
  width: 180px;
  display: block;
  margin: 0 auto;
  border-radius: 150px;
}

.witcha-text {
  width: 200px;
  margin: 20px auto;
  font-size: 18px;
  line-height: 24px;
}

/* BEM: Semantic Witcha Section */
.witcha-video-container {
  text-align: center;
  margin-bottom: 30px;
}

.witcha-video {
  width: 180px;
  display: block;
  margin: 0 auto;
  border-radius: 150px;
}

.witcha-content {
  text-align: center;
}

.witcha-title {
  font-size: 25px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
}

.witcha-description {
  font-size: 18px;
  line-height: 24px;
  color: #ffffff;
  margin: 0;
}


/* =aboutCmonchan Section -------------------------------------------------------------- */
.quack-cmonchan1 {
  width: 100%;
  padding: 100px 20px;
  background-color: #FFFFFF;
  box-sizing: border-box;
  max-width: 1440px;
  margin: 0 auto;
}

.cmonchan-full-body {
  width: 200px;
  display: block;
  margin: 0px auto 20px;
}

.profile-img {
  margin-right: 10px;
}

.cmonchan-looking {
  width: 80%;
  display: block;
  margin: 0px auto 20px;
}

.quack-cmonchan2 {
  width: 100%;
  padding: 0;
  background-color: #ffffff;
  box-sizing: border-box;
}

.timeline {
  width: 340px;
  height: auto;
  margin: 0 auto;
  padding: 60px 15px;
  border-radius: 10px;
  background-color: #FFFFFF;
}

.years {
  display: inline-block;
  vertical-align: top;
  margin-left: -7px;
  padding: 0;
  font-size: 12px;
  line-height: 22px;
  color: #CCC;
}

.days {
  width: 100%;
  display: inline-block;
  vertical-align: top;
  padding: 6px 0 6px 15px;
  border-left: 2px solid #F3CD9A;
  font-size: 16px;
  line-height: 22px;
}

.days-maru {
  display: inline-block;
  vertical-align: top;
  font-size: 10px;
  line-height: 22px;
  margin-left: -21px;
  margin-right: 10px;
  margin-top: 1px;
}

.days-maru-en {
  display: inline-block;
  vertical-align: top;
  font-size: 10px;
  line-height: 22px;
  margin-left: -22px;
  margin-right: 10px;
  margin-top: 1px;
}

.gfont .years {
  font-family: "Noto Sans JP", "メイリオ", sans-serif;
}

.profile-text {
  line-height: 24px;
}



.cmonchan_and_duck {
  width: 400px;
  display: block;
  margin: 0px auto;
}

/* Overlap text on the profile figure image */
.profile-figure {
  position: relative;
  width: 100%;
  max-width: 700px;
  left: 0px;
  margin: 0 auto;
}

.profile-figure__text {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  text-align: center;
  color: #121212;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}









/* =Footer -------------------------------------------------------------- */
.footer {
  width: 100%;
  height: 500px;
  background-color: #121212;
  padding: 180px 0;
  box-sizing: border-box;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.footer-menu li {
  margin: 20px 0;
}

.footer-text {
  color: #BBBBBB;
  font-size: 18px;
  line-height: 30px;
  text-decoration: none;
}

.footer-text:hover {
  color: #FFFFFF;
}

details summary {
  list-style: none;
  cursor: pointer;
}

details summary::-webkit-details-marker {
  display: none;
}


/* =Media Queries -------------------------------------------------------------- */
@media screen and (min-width: 768px) {
  .mobileon {
    display: none;
  }

  .mobileoff {
    display: block;
  }

  .p-1 {
    margin-left: 10px;
  }

  #hamburger-menu {
    right: 40px;
  }

  .header {
    width: 100%;
    height: 0;
  }

  .quack1 {
    height: 900px;
  }

  .logo-cmonchanpng {
    width: 250px;
    margin: 0 0 -10px -10px;
  }

  .quack1-cmonchan {
    width: 350px;
    top: 40px;
    right: 0;
    left: auto;
  }

  .cmonchan {
    width: 500px;
    margin: 0;
    position: absolute;
  }

  .big1 {
    font-size: 60px !important;
  }

  .big2 {
    font-size: 80px !important;
    line-height: 100px !important;
  }

  .big3 {
    font-size: 30px !important;
    line-height: 50px !important;
  }

  .quack-story {
    width: calc(100% - 80px);
  }

  /* Story Section Responsive */
  .story-section {
    padding: 80px 0 0 0;
  }

  .story-date {
    font-size: 20px;
  }

  .story-title {
    font-size: 25px;
  }

  .story-heading {
    font-size: 35px;
    line-height: 60px;
  }

  .story-description {
    font-size: 20px;
    line-height: 32px;
  }

  /* Witcha Section Responsive */
  .witcha-video {
    width: 300px;
  }

  .witcha-title {
    font-size: 30px;
  }

  .witcha-description {
    font-size: 20px;
    line-height: 28px;
  }

  .story-jp {
    font-size: 21px !important;
    line-height: 58px !important;
  }

  .cmon-kao {
    width: 700px;
  }

  .cmon-kanji-logo {
    width: 600px;
  }

  .profile-text {
    padding-top: 40px;
  }

  .profile-figure {
    left: 100px;
  }

  .profile-figure__text {
    top: 20%;
    left: 10%;
    bottom: auto;
    transform: none;
    text-align: left;
  }





  .quack5 {
    padding: 200px 50px;
  }

  .videowrap-witcha {
    width: 300px;
    margin: 0 auto;
  }

  .dreamin {
    width: 512px;
  }

  .witcha-video {
    width: 300px;
  }

  .witcha-text {
    width: 500px;
  }

  .btn-menu {
    width: 24%;
  }

  .m-story-pic {
    width: 100%;
    margin: 0;
  }

  .img-left {
    display: block;
    float: none;
    margin: 0 0 20px 0;
  }

  .quack-story-menu {
    width: calc(100% - 40px);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }

  .story-menu {
    width: calc(25% - 8px);
  }

  .btn-menu {
    width: 100%;
    height: 100%;
  }

  .story-menu-big-title {
    font-size: 20px;
  }

  .quack-story-menu h1 {
    margin-bottom: 2rem;
  }


  /* =aboutCmonchan Section -------------------------------------------------------------- */
  .quack-cmonchan1 {
    padding: 100px;
  }

  .quack-cmonchan2 {
    background-color: #fff0db;
  }

  .timeline {
    width: 550px;
    margin: 100px auto;
    padding: 60px 20px;
  }

  .years {
    margin: 1px 14px 0 0;
    padding: 5px 15px;
  }

  .days {
    width: 400px;
  }
}

@media screen and (min-width: 992px) {
  .logo-c {
    top: 30px;
    left: 30px;
    width: 100px;
  }

  #hamburger-menu {
    top: 30px;
    right: 60px;
  }

  .big1 {
    font-size: 80px !important;
  }

  .h1-story {
    font-size: 28px !important;
  }

  .sleep-cmonchan {
    width: 680px;
    top: 30px;
    right: 20px;
  }

  .story-container {
    position: relative;
    width: 840px;
  }

  .story-jp {
    font-size: 24px !important;
    line-height: 62px !important;
  }

  .day,
  .story-pic {
    width: 840px;
    display: block;
    margin: 0 auto;
  }

  .day {
    top: -75px;
    left: 10px;
  }

  .story-text {
    width: 820px;
  }

  .story-menu {
    width: calc(25% - 8px);
  }

  .profile-figure__text {
    top: 20%;
    left: 18%;
  }

  .sleep-cmonchan {
    width: 680px;
    position: absolute;
    top: 30px;
    right: 0;
  }

  .story {
    font-size: 26px;
    line-height: 33px;
    margin-top: 0;
    position: absolute;
    top: 50px;
    left: 40px;
    z-index: 10;
  }

  /* story-overlap variant mirrors quack2 but class-scoped */
  .story-overlap {
    height: 500px;
    padding: 100px 100px;
  }

  .story-overlap .sleep-cmonchan {
    width: 680px;
    position: absolute;
    top: 30px;
    right: 0;
  }

  .story-overlap .story {
    font-size: 26px;
    line-height: 33px;
    margin-top: 0;
    position: absolute;
    top: 50px;
    left: 40px;
    z-index: 10;
  }

  /* Story Section Large */
  .story-section {
    padding: 100px 0 0 0;
  }

  .story-date {
    font-size: 22px;
  }

  .story-title {
    font-size: 28px;
  }

  .story-heading {
    font-size: 40px;
    line-height: 70px;
  }

  .story-description {
    font-size: 22px;
    line-height: 36px;
  }

  .quack-story-menu {
    width: 920px;
    height: auto;
    margin: 0 auto 100px;
    padding: 0;
    background-color: #ffffff;
  }
}

@media screen and (min-width: 1200px) {
  #hamburger-menu {
    right: 50px;
  }

  .big1 {
    font-size: 100px !important;
  }

  .sleep-cmonchan {
    width: 700px;
    top: 30px;
    right: 50px;
  }

  .story {
    top: 50px;
    left: 70px;
  }
}

@media screen and (min-width: 1400px) {
  .quack1 {
    height: 1300px;
  }

  .quack1-cmonchan {
    width: 600px;
    top: 270px;
    right: 0;
  }

  .cmonchan {
    width: 700px;
    position: absolute;
  }

  .sleep-cmonchan {
    width: 900px;
    top: 30px;
    right: 50px;
  }

  /* story-overlap large */
  .story-overlap {
    height: 700px;
  }

  .story-overlap .sleep-cmonchan {
    width: 900px;
    top: 30px;
    right: 50px;
  }
}


@media screen and (min-width: 768px) {
  .quack-story-menu h1 {
    width: 100%;
    text-align: center;
  }
}