@charset "UTF-8";
/*
Theme Name: 遺影AI Theme
Description: 遺影AIのオリジナルWordPressテーマ
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  color: #1F2937;
}

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

a:hover {
  text-decoration: underline;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-only {
  display: none;
}
@media (min-width: 768px) {
  .pc-only {
    display: block;
  }
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .container {
    padding: 0 20px;
  }
}
.container--narrow {
  max-width: 900px;
}

.header {
  width: 100%;
  position: fixed;
  padding: 20px 0;
  z-index: 1000;
}
.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo img {
  width: 100px;
}
@media (min-width: 768px) {
  .header__logo img {
    width: 180px;
  }
}
.header__btn {
  background: #3F38B7;
  color: #fff;
  padding: 8px 16px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 12px;
  transition: background 0.3s;
}
@media (min-width: 768px) {
  .header__btn {
    padding: 10px 24px;
    font-size: 14px;
  }
}
.header__btn:hover {
  background: linear-gradient(135deg, #7B33B2 0%, #1855A6 100%);
  box-shadow: 0 8px 23.5px rgba(79, 70, 229, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.section__btn {
  width: 100%;
  display: inline-block;
  margin: 40px auto 0;
  padding: 14px 40px;
  background: #fff;
  color: #3F38B7;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}
@media (min-width: 768px) {
  .section__btn {
    width: auto;
    font-size: 20px;
    margin: 48px auto 0;
    padding: 18px 40px;
  }
}
.section__btn:hover {
  background: linear-gradient(135deg, #7B33B2 0%, #1855A6 100%);
  color: #fff;
  box-shadow: 0 8px 23.5px rgba(79, 70, 229, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  transform: translateY(-4px);
}

.hero__btn {
  width: 100%;
  background: linear-gradient(135deg, #7B33B2 0%, #1855A6 100%);
  color: #fff;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 768px) {
  .hero__btn {
    width: auto;
    font-size: 20px;
  }
}
.hero__btn:hover {
  background: linear-gradient(135deg, #1855A6 0%, #7B33B2 100%);
  box-shadow: 0 8px 23.5px rgba(79, 70, 229, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
  transform: translateY(-4px);
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  background: #3F38B7;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}
.btn:hover {
  background: linear-gradient(135deg, #7B33B2 0%, #1855A6 100%);
  box-shadow: 0 8px 23.5px rgba(79, 70, 229, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero {
  padding: 5.5rem 0 2rem;
  background: linear-gradient(to bottom, #EEF2FF, #F3E8FF, #FFFFFF);
  position: relative;
  overflow: hidden;
  text-align: center;
}
@media (min-width: 768px) {
  .hero {
    padding: 8rem 2rem 2rem;
  }
}
@media (min-width: 1024px) {
  .hero {
    padding: 10rem 2rem 6cqmin;
  }
}
.hero::before {
  content: "";
  position: absolute;
  top: 80px;
  left: 40px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent);
  border-radius: 50%;
  filter: blur(60px);
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 80px;
  right: 40px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.2), transparent);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.hero__container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
@media (min-width: 768px) {
  .hero__container {
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
  }
}
@media (min-width: 1024px) {
  .hero__container {
    flex-direction: row;
  }
}
.hero__title {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .hero__title {
    font-size: 62px;
  }
}
.hero__title strong {
  font-size: 38px;
  background: linear-gradient(135deg, #7B33B2 0%, #1855A6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 768px) {
  .hero__title strong {
    font-size: 72px;
  }
}
.hero__text {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.8;
  color: #657182;
}
@media (min-width: 768px) {
  .hero__text {
    font-size: 24px;
  }
}
.hero__subtitle {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 24px;
  line-height: 1.8;
  background: linear-gradient(135deg, #7B33B2 0%, #1855A6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 24px;
    margin-bottom: 40px;
  }
}
.hero__copy {
  width: 100%;
  text-align: left;
}
@media (min-width: 1024px) {
  .hero__copy {
    width: 48%;
  }
}
.hero__image {
  width: 100%;
  margin: 40px auto 0;
}
@media (min-width: 1024px) {
  .hero__image {
    width: 52%;
    max-width: 740px;
  }
}

.section {
  padding: 46px 0;
}
@media (min-width: 1024px) {
  .section {
    padding: 60px 0;
  }
}
@media (min-width: 1024px) {
  .section {
    padding: 96px 0;
  }
}
.section--bg-white {
  background: #fff;
}
.section--bg-gray {
  background: #F7FAFC;
}
.section--bg-grd {
  background: linear-gradient(#FFFFFF 0%, #F9FAFB 100%);
}
.section--bg-grd2 {
  background: linear-gradient(#F3F3F3 0%, #FEFEFE 100%);
}
.section--bg-main {
  background: linear-gradient(135deg, #9863C4 0%, #507CBC 100%);
}
.section--bg-main2 {
  background: linear-gradient(#EEF2FF 0%, #F3E8FF 60%, #FFFFFF 100%);
}
.section__title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 16px;
  color: #2D3748;
  font-weight: bold;
}
@media (min-width: 768px) {
  .section__title {
    font-size: 36px;
  }
}
@media (min-width: 1024px) {
  .section__title {
    font-size: 56px;
  }
}
.section__subtitle {
  text-align: center;
  color: #657182;
  margin-bottom: 40px;
  font-size: 16px;
}
@media (min-width: 768px) {
  .section__subtitle {
    font-size: 20px;
    margin-bottom: 60px;
  }
}
.section__text {
  font-size: 16px;
  line-height: 1.9;
  color: #4B5563;
  margin-bottom: 20px;
}
.section__text p {
  max-width: 900px;
  text-align: center;
  margin: 0 auto 10px;
}
@media (min-width: 768px) {
  .section__text p {
    margin: 0 auto 30px;
    font-size: 20px;
  }
}

#about {
  padding-top: 10px;
}

.about__section {
  padding-top: 10px;
}
@media (min-width: 768px) {
  .about__section {
    margin: 40px auto;
  }
}
.about__description {
  text-align: left;
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.9;
  background: linear-gradient(135deg, #7B33B2 0%, #1855A6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 768px) {
  .about__description {
    text-align: center;
    font-size: 24px;
  }
}
.about__text p {
  text-align: left;
}
@media (min-width: 768px) {
  .about__text p {
    text-align: center;
  }
}

.audience__section {
  display: grid;
  grid-template-rows: 1fr;
  gap: 16px;
  padding: 40px 0;
  place-content: center;
  place-items: center;
  border-top: #E5E7EB 1px solid;
  border-bottom: #E5E7EB 1px solid;
}
@media (min-width: 768px) {
  .audience__section {
    max-width: 900px;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
    margin: 40px auto;
    padding: 0;
  }
}
@media (min-width: 1024px) {
  .audience__section {
    grid-template-columns: 1fr 4fr;
    gap: 40px;
  }
}
.audience__title {
  font-size: 20px;
  text-align: center;
  font-weight: 400;
  margin-bottom: 0;
  color: #1F2937;
  padding: 6px 24px;
  border-radius: 16px;
  border: 1px solid #7f7c8b;
}
@media (min-width: 768px) {
  .audience__title {
    font-size: 24px;
    margin-bottom: 55px;
    padding: 32px 24px;
    border-radius: 24px;
  }
}

.worries {
  display: grid;
  grid-template-rows: 1fr;
  gap: 8px;
  margin: 0 auto;
  padding: 0;
}
@media (min-width: 768px) {
  .worries {
    grid-template-rows: repeat(1fr, 3);
    gap: 8px;
    padding: 40px 0;
  }
}

.worry {
  padding: 8px;
}
.worry__icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  align-items: center;
  justify-content: center;
}
.worry__icon img {
  width: 100%;
  height: 100%;
  display: inline-block;
  align-items: center;
  justify-content: center;
}
.worry__title {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 6px;
  color: #1F2937;
}
.worry__text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #657182;
}

.notice {
  padding: 16px 0;
}
.notice__text {
  font-size: 10px;
  color: #1F2937;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .benefits__section {
    max-width: 1200px;
    margin: 64px auto;
  }
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  place-content: center;
  place-items: center;
  gap: 20px;
  margin-bottom: 0;
}
@media (min-width: 1024px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
  }
}

.card {
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 8px 23.5px rgba(79, 70, 229, 0.3);
}
@media (min-width: 768px) {
  .card {
    border-radius: 24px;
  }
}
.card__img {
  margin-bottom: 20px;
  text-align: center;
}
.card__img img {
  border-radius: 16px;
}
.card__icon {
  width: 60px;
  height: 60px;
  background: #EBF4FF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}
.card__title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 12px;
  color: #2D3748;
}
.card__text {
  font-size: 15px;
  line-height: 1.7;
  color: #657182;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  place-content: center;
  place-items: center;
  gap: 30px;
  background: #fff;
}
@media (min-width: 768px) {
  .features {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }
}

.feature {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  text-align: center;
  background: #fff;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) {
  .feature {
    width: calc((100% - 60px) / 3);
    max-width: 360px;
  }
}
.feature__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1855A6 0%, #7B33B2 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #fff;
  font-size: 32px;
}
.feature__icon img {
  width: 50%;
  height: 50%;
  object-fit: contain;
}
.feature__title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #2D3748;
}
.feature__text {
  font-size: 16px;
  line-height: 1.7;
  color: #657182;
  text-align: left;
}

.process {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 30px;
  max-width: 1000px;
  padding-top: 20px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .process {
    flex-direction: row;
    padding-top: 40px;
  }
}
@media (min-width: 1024px) {
  .process {
    gap: 40px;
  }
}
.process__image {
  flex: 1;
  max-width: 100%;
}
@media (min-width: 768px) {
  .process__image {
    max-width: 500px;
  }
}
.process__image img {
  width: 100%;
}
.process__memo {
  font-size: 10px;
  text-align: center;
}
@media (min-width: 768px) {
  .process__memo {
    text-align: right;
  }
}
.process__steps {
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  padding: 24px;
  flex: 1;
}
@media (min-width: 1024px) {
  .process__steps {
    padding: 40px 50px;
  }
}
.process__step {
  margin-bottom: 24px;
}
@media (min-width: 1024px) {
  .process__step {
    margin-bottom: 40px;
  }
}
.process__step:last-child {
  margin-bottom: 0;
}
.process__title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #2D3748;
}
.process__text {
  font-size: 14px;
  color: #657182;
  margin-left: 16px;
  line-height: 1.6;
}

.examples {
  display: grid;
  grid-template-columns: 1fr;
  padding: 24px;
  text-align: center;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}
@media (min-width: 768px) {
  .examples {
    padding: 40px;
  }
}
@media (min-width: 1024px) {
  .examples {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.example {
  padding-top: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #E5E7EB;
}
@media (min-width: 1024px) {
  .example {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 0;
    border-right: 1px solid #E5E7EB;
    border-bottom: none;
  }
}
.example:first-child {
  padding-top: 0;
  padding-left: 0;
}
.example:last-child {
  border: none;
}
.example__label {
  font-size: 16px;
  color: #1F2937;
}
@media (min-width: 768px) {
  .example__label {
    font-size: 24px;
  }
}
.example__image {
  width: 100%;
  height: 300px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #A0AEC0;
  margin-bottom: 12px;
}
@media (min-width: 768px) {
  .example__image {
    height: 580px;
  }
}
@media (min-width: 1024px) {
  .example__image {
    max-width: 560px;
    height: 300px;
  }
}
.example__video video {
  max-width: 100%;
}

.pricing {
  text-align: center;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}
@media (min-width: 768px) {
  .pricing {
    padding: 60px 40px;
  }
}
.pricing__text {
  padding-top: 20px;
  font-size: 14.5px;
}
@media (min-width: 768px) {
  .pricing__text {
    padding-top: 40px;
    font-size: 16px;
  }
}

.mission__container {
  text-align: center;
}
.mission__title {
  color: #fff;
}
.mission__text {
  color: #fff;
  text-align: left;
}
@media (min-width: 768px) {
  .mission__text {
    text-align: center;
    line-height: 2.4;
  }
}
.mission__content {
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
}
.mission__heading {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .mission__heading {
    font-size: 24px;
    margin-bottom: 32px;
  }
}
.mission__values {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}
@media (min-width: 768px) {
  .mission__values {
    margin-top: 60px;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

.value {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-align: center;
  padding: 24px 20px;
}
.value__title {
  font-size: 15px;
  font-weight: bold;
  color: #fff;
}
@media (min-width: 768px) {
  .value__title {
    font-size: 16px;
  }
}

.faq {
  max-width: 900px;
  margin: 0 auto;
}
.faq__item {
  background: #fff;
  border-radius: 8px;
  padding: 16px 24px 16px 16px;
  margin-bottom: 16px;
  border: 2px solid #E5E7EB;
}
@media (min-width: 768px) {
  .faq__item {
    padding: 24px;
  }
}
.faq__question {
  font-size: 16px;
  font-weight: bold;
  color: #2D3748;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 768px) {
  .faq__question {
    font-size: 18px;
  }
}
.faq__icon {
  transition: transform 0.3s ease;
  font-size: 14px;
  color: #3F38B7;
}
.faq__icon--active {
  transform: rotate(180deg);
}
.faq__answer {
  font-size: 14px;
  color: #657182;
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
}
@media (min-width: 768px) {
  .faq__answer {
    font-size: 16px;
  }
}
.faq__answer--active {
  max-height: 500px;
  margin: 12px 0;
}
@media (min-width: 768px) {
  .faq__answer--active {
    margin-top: 24px;
  }
}
.faq__answer span {
  font-weight: bold;
}

.form__group {
  margin-bottom: 24px;
}
.form__label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #2D3748;
}
.form__label--required::after {
  content: " *";
  color: #E53E3E;
}
.form__control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s;
}
.form__control:focus {
  outline: none;
  border-color: #3F38B7;
}
.form__control--textarea {
  min-height: 120px;
  resize: vertical;
}
.form__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4B5563;
}

form {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
@media (min-width: 768px) {
  form {
    padding: 50px;
  }
}

.form__help {
  color: #657182;
}

.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.form-wrapper .wpcf7 {
  background: transparent;
}
.form-wrapper .wpcf7-form p {
  margin: 0;
}

.form select.form__control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23718096' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form small {
  font-size: 12px;
  color: #657182;
  display: block;
  margin-top: 4px;
}
.form__checkbox a {
  color: #3F38B7;
  text-decoration: underline;
}
.form__checkbox a:hover {
  color: #1855A6;
}
.form .wpcf7-not-valid-tip {
  color: #E53E3E;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}
.form .wpcf7-not-valid {
  border-color: #E53E3E !important;
}
.form .wpcf7-response-output {
  border: none !important;
  padding: 16px 20px;
  margin: 20px 0 0 0 !important;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
}
.form .wpcf7-mail-sent-ok {
  background: #F0FFF4;
  border: 2px solid #48BB78 !important;
  color: #22543D;
}
.form .wpcf7-validation-errors {
  background: #FFF5F5;
  border: 2px solid #E53E3E !important;
  color: #E53E3E;
}
.form .wpcf7-mail-sent-ng {
  background: #FFF5F5;
  border: 2px solid #E53E3E !important;
  color: #E53E3E;
}
.form .wpcf7-spam-blocked {
  background: #FFFAF0;
  border: 2px solid #F6AD55 !important;
  color: #744210;
}
.form .wpcf7-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(63, 56, 183, 0.3);
  border-top-color: #3F38B7;
  border-radius: 50%;
  animation: cf7-spin 0.6s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}
.form .wpcf7-form.submitting .btn {
  opacity: 0.7;
  pointer-events: none;
  position: relative;
}

@keyframes cf7-spin {
  to {
    transform: rotate(360deg);
  }
}
.footer {
  background: linear-gradient(135deg, #7B33B2 0%, #1855A6 100%);
  color: #fff;
  padding: 40px 0 20px;
}
.footer__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .footer__content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}
.footer__copy {
  font-size: 14px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (min-width: 768px) {
  .footer__links {
    flex-direction: row;
    gap: 24px;
  }
}
.footer__link {
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}
.footer__link:hover {
  color: #fff;
}

.page-article {
  padding-top: 80px;
}
@media (min-width: 768px) {
  .page-article {
    padding-top: 140px;
  }
}

.page-body__content p {
  padding-bottom: 1rem;
}

.page-body__content h2 {
  font-size: 1.2em;
}