/* =========================
  Company Page
========================= */

.company-page {
  overflow: hidden;
  background: #fff;
}

/* =========================
  Company MV
========================= */

.company-mv {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: #fff8f5;
}

.company-mv-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

/* 左側の文字を読みやすくする白グラデーション */
.company-mv::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.90) 28%,
    rgba(255, 255, 255, 0.58) 48%,
    rgba(255, 255, 255, 0.18) 68%,
    rgba(255, 255, 255, 0.00) 100%
  );
}

/* 下の白いなみなみ：山2個 */
.company-mv::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 86px;
  z-index: 3;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1440 120' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><path d='M0,72 C220,28 420,28 640,72 C850,112 1030,110 1220,76 C1320,58 1395,58 1440,68 V120 H0 Z' fill='%23ffffff'/></svg>");
}

.company-mv-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 40px));
  min-height: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.company-mv-content {
  max-width: 620px;
  padding: 80px 0 120px;
}

.company-mv-content h1 {
  margin: 0 0 34px;
  color: #3b2a2a;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.company-mv-content p {
  margin: 0;
  color: #6d5757;
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.04em;
}

.pc-only {
  display: inline;
}

/* =========================
  Common Heading
========================= */

.company-heading {
  margin-bottom: 56px;
  text-align: center;
}

.company-heading span {
  display: block;
  margin-bottom: 18px;
  color: #df4f6a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.company-heading h2 {
  margin: 0;
  color: #3b2a2a;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

/* =========================
  Company Info
========================= */

.company-info-section {
  padding: 110px 20px 120px;
  background: #fff;
}

.company-info-box {
  width: min(900px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(226, 80, 109, 0.18);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(180, 102, 112, 0.08);
}

.company-info-list {
  margin: 0;
}

.company-info-list > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid rgba(226, 80, 109, 0.15);
}

.company-info-list > div:last-child {
  border-bottom: none;
}

.company-info-list dt {
  padding: 28px 32px;
  background: #f4f1f0;
  color: #6d5757;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.company-info-list dd {
  margin: 0;
  padding: 28px 36px;
  color: #5f4b4b;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.company-info-list ul {
  margin: 0;
  padding-left: 1.2em;
}

.company-info-list li {
  margin: 0 0 6px;
}

.company-info-list li:last-child {
  margin-bottom: 0;
}

/* =========================
  Mission
========================= */

.company-mission-section {
  position: relative;
  padding: 120px 20px;
  background: #fff8f5;
  overflow: hidden;
}

.company-mission-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 24%, rgba(226, 80, 109, 0.12) 0, transparent 30%),
    radial-gradient(circle at 82% 72%, rgba(245, 190, 178, 0.25) 0, transparent 34%);
  pointer-events: none;
}

.company-mission-inner {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}

.company-mission-text {
  margin: 0 auto;
  color: #5f4b4b;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 700;
  line-height: 2.1;
  letter-spacing: 0.05em;
}

/* =========================
  Contact
========================= */

.company-contact-section {
  padding: 120px 20px 80px;
  background: #fff;
  text-align: center;
}

.company-contact-text {
  margin: 0 auto;
  color: #5f4b4b;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.05em;
}

.company-contact-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  width: min(980px, 100%);
  margin: 48px auto 0;
  padding: 0;
  list-style: none;
}

.company-contact-notes li {
  position: relative;
  padding: 28px 20px;
  border: 1px solid rgba(226, 80, 109, 0.18);
  border-radius: 22px;
  background: #fff8f5;
  color: #6d5757;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.company-contact-notes li::before {
  content: "✓";
  display: block;
  margin-bottom: 10px;
  color: #df4f6a;
  font-size: 18px;
  font-weight: 700;
}

.company-contact-button-wrap {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

.company-contact-button {
  min-width: 500px;
  justify-content: center;
}

/* =========================
  Contact Notes
========================= */

.contact-notes {
  width: min(1120px, calc(100% - 40px));
  margin: 52px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-note {
  min-height: 170px;
  padding: 42px 28px 36px;
  border: 1px solid rgba(226, 80, 109, 0.28);
  border-radius: 32px;
  background: #fff8f5;
  box-shadow: 0 14px 34px rgba(180, 102, 112, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  gap: 24px;
  text-align: center;
}

.contact-note-icon {
  width: 36px;
  height: 36px;
  color: #e2506d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-note-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* SVGの中に円や四角がある場合も背景を塗らない */
.contact-note-icon rect,
.contact-note-icon circle,
.contact-note-icon path {
  fill: none;
}

.contact-note p {
  margin: 0;
  color: #5f4b4b;
  font-size: clamp(16px, 1.2vw, 20px);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* =========================
  tab
========================= */

@media (max-width: 1024px) {
  .contact-notes {
    max-width: 745px;
    gap: 20px;
  }

  .contact-note {
    min-height: auto;
    padding: 32px 24px;
    border-radius: 28px;
    gap: 18px;
  }
}


/* =========================
  Responsive
========================= */

@media (max-width: 767px) {
  .company-mv {
    min-height: 420px;
    padding: 90px 20px 120px;
    background-image:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(255, 255, 255, 0.9) 48%,
        rgba(255, 255, 255, 0.36) 100%
      ),
      url("../images/company-mv-sp.png");
    background-position: center center;
  }

  .company-mv-inner {
    width: 100%;
  }

  .company-mv h1 {
    font-size: 34px;
  }

  .company-mv p:not(.company-mv-label) {
    font-size: 15px;
    line-height: 2;
  }

  .company-info-section,
  .company-mission-section,
  .company-contact-section {
    padding: 50px 20px;
  }

  .company-heading {
    margin-bottom: 40px;
  }

  .company-heading h2 {
    font-size: 36px;
  }

  .company-info-list > div {
    grid-template-columns: 1fr;
  }

  .company-info-list dt {
    padding: 18px 22px 10px;
  }

  .company-info-list dd {
    padding: 10px 22px 22px;
    font-size: 15px;
  }

  .company-mission-text,
  .company-contact-text {
    font-size: 16px;
    line-height: 2;
  }

  .company-contact-notes {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 36px;
  }

  .company-contact-notes li {
    padding: 22px 18px;
  }

  .company-contact-button {
    min-width: 0;
    width: 100%;
  }

   .company-mv {
    min-height: 0;
    padding: 0;
  }

  .company-mv-bg img {
    object-position: center bottom;
  }

  .company-mv::before {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.92) 34%,
      rgba(255, 255, 255, 0.52) 58%,
      rgba(255, 255, 255, 0.10) 100%
    );
  }

  .company-mv::after {
    height: 58px;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 390 70' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'><path d='M0,42 C70,16 132,18 194,42 C258,66 320,62 390,36 V70 H0 Z' fill='%23ffffff'/></svg>");
  }

  .company-mv-inner {
    width: calc(100% - 40px);
    min-height: 430px; /* ここを短くする */
    align-items: flex-start;
  }

  .company-mv-content {
    max-width: 100%;
    padding: 70px 0 0;
  }

  .company-mv::after {
    height: 54px;
  }

  .company-mv-content h1 {
    margin-bottom: 22px;
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.35;
  }

  .company-mv-content p {
    font-size: 15px;
    line-height: 1.9;
  }

  .pc-only {
    display: none;
  }

   .contact-notes {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    margin-top: 36px;
    gap: 16px;
  }

  .contact-note {
    padding: 28px 20px;
    border-radius: 24px;
  }

  .contact-note-icon {
    width: 30px;
    height: 30px;
  }

  .contact-note p {
    font-size: 15px;
    line-height: 1.8;
  }

}

/* =========================
  Contact Form
========================= */

.contact-form-section {
  padding: 0 20px 60px;
  background: #fff;
}

.contact-form-wrap {
  width: min(760px, 100%);
  margin: 0 auto;
}

.contact-form {
  padding: 48px 56px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(169, 36, 70, 0.10);
}

.contact-form-field {
  margin-bottom: 24px;
}

.contact-form-field label {
  display: block;
  margin-bottom: 10px;
  color: #3b2a2a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.contact-form-field label span {
  color: #df4f6a;
  font-size: 13px;
}

.contact-form-field input,
.contact-form-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 16px 18px;
  border: 1px solid rgba(226, 80, 109, 0.22);
  border-radius: 12px;
  background: #fff;
  color: #5f4b4b;
  font-size: 16px;
  line-height: 1.6;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
  color: #b8a5a5;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
  border-color: #df4f6a;
  box-shadow: 0 0 0 4px rgba(226, 80, 109, 0.10);
}

.contact-form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form-privacy {
  margin: 30px 0 28px;
  padding: 22px;
  border: 1px solid rgba(226, 80, 109, 0.18);
  border-radius: 14px;
  background: #fff8f5;
}

.contact-form-privacy label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #5f4b4b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.8;
}

.contact-form-privacy input {
  margin-top: 6px;
  accent-color: #df4f6a;
}

.contact-form-privacy a {
  color: #df4f6a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form-submit {
  display: flex;
  justify-content: center;
}

.contact-form-submit button {
  min-width: 220px;
  padding: 16px 36px;
  border: none;
  border-radius: 999px;
  background: #df4f6a;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(226, 80, 109, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.contact-form-submit button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(226, 80, 109, 0.34);
  opacity: 0.95;
}

.contact-form-message {
  display: none;
  margin: 28px 0 0;
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff8f5;
  color: #df4f6a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.contact-form-message.is-show {
  display: block;
}

@media (max-width: 640px) {
  .contact-form-section {
    padding: 0 16px 35px;
  }

  .contact-form {
    padding: 32px 22px;
    border-radius: 18px;
  }

  .contact-form-field {
    margin-bottom: 20px;
  }

  .contact-form-field input,
  .contact-form-field textarea {
    padding: 14px 15px;
    font-size: 15px;
  }

  .contact-form-field textarea {
    min-height: 150px;
  }

  .contact-form-privacy {
    padding: 18px;
  }

  .contact-form-submit button {
    width: 100%;
  }
}