:root {
  --akb-pink: #f57eb6;
  --textcolor: #333;
  --header-bgcolor: #fff;
  --header-textcolor: var(--akb-pink);
  --card-bgcolor: #fff;
  --card-titlecolor: #fff;
  --section-bordercolor: #fecdf5;
  --tx-blue: #0072bc;
  --akb-pink-active: #fdebf4;
  --menubutton-pink: #f367b0;
  --shadow: rgb(0 0 0 / 12%) 0 1px 3px, rgb(0 0 0 / 24%) 0 1px 2px;
  --details-bordercolor: var(--akb-pink);
  --note-color: #666;
  --disabled-color: #e6d6e3;
}

/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p {
  text-wrap: pretty;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  word-break: break-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

.container {
  max-width: 900px;
  margin-inline: auto;
}

.container > section {
  margin-bottom: 2rem;
}

section section {
  padding-bottom: 1.5rem;

  &:not(:last-of-type) {
    border-bottom: 2px dashed var(--section-bordercolor);
  }

  &:not(:first-of-type) {
    padding-top: 1rem;
  }
}

b {
  font-weight: bold;

  &.b--pink {
    color: var(--akb-pink);
  }
}

strong {
  font-size: 1.15rem;
}

section h3 {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: larger;
  line-height: 1.3;
  color: var(--akb-pink);
  background-color: #f3f3f3;
  border-radius: 20px;
  padding: 10px;

  .titleIndex {
    display: flex;
    flex: 0 0 2.5rem;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    line-height: 1;
    border: 2px solid var(--akb-pink);
    border-radius: 0.5rem;
  }

  .titleText {
    flex: 1 1 fit-content;
    word-break: break-all;
    font-size: 1.1rem;
  }
}

h4 {
  margin-bottom: 1rem;
  font-size: large;
  line-height: 1.2;

  &:not(:first-of-type) {
    margin-top: 2rem;
  }
}

a {
  color: var(--tx-blue);
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}

header {
  background-color: var(--header-bgcolor);

  .container {
    display: flex;
    align-items: center;
  }
}

.header__title {
  display: flex;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
}

.header__logo {
  flex: 0 1 200px;
  flex-basis: 100px;
  min-width: 100px;
}

.header__messageBalloonWrap {
  flex: 1 2 fit-content;
}

.header__message {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.5rem 0.2rem 0.5rem;
}

.header__messageTitle {
  font-size: clamp(1rem, 4vw, 1.5rem);
  line-height: 1.1;
  font-weight: bold;
  color: var(--header-textcolor);
}

.header__messageBalloon {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.header__group {
  flex: 1 1 fit-content;
  max-width: 500px;
  height: auto;
}

.header__groupImg {
  width: 100%;
  height: auto;
}

.header__menuWrap {
  position: relative;
}

.button__menu {
  display: flex;
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  padding: 0.5rem;
  margin-right: 1.5rem;
  background-color: var(--card-bgcolor);
  border: 2px solid var(--menubutton-pink);
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.index__list {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 1rem 0;
  margin: 0;
  list-style: none;
}

.index__link {
  display: block;
  padding: 0.3rem 1rem;
  color: var(--textcolor);
  background-color: var(--card-bgcolor);
  border: 2px solid var(--akb-pink);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  transition: background-color 0.2s;

  &:hover {
    text-decoration: none;
    background-color: var(--akb-pink-active);
  }
}

main {
  padding: 1.5rem;
  background-image: url("../img/bg.jpeg");
  background-repeat: repeat;
  background-size: 75%;
}

.card {
  background-color: var(--card-bgcolor);
  border: 3px solid var(--akb-pink);
  border-radius: 0.75rem;
}

.card__header {
  padding-block: 0.2rem;
  font-size: larger;
  color: var(--card-titlecolor);
  text-align: center;
  background-color: var(--akb-pink);
}

.card__body {
  padding: 1rem;

  &.--center {
    text-align: center;

    img {
      max-width: 100%;
      margin-inline: auto;
    }
  }
}

.fantoken__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.fantoken__img {
  width: 100%;
  height: auto;
}

button {
  cursor: pointer;
}

details {
  margin-top: 1rem;

  &::details-content {
    transition-duration: 0.2s;
    transition-property: content-visibility, opacity;
    transition-behavior: allow-discrete;
  }

  &:not([open])::details-content {
    opacity: 0;
  }
}

summary {
  cursor: pointer;
  display: block;
  list-style: none;
}

.details {
  .tapImg {
    height: 32px;
  }
}

.details__contents {
  padding: 0.5rem;
  margin-top: 0.5rem;
  border: 1px solid var(--details-bordercolor);
  border-radius: 0.3rem;

  & > ol {
    padding-left: 0.75rem;

    & > li:not(:first-of-type) {
      margin-top: 1rem;
    }
  }
  & > ul {
    list-style: none;
    padding-left: 0.2rem;

    & > li:not(:first-of-type) {
      margin-top: 1rem;
    }
  }
}

.processImage {
  display: flex;
  gap: 1rem;
  padding-block: 1rem;

  .processImgWrap {
    flex: 1 1 max-content;

    img {
      margin-inline: auto;
    }
  }

  .processArrowWrap {
    flex: 0.5 0.5 5rem;
    align-self: center;
    width: 50%;
    max-width: 5rem;
    height: 5rem;

    img {
      margin-inline: auto;
    }
  }

  .processImage__transitionArrow {
    flex: 1 1 5rem;
    align-self: center;
    width: 50%;
    max-width: 5rem;
    height: 5rem;
    background-color: var(--akb-pink);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
  }
}

.processText {
  width: fit-content;
  margin-inline: auto;
}

.relation__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem 3rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
  width: 100%;
}

.relation__title {
  display: flex;
  gap: 1rem 0;
  padding: 5px;
  align-items: center;
  height: 75px;
  line-height: 1.3;
  font-size: 0.85rem;
}

.relation__titleIndex {
  display: flex;
  flex: 0 0 2rem;
  align-items: center;
  justify-content: center;
  height: 2rem;
  line-height: 1;
  color: var(--akb-pink);
  border: 3px solid var(--akb-pink);
  border-radius: 50%;
}

.relation__item img {
  width: 100%;
}

.details__img {
  width: 200px;
  max-width: 100%;
  margin: 1rem auto;

  &.--middle {
    width: 350px;
  }

  &.--wide {
    width: 600px;
  }
}

footer {
  padding: 2rem 1.5rem 1.5rem;

  .card {
    border-color: var(--tx-blue);
  }

  .card__header {
    background-color: var(--tx-blue);
  }
}

.copyright {
  margin-top: 3rem;
  text-align: center;
}

#attention {
  font-size: 0.8rem;

  .mainList {
    padding: 0 0 0 5px;
    list-style: circle;
  }

  .subList {
    padding: 5px 0 0 2rem;
  }

  .memo {
    font-size: 0.65rem;
  }
  .date {
    font-size: 0.8rem;
  }
}

.accessBtn {
  position: relative;
  padding: 0.3rem 0.5rem;
  color: var(--card-titlecolor);
  text-align: center;
  background-color: var(--akb-pink);
  border: 2px solid var(--akb-pink);
  border-radius: 0.3rem;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.comingSoon {
  color: var(--akb-pink);
  text-align: center;
  background: var(--akb-pink-active);
  padding: 0.5em;
  border-radius: 0.5em;
}

.akbCopyright {
  position: relative;
  top: -5px;
  right: 10px;
  text-align: right;
  color: var(--textcolor);
  font-size: 0.75rem;
}
@media screen and (width <= 900px) {
  .akbCopyright {
    font-size: 0.6rem;
  }
}

.note {
  font-size: 0.75rem;
  color: var(--note-color);
  margin-top: 0.2rem;
}

.summaryExplanation {
  padding-left: 1rem;
}

.section-header {
  padding: 0.25em 0.5em;
  border-left: solid 6px var(--akb-pink);
  background: transparent;
  margin-bottom: 10px;
}

.toggle-buttons {
  display: flex;
}

.toggle-buttons.vertical {
  flex-direction: column;
}

.toggle-buttons label {
  display: flex;
  position: relative;
}

.toggle-buttons [type="radio"] {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.toggle-buttons .toggle-button {
  z-index: 1;
}

.toggle-buttons.vertical .toggle-button {
  width: 100%;
}

.toggle-buttons:not(.vertical) :not(:first-child) .toggle-button {
  border-left: 1px solid var(--disabled-color);
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.toggle-buttons:not(.vertical) :not(:last-child) .toggle-button {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.toggle-buttons.vertical :not(:first-child) .toggle-button {
  border-top: 1px solid var(--disabled-color);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.toggle-buttons.vertical :not(:last-child) .toggle-button {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.toggle-buttons :checked + .toggle-button {
  background-color: var(--akb-pink);
}

.toggle-buttons :disabled + .toggle-button {
  cursor: not-allowed;
  opacity: 0.6;
  color: #def;
}

.toggle-button {
  display: inline-block;
  padding: 0.5em 1em;
  border-radius: 4px;
  text-align: center;
  color: #eff;
  background-color: var(--disabled-color);
  cursor: pointer;
}

.toggle-button:hover {
  background-color: var(--akb-pink);
}

.toggle-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  color: #def;
}

.display-none {
  display: none;
}

.splide {
  max-width: 800px;
  background-color: rgb(232, 234, 234);
  margin: 0 auto; /* ページ中央に配置 */
  .splide__slide {
    display: flex;
    flex-direction: column;
    align-items: center; /* 横方向中央揃え */
    justify-content: center; /* 縦方向中央揃え */
    img {
      max-width: 180px;
      object-fit: cover;
    }
  }
}

.mainImage {
  display: flex;
  justify-content: center;
  & > img {
    max-width: 500px;
    width: 100%;
  }
}

.eventText {
  margin-bottom: 5px;
}

.nameText {
  word-break: keep-all;
}

.installStore {
  padding-left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 1rem;
  & .installStoreImg {
    height: 50px;
    img {
      object-fit: contain;
      height: 50px;
    }
  }
}

#shops {
  .shops__container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .shop__item {
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 100%;
    margin-bottom: 10px;
  }

  .shopinfo {
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    align-items: center;
    ul {
      list-style: "※";
      padding-left: 10px;
    }
  }

  .atention {
    padding-left: 12px;
  }
  .atention_imgWrap {
    display: flex;
    justify-content: center;
    & img {
      width: 100%;
      max-width: 450px;
    }
  }

  .shopinfo__imgWrap {
    position: relative;

    & .shopinfo__img {
      max-width: 400px;
      width: 100%;
    }

    &::after {
      position: absolute;
      right: 0;
      bottom: 0;
      display: block;
      content: "";
      background-repeat: no-repeat;
      background-position: bottom 0 right 0;
      background-size: contain;
    }

    &::after {
      width: 35%;
      height: 70%;
    }

    @media screen and (width <= 800px) {
      &::after {
        height: 80%;
      }
    }

    &.--two::after {
      width: 55%;
    }
    &.--three::after {
      width: 70%;
    }

    &.--five::after {
      width: 100%;
    }

    &.--chiba::after {
      background-image: url("../img/member_Erii_Chiba.png");
    }

    &.--hashimoto::after {
      background-image: url("../img/member_Eriko_Hashimoto.png");
    }

    &.--hanada::after {
      background-image: url("../img/member_Mei_Hanada.png");
    }

    &.--shitao::after {
      background-image: url("../img/member_Miu_Shitao.png");
    }

    &.--tokunaga::after {
      background-image: url("../img/member_Remi_Tokunaga.png");
    }

    &.--chibaTokunaga::after {
      background-image: url("../img/member_Chiba_Tokunaga.png");
    }

    &.--shitaoHanadaHashimoto::after {
      background-image: url("../img/member_Shitao_Hanada_Hashimoto.png");
    }

    &.--chibaShitaoHanada::after {
      background-image: url("../img/member_Chiba_Shitao_Hanada.png");
    }

    &.--hashimotoTokunaga::after {
      background-image: url("../img/member_Hashimoto_Tokunaga.png");
    }

    &.--fullmember::after {
      background-image: url("../img/member_Full.png");
    }
  }

  h3 {
    color: var(--textcolor);

    .titleIndex {
      color: var(--card-titlecolor);
      background-color: var(--akb-pink);
      border-radius: 50%;
    }
  }

  .detailsWrapper {
    position: relative;
  }

  .requirementText {
    color: var(--textcolor);
    font-size: 0.9rem;
    margin-bottom: 5px;
    padding: 5px;
  }
  .requirementSubText {
    color: var(--textcolor);
    font-size: 0.8rem;
    margin-top: 0;
    padding: 0 0 0 8px;
  }

  .summaryText {
    font-size: 1rem;
    word-break: break-all;
  }

  .contentText {
    font-size: 1.1rem;
    word-break: keep-all;
  }

  .shopfooter__wrap {
    max-width: 600px;
    margin: 0 auto;
  }

  #tour .shopfooter__wrap {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    & div {
      flex-grow: 1;
      flex-shrink: 1;
      flex-basis: 45%;
    }

    .accessBtn {
      display: block;
      color: var(--akb-pink);
      font-size: 0.9rem;
      padding: 0.2rem;
      color: var(--card-titlecolor);
      text-align: center;
      background-color: var(--akb-pink);
      border: 2px solid var(--akb-pink);
      border-radius: 0.3rem;
      box-shadow: var(--shadow);
      cursor: pointer;
      width: 100%;
    }
  }

  .shopLink {
    position: relative;
    display: block;
    color: var(--akb-pink);
    font-size: 0.9rem;
    padding: 0.2rem;
    color: var(--card-titlecolor);
    text-align: center;
    background-color: var(--akb-pink);
    border: 2px solid var(--akb-pink);
    border-radius: 0.3rem;
    box-shadow: var(--shadow);
    cursor: pointer;
    width: 45%;
    float: right;
  }

  .map__summary {
    font-size: 0.9rem;
    padding: 0.2rem;
    width: 45%;
    color: var(--card-titlecolor);
    text-align: center;
    background-color: var(--akb-pink);
    border: 2px solid var(--akb-pink);
    border-radius: 0.3rem;
    box-shadow: var(--shadow);
    cursor: pointer;
  }

  .shopmap {
    width: 100%;
  }

  .shopinfo__text {
    text-align: center;
    font-size: 90%;
  }

  .section-header {
    padding: 0.25em 0.5em;
    border-left: solid 6px var(--akb-pink);
    background: transparent;
    margin-bottom: 10px;
    border-bottom: solid 3px skyblue;
    position: relative;
    font-size: 110%;
    line-height: 1.1rem;
    height: 42px;
    word-break: keep-all;
  }
  .section-header:after {
    position: absolute;
    content: "";
    display: block;
    border-bottom: solid 3px #de9bffaf;
    bottom: -3px;
    right: 0px;
    width: 50%;
  }

  .salestime__wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .salestime {
    text-align: center;
    .salestime__header {
      margin-bottom: 5px;
      margin-top: 10px;
    }
  }
  #anderusen .salestime {
    flex-grow: 1;
    max-width: 600px;
    background-color: #fffef0;
    border-radius: 10px;
    border: solid 1px #999;
    padding: 10px;
  }
}

.address {
  display: flex;
  justify-content: center;
}

.noticeMessage {
  color: #b64943;
  border: solid 3px #b64943;
  padding: 0.5em;
  border-radius: 0.5em;
}

.oshirase {
  color: var(--akb-pink); /*文字色*/
  border: solid 3px var(--akb-pink); /*線色*/
  padding: 0.5em; /*文字周りの余白*/
  border-radius: 0.5em; /*角丸*/
  background-color: white;
}
