:root {
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --font-default: "Noto Sans JP", sans-serif;
  --font-sub: "Zen Old Mincho", serif;
  --color-black: #000;
  --color-white: #fff;
  --header-height: 90px;
  --shadow-default: 0 3px 6px rgba(0, 0, 0, 0.16);
  --duration-normal: 0.3s;
  --duration-slow: 0.5s;
  --easing: ease-out;
  --transition-normal: var(--duration-normal) var(--easing);
  --transition-slow: var(--duration-slow) var(--easing);
  --easing-cubic1: cubic-bezier(0, 0, 0, 1);
}

@media screen and (max-width: 756px) {
  :root {
    --header-height: 70px;
  }
}

* {
  padding: 0;
  margin: 0;
  line-height: calc(0.25rem + 1em + 0.25rem);
}

*,
::before,
::after {
  box-sizing: border-box;
}

*:where(:not(fieldset, progress, meter)) {
  background-repeat: no-repeat;
  background-origin: border-box;
  border-style: solid;
  border-width: 0;
}

html {
  block-size: 100%;
  -webkit-text-size-adjust: none;
}

@media (prefers-reduced-motion: no-preference) {
  html:focus-within {
    scroll-behavior: smooth;
  }
}
body {
  text-rendering: optimizespeed;
  min-block-size: 100%;
}

:where(img, svg, video, canvas, audio, iframe, embed, object, hgroup) {
  display: block;
}

:where(img, svg, video) {
  max-inline-size: 100%;
  block-size: auto;
}

/* Remove stroke and set fill colour to the inherited font colour */
:where(svg) {
  fill: currentcolor;
  stroke: none;
}

/* SVG's without a fill attribute */
:where(svg):where(:not([fill])) {
  fill: none;
  /* Remove fill and set stroke colour to the inherited font colour */
  stroke: currentcolor;
  /* Rounded stroke */
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Set a size for SVG's without a width attribute */
:where(svg):where(:not([width])) {
  inline-size: 5rem;
}

/* Remove built-in form typography styles */
:where(input, button, textarea, select),
:where(input[type=file])::-webkit-file-upload-button {
  font: inherit;
  font-size: inherit;
  color: inherit;
  letter-spacing: inherit;
  word-spacing: inherit;
}

:where(button, [type=button], [type=reset], [type=submit]) {
  touch-action: manipulation;
}

/* Change textarea resize to vertical only and block only if the browser supports that */
:where(textarea) {
  resize: vertical;
}

@supports (resize: block) {
  :where(textarea) {
    resize: block;
  }
}
/* Avoid text overflows */
:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}

/* Fix h1 font size inside article, aside, nav, and section */
h1 {
  font-size: 2em;
}

/* Position list marker inside */
:where(ul, ol) {
  list-style-position: inside;
  list-style: none;
}

/* More readable underline style for anchor tags without a class. This could be set on anchor tags globally, but it can cause conflicts. */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make it clear that interactive elements are interactive */
:where(a[href], area, button, input, label[for], select, summary, textarea, [tabindex]:not([tabindex*="-"])) {
  touch-action: manipulation;
  cursor: pointer;
}

:where(input[type=file]) {
  cursor: auto;
}

:where(input[type=file])::-webkit-file-upload-button,
:where(input[type=file])::file-selector-button {
  cursor: pointer;
}

/* Animate focus outline */
@media (prefers-reduced-motion: no-preference) {
  :focus-visible {
    transition: outline-offset 145ms cubic-bezier(0.25, 0, 0.4, 1);
  }
  :where(:not(:active)):focus-visible {
    transition-duration: 0.25s;
  }
}
:where(:not(:active)):focus-visible {
  outline-offset: 5px;
}

/* Make sure users can't select button text */
:where(button, button[type], input[type=button], input[type=submit], input[type=reset]),
:where(input[type=file])::-webkit-file-upload-button,
:where(input[type=file])::file-selector-button {
  text-align: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* Disabled cursor for disabled buttons */
:where(button, button[type], input[type=button], input[type=submit], input[type=reset])[disabled] {
  cursor: not-allowed;
}

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

/* button */
button {
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  appearance: none;
}

html {
  scrollbar-gutter: stable;
  overflow-wrap: anywhere;
  font-family: var(--font-default);
  font-weight: 500;
  font-size: 18px;
  scroll-padding-top: 100px;
}
@media screen and (max-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  color: var(--color-txtbase);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: antialiased;
  position: relative;
  background-color: var(--color-white);
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  body {
    line-height: 1.6;
  }
}

/* タイトル行間 */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.5;
}
@media screen and (max-width: 768px) {
  h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
  }
}

/* 本文行間 */
.text {
  line-height: 1.6;
  font-size: 18px;
  font-weight: 500;
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  .text {
    line-height: 1.8;
    font-size: 16px;
  }
}

a {
  transition: color var(--transition-normal);
  text-decoration: none;
  color: var(--color-black);
}
a:hover {
  text-decoration: none;
  color: #1A77BD;
}

/* ===== HEADER ===== */
.header {
  z-index: 999;
  position: fixed;
  align-items: center;
  top: 0;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  background-color: var(--color-white);
  transition: box-shadow var(--transition-normal);
  min-height: var(--header-height);
  width: 100%;
  padding: 0 10%;
}
@media screen and (max-width: 768px) {
  .header {
    gap: 15px;
    padding: 0 10px;
  }
}

.header__logo {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: 30px;
  color: #E9546C;
}
@media screen and (max-width: 768px) {
  .header__logo {
    font-size: 26px;
  }
}

.header__sns {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--color-black);
}

.header__sns-label {
  display: flex;
  width: max-content;
}

.header__sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

/* ===== main-visual ===== */
.main-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  margin-top: 90px;
}
@media screen and (max-width: 768px) {
  .main-visual {
    margin-top: 70px;
  }
}

.main-visual-img {
  max-width: 100%;
}

/* ===== ANNOUNCE ===== */
.announce {
  text-align: center;
  margin: 100px auto 50px;
}
@media screen and (max-width: 768px) {
  .announce {
    margin: 50px auto 30px;
  }
}

.announce__text {
  font-weight: 500;
  font-size: clamp(20px, 4.1vw, 40px);
  color: #1A77BD;
}

.announce__button {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  padding: 0 20px;
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  .announce__button {
    flex-direction: column;
    gap: 15px;
    padding: 0 10px;
  }
}

.announce__button-item {
  display: flex;
  flex-direction: column;
  max-width: 320px;
  width: 100%;

  p {
    display: flex;
    font-size: 18px;
    margin: 8px auto 0;
  }
}

.announce__button-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 22px;
  transition: color 0.3s ease-out, background-color 0.3s ease-out;
  color: var(--color-white);
  background-color: #1A77BD;
  border-radius: 6px;
  border: 1px solid #1A77BD;
  max-width: 320px;
  width: 100%;
  height: 100%;
  padding: 10px 20px;
}
@media screen and (max-width: 768px) {
  .announce__button-link {
    font-size: 16px;
    padding: 10px 0;
  }
}

.announce__button-link:hover {
  background-color: var(--color-white);
  color: #1A77BD;

  .announce__button-pdf::after {
    background-color: #1A77BD;
  }
}

.announce__button-pdf {
  position: relative;
  display: flex;
  height: 25px;
  width: 25px;
}

.announce__button-pdf::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  mask-image: url(../images/pdf-icon.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;
  transition: background-color 0.3s ease-out;
  background-color: var(--color-white);
  width: 25px;
  height: 25px;
}

/* ===== TAB NAV ===== */
.tab-nav {
  z-index: 90;
  position: sticky;
  top: 90px;
  max-width: 1000px;
  margin: 0 auto;
}
@media screen and (max-width: 756px) {
  .tab-nav {
    position: initial;
    padding: 0 20px;
  }
}

.tab-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab-nav__list::-webkit-scrollbar {
  display: none;
}

.tab-nav__item { 
  flex: 1; 
  border: 1px solid #E9546C;
  background-color: #E9546C;
  transition: background-color 0.3s ease-out;
  min-height: 100%;
  min-width: 320px;
  width: 100%;
}

.tab-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  font-size: 24px;
  color: var(--color-white);
  transition: color 0.3s ease-out;
  height: 100%;
  padding: 20px;
}
@media screen and (max-width: 900px) {
  .tab-nav__link {
    font-size: 20px;
  }
}

.tab-nav__link:hover {
  color: #E9546C;
}

.tab-nav__link-arrow {
  position: relative;
  display: flex;
  height: 10px;
  width: 16px;
}

.tab-nav__link-arrow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  mask-image: url(../images/arrow-01.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;
  transition: background-color 0.3s ease-out;
  background-color: var(--color-white);
  height: 10px;
  width: 16px;
}

.tab-nav__item:hover,
.tab-nav__link.is-active {
  background: var(--color-white);
  color: #E9546C !important;

  .tab-nav__link-arrow::before {
    background-color: #E9546C;
  }
}

/* ===== SECTION COMMON ===== */
.section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  width: 100%;
  margin: 100px auto 0;
  padding: 0 20px;
}
@media screen and (max-width: 768px) {
  .section {
    margin: 80px auto 0;
  }
}

.section__title-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 60px;
}

.section__title-wrap::before {
  content: "";
  position: absolute;
  top: -60px;
  right: 50%;
  transform: translateX(-50%);
  background-color: #0099E7;
  height: 50px;
  width: 1px;
}
@media screen and (max-width: 768px) {
  .section__title-wrap::before {
    height: 40px;
  }
}

.section__title {
  font-weight: 500;
  font-size: 36px;
  color: var(--color-black);
}
@media screen and (max-width: 768px) {
  .section__title {
    font-size: 30px;
  }
}

/* ===== ACCESS MAP IMAGE ===== */
.map-img-wrap {
  width: 100%;
  margin-top: 30px;
}

.map-img-wrap img {
  width: 100%;
  height: 100%;
}

/* ===== ACCESS CARDS ===== */
.access-title {
  display: flex;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  color: #3274CE;
}

.access-box {
  border-radius: 5px;
  border: 1px solid #62AEE0;
  padding: 30px 20px;
}

.access-box--big {
  min-height: 530px;
}
@media screen and (max-width: 768px) {
  .access-box--big {
    min-height: auto;
  }
}

.two-column {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
  margin: 50px auto 0;
}
@media screen and (max-width: 768px) {
  .two-column {
    flex-direction: column;
    gap: 20px;
    margin: 30px auto 0;
  }
}

/* 左カラム */
.two-column__left {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .two-column__left {
    width: 100% !important;
  }
}

/* 右カラム */
.two-column__right {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .two-column__right {
    width: 100% !important;
  }
}

.table__body {
  max-width: 800px;
  width: 100%;
  margin-top: 50px;
}

.table__body tr {
  border-bottom: 1px solid #DDDDDD;
}

.table__body:last-child tr {
  border-bottom: none;
}

/* タイトル */
.table__title {
  text-align: start;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 10px;
}
@media screen and (max-width: 768px) {
  .table__title {
    font-size: 15px;
  }
}

.table__title:nth-child(even) {
  padding: 15px 0;
}

/* テキスト */
.table__text {
  text-align: start;
  font-weight: 500;
  font-size: 16px;
  padding: 15px 20px;
}
@media screen and (max-width: 768px) {
  .table__text {
    font-size: 15px;
    padding: 15px 5px;
  }
}

.table__text:nth-child(odd) {
  padding: 15px 0;
}

.details-link {
  transition: color 0.3s ease-out;
  border-bottom: 1px solid #333;
}
.details-link:hover {
  color: #0099E7;
}

/* テーブル背景色 */
.table--highlight {
  background-color: #E4F1FA;
}

/* テーブル幅調整 */
.w-30 {
  width: 30%;
}

.w-50 {
  width: 50%;
}

.w-70 {
  width: 70%;
}

/* ===== STAY ===== */
.stay-text {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #E9546C;
  margin-top: 20px;
  margin-bottom: 30px;
}
@media (max-width: 756px) {
  .stay-text {
    font-size: 20px;
  }
}

.stay-img-wrap {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  max-width: 600px;
  margin-inline: auto;
}

.stay-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* ===== SHUTTLE ===== */
.shuttle-info {
  font-size: 30px;
  margin-top: 20px;
}
@media (max-width: 756px) {
  .shuttle-info {
    font-size: 20px;
  }
}

/* 駐車場マップ */
.parking-section { margin-top: 28px; }
.parking-map {
  background: #FFFBEB;
  border-radius: 10px;
  padding: 20px;
  margin-top: 150px;
}

.parking-map__title {
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 14px;
  text-align: center;
}

.parking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  font-size: 12px;
  text-align: center;
}

.pcell {
  border-radius: 5px;
  padding: 9px 5px;
  font-weight: 700;
  line-height: 1.4;
}

.pcell--stop {
  background: #FEF3C7;
  color: #92400E;
}
.pcell--p {
  background: #DCFCE7;
  border-color: #86EFAC;
  color: #166534;
}


/* YouTube動画 */
.section__subtitle-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 50px;
}

.section__subtitle {
  font-weight: 500;
  font-size: 32px;
  color: var(--color-black);
}
.section__subtitle::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -50px;
  width: 40px;
  height: 2px;
  background: #333;
  margin: auto;
}
.section__subtitle::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -50px;
  width: 40px;
  height: 2px;
  background: #333;
  margin: auto;
}
@media screen and (max-width: 768px) {
  .section__subtitle {
    font-size: 26px;
  }
}

.youtube-frame {
  display: flex;
  max-width: 650px;
  width: 100%;
  margin: 30px 20px 0 20px;
}
@media (max-width: 568px) {
  .youtube-frame {
    max-width: 360px;
    height: 210px;
  }
}

/* ===== NOTES ===== */
.notes-list {
  font-size: 20px;
  margin-top: 20px;
  width: 100%;
}
@media (max-width: 756px) {
  .notes-list {
    font-size: 16px;
  }
}

.notes-list__item { 
  padding-left: 1.5em; text-indent: -1.5em;
}
.notes-list__item::before {
  content: "※"; margin-right: 4px;
}
.notes-list__item + li {
  margin-top: 10px;
}

/* ===== 外部ボタン ===== */
.external-link-button__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  width: 100%;
  margin-top: 30px;
}

.external-link-button {
  flex: 1;
  min-width: 300px;
  max-width: 610px;
  width: 100%;
}
@media (max-width: 756px) {
  .external-link-button {
    max-width: 360px;
  }
}

.external-link-sbutton {
  flex: 1;
  min-width: 300px;
  max-width: 470px;
  width: 100%;
}
@media (max-width: 756px) {
  .external-link-sbutton {
    max-width: 360px;
  }
}

.external-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px solid #E9546C;
  background-color: #E9546C;
  transition: background-color 0.3s ease-out, color 0.3s ease-out;
  border-radius: 10px;
  font-weight: 700;
  font-size: 30px;
  color: var(--color-white);
  transition: color 0.3s ease-out;
  padding: 20px;
}
.external-link:hover {
  color: #E9546C;
  background-color: var(--color-white);

  .external-link-icon::after {
    background-color: #E9546C;
  }
}
@media (max-width: 756px) {
  .external-link {
    font-size: 20px;
  }
}

.external-link-icon {
  position: relative;
  display: flex;
  height: 30px;
  width: 30px;
}

.external-link-icon::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  mask-image: url(../images/external-link-icon.svg);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: cover;
  transition: background-color 0.3s ease-out;
  background-color: var(--color-white);
  width: 30px;
  height: 30px;
}
@media (max-width: 756px) {
  .external-link-icon {
    height: 20px;
    width: 20px;
  }

  .external-link-icon::after {
    width: 20px;
    height: 20px;
  }
}

.external-link-button-text {
  font-weight: 700;
  font-size: 24px;
  color: #E9546C;
  width: fit-content;
  margin: 10px auto 0;
}
@media (max-width: 756px) {
  .external-link-button-text {
    font-size: 18px;
  }
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  font-size: 13px;
  padding: 20px 0;
  margin-top: 100px;
}

.footer__organizers {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  justify-content: center;
  font-size: 16px;
}

.footer__org-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__org-label {
  position: relative;
  font-weight: 700;
  white-space: nowrap;
}
.footer__org-label::before {
  content: "";
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -10px;
  background-color: #707070;
  height: 40px;
  width: 1px;
}
@media (max-width: 756px) {
  .footer__org-label::before {
    height: 30px;
  }
}

.footer__bottom-menu {
  margin-top: 50px;
}

.footer__contact {
  font-size: 16px;
  margin-bottom: 8px;
}

.footer__tel {
  font-weight: 500;
  font-size: 26px;
  margin: 6px 0;
  letter-spacing: .05em;
}

.footer__copy {
  font-size: 12px;
  margin-top: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .access-card--wide .access-card__inner {
    grid-template-columns: 1fr;
  }
  .access-card--wide .access-card__img { height: 160px; }
  .parking-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ------ 位置調整 ------ */
/* 中央 */
.position-center {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* 右寄せ */
.position-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

/* 左寄せ */
.position-left {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

/* ------ 注釈テキスト ------ */
.notes-redtext {
  font-weight: 700;
  font-size: 16px;
  color: red;
}

.notes-text {
  font-weight: 500;
  font-size: 14px;
}

/* ------ リンクを無効にする ------ */
.disabled-link {
  pointer-events: none;
  color: var(--color-black);
}
.disabled-link:hover {
  color: var(--color-black);
}

/* ------ 電話リンク ------ */
.tel-link {
  position: relative;
  pointer-events: auto;
  transition: color var(--duration-normal);
  color: var(--color-black);
}
@media screen and (max-width: 576px) {
  .tel-link {
    pointer-events: none;
    text-decoration: none;
  }
  .tel-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    background-color: var(--color-white);
    width: 100%;
    height: 2px;
  }
}

/* ------ 非表示用 ------ */
.hidden {
  display: none;
}

/* pc 非表示用（md = 768px用） */
@media screen and (min-width: 768px) {
  .hidden-pc {
    display: none !important;
  }
}
/* sp 非表示用（md = 768px用） */
@media screen and (max-width: 768px) {
  .hidden-sp {
    display: none !important;
  }
}
/* pc 非表示用（lg = 1024px用） */
@media screen and (min-width: 1024px) {
  .hidden-lg-pc {
    display: none !important;
  }
}
/* sp 非表示用（lg = 1024px用） */
@media screen and (max-width: 1024px) {
  .hidden-lg-sp {
    display: none !important;
  }
}