:root {
  --contact-bottom-color: #860000;
  --contact-center-color: #ff0000;
  --contact-top-color: #ff8700;
  --primary-color: #D60034;
  --secondary-color: #D5000F;
  --tertiary-color: #FD5F00;
  --contact-button-start-color: #F39800;
  --contact-button-end-color: #ED6D00;
  --background-color: #FAF5F3;
  --text-color: #333;
  --text-white-color: #fff;
  --max-par: 100%;
  --max-width: 1400px;
  --font-large: 2rem;
  --font-medium: 1.5rem;
  --font-medium-small: 1.2rem;
  --font-small: 12px;
  --font-bold: 700;
  --font-normal: 400;
  --font-family: "Noto Sans JP", "Roboto", sans-serif;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.font-large {
  font-size: var(--font-large);
}

.font-medium {
  font-size: var(--font-medium);
}

.font-medium-smoll {
  font-size: var(--font-medium-small);
}

.font-small {
  font-size: var(--font-small);
}

.font-bold {
  font-weight: var(--font-bold);
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
}

.main-content {
  max-width: var(--max-width);
  margin: 0 auto;
}

.g-recaptcha {
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ サンクスページ ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.main-content.completion {
  display: block;
  text-align: center;
  background-color: var(--background-color);
  position: relative;
}

.main-content.completion .alert {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 8rem 8% 8rem 8%;
  /* height: 50vh; */
  margin: 0 auto 8rem auto;
  background-image: linear-gradient(315deg,
      hsl(329deg 62% 91%) 0%,
      hsl(338deg 82% 92%) 6%,
      hsl(345deg 100% 92%) 12%,
      hsl(351deg 100% 92%) 19%,
      hsl(359deg 100% 92%) 26%,
      hsl(7deg 100% 92%) 33%,
      hsl(14deg 100% 90%) 41%,
      hsl(20deg 100% 89%) 50%,
      hsl(25deg 100% 88%) 60%,
      hsl(30deg 100% 87%) 70%,
      hsl(34deg 100% 87%) 81%,
      hsl(38deg 100% 86%) 91%,
      hsl(42deg 95% 85%) 100%);
}

@media (max-width: 768px) {
  .main-content.completion .alert {
    padding: 4rem 4% 4rem 4%;
    gap: 2rem;
  }

  .main-content.completion footer {
    margin-top: -6rem !important;
  }
}

.main-content.completion .alert h2 {
  font-size: var(--font-large);
  font-weight: var(--font-bold);
  color: var(--primary-color);
  line-height: 2;
}

.main-content.completion .alert p {
  font-size: var(--font-normal);
  color: var(--text-color);
  line-height: 2;
}

.main-content.completion .alert p span {
  color: var(--primary-color);
  font-weight: var(--font-bold);
  font-size: var(--font-medium);
}

.main-content.completion footer {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 8%;
  margin-top: -7rem;
}

.main-content.completion .footer-logo img {
  width: 100px;
  height: auto;
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ ヘッダー ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
header {
  position: fixed;
  top: 0;
  width: -webkit-fill-available;
  width: -moz-available;
  width: fill-available;
  z-index: 1000;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to right, var(--primary-color) 0%, var(--secondary-color) 32.2188%, var(--tertiary-color) 100%);
}

header button {
  display: flex;
  align-items: center;
  font-family: var(--font-family);
  font-weight: var(--font-bold);
  border: 1.5px solid var(--text-white-color);
  background: var(--text-color);
  border-radius: 30px;
  color: var(--text-white-color);
  font-size: var(--font-medium-small);
  padding: 5px 30px;
  cursor: pointer;
  box-shadow: var(--box-shadow);
  transition: background-color 0.3s, transform 0.2s;
}

header button svg {
  margin-top: 3px;
  margin-right: -10px;
}

header button:hover {
  font-weight: var(--font-bold);
  background: var(--text-white-color);
  color: var(--text-color);
  transition: background-color 0.3s, transform 0.2s;
}

header button:active {
  transform: scale(0.95);
}

.header-title {
  display: flex;
  align-items: center;
  color: var(--text-white-color);
  font-weight: var(--font-bold);
  font-size: var(--font-large);
}

.header-title figure {
  width: 200px;
  height: auto;
  margin-right: 10px;
  overflow: hidden;
}

.header-title figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.header-title p .font-small {
  font-size: var(--font-medium);
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ メインコンテンツ ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.fv {
  position: relative;
}

.fv .catch-copy .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-white-color);
  background: #000000d3;
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.3;
  width: 500px;
  padding: 15px 80px 30px 80px;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.7);
  z-index: 10;
}

.fv .font-large {
  font-size: 2.5rem;
}

.kkr {
  color: #FFB200;
  font-size: 5rem;
}

.fv .catch-copy .title img {
  width: 150px;
  height: auto;
  margin-right: 10px;
  margin-bottom: -8px;
}

.fv img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 100vh;
  max-width: var(--max-width);
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ サービス紹介 ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.service {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  justify-items: center;
  margin: 4rem auto;
  padding: 0 8%;
}

.service .service-item {
  background: url("../images/iineAI_03.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 211 / 195;
  width: 400px;
  height: auto;
  text-align: center;
  font-weight: var(--font-bold);
}

.service .service-item img {
  text-align: center;
  width: 100px;
  height: auto;
  object-fit: cover;
  margin: 2rem auto 0 auto;
}

.service .service-item .forte {
  font-size: var(--font-medium);
  font-weight: var(--font-bold);
  color: var(--primary-color);
  margin: 2rem auto;
}

.service .service-item p {
  margin-bottom: 0.6rem;
  font-size: var(--font-medium);
}

.service .close {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary-color);
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ お問い合わせボタン ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.contact-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  padding: 1rem 0;
  background: #ffeddc;
}

.contact-button {
  font-family: var(--font-family);
  background: linear-gradient(to top, var(--contact-bottom-color) 0.7261%, var(--contact-center-color) 52.9399%, var(--contact-top-color) 97.1346%);
  border: 3px solid var(--text-white-color);
  border-radius: 50px;
  color: var(--text-white-color);
  font-size: var(--font-medium);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 20px 50px 20px 60px; */
  padding: 0 50px 0 60px;
  max-width: 600px;
  width: 90%;
  height: 80px;
  cursor: pointer;
  font-weight: var(--font-bold);
  box-shadow: #a07578 3px 3px 0px 0px;
  /* box-shadow: var(--box-shadow); */
  transition: transform 0.2s, box-shadow 0.3s;
}

.contact-button:hover {
  transform: translateY(-5px);
  box-shadow: #a07578 3px 7px 0px 0px;
}

.contact-button svg {
  margin-left: 10px;
}

.contact-button .mail-icon {
  margin-right: 10px;
  margin-left: 0;
}


/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ 作例紹介 ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.example-container {
  margin: 4rem auto 0 auto;
  padding-bottom: 4rem;
  border-top: 4px solid var(--primary-color);
  background: var(--background-color);
}

.example-container h3 {
  margin: 2rem auto 0 auto;
  font-size: var(--font-medium);
  font-weight: var(--font-bold);
  text-align: center;
}

.arrow-section h4 {
  font-weight: var(--font-bold);
  font-size: var(--font-normal);
  padding: 10px 5%;
  margin: 0 auto;
  width: 70%;
  display: block;
  text-align: center;
  background: var(--contact-button-end-color);
  color: var(--text-white-color);
  border-radius: 20px;
}

.arrow-section .theme {
  text-align: center;
  margin: 1rem auto;
}

.arrow-section .themelabel {
  padding: 3px 30px;
  border: 1px solid var(--text-color);
  border-right: 0px;
  position: relative;
  display: inline-block;
  margin-right: 1rem;
}

.arrow-section .themelabel::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid var(--text-color);
}


.arrow-section figure {
  margin: 0 auto;
  width: 80%;
  /* height: 500px; */
  overflow: hidden;
  max-width: var(--max-width);
  position: relative
}

.arrow-section figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.arrow-section figure .sp-header {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translate(21.5%, 100%);
  top: 50px;
  left: 0;
  width: 70%;
  height: 30px;
  margin: 0 auto;
}

.arrow-section figure .sp-content {
  position: absolute;
  top: 0;
  transform: translate(12.6%, 20%);
  width: 80%;
  display: grid;
  gap: 1rem;
  line-height: 1.8;
}

.arrow-section figure .sp-content:nth-child(2) {
  margin-top: 50px;
  transform: translate(30.5%, 50%);
  width: 62.2%;
}

.profile-icon,
.sp-content p {
  padding: 0 5%;
}

.sp-content p {
  text-align: justify;
  font-size: 0.9rem;
}

.sp-content iframe {
  width: 100%;
  height: 100%;
  background: var(--tertiary-color);
}

.arrow-section figure .sp-content .profile-icon {
  display: flex;
  align-items: center;
}

.arrow-section figure .sp-content .profile-icon svg {
  margin-right: 1rem;
}

.arrow-section {
  position: relative;
  padding: 4rem 8% 0 8%;
  color: #333;
  background: linear-gradient(to bottom,
      #f8e5d600 0%,
      #f39a0065 100%);
}

/* 矢印っぽく両端から中央にとがらせる */
.arrow-section::after {
  content: "";
  position: absolute;
  bottom: -149.5px;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom,
      #f39a0065 0%,
      #f39a0091 100%);
  clip-path: polygon(0 0, 50% 100%, 100% 0);
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ いいねAIで生成された台本 ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.generated-scripts {
  margin: 200px auto 4rem auto;
  padding: 0 8%;
}

.generated-scripts h4 {
  border: 1.5px solid var(--tertiary-color);
  border-left: 0px;
  border-right: 0px;
  padding: 10px 0;
  text-align: center;
  font-size: var(--font-medium);
  font-weight: var(--font-bold);
  color: var(--tertiary-color);
}

.generated-scripts p {
  margin: 1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.generated-scripts p .image-label {
  background: var(--tertiary-color);
  color: var(--text-white-color);
  font-weight: var(--font-bold);
  height: 50px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  margin-right: 10px;
}

.generated-scripts .generated-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 50px;
}

.generated-scripts .generated-items-2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  margin-top: 50px;
}

.generated-scripts .generated-items-2>*:nth-child(1),
.generated-scripts .generated-items-2>*:nth-child(2),
.generated-scripts .generated-items-2>*:nth-child(3) {
  grid-column: span 2;
}

.generated-scripts .generated-items-2>*:nth-child(n+4) {
  grid-column: span 3;
}

@media (max-width: 898px) {
  .generated-scripts .generated-items-2 {
    grid-template-columns: 1fr;
  }

  .generated-scripts .generated-items-2>* {
    grid-column: 1 !important;
  }
}

.generated-scripts .generated-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--text-white-color);
  position: relative;
  box-shadow: 10px 10px 2px -5px rgba(0, 0, 0, 0.3);
}

.generated-scripts .generated-item p {
  padding: 20px;
  line-height: 1.5;
  text-align: center;
}

.generated-scripts .generated-item .scene {
  display: flex;
  align-items: center;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.generated-scripts .generated-item .scene span {
  background: var(--tertiary-color);
  color: var(--text-white-color);
  border-radius: 10px;
  padding: 5px 15px;
}

.generated-scripts .generated-item .scene img {
  width: 50px;
  height: 50px;
  margin-right: 5px;
}

.point {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem auto 0 auto;
  padding: 0 8%;
}

.point ul li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  text-align: justify;
}

.point ul li:last-child {
  margin-bottom: 0;
}

.point img {
  width: 80px;
  height: 80px;
  margin-right: 10px;
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ お問い合わせフォーム ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
#Form {
  background: var(--contact-button-start-color);
  font-size: var(--font-large);
  font-weight: var(--font-bold);
  color: var(--text-white-color);
  text-align: center;
  padding: 10px;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.form-container .display {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.form-container .form-item {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.form-container .form-item-label {
  font-weight: bold;
  margin-bottom: 5px;
  display: inline-block;
  width: 20%;
  white-space: nowrap;
}

.form-container .form-item-label-required {
  background-color: #ff0000;
  color: white;
  font-size: 0.7rem;
  padding: 5px 8px;
  border-radius: 3px;
  margin-right: 8px;
  white-space: nowrap;
}

.form-container .form-item-label-required.any {
  background: #7a7a7a;
}


.form-container .form-item-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.form-container .form-item-textarea {
  width: 100%;
  min-height: 150px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

.form-btn {
  background-color: var(--primary-color);
  color: white;
  border: 3px solid var(--background-color);
  box-shadow: var(--box-shadow);
  font-weight: var(--font-bold);
  padding: 12px 100px;
  font-size: 1rem;
  border-radius: 20px;
  cursor: pointer;
  display: block;
  margin: 30px auto 0;
  transition: background-color 0.3s;
}

.form-btn:hover {
  background-color: var(--text-white-color);
  color: var(--primary-color);
  transition: background-color 0.3s;
}

.form-container .address-width {
  width: 100%;
}

.form-container .address-width .address {
  margin-top: 10px;
  font-weight: normal;
}

.form-container .address-width .address:first-child {
  margin-top: 0;
}

form select,
form option {
  cursor: pointer;
}

/* ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ フッター ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■ */
.footer {
  background: var(--text-color);
  color: var(--text-white-color);
  padding: 20px;
  text-align: center;
  font-size: var(--font-small);

}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer ul li {
  display: inline-block;
  padding-right: 20px;
  border-right: 1px solid var(--text-white-color);
}

.footer ul li:last-child {
  border-right: none;
}

.footer ul li a {
  color: var(--text-white-color);
  text-decoration: none;
  font-size: var(--font-small);
}

footer .footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

footer img {
  width: 200px;
  height: auto;
}

@media (max-width: 898px) {

  /* ファーストビュー */
  .kkr {
    font-size: 2rem;
  }

  .fv .font-large {
    font-size: 1.3rem;
  }

  .fv .catch-copy .title {
    padding: 10px;
    width: 250px;
    font-size: 1.5rem;
  }

  .fv .catch-copy .title img {
    width: 100px;
  }

  .service .close {
    width: 150px;
    height: 150px;
  }

  .service .service-item {
    width: 100%;
    height: auto;
  }

  .service .service-item img {
    width: 80px;
    height: auto;
  }

  .service .service-item .forte {
    font-size: var(--font-medium-small);
  }

  .service .service-item p {
    font-size: var(--font-medium-small);
  }

  #Form {
    font-size: var(--font-medium);
  }

  .form-container {
    padding: 10px;
  }

  .form-container .display {
    padding: 15px;
  }

  .form-container .form-item-label {
    width: 35%;
  }

  .form-container .form-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-container .form-item-label-required {
    width: fit-content;
  }

  .contact-button {
    font-size: var(--font-medium-small);
    padding: 0 20px 0 30px;
  }

  header {
    position: fixed;
    top: auto;
    bottom: 0;
    z-index: 1000;
    flex-direction: column;
    gap: 8px;
    height: 80px;
    will-change: transform;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
  }

  .header-title {
    font-size: 1.2rem;
  }

  .header-title p .font-small {
    font-size: 1rem;
  }

  .header-title figure {
    width: 100px;
  }

  /* サービス紹介 */

  .service .service-item {
    width: 100%;
    height: auto;
  }

  /* 作例紹介 */
  .arrow-section figure {
    width: 100%;
  }

  .arrow-section figure .sp-header {
    /* transform: translate(21.5%, -10%); */
    font-size: 0.8rem;
  }

  .arrow-section figure .sp-content {
    /* transform: translate(12.55%, 30%); */
    gap: 0.5rem;
  }

  .sp-content p {
    font-size: 0.7rem;
  }

  .arrow-section figure .sp-content .profile-icon svg {
    width: 30px;
    height: 30px;
  }

  .arrow-section::after {
    bottom: -49.5px;
    height: 50px;
  }

  /* いいねAIで生成された台本 */
  .generated-scripts .generated-items {
    grid-template-columns: 1fr;
  }

  .generated-scripts p {
    flex-direction: column;
    line-height: 1.5;
    text-align: justify;
    gap: 1rem;
  }

  /* ポイント */
  .point {
    flex-direction: column;
    gap: 1rem;
    padding: 0 5%;
  }

  /* フッター */
  footer {
    margin-bottom: 100px;
  }
}

@media (max-width: 768px) {

  /* サービス紹介 */
  .service {
    grid-template-columns: 1fr;
    padding: 0 5%;
    gap: 2rem;
  }
}

@media (max-width:540px) {
  .arrow-section figure .sp-header {
    transform: translate(21.5%, -30%);
  }

  .arrow-section figure .sp-content {
    transform: translate(12.55%, 20%);
  }
}