@charset "UTF-8";
/* =====Foundation===== */
/* =====Color===== */
/* =====ypography===== */
/* =====Font Size===== */
/* =====Layout===== */
/* =====Breakpoint===== */
/* =====Foundation===== */
/* =====Media Query===== */
/* =====Inner===== */
/* =====Foundation===== */
/* =====Base===== */
html {
  font-size: 62.5%;
}

body {
  font-family: "Zen Kaku Gothic Antique", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #411505;
  line-height: 1.7;
  background-color: #ffffff;
  width: 100%;
  margin: auto;
}

/* =====Reset / Common===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

/* =====Foundation===== */
/* ===== Section common padding ===== */
section {
  padding: 96px 0;
}
@media (max-width: 767px) {
  section {
    padding: 64px 0;
  }
}

/* ===== Inner common ===== */
.hero__inner,
.result__inner,
.cta__inner,
.footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 767px) {
  .hero__inner,
  .result__inner,
  .cta__inner,
  .footer__inner {
    padding: 0 16px;
  }
}

/* ===== Utility ===== */
.pc-only {
  display: block;
}
@media (max-width: 767px) {
  .pc-only {
    display: none;
  }
}

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

/* ===== Shared background wrapper ===== */
.paper-bg {
  display: grid;
  background-color: #e27b28;
}

.paper-bg__bg,
.paper-bg__content {
  grid-area: 1/1;
}

.paper-bg__bg {
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  height: 100%;
}

.paper-bg__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.paper-bg__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding-block: 80px 200px;
}

.paper-bg__content section {
  padding: 0;
  margin: 0;
}

@media (max-width: 767px) {
  .paper-bg__content {
    padding-block: 64px 240px;
  }
}
/* =====Sections===== */
/* =====Foundation===== */
/* =====Hero===== */
.hero {
  position: relative;
  width: 100%;
  height: 900px;
  background: url("../img/hero-bg-pc.png") no-repeat center/cover;
  overflow: hidden;
  background-color: #fef0d9;
  padding-top: 58px;
  display: flex;
  justify-content: center;
}

.hero__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero__copy {
  width: 292px;
  height: 553px;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 70px;
  position: relative;
  z-index: 10;
}

.hero__title {
  margin: 0;
  flex: 0 0 auto;
  opacity: 0;
  transform: translateY(40px);
}
.hero__title img {
  display: block;
  width: 80px;
  height: 380px;
  max-width: none;
}
.hero__title--animate {
  animation: floatUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes floatUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero__text-group {
  display: flex;
  flex-direction: row-reverse;
  gap: 28px;
  margin-top: 30px;
  opacity: 0;
  visibility: hidden;
}
.hero__text-group--ready {
  opacity: 1;
  visibility: visible;
}

.hero__text {
  margin: 0;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: "Zen Antique";
  font-weight: 400;
  font-size: 24px;
  line-height: 27px;
  letter-spacing: 3px;
  color: #411505;
}
.hero__text .hero__char {
  display: inline-block;
  opacity: 0;
  transform: translateY(15px);
  animation: writeChar 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes writeChar {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero .bird {
  height: auto;
  position: absolute;
  z-index: 2;
}

.hero .bird.one {
  width: 183px;
  top: 212px;
  left: 164px;
}

.hero .bird.two {
  width: 170px;
  top: 351px;
  right: 174px;
}

.hero .year {
  width: 170px;
  position: absolute;
  bottom: 47px;
  left: -217px;
}

/* =====Hero-SP===== */
@media (max-width: 767px) {
  .hero {
    background: url("../img/hero-bg-sp.png") no-repeat center/cover;
    height: 800px;
    position: relative;
    overflow: hidden;
  }
  .hero > picture {
    position: absolute;
    inset: 0;
  }
  .hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .hero__inner {
    position: absolute;
    inset: 0;
    width: 390px;
    height: 800px;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero__copy {
    position: absolute;
    left: calc(50% - 187.5px + 0px);
    top: 60px;
    width: 280px;
    height: auto;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 24px;
  }
  .hero__title img {
    width: 72.8px;
    height: 340px;
    max-width: none;
  }
  .hero__text-group {
    gap: 16px;
    margin-top: 20px;
  }
  .hero__text {
    font-size: 19.2px;
    line-height: 21.6px;
    letter-spacing: 6.5;
  }
  .hero .bird.one {
    display: none;
  }
  .hero .bird.two {
    width: 84px;
    top: 514px;
    right: 56px;
  }
  .hero .year {
    width: 119px;
    position: absolute;
    top: 493px;
    left: 28px;
  }
}
/* =====Foundation===== */
/* ======Greeting(PC)===== */
.greeting {
  position: relative;
  background-color: #fef0d9;
  overflow: hidden;
  margin-top: -1px;
}

.greeting > picture {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}

.greeting__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.greeting__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 120px;
  text-align: center;
}

.greeting__title {
  margin: 0 0 48px;
  font-size: 4.4rem;
  font-family: "Zen Antique";
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
}

.greeting__body {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.greeting__text {
  margin: 0;
  font-size: 1.8rem;
  font-family: "Zen Kaku Gothic Antique";
  font-weight: 500;
  line-height: 2;
  color: #fff;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.greeting__text .t-d {
  display: none;
}

@media (max-width: 850px) {
  .greeting__text .t-d {
    display: block;
  }
}
@media (max-width: 767px) {
  .greeting__text .t-d {
    display: none;
  }
}
.pc-only {
  display: inline;
}

.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: inline;
  }
}
/* =====Greeting(SP) */
@media (max-width: 767px) {
  .greeting__inner {
    min-height: 640px;
    padding: 80px 24px 120px;
    text-align: center;
  }
  .greeting__body {
    max-width: 340px;
    text-align: left;
  }
  .greeting__title {
    font-size: 3.2rem;
    line-height: 1.4;
    margin-bottom: 48px;
  }
  .greeting__text {
    font-size: 1.6rem;
  }
}
/* =====Foundation===== */
/* =====Result（PC）===== */
.result {
  padding: 88px 0 92px;
}

.result__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 767px) {
  .result__inner {
    padding: 0 16px;
  }
}
.result__inner {
  text-align: center;
  padding-top: 80px;
}

.result__title {
  margin: 0 auto 0;
  width: 417.15px;
  height: 195.21px;
  line-height: 1;
}
.result__title img {
  display: block;
  width: 100%;
  height: 100%;
}

.result__lead {
  margin: 30px 0 64px;
  font-size: 2.4rem;
  font-weight: 400;
  color: #3b2a1c;
  font-family: "Zen Antique";
}

.result__list {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.result-card {
  position: relative;
  background: #fff;
  border: 3px solid #b89a55;
  padding-block: 56px 48px;
  padding-inline: 48px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
  text-align: center;
  opacity: 0;
  transform: translateY(60px);
}
.result-card--animate {
  animation: cardFloatUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.result-card:nth-child(1).result-card--animate {
  animation-delay: 0s;
}
.result-card:nth-child(2).result-card--animate {
  animation-delay: 0.2s;
}

@keyframes cardFloatUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.result-card__badge {
  position: absolute;
  left: 50%;
  top: -30.21px;
  transform: translateX(-50%);
  width: 72px;
  height: 72px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-indent: -9999px;
  z-index: 2;
}

.result__list > .result-card:nth-child(1) .result-card__badge {
  background-image: url("../img/step-badge1.png");
}

.result__list > .result-card:nth-child(2) .result-card__badge {
  background-image: url("../img/step-badge2.png");
}

.result-card__corner {
  position: absolute;
  width: 24px;
  height: 24px;
  z-index: 1;
}
.result-card__corner img {
  display: block;
  width: 100%;
  height: 100%;
}
.result-card__corner.is-tl {
  top: -3px;
  left: -3px;
  transform: rotate(0deg);
}
.result-card__corner.is-tr {
  top: -3px;
  right: -3px;
  transform: rotate(90deg);
}
.result-card__corner.is-br {
  bottom: -3px;
  right: -3px;
  transform: rotate(180deg);
}
.result-card__corner.is-bl {
  bottom: -3px;
  left: -3px;
  transform: rotate(270deg);
}

.result-card__title {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  color: #411505;
  line-height: auto;
  font-family: "Zen Kaku Gothic Antique";
  margin-bottom: 16px;
}

.result-card__icon {
  margin: 0 auto 16px;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
}
.result-card__icon img {
  display: block;
  width: 100%;
  max-width: 120px;
}

.result-card__text {
  width: 100%;
  max-width: 370px;
  margin: 0;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.65;
  color: #411505;
  text-align: left;
  font-family: "Zen Kaku Gothic Antique";
}

.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .sp-only {
    display: inline;
  }
}
/* =====Result（SP）====== */
@media (max-width: 767px) {
  .result {
    padding: 64px 0 72px;
  }
  .result__inner {
    padding-top: 0;
    padding-inline: 24px;
    padding-bottom: 64px;
  }
  .result__title {
    width: 292.01px;
    height: 136.65px;
  }
  .result__lead {
    font-size: 1.6rem;
    font-family: "Zen Antique";
    font-weight: 400;
    margin: 0;
    padding-block: 24px 48px;
  }
  .result__list {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0;
  }
  .result-card {
    width: 100%;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
  }
  .result-card__title {
    font-size: 2rem;
  }
  .result-card__icon {
    width: 86px;
    height: 86px;
    padding: 0;
    margin: 8px auto;
  }
  .result-card__text {
    max-width: 278px;
    font-size: 1.4rem;
  }
}
/* =====Foundation===== */
/* ======Omikuji(PC)===== */
.omikuji {
  padding: 96px 0 96px;
}

.omikuji__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 767px) {
  .omikuji__inner {
    padding: 0 16px;
  }
}
.omikuji__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 96px;
}

.omikuji__title {
  margin: 0 0 12px;
  line-height: 1;
}
.omikuji__title img {
  display: block;
  width: 417.15px;
  height: 195.21px;
  margin: 0 auto;
}

.omikuji__subtitle {
  margin: 0 auto;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.8;
  color: #411505;
  font-family: "Zen Antique";
  padding-top: 48px;
  padding-bottom: 48px;
}

.omikuji-card {
  position: relative;
  width: 460px;
  height: 600px;
  background: #fff;
  border-radius: 14px;
  padding: 120px 22px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.omikuji-card__ribbon {
  position: absolute;
  top: 31.02px;
  left: 50%;
  transform: translateX(-50%);
}

.omikuji-catch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 252.26px;
  height: 67px;
  margin: 0 auto;
  margin-top: -10px;
}

.omikuji-card__visual {
  margin: 0;
  padding-top: 12px;
  padding-bottom: 32px;
}
.omikuji-card__visual img {
  display: block;
  width: 399.28px;
  height: 237.33px;
  height: auto;
  margin: 0 auto;
}

.omikuji-card__btn {
  display: block;
  width: fit-content;
  padding: 0;
  margin: auto;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: buttonFloat 1.5s ease-in-out infinite;
  transition: opacity 0.12s ease;
}
.omikuji-card__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, transparent 25%, rgba(255, 255, 255, 0.1) 35%, rgba(255, 255, 255, 0.3) 45%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.3) 55%, rgba(255, 255, 255, 0.1) 65%, transparent 75%, transparent 100%);
  transform: translateX(-50%);
  animation: horizontalShimmer 3s infinite ease-in-out;
  z-index: 1;
  pointer-events: none;
}
.omikuji-card__btn img {
  position: relative;
  z-index: 0;
  display: block;
}
.omikuji-card__btn:active {
  opacity: 0.9;
}
.omikuji-card__btn:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.25);
  outline-offset: 3px;
  border-radius: 10px;
}

@keyframes horizontalShimmer {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(200%);
  }
}
@keyframes buttonFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.omikuji-card__btn-img {
  display: block;
  width: 315.14px;
  height: 70.03px;
}

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

/* =====Omikuji(SP)===== */
@media (max-width: 767px) {
  .omikuji {
    padding: 48px 0 72px;
  }
  .omikuji__title img {
    width: 292.02px;
    height: 136.65px;
  }
  .omikuji__subtitle {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: normal;
    padding-block: 24px;
  }
  .omikuji-card {
    padding: 44px 18px 16px;
    width: 342px;
    height: 446.09px;
  }
  .omikuji-card__ribbon {
    position: absolute;
    top: 22.97px;
    left: 50%;
  }
  .omikuji-catch {
    gap: 8px;
    margin: 40px auto 8px;
    width: 187.69px;
    height: 50px;
  }
  .omikuji-card__visual {
    margin: 6px 0 0px;
  }
  .omikuji-card__visual img {
    width: 296.86px;
    height: 183.46px;
  }
  .omikuji-card__btn {
    width: 234.3px;
    height: 52.07px;
    margin: 0 auto;
  }
  .omikuji__inner {
    padding-top: 0;
  }
}
/* =====Foundation===== */
/* =====CTA===== */
.cta {
  position: relative;
  display: grid;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.cta__bg,
.cta__inner {
  grid-area: 1/1;
}

.cta__bg {
  width: 100%;
  height: 100%;
}

.cta__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-block: 120px;
  /* 追記：中身の整列 */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* タイトル（画像） */
.cta__title {
  margin: 0;
  line-height: 1;
}
.cta__title img {
  display: block;
  width: 635px; /* カンプ寄せ：必要ならここで微調整 */
  height: 100px;
}

/* サブテキスト */
.cta__text {
  margin: 48px 0 48px;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 2.4rem;
  letter-spacing: 4%;
  font-weight: 700;
  color: #411505; /* 背景に馴染む茶系（必要なら調整） */
}

/* ボタン（画像を使わずCSSで形だけ） */
.cta__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 9999px;
  background: #411505; /* 濃い茶 */
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  font-family: "Zen Kaku Gothic Antique";
  line-height: 1.4;
  letter-spacing: 10%;
  text-decoration: none;
  width: 380px;
  height: 80px;
  /* 押せる感じ */
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.cta__button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.cta__button:active {
  transform: translateY(0);
}

/* 右側のアイコン（画像） */
.cta__icon {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
}
.cta__icon img {
  display: block;
  width: 15px; /* カンプの見た目に合わせて微調整OK */
  height: auto;
}

/* =========================
  SP
========================= */
@media (max-width: 767px) {
  .cta__inner {
    padding: 120px 24px;
  }
  .cta__title img {
    width: 342px;
    height: 120px;
  }
  .cta__text {
    margin-block: 24px;
    font-size: 1.4rem;
  }
  .cta__button {
    padding: 14px 22px;
    font-size: 1.8rem;
    gap: 10px;
    line-height: 1.4;
    letter-spacing: 10%;
    width: 300px;
    height: 64px;
  }
  .cta__icon img {
    width: 12px;
    height: auto;
  }
}
/* =====Foundation===== */
/* =====Footer(PC)===== */
.footer {
  position: relative;
  width: 100%;
  height: 215.27px;
  background-color: #848151;
  overflow: hidden;
}

.footer__inner {
  position: relative;
  height: 100%;
  padding: 64px 80px;
}

.footer__inner .container {
  width: 558px;
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 80px;
  align-items: start;
  box-sizing: border-box;
}

.footer__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer__logo img {
  display: block;
  width: 200px;
  height: 27.27px;
}

.footer__corp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 9999px;
  border: 1px solid #ffffff;
  color: #fff;
  text-decoration: none;
  line-height: 1;
  font-size: 1.4rem;
  font-weight: 700;
  width: 200px;
  height: 40px;
}
.footer__corp-link:hover {
  opacity: 0.9;
}

.footer__corp-link-arrow {
  display: inline-flex;
  align-items: center;
}
.footer__corp-link-arrow img {
  display: block;
  width: 9px;
  height: auto;
}

.company {
  color: #fff;
  text-align: left;
  font-family: "Zen Kaku Gothic Antique";
  line-height: 1.4;
}

.footer__name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer__address {
  font-size: 1.4rem;
  font-weight: 500;
}

.footer__tel {
  font-size: 1.4rem;
  font-weight: 500;
}

.footer__pagetop {
  position: absolute;
  right: 120px;
  bottom: 0;
  z-index: 2;
  display: block;
}
.footer__pagetop img {
  display: block;
  width: 114px;
  height: 141.36px;
}

@media (max-width: 1040px) {
  .footer__inner .container {
    column-gap: 50px;
  }
  .footer__pagetop {
    right: 10px;
  }
}
/* ======Footer(SP)====== */
@media (max-width: 767px) {
  .footer {
    height: 390px;
    overflow: visible;
    position: relative;
  }
  .footer__left {
    display: contents;
  }
  .footer__inner {
    height: 100%;
    padding: 40px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  .footer__inner .container {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer__logo {
    order: 1;
    margin-bottom: 10px;
  }
  .company {
    order: 2;
    margin-bottom: 1ch;
  }
  .footer__corp-link {
    order: 3;
    margin-bottom: 0;
  }
  .company {
    text-align: center;
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .footer__name {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 700;
  }
  .footer__address,
  .footer__tel {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4;
  }
  .footer__pagetop {
    width: 91px;
    position: unset;
  }
  .footer__pagetop img {
    width: 91.2px;
    height: 113.09px;
    display: block;
  }
  .footer__logo img {
    width: 160px;
    height: 21.82px;
  }
  .footer__corp-link {
    width: 200px;
    height: 44px;
    font-size: 1.4rem;
  }
}
/* =====Foundation===== */
/* =====Modal(PC)===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  background: url("../img/modal-bg.png");
  width: 100%;
}

.modal[aria-hidden=false] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__panel {
  grid-area: 1/1;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  border-radius: 0px;
  outline: none;
  padding-inline: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  margin-bottom: 30px;
  opacity: 0;
  transform: scale(0.8) translateY(30px);
}

.modal[aria-hidden=false] .modal__panel {
  animation: modalAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal[aria-hidden=true] .modal__panel {
  animation: modalDisappear 0.3s ease-in forwards;
}

@keyframes modalAppear {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes modalDisappear {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
}
#omikujiImg {
  display: block;
  width: auto;
  height: 100%;
  max-height: 721px;
  max-width: unset;
}

.modal__close {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
}

.modal__close img {
  display: block;
  width: 121px;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =====Modal(SP)===== */
@media (max-width: 767px) {
  .modal {
    padding: 0px;
  }
  .modal__panel {
    width: 100%;
    max-width: 390px;
    height: auto;
    padding: 0;
    position: relative;
  }
  #omikujiImg {
    padding-top: 12px;
    width: 80%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center top;
  }
  .modal__close {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 2;
  }
  .modal__close img {
    display: block;
    width: 68px;
    height: auto;
  }
}

/*# sourceMappingURL=style.css.map */
