::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*
  # Document & Sections
---------------------------------------------- */
:where(html) {
  block-size: 100%;
  -webkit-text-size-adjust: none;
}

:where(body) {
  min-block-size: 100%;
  text-rendering: optimizeLegibility;
  line-height: var(--lh-l);
  font-family: var(--font-ja);
  font-feature-settings: "palt";
  color: var(--c-black2);
  -webkit-font-smoothing: antialiased;
}

/*
  # Grouping content
---------------------------------------------- */
:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
  margin: 0;
}

:where(hr) {
  border: none;
  -webkit-border-before: 1px solid;
  border-block-start: 1px solid;
  color: inherit;
  block-size: 0;
  overflow: visible;
}

:where(ul, ol) {
  list-style-type: "";
}

/*
  # Text-level semantics
---------------------------------------------- */
:where(a:not([class])) {
  -webkit-text-decoration-skip: ink;
  text-decoration-skip-ink: auto;
}

/*
  # Embedded content
---------------------------------------------- */
:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
}

:where(img, picture, svg) {
  width: 100%;
  height: auto;
}

:where(svg:not([fill])) {
  fill: currentColor;
}

/*
  # Tabular data
---------------------------------------------- */
:where(table) {
  border-collapse: collapse;
}

/*
  # Forms
---------------------------------------------- */
:where(input, button, textarea, select, optgroup) {
  font: inherit;
  color: inherit;
}

:where(textarea) {
  resize: vertical;
  resize: block;
}

:where(button, label, select, summary, [role=button], [role=option]) {
  cursor: pointer;
}

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

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

:where(:disabled) {
  cursor: not-allowed;
}

:where(label:has(> input:disabled), label:has(+ input:disabled)) {
  cursor: not-allowed;
}

:where(button) {
  border-style: solid;
}

/*
  # Interactive & Misc
---------------------------------------------- */
:where(template, [hidden]:not([hidden=until-found])) {
  display: none;
}

:where(dialog, [popover]) {
  border: none;
  background: none;
  color: inherit;
  inset: unset;
  max-width: unset;
  max-height: unset;
}

:where(dialog:not([open], [popover]), [popover]:not(:popover-open)) {
  display: none;
}

/*
  # Accessibility
---------------------------------------------- */
:where([disabled], [aria-disabled=true]) {
  cursor: not-allowed;
}

:where([aria-busy=true]) {
  cursor: progress;
}

:where([aria-controls]) {
  cursor: pointer;
}

:where([aria-hidden=false][hidden]) {
  display: initial;
}

:where([aria-hidden=false][hidden]):not(:focus) {
  position: absolute;
  clip: rect(0, 0, 0, 0);
}

:where(:focus:not(:focus-visible), ::before:focus:not(:focus-visible), ::after:focus:not(:focus-visible)) {
  outline: none;
}

/*
  # aタグ
---------------------------------------------- */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * Prettier ignore
 */
@media (prefers-reduced-motion: reduce) {
  ::-webkit-backdrop {
    -webkit-transition: none !important;
    transition: none !important;
    -webkit-animation: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }

  *,
  *:before,
  *:after,
  ::backdrop {
    transition: none !important;
    -webkit-animation: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

body {
  overflow-x: hidden;
  font-family: sans-serif;
  background: url(../img/bg.jpg);
  background-repeat: round;
}

header {
  padding-block: clamp(12px, 2vw, 2rem) clamp(12px, 2.5vw, 1rem);
}


.l-container {
  max-width: 1080px;
  width: 88%;
  margin-inline: auto;
}

img {
  max-inline-size: 100%;
  height: auto;
}

.title {
  inline-size: 38rem;
  margin-inline: auto;
  max-width: clamp(240px, 40vw, 48vw);
}



.imageSwiper .swiper-slide {
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.swiper {
  max-width: 520px;
}

.imageSwiper {
  overflow-x: hidden;
  width: 80%;
  max-width: 400px;
  margin: 2rem auto;
}


/* コメント用スライド全体 */
.commentSwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem;
  box-sizing: border-box;
  width: 70%;
  height: auto;
  background: #ddd3cd;
  padding: 1rem;
  border-radius: 1rem;
  font-size: 14px;
  line-height: 1.5;
}

.commentSwiper .swiper-slide {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.commentSwiper .swiper-slide.swiper-slide-active {
  opacity: 1;
}



/* コメントの名前表示 */
.comment small {
  display: block;
  margin-top: .4rem;
  font-weight: 400;
  font-size: 12px;
  text-align: right;
  font-family: serif;
  margin-inline: auto 0;
}


.swiper-pagination {
  padding-top: 5rem;
  text-align: center;
}

.swiper-pagination-bullet-active {
  background-color: #ab8d7b;
}

.swiper-3d .swiper-slide-shadow {
  background: none !important;
}


.commentSwiper h2 {
  font-family: serif;
  font-style: italic;
  margin-bottom: .8rem;
}


.copyright {
  padding-block: 2rem;
  display: block;
  text-align: center;
}

html,
body {
  overflow-x: hidden;
}

.c-button {
  margin-top: 2rem;

  a {
    color: #ab8d7b;
    font-weight: bold;
    text-align: center;
    display: block;
    max-width: 14rem;
    margin-inline: auto;
    padding: 1rem;
    border: solid 2px #ab8d7b;
    letter-spacing: .3em;
    background-color: #fff;
    transition: .4s;
  }

  a:hover {
    background-color: #ab8d7b;
    color: #fff;
  }
}