/*========================================== 
  0.reset
========================================== */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}



#main div,
#main span,
#main object,
#main iframe,
#main h1,
#main h2,
#main h3,
#main h4,
#main h5,
#main h6,
#main p,
#main blockquote,
#main pre,
#main abbr,
#main address,
#main cite,
#main code,
#main del,
#main dfn,
#main em,
#main img,
#main ins,
#main kbd,
#main q,
#main samp,
#main small,
#main strong,
#main sub,
#main sup,
#main var,
#main b,
#main i,
#main dl,
#main dt,
#main dd,
#main ol,
#main ul,
#main li,
#main fieldset,
#main form,
#main label,
#main legend,
#main table,
#main caption,
#main tbody,
#main tfoot,
#main thead,
#main tr,
#main th,
#main td,
#main article,
#main aside,
#main canvas,
#main details,
#main figcaption,
#main figure,
#main footer,
#main header,
#main hgroup,
#main menu,
#main nav,
#main section,
#main summary,
#main time,
#main mark,
#main audio,
#main video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  background: transparent;
}

#main *,
#main *::before,
#main *::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
}

#main article,
#main aside,
#main details,
#main figcaption,
#main figure,
#main footer,
#main header,
#main hgroup,
#main menu,
#main nav,
#main section,
#main main {
  display: block;
}

#main ul,
#main li {
  list-style: none;
}

#main blockquote,
#main q {
  quotes: none;
}

#main blockquote::before,
#main blockquote::after,
#main q::before,
#main q::after {
  content: "";
  content: none;
}

#main a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  background: transparent;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  display: block;
}

#main address {
  font-style: normal;
}

#main ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

#main mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

#main del {
  text-decoration: line-through;
}

#main table {
  border-collapse: collapse;
  border-spacing: 0;
}

#main hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #444;
  margin: 1em 0;
  padding: 0;
}

#main input,
#main select {
  vertical-align: middle;
}

#main button {
  margin: 0;
}

#main a,
#main a:link,
#main a:visited {
  text-decoration: none;
}

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

/*========================================== 
    20.MAIN-CONTENT
  ========================================== */
#main a:hover {
  opacity: 0.7;
  transition: all 0.3s ease-in-out;
}

#main .mv h1 {
  background: url(../img/mv.jpg) no-repeat center center;
  height: 780px;
  background-size: 100% auto;
  text-indent: -9999px;
}

@media screen and (max-width: 768px) {
  #main .mv h1 {
    width: 100%;
    height: auto;
    aspect-ratio: 767 / 1000;
  }
}

#main .mv .logo {
  position: absolute;
  top: 16px;
  left: 20px;
  display: none;
}

@media screen and (max-width: 768px) {
  #main .mv .logo {
    display: block;
  }
}

#main .mv .logo img {
  width: 76px;
  height: auto;
}

#main .sec_tl {
  position: relative;
  z-index: 100;
  padding: 64px 0 0;
}

@media screen and (max-width: 768px) {
  #main .sec_tl {
    padding: 32px 24px 0;
  }
}

#main .bg_01 {
  background-image: url(../img/bg_01.jpg);
}

#main .bg_02 {
  background-image: url(../img/bg_02.jpg);
}

#main .sec02 {
  padding: 30px 16px 200px 16px;
}

#main .sec01 .inner {
  background: #fff;
  border-radius: 16px;
  padding: 30px 19px 19px 19px;
  margin-bottom: 19px;
}

#main .sec02 .inner {
  background: #fff;
  border-radius: 16px;
  padding: 19px;
  margin-top: -70px;
  margin-bottom: 30px;
}

#main .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 24px 89px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

@media screen and (max-width: 768px) {
  #main .container {
    padding: 16px 12px 56px;
  }
}

/* タブ切り替え */
#main .tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}
#main .tab-btn {
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
  border: 0;
  background-color: #000;
}
#main .parent-tabs > .tab-btn > img {
  opacity: .5;
}
#main .parent-tabs > .tab-btn.active > img {
  opacity: 1;
}
#main .parent-tabs {
  padding: 0 47px;
}

#main .child-tabs .tab-btn {
  background: none;
}

#main .tab-content {
  display: none;
  opacity: 0;
  transition: opacity 1s ease;
}
#main .tab-content.active {
  display: block;
}

#main .tab-content.fade-in {
  opacity: 1;
}

#main .tab-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  margin-top: 10px;
}

@media screen and (max-width: 768px) {
  #main .tab-buttons {
    gap: 8px;
  }
  #main .parent-tabs {
    padding: 0 30px;
  }

  #main .tab-content .child-content {
    padding: 0 12px;
  }
}

/* ストーリー */
#main .sec03 {
  background-image: url(../img/story_bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 69px 31px;
  margin: 44px 32px 0;
}

/* #main .story-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 600px;
} */

#main .story-card + .story-card {
  margin-top: 30px;
}

#main .story-card.nolink {
  pointer-events: none;
  transition: none;
}

@media screen and (max-width: 768px) {
  #main .sec03 {
    padding: 32px 0; 
    margin: 28px 20px 0;
    aspect-ratio: 670 / 1143;
    display: flex;
    gap: 16px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  #main .story-card {
    width: 90%; 
  }

  #main .story-card + .story-card {
    margin-top: 0;
  }
}