@charset "UTF-8";

/* Fonts
--------------------------------*/

/* Normalize
--------------------------------*/

:root {
  --site-padding: 3.125vw;
  --section-margin: 3rem;
  --font-size: 16px;
}

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

*:first-child {
  margin-top: 0;
}

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

html,
body,
div,
header,
footer,
main,
article,
section,
aside,
nav,
figure,
figcaption {
  display: block;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.75;
  box-sizing: border-box;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: var(--font-size);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  line-break: strict;
}

body {
  overflow-x: clip;
  background: #fff;
  color: #111;
}

a {
  color: inherit;
  transition: 0.3s;
  text-decoration: none;
}

a:before,
a:after {
  text-align: inherit;
  text-decoration: inherit;
}

address {
  font-style: inherit;
}

p {
  margin: 0;
}

img,
iframe {
  max-width: 100%;
  min-height: 1px;
  vertical-align: middle;
  border: 0;
}

img {
  height: auto;
}

dl {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin: 0;
}

dt {
  grid-column: 1;
  margin: 0;
  font-weight: 700;
}

dd {
  grid-column: 2;
  margin: 0;
}

ul {
  margin: 1em 0;
  padding-left: 1.5em;
}

ol {
  margin: 1em 0;
  padding-left: 2em;
}

/* Extends
--------------------------------*/

.site-content {
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: var(--site-padding);
}

.btn {
  display: block;
  width: fit-content;
  max-width: 100%;
  line-height: 1.5;
  box-shadow: none;
  margin: 0 auto;
  padding: 1em;
  border: 0;
  border-radius: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
}

/* Heading
--------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  grid-area: heading;
  line-height: 1.25;
  margin: 0 0 1em;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  text-align: center;
}

h4 {
  margin-bottom: 0.5rem;
  font-size: 1.25em;
}

/* Site Width
--------------------------------*/

.site {
  margin: auto;
}

/* Common
--------------------------------*/

.image {
  grid-area: image;
  text-align: center;
}

.text {
  grid-area: text;
  text-align: justify;
}

.tagline {
  text-align: center;
}

.lede {
  width: fit-content;
  margin: 2rem auto;
}

.link {
  margin-top: 1.5rem;
  text-align: center;
}

.content {
  grid-area: content;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  word-wrap: normal !important;
  border: 0;
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.screen-reader-text:focus {
  clip: auto !important;
  background-color: #ddd;
  -webkit-clip-path: none;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.screen-reader-text:before,
.screen-reader-text:after {
  content: none;
}

.break:before {
  white-space: pre;
  content: "\a";
}

/* Header
--------------------------------*/

.site-header {
  position: relative;
  background: url(images/bg_header.svgz) no-repeat 50% 0/100% auto;
  text-align: center;
}

.site-header-content {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  margin: 0 auto;
}

img[src="images/head.svgz"] {
  opacity: 0;
  transform: translateY(10%);
  transition: 0.8s;
  transition-property: opacity transform;
}

img[src="images/head.svgz"].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.no-js img[src="images/head.svgz"] {
  opacity: 1;
  transition: none;
  transform: translateY(0);
}

/* Footer
--------------------------------*/

.site-footer {
  position: relative;
  margin-top: 3rem;
  text-align: center;
}

.site-footer-content {
  padding: 2rem 3.125vw;
  background: no-repeat 50% 100%/100% auto #e60042;
}

.dealership-caption {
  max-width: 320px;
  margin: 0 auto 1rem;
}

.dealership {
  display: flex;
  list-style: none;
  flex-direction: column;
  gap: 0.5em;
  margin: 0;
  padding: 1rem;
  border-radius: 0.5rem;
  background: #fff;
}

.dealership a:hover,
.dealership a:focus {
  opacity: 0.6;
}

.dealership img {
  width: calc(var(--width) * 320px / 390);
}

.organizer {
  padding: 1rem 3.125vw;
  font-weight: 500;
  font-size: 0.875em;
  line-height: 1.5;
}

.organizer .content {
  font-weight: 700;
}

.organizer .content span {
  font-size: 1.3em;
}

/* Site Content
--------------------------------*/

main {
  grid-area: main;
}

/* Home
--------------------------------*/

.kumamon {
  width: 32vw;
  margin: 0 auto 2rem;
}

.present-section {
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
  padding-left: calc(50vw - 50%);
  padding-block: 1.25rem 3rem;
  background: #feebbe;
}

.present-section h2 {
  margin: 0;
}

.present-section .note {
  margin: 0;
  font-weight: 700;
  font-size: 0.625em;
  text-align: right;
}

.present-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 90%;
  margin: 1rem auto 0;
}

.present-item {
  opacity: 0;
  transform: translateY(10%);
  transition: 0.5s;
  transition-property: opacity transform;
}

.present-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.no-js .present-item {
  opacity: 1;
  transition: none;
  transform: translateY(0);
}

.present-item img {
  width: 100%;
  max-width: none;
}

.present-item:first-child img {
  width: 106.52174%;
}

.present-item:nth-child(4) img {
  margin-top: -4.3488%;
}

.contract-section {
  margin-top: 4rem;
  counter-reset: section;
}

.contract-item {
  counter-increment: section;
  margin-top: 1.5rem;
}

.contract-item > h4::before {
  content: counter(section) ".";
}

.contract-item :is(p, dl) + :is(p, dl) {
  margin-top: 0.5em;
}

.movie-section {
  padding-top: 3rem;
}

.movie-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.movie-item {
  background: #ccc;
  aspect-ratio: 16/9;
}

.movie-item iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Extra
--------------------------------*/

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999999;
  list-style: none;
  margin: 0;
  padding: 0;
}

.skip-link a {
  display: block;
  height: 0;
  line-height: 1.5;
  overflow: hidden;
  border-radius: 0 0 0.5em 0;
  background: #fff;
  transition: none;
  color: rgb(0, 81, 255);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.skip-link a:focus {
  height: auto;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  padding: 16px 24px;
}

/* Media Queries
--------------------------------*/

@media print, screen and (min-width: 768px) {
  :root {
    --site-padding: 4.6875vw;
    --section-margin: 5rem;
    --font-size: 0.8333333333vw;
  }

  dl {
    gap: 0.25em;
  }

  dl > div {
    display: grid;
    grid-template-columns: auto 1fr;
  }

  dt:after {
    content: "：";
  }

  dt span {
    display: inline-block;
    margin-right: -0.5em;
    letter-spacing: 0.5em;
  }

  h3 {
    margin-bottom: 2.5rem;
    font-size: 1.875rem;
  }

  h4 {
    margin-bottom: 1rem;
  }

  .site-footer {
    margin-top: 6rem;
  }

  .site-footer:before {
    position: absolute;
    left: 0;
    right: 0;
    top: -4.5rem;
    width: 100%;
    max-width: 1920px;
    aspect-ratio: 1920/700;
    margin: 0 auto;
    background: url(images/flag.svgz) no-repeat 50% 50%/contain;
    pointer-events: none;
    content: "";
  }

  .site-footer-content {
    padding: 6rem 10rem;
    background-image: url(images/grad.svgz);
  }

  .dealership-caption {
    width: 79rem;
    max-width: none;
    margin-bottom: 3.5rem;
  }

  .dealership {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem 1rem;
    padding: 2.5rem 11.875rem;
    border-radius: 1rem;
  }

  .dealership > li:is(:nth-child(6),
  :nth-child(7)) {
    margin: 0 1rem;
  }

  .dealership img {
    width: calc(var(--width) / 16 * 1rem);
  }

  .organizer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    font-size: 2.5rem;
  }

  .organizer > address {
    display: flex;
  }

  .organizer > address:before {
    content: "（";
  }

  .organizer > address:after {
    content: "）";
  }

  .organizer .address {
    margin-right: 1em;
  }

  .kumamon {
    width: 19.75rem;
    margin-bottom: 6rem;
  }

  .present-section {
    padding-bottom: 6rem;
  }

  .present-section .note {
    font-size: 1.0625em;
  }

  .present-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2.625rem;
    width: 100%;
    margin-top: 2rem;
  }

  .present-item:nth-child(3n+2) {
    transition-delay: 0.2s;
  }

  .present-item:nth-child(3n) {
    transition-delay: 0.4s;
  }

  .contract-section {
    margin-top: 6rem;
  }

  .contract-item :is(p, dl) {
    font-size: 1.125rem;
  }

  .movie-section {
    padding-top: 6rem;
  }

  .movie-list {
    gap: 6rem;
    width: 74.4827586207%;
    margin: 0 auto;
  }
}

@media print, screen and (min-width: 1920px) {
  :root {
    --site-padding: 90px;
    --font-size: 16px;
  }

  .site-header {
    background-size: 1920px auto;
  }

  .site-footer-content {
    padding-inline: calc(50vw - 800px);
    background-size: 1920px auto;
  }
}

@media screen and (max-width: 767px) {
  .break-sp:before {
    white-space: pre;
    content: "\a";
  }
}

@media print {
  body {
    min-width: 1920px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  figcaption {
    page-break-after: avoid;
    page-break-inside: avoid;
  }

  blockquote,
  figure,
  table {
    page-break-inside: avoid;
  }
}