



/* =========================================================================
   Project: Hero
   ========================================================================= */
.p-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: var(--color-white);
  /* padding-top: 70px; Header height offset removed to start from top edge */
}

.p-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.p-hero__bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.p-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.p-hero__catch-sub {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-white);
}

.p-hero__catch-main {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 30px;
}

.p-hero__title {
  margin-bottom: 40px;
}


.p-hero__title-main {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.p-hero__features {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.p-hero__features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.p-hero__features .icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  /* background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3); */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: var(--color-secondary);
}

.p-hero__features span {
  font-weight: 700;
  font-size: 15px;
}

.p-hero__btn {
  font-size: 18px;
  padding: 20px 60px;
}

.p-hero__btn i {
  margin-left: 10px;
}

/* =========================================================================
   Project: Contact Strip
   ========================================================================= */
.p-contact-strip {
  background-color: #2b2b2b; /* ダークグレー */
  padding: 20px 0;
}

.p-contact-strip__inner {
  display: flex;
  max-width: 1000px;
  padding: 0 20px;
  gap: 15px;
}

.p-contact-strip__item {
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.p-contact-strip__item:hover {
  opacity: 0.8;
}

.p-contact-strip__item--white {
  background-color: var(--color-white);
  color: var(--color-text);
  flex-direction: column;
  flex: 1;
  padding: 15px 10px;
}

.p-contact-strip__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  height: 48px;
  margin-bottom: 12px;
}

.p-contact-strip__icons img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.p-contact-strip__text {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.p-contact-strip__item--tel-btn {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  border: 2px solid var(--color-white);
  flex: 2.2; /* 電話エリアを少し広めに取る */
  padding: 15px 20px;
  display: flex;
  flex-direction: row;
}

.p-contact-strip__item--tel-btn .tel-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.p-contact-strip__item--tel-btn .p-contact-strip__icon-phone {
  height: 44px;
  width: auto;
}

.p-contact-strip__item--tel-btn .tel-number {
  font-size: 28px;
  font-weight: 900;
  font-family: Arial, sans-serif;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 768px) {
  .p-contact-strip__inner {
    flex-wrap: wrap;
    gap: 10px;
  }
  .p-contact-strip__item--white {
    flex: calc(33.333% - 7px);
  }
  .p-contact-strip__item--tel-btn {
    flex: 100%;
  }
}

/* =========================================================================
   Project: Intro
   ========================================================================= */
.p-intro {
  background: linear-gradient(
    to bottom,
    var(--color-primary-dark) 0%,
    var(--color-primary-light) 100%
  );
  color: var(--color-white);
  padding: 80px 0 100px;
}

.p-intro__title {
  text-align: left;
  margin-bottom: 60px;
}

.p-intro__content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.p-intro__text {
  flex: 1;
  padding-top: 10px;
}

.p-intro__lead {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 30px;
}

.p-intro__desc {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
}

.p-intro__img {
  flex: 1;
}

.p-intro__img img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.p-intro__cards {
  display: flex;
  gap: 30px;
  margin-top: 60px;
}

.p-intro__card {
  flex: 1;
  border: 2px solid var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.p-intro__card-top {
  background-color: #2b2b2b; /* ダークグレー */
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
}

.p-intro__card-icon {
  height: 80px;
  width: auto;
  margin-bottom: 25px;
}

.p-intro__card-top p {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.p-intro__card-bottom {
  background-color: var(--color-primary-dark);
  padding: 25px 20px;
  text-align: center;
  border-top: 2px solid var(--color-white);
}

.p-intro__card-bottom p {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.p-intro__banner {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 50px 60px;
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 60px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: var(--color-text);
}

.p-intro__banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-intro__banner-q {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
}

.p-intro__banner-a {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

.p-intro__banner-btn {
  display: inline-block;
  max-width: 280px;
  transition: opacity 0.3s;
}

.p-intro__banner-btn:hover {
  opacity: 0.8;
}

.p-intro__banner-img {
  flex: 0 0 40%;
}

.p-intro__banner-img img {
  width: 100%;
  height: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
  .p-intro__content {
    flex-direction: column;
    gap: 30px;
  }

  .p-intro__cards {
    flex-direction: column;
    gap: 20px;
  }

  .p-intro__banner {
    flex-direction: column;
    padding: 30px 20px;
    gap: 30px;
    text-align: center;
  }

  .p-intro__banner-img {
    flex: auto;
    width: 100%;
  }

  .p-intro__banner-btn {
    max-width: 100%;
  }
}

/* =========================================================================
   Project: Genre
   ========================================================================= */
.p-genre__title {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 50px;
  text-align: left;
}

.p-genre__cards {
  display: flex;
  gap: 30px;
}

.p-genre__card {
  flex: 1;
  border: 4px solid var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.p-genre__card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-bottom: 4px solid var(--color-white);
}

.p-genre__card-title {
  padding: 25px 15px;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin: 0;
}

.p-genre__card--yellow .p-genre__card-title {
  background-color: #9d9507; /* 画像に近いマスタードイエロー */
}

.p-genre__card--burgundy .p-genre__card-title {
  background-color: #9b0b1c; /* 画像に近いレッド */
}

.p-genre__card--teal .p-genre__card-title {
  background-color: #006b60; /* 画像に近いティールグリーン */
}

@media screen and (max-width: 768px) {
  .p-genre__cards {
    flex-direction: column;
    gap: 20px;
  }
}

/* =========================================================================
   Project: Service
   ========================================================================= */
.p-service {
  background: linear-gradient(180deg, #59003B 0%, #FFA9E2 100%);
}

.p-service__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.p-service__card {
  border: 2px solid var(--color-white);
  border-radius: 5px;
  overflow: hidden;
  background-color: transparent;
  display: flex;
  flex-direction: column;
}

.p-service__card-body {
  padding: 20px;
  color: var(--color-white);
  text-align: center;
  flex: 1;
}

.p-service__card--red .p-service__card-body {
  background-color: #9b0b1c; /* Burgundy-like Red */
}

.p-service__card--green .p-service__card-body {
  background-color: #006b60; /* Teal Green */
}

.p-service__card--purple .p-service__card-body {
  background-color: var(--color-primary-dark); /* Purple */
}

.p-service__card--olive .p-service__card-body {
  background-color: #9d9507; /* Olive / Mustard */
}

.p-service__card-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--color-white);
  padding-bottom: 15px;
  border-bottom: 1px solid var(--color-white);
  margin-bottom: 15px;
}

.p-service__card-desc {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 700;
}

.p-service__card-footer {
  background-color: #2b2b2b;
  padding: 15px 15%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-white);
}

.p-service__card-footer .label {
  border: 1px solid var(--color-white);
  padding: 5px 20px;
  font-size: 14px;
  font-weight: 700;
}

.p-service__card-footer .price {
  font-size: 28px;
  font-weight: 900;
}

.p-service__card-footer .price span {
  font-size: 18px;
  font-weight: 700;
}

.p-service__card-footer .price-wrap {
  text-align: right;
}

.p-service__card-footer .note {
  display: block;
  font-size: 10px;
  margin-bottom: 2px;
}

@media screen and (max-width: 768px) {
  .p-service__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   Project: News
   ========================================================================= */
.l-section--bg-dark {
  background-color: #282828;
}

.p-news__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
}

.p-news__header .c-sec-title {
  margin-bottom: 0;
}

.c-btn--column {
  border: 2px solid var(--color-primary-light);
  background: transparent;
  color: var(--color-white);
  border-radius: 0;
  padding: 10px 30px;
  font-size: 14px;
}

.c-btn--column:hover {
  background-color: var(--color-primary-light);
}

.p-news__cards {
  display: flex;
  gap: 30px;
}

@media screen and (max-width: 768px) {
  .p-news__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .p-news__cards {
    flex-direction: column;
  }
}

.p-news__card {
  flex: 1;
  background-color: var(--color-white);
  border-radius: 0; /* Changed from 5px to match design */
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.p-news__card--column .p-news__thumb {
  aspect-ratio: 16 / 9;
  background-color: #d9d9d9;
  position: relative;
}

.p-news__card--column .p-news__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-news__category {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #000;
  color: #fff;
  font-size: 11px;
  padding: 5px 15px;
  font-weight: 700;
  z-index: 2;
}

.p-news__body {
  padding: 20px;
  flex: 1;
}

.p-news__title {
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.5;
  color: #000;
}

.p-news__desc {
  font-size: 12px;
  color: #333;
  line-height: 1.6;
}

.p-news__date{
  font-size:12px;
}

/* =========================================================================
   Project: Company (About)
   ========================================================================= */
.p-company{
  background-color: #2E2E2E;
}
.p-company__box--about {
  background-color: transparent;
  padding: 40px 0;
  border-radius: 0;
}

.p-company__profile {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 50px;
  color: var(--color-white);
}

.p-company__profile-img {
  flex: 0 0 250px; /* Or use a percentage, but approx 250px looks correct based on the design */
}

.p-company__profile-text {
  flex: 1;
}

.p-company__profile-text .name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.p-company__profile-text .number {
  font-size: 14px;
  margin-bottom: 30px;
  font-weight: 700;
}

.p-company__profile-text .message {
  font-size: 13px;
  line-height: 1.8;
  color: #ccc;
}

.p-company__profile-text .message-strong {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.p-company__sns {
  display: flex;
  gap: 15px;
}

.p-company__sns--center {
  justify-content: center;
}

.p-company__sns a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  color: var(--color-white);
  border-radius: 50%;
  font-size: 20px;
  transition: opacity 0.3s;
}

.p-company__sns a:hover {
  opacity: 0.8;
}

.p-company__sns a.fb {
  background-color: #3b5998;
}

.p-company__sns a.ig {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

@media screen and (max-width: 768px) {
  .p-company__profile {
    flex-direction: column;
    align-items: center;
  }
}


/* =========================================================================
   Project: Contact Form
   ========================================================================= */
.p-contact__form-wrap {
  background-color: var(--color-white);
  padding: 50px;
  border-radius: 10px;
}

.p-form__item {
  margin-bottom: 25px;
}

.p-form__item label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.p-form__item label .req {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 12px;
  padding: 2px 6px;
  margin-left: 10px;
  border-radius: 3px;
}

.p-form__item input[type="text"],
.p-form__item input[type="tel"],
.p-form__item input[type="email"],
.p-form__item textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 16px;
}

.p-form__submit {
  text-align: center;
  margin-top: 40px;
}

.p-form__submit .c-btn {
  width: 100%;
  max-width: 300px;
}



/* =========================================================================
   Media Queries
   ========================================================================= */
@media screen and (max-width: 768px) {



  /* Hero */
  .p-hero {
    padding-top: 80px;
  }
  .p-hero__catch-sub {
    font-size: 16px;
  }
  .p-hero__catch-main {
    font-size: 18px;
  }
  .p-hero__title-main {
    font-size: 34px;
  }
  .p-hero__features {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
  }
  .p-hero__features li {
    flex-direction: row;
    align-items: center;
    text-align: left;
    width: 100%;
    max-width: 320px;
    gap: 15px;
  }
  .p-hero__features .icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }
  .p-hero__features span {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Contact Strip */
  .p-contact-strip__inner {
    flex-direction: column;
  }
  .p-contact-strip__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  .tel-text {
    flex-direction: column;
    gap: 0;
  }

  /* Intro */
  .p-intro__content {
    flex-direction: column;
  }
  .p-intro__merit-cards {
    flex-direction: column;
    gap: 15px;
  }
  .p-intro__appeal-inner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  /* Genre & Service & News */
  .p-genre__cards,
  .p-service__grid,
  .p-news__cards {
    grid-template-columns: 1fr;
    display: grid;
    gap: 20px;
  }

  /* Company */
  .p-company__list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .p-company__list dt {
    margin-top: 10px;
  }

  /* Footer */
  .l-footer__content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .l-footer__nav ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}
