/* TOP PAGE CSS */

.main {
  font-family: var(--familyNotoSans);
  color: #333;
}

/*___________________________
 MV
___________________________*/

.mv {
  height: 33rem;
  width: 100%;
  background: linear-gradient(to right, #f4faff 0%, #ccdfed 53%, #77a6c6 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 5rem;
  position: relative;
}

/* MV background object */
.mv__object {
  position: absolute;
  top: 0;
  left: 0;
  width: 40.625rem;
  height: auto;
  object-fit: contain;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.mv__Inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.mv__logo {
  display: block;
  margin: 0 auto 1.25rem;
}

.mv__year {
  display: block;
  margin-bottom: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-family: var(--familySerifJP);
}

.mv__Inner h2 {
  margin: 0;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  font-family: var(--familySerifJP);
}

/* scroll */

.mv__scroll {
  position: absolute;
  right: 2.5rem;
  bottom: -2.5rem; /* MVの下端から40px飛び出す */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9375rem;
  z-index: 2;
}

.mv__scroll span:first-child {
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.mv__scrollLine {
  display: block;
  width: 0.0625rem;
  height: 5rem;
  background: #548cb2;
  transform-origin: top;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  50.1% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@media (max-width: 560px) {
  .mv__Inner h2 {
    font-size: 0.8rem;
  }
}

/*___________________________
 MVの下に流れる文字
___________________________*/

.mv-marquee {
  overflow: hidden;
  padding: 0.5rem 0 0;
  background: #fff;
  white-space: nowrap;
  pointer-events: none;
}

.mv-marquee__track {
  display: flex;
  width: max-content;
  animation: mv-marquee 80s linear infinite;
  will-change: transform;
}

.mv-marquee__track span {
  flex-shrink: 0;
  padding-right: 4rem;
  color: #eef3f8; /* ごく薄い青グレー。濃さはここで調整 */
  font-family: var(--familySerifJP);
  font-size: clamp(4rem, 9vw, 8.5rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.05em;
}

/* 2セットを並べて、半分(-50%)動かすと、継ぎ目なくループする */
@keyframes mv-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* 動きを減らす設定の人には止める */
@media (prefers-reduced-motion: reduce) {
  .mv-marquee__track {
    animation: none;
  }
}

@media screen and (max-width: 768px) {
  .mv-marquee__track span {
    padding-right: 2rem;
  }
}

/*___________________________
 Intro
___________________________*/

.intro {
  position: relative;
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../../images/top/intro-bg.webp") center / cover no-repeat;
  z-index: 0;
}

.intro__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 33rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 5rem;
}

.intro__lead {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

/* ---------- 左:写真を重ねる ---------- */
.intro__left {
  position: relative;
}

.intro__img {
  position: absolute;
  object-fit: cover;
  border-radius: 0.375rem;
  box-shadow: 0 0.25rem 0.875rem rgba(0, 0, 0, 0.3);
}

.intro__img--1 {
  /* 大 */
  top: 1.125rem;
  left: 3.875rem;
  width: 15.625rem;
  height: 20rem;
  object-position: 30% center;
}

.intro__img--2 {
  /* 小 */
  top: 4.875rem;
  left: 21.625rem;
  width: 7.25rem;
  height: 9.5rem;
  object-position: 5% center;
}

.intro__img--3 {
  /* 中 */
  left: 21.25rem;
  top: 16.6875rem;
  left: 21.25rem;
  width: 11rem;
  height: 15rem;
}

/* .intro {
  margin-top: 8.75rem;
} */

.intro__right {
  position: relative;
  margin-top: 2.875rem;
  padding: 3.125rem 3rem 2.5rem 2.5rem;
  background: rgba(255, 255, 255, 0.75);
}

.intro__label {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-100%);
  margin: 0;
  padding: 0.5rem 1.25rem;
  background: #000;
  color: #fff;
  font-size: 1rem;
}

.intro__heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.intro__logo {
  width: 4.625rem;
  height: auto;
}

.intro__title {
  margin: 0;
  font-family: var(--familySerifJP);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.intro__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

/* ---------- SP ---------- */
@media (max-width: 768px) {
  .intro__container {
    grid-template-columns: 1fr;
  }

  .intro__left {
    height: 18.75rem;
  }

  .intro__img--1 {
    left: 5%;
    width: 40%;
    height: 15.625rem;
  }
  .intro__img--2 {
    left: 55%;
    width: 25%;
    height: 5.625rem;
    top: 1.25rem;
  }
  .intro__img--3 {
    left: 50%;
    width: 38%;
    height: 8.75rem;
    top: 8.125rem;
  }

  .intro__right {
    margin-top: 2.5rem;
    padding: 2.5rem 1.25rem 1.875rem;
  }

  .intro__title {
    font-size: 1.25rem;
  }
}

/*___________________________
　AWARDEES
___________________________*/

.awardees {
  position: relative;
  padding: 5rem 0 8.75rem;
  background: #efefef url("../images/top/world-map.webp") center top / cover
    no-repeat;
  z-index: 0;
}

.awardees__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
  z-index: -1;
}

.awardees__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 0.25rem;
  text-align: center;
}

.awardees__lead {
  margin: 2.5rem 0 0;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.awardees__flags {
  display: block;
  width: 100%;
  max-width: 60rem;
  height: auto;
  margin: 2.5rem auto 0;
}

/* ---------- カード一覧 ---------- */
.awardees__slider {
  position: relative;
  margin-top: 5rem;
}

.awardee-card {
  display: block;
  overflow: hidden;
  border-radius: 0.375rem 0.375rem 0 0;
  color: #fff;
  text-decoration: none;
}

.awardee-card__thumb {
  overflow: hidden;
}

.awardee-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 236 / 235;
  object-fit: cover;
  object-position: top;
  transition:
    transform 0.5s ease,
    0.5s filter ease;
}

.awardee-card:hover .awardee-card__img {
  transform: scale(1.08);
  filter: grayscale(1);
}

.awardee-card__info {
  padding: 6px 8px 8px;
  background: #5f87ad;
}

.awardee-card__name {
  margin: 0;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
  color: #fff;
  font-weight: 600;
  font-family: var(--familySerifJP);
}

.awardee-card__country {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin: 0.125rem 0 0;
  font-size: 0.75rem;
  color: #fff;
}

.awardee-card__flag {
  width: 1rem;
  height: auto;
}

.awardee-card__restaurant {
  color: #fff;
  font-size: 0.75rem;
}

/* ---------- カード一覧・Swiper ---------- */

.awardees__swiper {
  width: 100%;
  overflow: hidden;
}

.awardees__list {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-bottom: 3.75rem;
}

.awardees__item {
  min-width: 0;
  box-sizing: border-box;
  margin-top: 0.9375rem;
}

.awardees__list .awardees__item {
  height: auto;
}

.awardees__item .awardee-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.awardee-card__info {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

/* ---------- 矢印 ---------- */
.awardees__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 4.375rem;
  height: 4.375rem;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transform: translateY(-50%);
}

.awardees__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #000;
  border-right: 0.125rem solid #000;
}

.awardees__arrow--prev {
  left: 0.625rem;
}
.awardees__arrow--prev::after {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.awardees__arrow--next {
  right: 0.625rem;
}
.awardees__arrow--next::after {
  transform: translate(-70%, -50%) rotate(45deg);
}

/* ---------- SP ---------- */
@media (max-width: 768px) {
  .awardees {
    padding: 3.125rem 0 3.75rem;
  }
  .awardees__lead {
    margin-top: 1.5rem;
    font-size: 0.875rem;
  }
  .awardees__slider {
    margin-top: 2.5rem;
  }

  .awardee-card__name {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
  }

  .awardees__arrow {
    width: 2.75rem;
    height: 2.75rem;
  }
}

@media (max-width: 560px) {
  .awardees__slider {
    padding: 0 15px;
  }
}

/* AWARDEES Marquee */
.awardees__marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  padding: 0;
  pointer-events: none;
}

.awardees__marquee-track {
  display: flex;
  width: max-content;
  animation: awardees-marquee 120s linear infinite;
  will-change: transform;
  margin-bottom: -0.625rem;
}

.awardees__marquee-track span {
  flex-shrink: 0;
  padding-right: 60px;

  font-size: clamp(64px, 10vw, 160px);
  line-height: 0.95;
  color: #fff;
  font-family: var(--familySerifJP);
  font-weight: 600;
}

@keyframes awardees-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/*___________________________
 ABOUT
___________________________*/

.about {
  padding-block: 7.5rem 8.75rem;
  position: relative;
  overflow: hidden;
}

.about__decoration {
  position: absolute;
  right: 5.1875rem;
  top: 47%;
  transform: translateY(-50%);
  width: min(58vw, 50rem);
  height: auto;
  object-fit: contain;
  z-index: -1;
  pointer-events: none;
}

.about__container {
  max-width: 1080px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9.375rem;
  margin: 0 auto;
}

.about__heading {
  letter-spacing: 0.06em;
  line-height: 1.4;
  font-size: 1.25rem;
}

.about__text {
  font-size: 1rem;
  margin-top: 1.25rem;
}

.about__Left {
  width: 33.75rem;
}

.img__rice {
  width: 23.75rem;
  height: 28.125rem;
  object-fit: cover;
  object-position: center;
  border-radius: 0.4375rem;
  box-shadow: 0 1.125rem 1.5625rem rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .about__container {
    flex-direction: column;
  }
  .img__rice {
    width: 18.75rem;
    height: 23.125rem;
  }

  .about__Left {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .about {
    padding-left: 15px;
    padding-right: 15px;
  }

  .about__container {
    gap: 3rem;
  }
}

/*___________________________
　SPONSORS
___________________________*/

.sponsors {
  padding: 80px 0 120px;
  background: #dde8f2;
}

.sponsors__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.sponsors__catch {
  margin: 24px 0 0;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.sponsors__lead {
  margin: 24px 0 0;
  font-size: 1rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.logo_orderText {
  font-size: 0.75rem;
  margin-top: 1.875rem;
}

/* ---------- カード一覧 ---------- */
.sponsors__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  max-width: 1030px;
  margin: 64px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.sponsor-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem 1rem 1.25rem;
  border: 1px solid #5f87ad;
  border-radius: 6px;
  background: #fff;
  box-shadow: 4px 4px 8px rgba(40, 70, 110, 0.35);
}

.sponsor-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 286 / 180;
  border: 1px solid #ddd;
  background: #fff;
}

.sponsor-card__logo img {
  display: block;
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.sponsor-card__name {
  margin: 1rem 0 0;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.sponsor-card__text {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  word-break: break-all;
}

/* company website リンク(右寄せ・最下部に固定) */
.sponsor-card__link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.25rem;
  color: #5f87ad;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.sponsor-card__arrow {
  width: 0.5rem;
  height: 0.5rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s;
}

@media (hover: hover) {
  .sponsor-card__link:hover {
    opacity: 0.7;
  }

  .sponsor-card__link:hover .sponsor-card__arrow {
    transform: translateX(0.375rem) rotate(45deg);
  }
}

/* ---------- SP ---------- */
@media (max-width: 768px) {
  .sponsors {
    padding: 50px 0 70px;
  }

  .sponsors__catch {
    font-size: 1rem;
  }

  .sponsors__lead {
    font-size: 0.875rem;
  }

  .sponsors__lead br {
    display: none;
  }

  .sponsors__list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 40px;
  }
}

/* ---------- スポンサーロゴ一覧 ---------- */
.sponsors-logos {
  --cols: 5; /* 1行に並べる数 */
  --gap: 1.5rem;

  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: var(--gap);
  max-width: 1030px;
  margin: 64px auto 0;
  padding: 0;
  list-style: none;
}

.sponsors-logos__item {
  width: calc((100% - var(--gap) * (var(--cols) - 1)) / var(--cols));
}

.sponsors-logos__link {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  padding: 1rem;
  border: 1px solid #d3e0ec;
  border-radius: 6px;
  background: #fff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.sponsors-logos__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (hover: hover) {
  a.sponsors-logos__link:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(40, 70, 110, 0.2);
  }
}

/* ---------- タブレット ---------- */
@media screen and (max-width: 1024px) {
  .sponsors-logos {
    --cols: 4;
  }
}

/* ---------- SP ---------- */
@media screen and (max-width: 768px) {
  .sponsors-logos {
    --cols: 3;
    --gap: 0.75rem;
    margin-top: 40px;
  }

  .sponsors-logos__link {
    padding: 0.5rem;
  }
}

@media screen and (max-width: 480px) {
  .sponsors-logos {
    --cols: 2;
  }
}

/*___________________________
　PAST EVENT
___________________________*/

.past-event {
  position: relative;
  padding: 90px 0;
  background: #fff;
  overflow: hidden;
  z-index: 0;
}

/* 左側の背景写真(上下に90pxの余白を残す) */
.past-event__bg {
  position: absolute;
  top: 90px;
  bottom: 90px;
  left: 0;
  width: 57%;
  height: calc(100% - 180px);
  object-fit: cover;
  object-position: left center;
  pointer-events: none;
  z-index: -1;
}

.past-event__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px 70px;
  text-align: center;
}

.past-event__lead {
  margin: 24px 0 0;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

/* ---------- カード一覧 ---------- */
.past-event__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7.5rem;
  max-width: 1160px;
  margin: 56px auto 0;
  padding: 0;
  list-style: none;
}

.event-card {
  display: block;
  overflow: hidden;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  color: #fff;
  text-decoration: none;
}

.event-card__thumb {
  overflow: hidden;
}

.event-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 522 / 229;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    0.5s filter ease;
}

@media (hover: hover) {
  .event-card:hover .event-card__img {
    transform: scale(1.08);
    filter: grayscale(1);
  }
}

.event-card__name {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1rem 0.5rem;
  background: #5f87ad;
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-align: center;
}

/* ---------- SP ---------- */
@media (max-width: 768px) {
  .past-event {
    padding: 40px 0;
  }

  .past-event__bg {
    top: 40px;
    bottom: 40px;
    width: 100%;
    height: calc(100% - 80px);
    opacity: 0.4;
  }

  .past-event__inner {
    padding: 40px 16px 50px;
  }

  .past-event__lead {
    font-size: 0.875rem;
  }

  .past-event__list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 32px;
  }

  .event-card__name {
    font-size: 1.125rem;
  }
}

/*___________________________
　CONTACT
___________________________*/

.contact {
  padding: 60px 0 100px;
  background: #fff;
}

.contact__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.contact__lead {
  margin: 24px 0 0;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

/* ---------- フォーム全体 ---------- */
.contact__form {
  max-width: 850px;
  margin: 64px auto 0;
  text-align: left;
}

.contact__form .wpcf7-form-control-wrap {
  display: block;
  position: relative;
}

.cf-field {
  margin-top: 2.5rem;
}

.cf-field:first-child {
  margin-top: 0;
}

.cf-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #666;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

/* ---------- 入力欄(text / email / select / textarea) ---------- */
.contact__form input[type="text"],
.contact__form input[type="email"],
.contact__form select,
.contact__form textarea {
  display: block;
  width: 100%;
  height: 4.0625rem;
  padding: 0 1.125rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #222;
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0.04em;
  box-shadow: none;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.contact__form textarea {
  height: 14rem;
  padding: 1.125rem;
  line-height: 1.6;
  resize: vertical;
}

.contact__form ::placeholder {
  color: #777;
  opacity: 1;
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: #5f87ad;
  box-shadow: 0 0 0 2px rgba(95, 135, 173, 0.2);
}

/* ---------- セレクト(矢印を独自に描く) ---------- */
.contact__form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3.5rem;
  cursor: pointer;
}

.contact__form .wpcf7-form-control-wrap[data-name="your-topic"]::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid #5f87ad;
  border-bottom: 1.5px solid #5f87ad;
  transform: translateY(-75%) rotate(45deg);
  pointer-events: none;
}

.contact__form select option {
  color: #222;
}

/* ---------- 送信ボタン(共通ボタンと同じ見た目) ---------- */
.cf-submit {
  position: relative;
  width: fit-content;
  margin: 4rem auto 0;
  color: #fff;
  transition: color 0.3s;
}

.cf-submit input[type="submit"] {
  display: block;
  min-width: 14rem;
  padding: 1.125rem 3.5rem;
  border: 1px solid #333;
  border-radius: 0;
  background: #333;
  color: inherit;
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0.1em;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.3s,
    color 0.3s;
}

/* 矢印(inputには疑似要素が付けられないので、外側のdivに付ける) */
.cf-submit::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.5rem;
  width: 0.5rem;
  height: 0.5rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.3s;
}

@media (hover: hover) {
  .cf-submit:hover {
    color: #333;
  }

  .cf-submit:hover input[type="submit"] {
    background: #fff;
  }

  .cf-submit:hover::after {
    transform: translate(0.375rem, -50%) rotate(45deg);
  }
}

/* 送信中のスピナーを重ならない位置へ */
.cf-submit .wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: 100%;
  margin: 0 0 0 1rem;
  transform: translateY(-50%);
}

/* ---------- エラー・送信結果メッセージ ---------- */
.contact__form .wpcf7-not-valid-tip {
  margin-top: 0.375rem;
  color: #c0392b;
  font-size: 0.8125rem;
}

.contact__form .wpcf7-not-valid {
  border-color: #c0392b;
}

.contact__form .wpcf7-response-output {
  margin: 2rem 0 0;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  text-align: center;
}

/* ---------- SP ---------- */
@media (max-width: 768px) {
  .contact {
    padding: 40px 0 70px;
  }

  .contact__lead {
    font-size: 0.875rem;
  }

  .contact__form {
    margin-top: 40px;
  }

  .cf-field {
    margin-top: 1.75rem;
  }

  .contact__form input[type="text"],
  .contact__form input[type="email"],
  .contact__form select {
    height: 3.5rem;
  }

  .contact__form textarea {
    height: 11rem;
  }

  .cf-submit {
    margin-top: 2.5rem;
  }
}
