/* =========================================================
  company.css
  CORPORTATE / 会社概要ページ専用
  スラッグ company / Template: page-company.php
========================================================= */
.lower-page--company {
  --co-orange: #f47b20;
  --co-red: #e9342f;
  --co-yellow: #ffd34d;
  --co-blue: #00a6d6;
  --co-deep-blue: #006b9d;
  --co-brown: #3f2411;
  --co-cream: #fffaf0;
  --co-soft: #fff1d2;
  --co-shadow: 0 18px 42px rgba(73, 37, 10, .15);
  color: var(--co-brown);
  background: var(--co-cream);
  overflow: hidden;
}

/* =========================
   COMPANY PAGE
========================= */

.company-page {
  width: 100%;
  overflow-x: hidden;
  background: #fff;
}

/* =========================
   COMPANY HERO
========================= */

.company-hero {
  position: relative;
  width: 100vw;
  height: clamp(600px, calc(100vw * 500 / 1440), 680px);
  min-height: 600px !important;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: #061b28;
}

.company-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

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

.company-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.38) 0%,
      rgba(0, 0, 0, 0.28) 36%,
      rgba(0, 0, 0, 0.10) 72%,
      rgba(0, 0, 0, 0.02) 100%
    );
  pointer-events: none;
}

.company-hero__inner {
  position: relative;
  z-index: 2;
  display: block !important;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: 0 !important;
}

.company-hero__content {
  position: absolute;
  left: 300px;
  top: 40%;
  z-index: 4;
  color: #fff;
  width: max-content;
  max-width: min(900px, 90vw);
}

.company-hero__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-height: 38px;
  margin-bottom: 18px;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(180deg, #ff8a35 0%, #f25b19 100%);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
  border-radius: 5px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.company-hero__title {
  margin: 0 0 14px;
  color: #fff;
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(34px, 4vw, 82px);
  line-height: 1.22;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-shadow:
    0 4px 0 rgba(0, 0, 0, 0.35),
    0 8px 18px rgba(0, 0, 0, 0.72),
    2px 2px 0 rgba(0, 32, 58, 0.55);
}

.company-hero__lead {
  margin: 0;
  color: #fff;
  font-size: clamp(14px, 2.2vw, 16px);
  line-height: 1.8;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.45),
    0 5px 12px rgba(0, 0, 0, 0.75);
}

/* ノートPC */
@media (max-width: 1366px) and (min-width: 768px) {
    .company-hero,
    .company-hero__inner {
        height: 500px;
        min-height: 500px !important;
    }
}

/* SP */
@media (max-width: 767px) {
  .company-hero {
    height: 72svh;
    min-height: 520px !important;
  }

  .company-hero__bg img {
    object-fit: cover;
    object-position: center center;
  }

  .company-hero__inner {
    width: 100%;
    max-width: none;
  }

  .company-hero__content {
    left: 50%;
    top: 60%;
    transform: translate(-50%, -35%);
    width: calc(100% - 40px);
    max-width: none;
  }

  .company-hero__label {
    height: 34px;
    min-height: 34px;
    margin-bottom: 14px;
    padding: 0 14px;
    font-size: 11px;
  }

  .company-hero__title {
    font-size: clamp(30px, 4vw, 82px);
    line-height: 1.28;
    margin-bottom: 14px;
  }

  .company-hero__lead {
    font-size: 14px;
    line-height: 1.8;
  }
}

/* =========================
   COMPANY MESSAGE
========================= */

.company-message {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 0 70px;
  overflow: hidden;
  background: #fff;
}

.company-message__flower-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  height: 230px;
  overflow: hidden;
  pointer-events: none;
}

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

.company-message__flower-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 248, 239, 0) 0%,
    rgba(255, 248, 239, 0.45) 38%,
    rgba(255, 255, 255, 0.82) 72%,
    #fff 100%
  );
}

.company-message__sea-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50px;
  z-index: 1;
  height: 430px;
  pointer-events: none;
}

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

.company-message__sea-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    #fff 0%,
    rgba(255, 255, 255, 0.72) 30%,
    rgba(255, 255, 255, 0.25) 62%,
    rgba(255, 255, 255, 0) 100%
  );
}

.company-message__inner {
  position: relative;
  z-index: 3;
  width: 1120px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  padding-top: 54px;
}

.company-message__heading {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-bottom: 36px;
}

.company-message__subcopy {
  margin: 0 0 12px;
  color: #111;
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.company-message__title {
  margin: 0;
  color: #f15b1a;
  font-family: "Noto Sans", sans-serif;
  font-size: 3px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.company-message__content {
  position: relative;
  min-height: 760px;
}

.company-message__owner {
  position: absolute;
  left: 10px;
  bottom: 0;
  z-index: 5;
  width: 420px;
  margin: 0;
}

.company-message__owner img {
  display: block;
  width: 100%;
  height: auto;
}

.company-message__sea-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 430px;
  pointer-events: none;
}

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

.company-message__sea-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    #fff 0%,
    rgba(255, 255, 255, 0.72) 30%,
    rgba(255, 255, 255, 0.25) 62%,
    rgba(255, 255, 255, 0) 100%
  );
}

.company-message__text {
  position: relative;
  z-index: 6;

  width: min(620px, calc(100% - min(430px, 36vw)));
  margin-left: min(430px, 36vw);

  padding-top: 8px;
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.95), -2px 2px 0 rgba(255, 255, 255, 0.95), 2px -2px 0 rgba(255, 255, 255, 0.95), -2px -2px 0 rgba(255, 255, 255, 0.95), 0 6px 10px rgba(0, 60, 90, 0.28);

}

.company-message__text h3 {
  margin: 0 0 28px;
  color: #070707;
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(25px, 2.2vw, 32px);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.company-message__text p {
  margin: 0 0 14px;
  color: #111;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.company-message__hibiscus {
  position: absolute;
  right: 40px;
  bottom: 20px;
  z-index: 4;
  width: 300px;
  margin: 0;
  pointer-events: none;
}

.company-message__hibiscus img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .company-message {
    padding-bottom: 0;
  }

  .company-message__flower-bg,
  .company-message__flower-bg img {
    height: 230px;
  }

  .company-message__inner {
    width: 100%;
    max-width: none;
    padding: 44px 20px 0;
    box-sizing: border-box;
  }

  .company-message__heading {
    margin-bottom: 28px;
  }

  .company-message__subcopy {
    font-size: 22px;
    line-height: 1.5;
  }

  .company-message__title {
    font-size: 26px;
  }

  .company-message__content {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .company-message__owner {
    position: relative;
    left: auto;
    bottom: auto;
    order: 2;
    width: 400px;
    height: clamp(320px, 90vw, 380px);
    margin: 26px auto 0;
    overflow: hidden;
  }

  .company-message__owner img {
        position: absolute;
        top: -11px;
        left: 25%;
        display: block;
        width: 240px;
        max-width: none;
        height: auto;
        transform: translateX(-50%);
  }

  .company-message__text {
    order: 1;
    width: 100%;
    margin-left: 0;
    padding-top: 0;
  }

  .company-message__text h3 {
    font-size: 24px;
    line-height: 1.45;
    margin-bottom: 22px;
  }

  .company-message__text p {
    font-size: 13px;
    line-height: 1.85;
  }

  .company-message__hibiscus {
    right: -20px;
    bottom: 40px;
    width: 190px;
    opacity: 0.85;
  }

  .company-message__sea-bg {
    height: 420px;
    bottom: 30px;
  }
}

/* =========================
   COMPANY PROFILE
========================= */

.company-profile {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0 0 80px;
  overflow: hidden;
  background: #fff;
}

.company-profile__flower-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  height: 230px;
  overflow: hidden;
  pointer-events: none;
}

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

.company-profile__flower-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 248, 239, 0) 0%,
    rgba(255, 248, 239, 0.45) 38%,
    rgba(255, 255, 255, 0.82) 72%,
    #fff 100%
  );
}

.company-profile__inner {
  position: relative;
  z-index: 3;
  width: 1120px;
  max-width: calc(100% - 30px);
  margin: 0 auto;
  padding-top: 54px;
}

.company-profile__heading {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-bottom: 58px;
}

.company-profile__subcopy {
  margin: 0 0 12px;
  color: #111;
  font-family: "Mochiy Pop One", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.company-profile__title {
  margin: 0;
  color: #f15b1a;
  font-family: "Noto Sans", sans-serif;
  font-size: 32px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.company-profile__content {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 42px;
  align-items: stretch;

  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.company-profile__image {
  width: 390px;
  height: 100%;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
}


.company-profile__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-profile__table-wrap {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

.company-profile__table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 13px;
  line-height: 1.8;
}

.company-profile__table th,
.company-profile__table td {
  border: 1px solid #e5e1da;
  padding: 17px 22px;
  text-align: left;
  vertical-align: middle;
}

.company-profile__table th {
  width: 135px;
  color: #111;
  background: #fff1d0;
  font-weight: 900;
  white-space: nowrap;
}

.company-profile__table td {
  color: #222;
  font-weight: 700;
}

@media (max-width: 767px) {
  .company-profile {
    padding-bottom: 56px;
  }

  .company-profile__flower-bg,
  .company-profile__flower-bg img {
    height: 230px;
  }

  .company-profile__inner {
    width: 100%;
    max-width: none;
    padding: 44px 20px 0;
    box-sizing: border-box;
  }

  .company-profile__heading {
    margin-bottom: 34px;
  }

  .company-profile__subcopy {
    font-size: 24px;
  }

  .company-profile__title {
    font-size: 26px;
  }

  .company-profile__content {
    display: block;
  }

  .company-profile__image {
    width: 100%;
    margin: 0 0 24px;
  }

  .company-profile__table {
    font-size: 12px;
  }

  .company-profile__table th,
  .company-profile__table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 16px;
  }

  .company-profile__table th {
    border-bottom: none;
  }

  .company-profile__table td {
    border-top: none;
  }
}