/* ベーススタイル  ------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
  width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

fieldset,
legend {
  padding: 0;
  margin: 0;
  border: 0;
}

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 16px;
  background-color: #f5f5f5;

  @media screen and (max-width: 428px) {
    font-size: 15px;
  }

  @media screen and (max-width: 375px) {
    font-size: 14px;
  }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;

  &:hover {
    background: #a8a8a8;
  }
}

[id^="a_"] {
  @media screen and (max-width: 1420px) {
    scroll-margin-top: 54px;
  }
}

main {
  flex: 1;
  padding: 0;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  margin-top: 64px;
  background-color: white;
  position: relative;

  @media screen and (max-width: 428px) {
    margin-top: 48px;
    padding: 0;
    /* min-height: calc(100vh - 48px - 56px); */
    /* padding-bottom: 56px; */
  }

  @media screen and (max-width: 375px) {
    /* min-height: calc(100vh - 48px - 52px);
    padding-bottom: 52px; */
  }
}
/* ベーススタイル ここまで ------------------------- */

/* メインコンテンツ ------------------------- */
.main-image {
  width: 100%;
}

.main-title {
  font-size: 2rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 2rem;
  text-align: left;
  padding-block: 2rem;
  border-bottom: 1px solid #e0e0e0;
  margin-left: 2rem;
  margin-right: 2rem;

  @media screen and (max-width: 428px) {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    padding-block: 1.25rem;
    line-height: 1.4;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  @media screen and (max-width: 375px) {
    font-size: 1.3rem;
  }
}

.section__container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  /* padding-bottom: 3rem; */
  margin: 1rem auto 2rem;
  border-bottom: 1px solid #e0e0e0;
  margin-left: 2rem;
  margin-right: 2rem;
  padding-bottom: 2rem;

  &:last-child {
    margin-bottom: 3rem;
    padding-bottom: 0;
    border-bottom: none;

    @media screen and (max-width: 428px) {
      margin-bottom: 1.75rem;
      padding-bottom: 0;
    }
  }

  @media screen and (max-width: 428px) {
    margin-bottom: 1.75rem;
    /* padding-bottom: 1.75rem; */
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

.section__container-sub-text{
  text-align: center;
  margin-top: 1rem;
  font-size:clamp(13px,1.5vw,16px);
}

.section__container--text{
 margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #e0e0e0;
  margin-left: 2rem;
  margin-right: 2rem;

  &:last-child {
    margin-bottom: 3rem;
    padding-bottom: 0;
    border-bottom: none;

    @media screen and (max-width: 428px) {
      margin-bottom: 1.75rem;
      padding-bottom: 0;
    }
  }

  @media screen and (max-width: 428px) {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

.section__container-btn--up{
  display: flex;            
  align-items: center;       
  justify-content: center;   
  width: clamp(200px, 80vw, 390px);
  color: #EC4B03;
  font-weight: 500;
  font-size: clamp(14px, 5vw, 24px);
  background-color: #fff;
  border: 2px solid #EC4B03;
  border-radius: 30px;
  padding-block: 0.5rem;
  margin: 1.5rem auto 0;     
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.section__container-btn--up:hover {
  color: #fff;
  background-color: #EC4B03;
}

.section__container-btn--up:hover::after {
  background-color: #fff;  
}

.section__container-btn {
  display: flex;            
  align-items: center;       
  justify-content: center;   
  width: clamp(200px, 63vw, 500px);
  color: #171C61;
  font-weight: 600;
  font-size: clamp(14px, 5vw, 24px);
  background-color: #FFFF00;
  border: 3px solid #171C61;
  border-radius: 30px;
  padding-block: 0.5rem;
  margin: 1.5rem auto 0;     
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.section__container-btn:hover {
  color: #fff;
  background-color: #171C61;
}

.section__container-btn:hover::after {
  background-color: #fff;  
}

.section__container-btn::after {
  content: "";
  display: inline-block;
  width: 1.4em;
  height: 1.4em;
  background-color: #171C61;
  -webkit-mask-image: url("../images/icon-arrow-right.svg");
  mask-image: url("../images/icon-arrow-right.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
  transform: translateY(1px);
}

.section__title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;

  @media screen and (max-width: 428px) {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  @media screen and (max-width: 375px) {
    font-size: 1.15rem;
  }
}

.section__text {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;

  @media screen and (max-width: 428px) {
    font-size: 0.9rem;
    line-height: 1.7;
  }
}

.section__text--period {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
  white-space: nowrap;
  letter-spacing: 0.02em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;

  @media screen and (max-width: 428px) {
    font-size: 0.85rem;
    white-space: normal;
    letter-spacing: 0.02em;
    gap: 0.25rem;
  }

  @media screen and (max-width: 375px) {
    font-size: 0.8rem;
  }
}

.section__text--notes {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #666;

  /* p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;

    &:last-child {
      margin-bottom: 0;
    }

    @media screen and (max-width: 428px) {
      gap: 0.25rem;
      margin-bottom: 0.4rem;
    }
  }

  @media screen and (max-width: 428px) {
    font-size: 0.85rem;
  } */
}

.period-item {
  margin-bottom: 0.5rem;
  width: 100%;

  &:last-child {
    margin-bottom: 0;
  }

  @media screen and (max-width: 428px) {
    margin-bottom: 0.5rem;
  }
}

.period-number {
  color: #378a40;
  font-weight: 700;
  margin-right: 0.5rem;

  @media screen and (max-width: 428px) {
    margin-right: 0.4rem;
    font-size: 0.85rem;
  }

  @media screen and (max-width: 375px) {
    font-size: 0.8rem;
  }
}

.period-type {
  color: #666;
  font-size: 0.9rem;
  margin-right: 0.5rem;
  padding: 0.1rem 0.5rem;
  background-color: #f5f5f5;
  border-radius: 3px;
  font-weight: 500;
  min-width: 80px;
  text-align: center;

  @media screen and (max-width: 428px) {
    font-size: 0.8rem;
    margin-right: 0.4rem;
    padding: 0.1rem 0.4rem;
    min-width: 65px;
  }

  @media screen and (max-width: 375px) {
    font-size: 0.75rem;
    min-width: 60px;
    padding: 0.1rem 0.3rem;
  }
}

.period-type--store {
  color: #378a40;
  background-color: #e8f5e9;
}

.period-type--online {
  color: #1976d2;
  background-color: #e3f2fd;
}

.period-date {
  flex: 1;

  @media screen and (max-width: 428px) {
    font-size: 0.85rem;
  }

  @media screen and (max-width: 375px) {
    font-size: 0.8rem;
  }
}

.note-symbol {
  flex-shrink: 0;

  @media screen and (max-width: 428px) {
    font-size: 0.85rem;
  }
}

.note-text {
  flex: 1;
}

.section__text--ind{
  display: block;
  /* text-indent: 1.2em; */
 padding-left: 1em;
 text-indent: -1em;
}

.section__text--ind::before{
  content: "・";
}

.section__banner-container{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap:10px;

  @media(max-width:768px){
    grid-template-columns: repeat(2,1fr);
  }
}

.store-info {
  display: flex;
  align-items: center;
  justify-content: space-between;

  @media screen and (max-width: 428px) {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}

.store-info__text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;

  @media screen and (max-width: 428px) {
    gap: 0.2rem;
  }
}

.store-name {
  font-weight: 700;
  color: #333;
}

.store-hours {
  font-size: 0.9rem;
  color: #666;

  @media screen and (max-width: 428px) {
    font-size: 0.85rem;
  }
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.8rem;
  background-color: #fff;
  border: 1px solid #37853e;
  border-radius: 4px;
  color: #37853e;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  font-weight: 600;
  white-space: nowrap;

  &:hover {
    background-color: #378a40;
    color: #fff;

    .pin {
      fill: #fff;
    }
  }

  @media screen and (max-width: 428px) {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }
}

.map-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
}
/* メインコンテンツ ここまで------------------------- */

/* snsリンク -------------------------*/
/* SNS Styles */
/* SNSアイコンを追加、もしくはサイズ変更時にここを調整 */
.sns {
  --sns-icon-width: 48px;
  --sns-left-space: 8px;
  --sns-button-group-height: 96px;
  --sns-button-group-bottom-space: 16px;

  position: absolute;
  right: calc(-1 * (var(--sns-icon-width) + var(--sns-left-space)));
  top: 0;
  height: 100%;

  &.hide {
    transform: translateY(100%);
  }
}

.sns__button-group {
  position: sticky;
  top: calc(100svh - var(--sns-button-group-height) - var(--sns-button-group-bottom-space));
}

.sns__icons {
  display: flex;
  flex-direction: column;
}

.sns__image-wrapper {
  width: 48px;
  cursor: pointer;
}

.sns__image-logo {
  display: none;
}

/* SNSボタン表示切替 */
/* コンテンツ幅を変えたらmax-widthを調整 */
@media screen and (max-width: 1250px) {
  .sns {
    position: fixed;
    width: 100%;
    right: 0;
    bottom: 0;
    background-color: #fff;
    padding: 1rem 1.5rem 1.5rem;
    transition: transform 0.2s ease;
    height: auto;
    top: unset;
  }

  .sns .sns__button-group {
    display: flex;
    justify-content: space-between;
  }

  .sns .sns__image-logo {
    display: block;
    width: 128px;
  }

  .sns .sns__icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }

  .sns .sns__image-wrapper {
    width: 36px;
  }
}
/* SNSリンク ここまで------------------------- */

/* ///// responsive ///////////////////////////////// */
.sp {
  display: none;
}

.pc {
  display: block;
}

.br_pc {
  display: block;
}

@media (max-width: 768px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }

  .br {
    display: block;
  }

  .br_pc {
    display: none;
  }
}