body {
  --main-color: #ed7966;
  /* 一番外側の左右余白 */
  --page-padding-horizon: 15px;
  /* 各セクションの下部余白 */
  --section-padding-bottom: 50px;

  font-family: "Hiragino Maru Gothic ProN";
  overflow-x: hidden;
  background-color: var(--main-color);
  -ms-overflow-style: none;
}

header {
  background-color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  transition: transform 0.6s, opacity 0.2s;
}

header.hide {
  transform: translateY(-100%);
  opacity: 0;
}

header > div {
  align-items: center;
  padding: 10px;
  display: flex;
  line-height: 27px;
}

header > div > img {
  width: 27px;
  height: 27px;
  display: inline-block;
  margin-right: 5px;
}

header > div > p {
  display: inline-block;
  color: white;
  letter-spacing: 5px;
}

header > div > a > button {
  color: white;
  background-color: black;
  padding: 0 12px;
  border-radius: 20px;
  font-size: 11px;
}

section {
  background-repeat: repeat;
}

section > .section_title_img,
section > img {
  width: 100%;
  object-fit: cover;
}

section.top {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
}

section.top > a > div {
  position: absolute;
  top: 82%;
  width: 100%;
}

section.top > a img {
  right: 28%;
  width: 40%;
}

section.operation {
  background-image: url("../img/ver2/background/one.png");
}

section.operation > .number {
  top: -27px;
  left: 0px;
}

section.notification {
  background-image: url("../img/ver2/background/two.png");
}

section.notification > .number {
  top: -25px;
  left: 0px;
}

section.manage {
  background-image: url("../img/ver2/background/three.png");
  background-size: cover;
}

section.manage > .number {
  top: -33px;
  left: 0px;
}

section.support {
  background-image: url("../img/ver2/background/four.png");
  background-size: contain;
}

section.support > .number {
  top: -35px;
  left: 0px;
}

section.connect {
  background-image: url("../img/ver2/background/five.png");
}

section.connect > .number {
  top: -35px;
  left: 0px;
}

section.operation,
section.notification,
section.manage,
section.support,
section.connect {
  position: relative;
  padding-bottom: var(--section-padding-bottom);
  background-color: white;
}

section.operation > .number,
section.notification > .number,
section.manage > .number,
section.support > .number,
section.connect > .number {
  position: absolute;
  width: 100px;
  height: 100px;
}

section.operation > p,
section.notification > p,
section.manage > p,
section.support > p,
section.connect > p {
  margin: 20px 0;
  font-size: 14px;
}

section.operation > p,
section.notification > p,
section.manage > p,
section.support > p,
section.connect > p,
section.operation > div,
section.notification > div,
section.manage > div,
section.support > div,
section.connect > div {
  padding: 0 var(--page-padding-horizon);
}

section.operation .carousel,
section.notification .carousel,
section.manage .carousel,
section.support .carousel,
section.connect .carousel {
  display: block;
  overflow: hidden;
  position: relative;
  padding: 0;
}

section.operation .carousel > div.inner,
section.notification .carousel > div.inner,
section.manage .carousel > div.inner,
section.support .carousel > div.inner,
section.connect .carousel > div.inner {
  display: flex;
  width: calc(100vw * 4);
  position: relative;
  top: 0;
  left: 0;
  transition: left 0.7s ease;
}

section.operation .carousel > div.inner > div.item,
section.notification .carousel > div.inner > div.item,
section.manage .carousel > div.inner > div.item,
section.support .carousel > div.inner > div.item,
section.connect .carousel > div.inner > div.item {
  display: inline-block;
  padding: 0;
  margin: 0;
  width: 100vw;
}

section.operation .carousel > div.inner > div.item p,
section.notification .carousel > div.inner > div.item p,
section.manage .carousel > div.inner > div.item p,
section.support .carousel > div.inner > div.item p,
section.connect .carousel > div.inner > div.item p {
  width: 90vw;
  margin: 0 auto 10px;
}

section.operation .carousel > div.inner > div.item img,
section.notification .carousel > div.inner > div.item img,
section.manage .carousel > div.inner > div.item img,
section.support .carousel > div.inner > div.item img,
section.connect .carousel > div.inner > div.item img {
  margin: 0 auto 10px;
  display: block;
  width: 90%;
}

section.macaron {
  background-color: white;
  margin: 0;
  padding: 40px 20px;
}

section.macaron .title {
  text-align: center;
  color: var(--main-color);
  margin-bottom: 12px;
  font-family: Hiragino Kaku Gothic Std;
  font-size: 27px;
  font-weight: 800;
  line-height: 40.5px;
}

section.macaron .macaron_content {
  padding: 28px 24px 20px 24px;
  text-align: center;
  background-color: #FBFBFB;
  border-radius: 20px;
}

section.macaron .content_img {
  margin-bottom: 16px;
}

section.macaron .content_img img {
  width: 100%;
  border: 1px solid #222222;
  border-radius: 10px;
}

section.macaron p.description {
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 400;
}

section.macaron .macaron_button {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--main-color);
  background-color: #FFDBD5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  color: var(--main-color);
  font-size: 18px;
  font-weight: 600;
}

section.macaron a {
  text-decoration: none;
}

section.macaron .button_main {
  text-align: center; flex: 1;
}

section.macaron .button_side_item {
  margin-left: auto;
  height: 1.4em;
  display: inline-block;
}

section.plan {
  background-image: url("../img/ver2/background/six.png");
  background-repeat: repeat-y;
  background-color: var(--main-color);
  padding: 50px 10px 50px;
}

section.plan p {
  font-size: 16px;
  font-weight: 400;
}

section.plan > div p.description {
  margin-bottom: 10px;
}

section.plan > div.plan_description {
  margin-bottom: 24px;
}

section.plan > div p.title {
  font-size: 27px;
  font-weight: 700;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-style: normal;
  margin-bottom: 10px;
  -webkit-text-stroke: 1.3px white;
}

section.plan > div p.title > span {
  background: linear-gradient(transparent 50%, white 50%);
  padding: 0 10px;
}

section.plan > div.top {
  display: inline-block;
  transform: rotate(-3deg);
  margin: 0 auto 30px;
}

section.plan > div.top > .head {
  font-family: "Mochiy Pop One", sans-serif;
  -webkit-text-stroke: 1px white;
  text-shadow: 3px 5px 0px white;
  margin-bottom: 20px;
}

section.plan > div.top > .head > p {
  font-size: 10vw;
  font-weight: 400;
}

section.plan > div.top > .head > p > span {
  background-image: radial-gradient(
    circle at center,
    white 20%,
    transparent 20%
  );
  background-position: top right;
  background-repeat: repeat-x;
  background-size: 1em 0.3em;
  padding-top: 0.1em;
}

section.plan > div.questionnaire {
  margin-bottom: 50px;
}

section.plan > div.questionnaire > .twitter_embed {
  margin: 0 auto;
  justify-content: center;
  overflow-y: scroll;
  border-radius: 10px;
  width: 90%;
  -ms-overflow-style: none;
  scrollbar-width: none;
  background: gray;
}

section.plan > div.questionnaire > .twitter_embed::-webkit-scrollbar {
  display: none;
}

section.plan > div.update {
  margin-bottom: 50px;
}

section.plan > div.update button {
  font-family: "Hiragino Kaku Gothic Std";
  width: 100%;
  background-color: black;
  color: white;
  padding: 8px 16px 8px;
  border-radius: 42px;
  font-weight: 600;
  line-height: 24px;
  border: #353535 5px solid;
}

section.plan > div.guide > iframe {
  border: 0;
  display: block;
  width: 99%;
  padding: 0px;
  position: static;
  visibility: visible;
}

section.nijisanji {
  background-color: #FBE0DB;
  padding: 40px 0 30px;
}

section.nijisanji img {
  width: 100%;
}

section.nijisanji > img {
  padding: 40px var(--page-padding-horizon) 30px;
}

section.nijisanji > .title > img {
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 32px;
}
section.nijisanji > p.description {
  padding-left: 20px;
  padding-right: 20px;
  font-size: 16px;
}

section.nijisanji .item_list > .item > .title_container > img.slash {
  width: 15px;
  height: 22px;
  transform: translate(0, 2px);
}

section.nijisanji .item_list > .item > iframe {
  border: 0;
  display: block;
  width: 99%;
  height: 234px;
  padding: 0px;
  position: static;
  visibility: visible;
}

section.nijisanji .item_list {
  padding: 0 var(--page-padding-horizon);
}

section.nijisanji .item_list > .item {
  padding-bottom: 30px;
  padding-top: 30px;
}

section.nijisanji .item_list > .item .title_container {
  text-align: center;
  margin-bottom: 12px;
}

section.nijisanji .item_list > .item  .title {
  color: var(--main-color);
  font-family: "Hiragino Maru Gothic ProN";
  font-size: 21px;
  font-weight: 400;
  margin-bottom: 16px;
}

section.nijisanji .item_list > .item > .contents {
  text-decoration: none;
  display: block;
  border: 1px solid #000;
  border-radius: 15px;
  background-color: #222;
  margin-bottom: 20px;
}

section.nijisanji .item_list > .item > .contents > div > div {
  display: flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
}

section.nijisanji .item_list > .item > .contents > div > div > p {
  text-align: center;
  font-family: Hiragino Kaku Gothic Std;
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  color: #fff;
}

section.nijisanji .item_list > .item > .contents > div > div > img {
  width: 16px;
  height: 16px;
}

section.tweets {
  background-image: url("../img/ver2/background/img_bg_five.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 24px 0 0 0;
}

section.tweets .head {
  position: relative;
}

section.tweets .head_outer {
  margin-left: 12px;
}

section.tweets > .head p.title {
  font-family: "Mochiy Pop One", sans-serif;
  -webkit-text-stroke: 1px white;
  text-shadow: 3px 5px 0px white;
  margin: 24px auto 10px auto;
  font-size: 8vw;
  font-weight: 400;
  display: inline-block;
  text-align: left;
}

section.tweets img.exclamation {
  position: absolute;
  top: 30px;
  left: 72vw;
  rotate: 28.35deg;
  width: 11vw;
}

section.tweets img.YEAR_character {
  position: absolute;
  top: 30px;
  right: -7vw;
  rotate: -17.3deg;
  width: 22vw;
}

section.tweets .carousel_container {
  position: relative;
  width: 100%;
  aspect-ratio: 430 / 428; /* 横:縦 の比率だが、うまくいかないのでjsで上書きしている */
  overflow: hidden;
  white-space: nowrap;
  margin: 36px 0 12px 0;
}

section.tweets .carousel_container .twitter-tweet {
  margin: 0 !important;
}

section.tweets .carousel_item {
  position: absolute;
  top: 0;
  width: 65.1%;/* 280/430 */
  aspect-ratio: 280 / 426; /* 横:縦 の比率 */
  transition: transform 0.4s ease;
}

section.tweets .carousel_item .tweet_wrapper {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* TikTokの埋め込み専用スタイル */
section.tweets .carousel_item .tiktok-embed {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  background: transparent !important;
  transform: scale(0.8);
  transform-origin: top center;
}

section.tweets .carousel_item .tiktok-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

section.tweets .carousel_no_transition {
  transition: none !important;
}

section.tweets .image-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* 押しやすさのための余白 */
  padding: 8mm 5mm;

  /* 見えないくらい薄い色（でも確実に領域はある） */
  background-color: rgba(0, 0, 0, 0.005);

  border: none;
  border-radius: 9999px; /* pill型 */
  cursor: pointer;

  transition: background-color 0.2s ease;
}

/* ホバー時に少し視覚的に反応してもOK */
section.tweets .image-button:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

section.tweets .image-button img {
  height: 24px;
  width: auto;
  display: block;
  pointer-events: none; /* 画像がクリックをブロックしないように */
}

section.tweets .button_left {
  position: absolute;
  top: 40%;
  left: 8%;
}

section.tweets .button_right {
  position: absolute;
  top: 40%;
  right: 8%;
}

section.activity {
  padding: 40px 0 30px;
  background-color: white;
}

section.activity > .title {
  display: inline-block;
  line-height: 41px;
  background-color: var(--main-color);
  padding: 0 8px;
  margin: 0 var(--page-padding-horizon) 30px;
}

section.activity > .title > p {
  font-family: "Hiragino Kaku Gothic StdN";
  font-size: 33px;
  font-weight: 800;
  line-height: 55.5px;
  color: white;
}

section.activity > .achievements {
  margin-bottom: 25px;
}

section.activity > .achievements > p {
  margin-bottom: 20px;
  padding: 0 var(--page-padding-horizon);
  color: var(--main-color);
  font-size: 24px;
  font-weight: 400;
  line-height: 36px;
}

section.activity > .achievements img {
  width: 100%;
}

section.activity > .achievements img:not(.full_width) {
  padding: 0 var(--page-padding-horizon);
}

section.activity > .achievements > ul {
  padding-left: 20px;
}

section.activity > .achievements > ul > li {
  font-size: 14px;
  margin-left: 15px;
}

section.oshiken {
  background-color: var(--main-color);
}

section.oshiken img {
  width: 100%;
}

section.oshiken > img {
  padding: 40px var(--page-padding-horizon) 30px;
}

section.oshiken .description {
  padding: 0 var(--page-padding-horizon);
}

section.oshiken .press_release > img {
  padding: 20px 0 10px;
}

section.oshiken .press_release .item_list {
  padding: 0 var(--page-padding-horizon);
}

section.oshiken .press_release .item_list > .item {
  padding-bottom: 30px;
}

section.oshiken .press_release .item_list > .item > .contents {
  text-decoration: none;
  display: block;
  border: 1px solid #000;
  border-radius: 15px;
  background-color: #222;
  margin-bottom: 20px;
}

section.oshiken .press_release .item_list > .item > .contents > div > img {
  display: block;
  border-radius: 15px 15px 0 0;
}

section.oshiken .press_release .item_list > .item > .contents > div > div {
  display: flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  padding: 5px 0;
}

section.oshiken .press_release .item_list > .item > .contents > div > div > p {
  text-align: center;
  font-family: Hiragino Kaku Gothic Std;
  font-size: 16px;
  font-weight: 800;
  line-height: 24px;
  color: #fff;
}

section.oshiken
  .press_release
  .item_list
  > .item
  > .contents
  > div
  > div
  > img {
  width: 16px;
  height: 16px;
}

section.oshiken .press_release .item_list > .item > .title {
  transform: rotate(-5deg);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 22px;
  font-weight: 900;
  line-height: 32.67px;
  text-align: left;
  -webkit-text-stroke: 0.7px white;
}

section.oshiken .press_release .item_list > .item > .title > span {
  background: linear-gradient(transparent 50%, white 50%);
  padding: 0 10px;
}

section.oshiken .press_release .item_list > .item .publish_list {
  font-family: "Hiragino Kaku Gothic ProN";
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  text-align: left;
}

section.oshiken .press_release .item_list > p {
  padding-top: 20px;
  font-family: Hiragino Kaku Gothic ProN;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  text-align: left;
}

section.share {
  background-image: url("../img/ver2/background/share.png");
  background-size: cover;
  padding: 20px 0 50px;
  text-align: center;
  height: 247px;
}

section.share > .title {
  display: inline-block;
  background-color: white;
  color: var(--main-color);
  padding: 0 5px;
  margin-bottom: 20px;
  font-family: Hiragino Kaku Gothic Std;
  font-size: 27px;
  font-weight: 800;
  line-height: 40.5px;
}

section.share > .medium {
  display: flex;
  justify-content: center;
}

section.share > .medium > a > .square {
  width: 90px;
  height: 90px;
  border: 1px solid;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

section.share > .medium > a > .square.x {
  background-color: #d2cece;
  border-color: #838383;
  transform: rotate(-5deg);
}

section.share > .medium > a > .square.x > img {
  transform: rotate(5deg);
}

section.share > .medium > a > .square.line {
  background-color: #b8ffc6;
  border-color: #4cc764;
  transform: rotate(5deg);
}

section.share > .medium > a > .square.line > img {
  transform: rotate(-5deg);
}

section.share > .medium > a > .square.link {
  background-color: #ffcfc7;
  border-color: #ed7966;
  transform: rotate(-5deg);
}

section.share > .medium > a > .square.link > img {
  transform: rotate(5deg);
}

section.share > .medium > a > .square > img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

button.switch {
  background-color: white;
  color: var(--main-color);
  padding: 8px 16px 8px;
  border-radius: 20px;
  margin-right: 8px;
  margin-bottom: 10px;
  line-height: 24px;
  box-shadow: 3px 4px #d65540;
  border: var(--main-color) 1px solid;
}

button.switch.active {
  background-color: var(--main-color);
  color: white;
}

footer {
  background-color: black;
  color: #fff;
  padding: 40px 30px;
}

footer > .icon > img {
  border-radius: 13px;
  width: 54px;
  height: 54px;
}

footer > .app_name {
  font-size: 25px;
  font-weight: 400;
  margin-bottom: 10px;
}

footer > .download {
  margin-bottom: 50px;
}

footer > .download > a > img {
  width: 30%;
}

footer > ul {
  margin-bottom: 20px;
}

footer > ul > a {
  text-decoration: none;
  color: white;
}

footer > ul > a > li {
  padding-bottom: 10px;
  list-style: none;
  font-family: Hiragino Kaku Gothic Pro;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
}

footer > p {
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
}

@media (max-width: 767px) {
  .tablet,
  .pc {
    display: none;
  }
}

@media (min-width: 768px) {
  body {
    background-image: url("../img/ver2/background/large_bg_image.png");
    background-color: var(--main-color);
    background-repeat: repeat;
  }

  body > .large_screen_base {
    position: relative;
    margin: 0 auto;
    max-width: 900px;
  }

  body > .large_screen_base > .share {
    position: absolute;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
    text-align: left;
    color: #ffffff;
    bottom: 2rem;
    left: 2rem;
  }

  body > .large_screen_base > .share > div {
    margin: 15px 0 0;
    display: flex;
  }

  body > .large_screen_base > .share > div a {
    cursor: pointer;
  }

  body > .large_screen_base > .share > div a img {
    object-fit: scale-down;
    width: 40px;
    height: 40px;
    margin-right: 9px;
  }

  body > .large_screen_base > .info {
    text-align: center;
  }

  body > .large_screen_base > .mobile_frame {
    background-color: white;
    max-width: 430px;
    margin: 0 auto;
    overflow-y: scroll;
    height: 100vh;
    border-right: 8px solid white;
    border-left: 8px solid white;
  }

  section.tweets .carousel_container {
    margin-bottom: -84px;
  }

  body > .large_screen_base > .mobile_frame > header {
    display: none;
  }

  body
    > .large_screen_base
    > .mobile_frame
    > section.plan
    > div.top
    > .head
    > p {
    font-size: 46px;
  }

  body > .large_screen_base > .mobile_frame .carousel {
    display: block;
    overflow: hidden;
    position: relative;
    padding: 0;
  }

  body > .large_screen_base > .mobile_frame .carousel > div.inner {
    display: flex;
    width: calc(414px * 4);
    position: relative;
    top: 0;
    left: 0;
    transition: left 0.7s ease;
  }

  body > .large_screen_base > .mobile_frame .carousel > div.inner > div.item {
    display: inline-block;
    padding: 0;
    margin: 0;
    width: 414px;
  }

  body > .large_screen_base > .mobile_frame .carousel > div.inner > div.item p {
    width: 90%;
    margin: 0 auto 10px;
  }

  body
    > .large_screen_base
    > .mobile_frame
    .carousel
    > div.inner
    > div.item
    img {
    margin: 0 auto 10px;
    display: block;
    width: 90%;
  }

  section.tweets > .head p.title {
    font-size: 35px;
  }
  
  section.tweets img.exclamation {
    left: 312px;
    width: 48px;
  }
  
  section.tweets img.YEAR_character {
    right: -31px;
    width: 97px;
  }
}

@media (min-width: 768px) and (max-width: 1025px) {
  body > .large_screen_base .info.pc {
    display: none;
  }
}

@media (min-width: 1025px) {
  body > .large_screen_base {
    max-width: 1240px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  body > .large_screen_base > .info {
    width: 50%;
  }

  body > .large_screen_base > .info > div.title {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
  }

  body > .large_screen_base > .info > div.title > img {
    margin-bottom: 20px;
  }

  body > .large_screen_base > .info > div.download {
    position: relative;
    color: #e27d6a;
    border-radius: 2em;
    padding: 10px 30px;
    background-color: white;
    display: inline-block;
    margin-bottom: 20px;
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 26.73px;
    text-align: left;
  }

  body > .large_screen_base > .info > div.download:after {
    content: "";
    position: absolute;
    left: 47%;
    width: 0;
    height: 0;
    display: block;
    border-style: solid;
    border-color: white;
    border-width: 10px;
    bottom: -10px;
    border-radius: 0 0 10px 0;
    transform: scaleX(0.5) rotate(45deg);
  }
}

