/*
Theme Name: Ojas Pharma
Theme URI: https://ojas-pharma.co.jp/
Author: OJAS PHARMA株式会社
Description: OJAS PHARMA株式会社 コーポレートサイト用テーマ
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ojas-pharma
*/
@charset "UTF-8";
/* Reset Styles (ブラウザ間の差異を解消) */
*, *::before, *::after {
  box-sizing: border-box;
}

body, h1, h2, h3, p, ul, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

input, button, textarea, select {
  font: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

@keyframes image-reveal-white-overlay {
  from { opacity: 1; }
  to   { opacity: 0; }
}
@keyframes image-reveal-white-img {
  from {
    filter: brightness(1.8) blur(6px);
    transform: scale(1.035);
  }
  to {
    filter: brightness(1) blur(0);
    transform: scale(1);
  }
}
@keyframes image-reveal-white-img-flat {
  from { filter: brightness(1.8) blur(6px); }
  to   { filter: brightness(1) blur(0); }
}
@keyframes image-reveal-white-container {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.image-reveal-white {
  position: relative;
  overflow: hidden;
}
.image-reveal-white::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #fff;
  opacity: 1;
  z-index: 2;
  pointer-events: none;
  will-change: opacity;
}
.image-reveal-white > img {
  will-change: filter, transform;
}
.image-reveal-white--in-view::before {
  animation: image-reveal-white-overlay 2s ease-out both;
}
.image-reveal-white--in-view > img {
  animation: image-reveal-white-img 2s cubic-bezier(.22, .61, .36, 1) both;
}
.image-reveal-white--done::before { will-change: auto; }
.image-reveal-white--done > img   { will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  .image-reveal-white::before {
    opacity: 0;
    animation: none;
    will-change: auto;
  }
  .image-reveal-white > img {
    animation: none;
    filter: none;
    transform: none;
    will-change: auto;
  }
}

.l-body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.8;
  margin: 0;
  background-color: #F9F8F4;
}

.l-container {
  max-width: 1960px;
  margin: 0 auto;
  padding: 0 40px;
}
@media screen and (max-width: 768px) {
  .l-container {
    padding: 0 15px;
  }
}

.c-section-heading {
  margin-bottom: 80px;
}
.c-section-heading__en {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #888888;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(0.96rem, 1vw + 0.6rem, 1.6rem);
  font-weight: 600;
}
.c-section-heading__en::before {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background-color: #7AAC35;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.c-section-heading__ja {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.6rem, 2.75vw + 1.2rem, 4.8rem);
  font-weight: 700;
  /* margin: 5px 0 0; */
  line-height: 1.2;
}

.c-button {
  display: inline-block;
  padding: 24px 40px;
  border-radius: 8px;
  font-size: clamp(1rem, 0.5vw + 0.875rem, 1.25rem);
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: opacity 0.3s;
  border: none;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .c-button {
    padding: 6px 20px;
  }
}
.c-button--primary {
  background-color: #00843d;
  color: #ffffff;
}
.c-button--accent {
  background-color: #f4803d;
  color: #ffffff;
}
.c-button--full {
  width: 100%;
}
.c-button:hover {
  opacity: 0.8;
}

.c-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.c-modal[hidden] {
  display: none;
}
.c-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  border: none;
  cursor: pointer;
}
.c-modal__dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(85vh, 800px);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.c-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #333;
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}
.c-modal__close:hover {
  background-color: #f0f7f0;
}
.c-modal__content {
  padding: 48px 40px 40px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media screen and (max-width: 768px) {
  .c-modal__content {
    padding: 44px 20px 28px;
  }
}
.c-modal__title {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.4rem, 1.2vw + 1rem, 2rem);
  color: #00843d;
  text-align: center;
  margin-bottom: 32px;
}
.c-modal__section-title {
  font-size: clamp(1.1rem, 0.6vw + 0.9rem, 1.35rem);
  font-weight: 700;
  color: #00843d;
  margin: 28px 0 16px;
}
.c-modal__section-title:first-of-type {
  margin-top: 0;
}
.c-modal__lead {
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.1rem);
  line-height: 1.9;
  margin-bottom: 24px;
}
.c-modal__list {
  padding-left: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.c-modal__list-item {
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.1rem);
  line-height: 1.9;
}
.c-modal__list-item strong {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
.c-modal__contact {
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.1rem);
  line-height: 1.9;
  font-style: normal;
}

.c-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 14px 20px;
  border: 1px solid #ccc;
  border-radius: 12px;
  cursor: pointer;
  background-color: #ffffff;
  font-size: clamp(1rem, 0.5vw + 0.85rem, 1.4rem);
  transition: border-color 0.2s, background-color 0.2s;
}
.c-radio:has(.c-radio__input:checked) {
  border-color: #00843d;
  background-color: rgba(0, 132, 61, 0.05);
}
.c-radio__input {
  display: none;
}
.c-radio__icon {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
  fill: currentColor;
}
.c-radio__label {
  font-size: 15px;
  line-height: 16px;
}

.c-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.c-checkbox__input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #00843d;
  cursor: pointer;
}
.c-checkbox__label {
  line-height: 1.6;
}

.c-badge {
  font-size: clamp(0.7rem, 0.5vw + 0.55rem, 0.98rem);
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 8px;
  color: #ffffff;
}
.c-badge--required {
  background-color: #d32f2f;
}
.c-badge--optional {
  background-color: #999;
}

.c-card {
  padding: calc(4% + 8px);
  background: #ffffff;
  border-radius: 8px;
}
.c-card__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.25rem, 1vw + 0.9rem, 2.75rem);
  color: #00843d;
  margin-top: 0;
  margin-bottom: 15px;
}
.c-card__text {
  font-size: clamp(1rem, 0.5vw + 0.85rem, 1.4rem);
}

.c-input-text, .c-select, .c-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1rem, 0.5vw + 0.85rem, 1.4rem);
  box-sizing: border-box;
}

.c-select {
  padding-right: 32px;
}

.p-header {
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.p-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: none;
}
@media screen and (max-width: 768px) {
  .p-header__inner {
    gap: 12px;
  }
}
@media screen and (max-width: 768px) {
  .p-header__logo {
    flex-shrink: 1;
    min-width: 0;
  }
}
.p-header__logo-img {
  height: 56px;
}
@media screen and (max-width: 768px) {
  .p-header__logo-img {
    height: 40px;
    max-width: 52vw;
    width: auto;
  }
}
.p-header__right {
  display: flex;
  align-items: center;
  gap: 30px;
}
@media screen and (max-width: 768px) {
  .p-header__right {
    gap: 15px;
    flex-shrink: 0;
  }
}
@media screen and (max-width: 768px) {
  .p-header__nav {
    display: none;
  }
}
.p-header__nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.p-header__nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 700;
  font-size: clamp(0.95rem, 0.8vw + 0.7rem, 1.33rem);
}
@media screen and (max-width: 768px) {
  .p-header__cta {
    flex-shrink: 0;
  }
}
.p-header__cta a {
  border-radius: 9999px;
  padding-top: 10px;
  padding-bottom: 10px;
}
@media screen and (max-width: 768px) {
  .p-header__cta a {
    padding: 8px 14px;
    font-size: 0.8125rem;
    white-space: nowrap;
  }
}

.p-hero {
  height: 80svh;
  margin-top: 0;
  min-height: 500px;
  background-image: url("assets/img/hero.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  top: 0;
}
@media screen and (max-width: 768px) {
  .p-hero {
    align-items: flex-start;
    margin-top: 0;
  }
}
.p-hero__content {
  position: absolute;
  bottom: -8vh;
  left: 0;
  z-index: 100;
  padding: 40px;
  margin-left: 0;
  margin-bottom: 0;
  max-width: 1120px;
}
@media screen and (max-width: 768px) {
  .p-hero__content {
    margin: 0;
    width: 100%;
    padding: 30px 20px;
  }
}
.p-hero__subtext {
  color: #333;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.4rem, 1.35vw + 1.05rem, 2.2rem);
  font-weight: 600;
  margin-bottom: 10px;
}
.p-hero__title {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(28px, 4.5vw + 0.75rem, 92px);
  line-height: 1.4;
  margin: 0;
}
.p-hero__bg {
  display: flex;
  justify-content: space-between;
  position: absolute;
  z-index: 5;
  width: 100%;
  height: 80svh;
  top: 0;
}
@media screen and (max-width: 768px) {
  .p-hero__bg {
    flex-direction: column;
    justify-content: flex-start;
  }
}
.p-hero__bg-item {
  width: 50%;
  height: 100%;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .p-hero__bg-item {
    width: 100%;
    height: 50%;
  }
}
.p-hero__bg-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}
@media screen and (max-width: 768px) {
  .p-hero__bg-item img {
    height: 100%;
  }
}
.p-hero__bg .bg-01 img {
  -o-object-position: right top;
     object-position: right top;
}
.p-hero__bg .bg-01 {
  position: relative;
}
.p-hero__bg .bg-01::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.45) 0%, transparent 70%);
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  .p-hero__bg .bg-01::after {
    display: none;
  }
}
.p-hero__bg .bg-02.image-reveal-white--in-view::before {
  animation-delay: 0.35s;
}
.p-hero__bg .bg-02.image-reveal-white--in-view > img {
  animation-delay: 0.35s;
}
@media screen and (max-width: 768px) {
  .p-hero__bg .bg-02 {
    position: relative;
  }
  .p-hero__bg .bg-02::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 1;
  }
}

.p-philosophy {
  background-color: #f0f7f0;
  background-image: url("assets/img/philosophy_bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 30dvh 0 320px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .p-philosophy {
    padding: 48px 0 64px;
  }
  .p-philosophy > .l-container {
    margin-top: 32px;
  }
}
.p-philosophy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}
.p-philosophy > * {
  position: relative;
  z-index: 1;
}
.p-philosophy__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  left: clamp(8px, 1.2vw, 18px);
  isolation: isolate;
  overflow: visible;
  z-index: 2;
}
.p-philosophy__grid::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  left: 50%;
  bottom: calc(-1 * clamp(1.25rem, 0.5rem + 4vw, 7.75rem));
  width: min(220%, 1512px, 100dvw - 32px);
  aspect-ratio: 4/3;
  background: url("assets/img/philosophy_bg_nara.webp") no-repeat center center;
  background-size: contain;
  transform: translateX(calc(-50% - clamp(0.25rem, 0.2rem + 1.2vw, 1rem)));
}
.p-philosophy__text-group {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
  position: relative;
  z-index: 1;
}
.p-philosophy__lead {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(1.8rem, 1.5vw + 1.2rem, 4.6rem);
  color: #00843d;
  line-height: 1.5;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  margin-bottom: 64px;
}
.p-philosophy__lead-line {
  white-space: nowrap;
}
.p-philosophy__description {
  font-size: clamp(1rem, 0.5vw + 0.85rem, 1.4rem);
  line-height: 2.8em;
  max-width: 460px;
}
.p-philosophy .c-section-heading {
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 768px) {
  .p-philosophy .c-section-heading {
    margin-bottom: 40px;
  }
}
.p-philosophy__images {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.p-philosophy__image {
  position: absolute;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-radius: 6px;
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transform: translate3d(0, var(--p-y, 0px), 0);
          transform: translate3d(0, var(--p-y, 0px), 0);
}
.p-philosophy__image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transform: translate3d(0, var(--p-yi, 0px), 0) scale(1.05);
          transform: translate3d(0, var(--p-yi, 0px), 0) scale(1.05);
  -webkit-transform-origin: center center;
          transform-origin: center center;
}
.p-philosophy__image--lt {
  top: clamp(12%, 18dvh, 28%);
  left: clamp(4%, 5vw, 12%);
  width: clamp(160px, 18vw, 260px);
  aspect-ratio: 4/3;
}
.p-philosophy__image--rt {
  top: 0;
  right: 0;
  width: clamp(220px, 24vw, 380px);
  aspect-ratio: 3/4;
}
.p-philosophy__image--lb {
  left: 0;
  bottom: clamp(-120px, -8vw, -40px);
  width: clamp(230px, 24vw, 360px);
  aspect-ratio: 3/5;
}
.p-philosophy__image--rb {
  right: calc(clamp(2%, 4vw, 6%) + 40px);
  bottom: clamp(40px, 5vw, 100px);
  width: clamp(200px, 22vw, 320px);
  aspect-ratio: 4/3;
}
.p-philosophy__image.image-reveal-white {
  opacity: 0;
}
.p-philosophy__image.image-reveal-white--in-view {
  animation: image-reveal-white-container 0.8s ease-out both;
}
.p-philosophy__image.image-reveal-white--in-view > img {
  animation: image-reveal-white-img-flat 2s cubic-bezier(.22, .61, .36, 1) both;
}
.p-philosophy__image--lt.image-reveal-white--in-view { animation-delay: 0s; }
.p-philosophy__image--lt.image-reveal-white--in-view::before,
.p-philosophy__image--lt.image-reveal-white--in-view > img { animation-delay: 0s; }
.p-philosophy__image--rt.image-reveal-white--in-view { animation-delay: 0.2s; }
.p-philosophy__image--rt.image-reveal-white--in-view::before,
.p-philosophy__image--rt.image-reveal-white--in-view > img { animation-delay: 0.2s; }
.p-philosophy__image--lb.image-reveal-white--in-view { animation-delay: 0.35s; }
.p-philosophy__image--lb.image-reveal-white--in-view::before,
.p-philosophy__image--lb.image-reveal-white--in-view > img { animation-delay: 0.35s; }
.p-philosophy__image--rb.image-reveal-white--in-view { animation-delay: 0.55s; }
.p-philosophy__image--rb.image-reveal-white--in-view::before,
.p-philosophy__image--rb.image-reveal-white--in-view > img { animation-delay: 0.55s; }
@media screen and (max-width: 768px) {
  .p-philosophy__images {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 48px;
    pointer-events: auto;
  }
  .p-philosophy__image {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    aspect-ratio: 4/3;
    will-change: auto;
    -webkit-transform: none;
            transform: none;
  }
  .p-philosophy__image img {
    will-change: auto;
    -webkit-transform: none;
            transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-philosophy__image {
    -webkit-transform: none;
            transform: none;
    will-change: auto;
    opacity: 1;
    animation: none;
  }
  .p-philosophy__image img {
    -webkit-transform: none;
            transform: none;
    will-change: auto;
    animation: none;
    filter: none;
  }
}

.p-service {
  padding: 196px 0 80px;
  overflow: hidden;
}
.p-service > .l-container {
  overflow: visible;
}
.p-service__main {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 120px);
}
@media screen and (max-width: 768px) {
  .p-service {
    padding: 80px 0 64px;
  }
  .p-service__main {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.p-service__body {
  max-width: min(520px, 100%);
  margin-left: 0;
  font-size: clamp(0.9375rem, 0.55vw + 0.7rem, 1.125rem);
  line-height: 1.75;
  color: #333;
}
@media screen and (min-width: 769px) {
  .p-service__body {
    margin-left: 144px;
  }
}
.p-service__title {
  font-size: clamp(1.25rem, 1.65vw + 0.78rem, 2.875rem);
  color: #00843d;
  font-weight: 700;
  margin: 0 0 clamp(1rem, 2.2vw, 1.75rem);
  line-height: 1.4;
}
.p-service__lead {
  font-size: clamp(1rem, 1.15vw + 0.8rem, 1.75rem);
  line-height: 1.85;
  margin: 0 0 clamp(0.875rem, 1.8vw, 1.5rem);
}
.p-service__text {
  font-size: clamp(0.8125rem, 0.65vw + 0.7rem, 1.1875rem);
  line-height: clamp(1.75rem, 0.35vw + 1.62rem, 2.125rem);
  color: #555;
  margin: 0;
}
.p-service__image {
  position: relative;
  margin: 0;
  border-radius: 4px 0 0 4px;
  overflow: hidden;
  aspect-ratio: 3/2;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-transform: translate3d(clamp(24px, 3vw, 72px), var(--p-y, 0px), 0);
          transform: translate3d(clamp(24px, 3vw, 72px), var(--p-y, 0px), 0);
  width: calc(100% + max(40px, (100vw + 1960px) / 2 - (1960px - 40px)));
  margin-right: calc(-1 * max(40px, (100vw + 1960px) / 2 - (1960px - 40px)));
}
.p-service__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-transform: translate3d(0, var(--p-yi, 0px), 0) scale(1.05);
          transform: translate3d(0, var(--p-yi, 0px), 0) scale(1.05);
  -webkit-transform-origin: center center;
          transform-origin: center center;
}
.p-service__image.image-reveal-white {
  opacity: 0;
}
.p-service__image.image-reveal-white--in-view {
  -webkit-animation: image-reveal-white-container 0.8s ease-out both;
          animation: image-reveal-white-container 0.8s ease-out both;
}
.p-service__image.image-reveal-white--in-view > img {
  -webkit-animation: image-reveal-white-img-flat 2s cubic-bezier(0.22, 0.61, 0.36, 1) both;
          animation: image-reveal-white-img-flat 2s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@media screen and (max-width: 768px) {
  .p-service__image {
    order: -1;
    aspect-ratio: 16/10;
    border-radius: 4px;
    width: 100%;
    margin-right: 0;
    will-change: auto;
    -webkit-transform: none;
            transform: none;
  }
  .p-service__image img {
    will-change: auto;
    -webkit-transform: none;
            transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .p-service__image {
    will-change: auto;
    opacity: 1;
    animation: none;
    -webkit-transform: translate3d(clamp(24px, 3vw, 72px), 0, 0);
            transform: translate3d(clamp(24px, 3vw, 72px), 0, 0);
  }
  .p-service__image img {
    will-change: auto;
    animation: none;
    filter: none;
    -webkit-transform: none;
            transform: none;
  }
  @media screen and (max-width: 768px) {
    .p-service__image {
      -webkit-transform: none;
              transform: none;
    }
  }
}
.p-service__cards {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.p-service__cards .c-card {
  padding: clamp(1.75rem, 2.2vw + 1.1rem, 4.5rem);
}
@media screen and (max-width: 768px) {
  .p-service__cards {
    grid-template-columns: 1fr;
  }
}
.p-service__license-tag {
  display: inline-block;
  padding: 10px 22px;
  margin: 8px 0 18px;
  background-color: #eef3e7;
  border: 1px solid #cfdcbc;
  border-radius: 3px;
  color: #00843d;
  font-size: clamp(0.9rem, 0.3vw + 0.8rem, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.p-service__note {
  font-size: clamp(0.8rem, 0.15vw + 0.75rem, 0.92rem);
  line-height: 1.8;
  color: #888;
  margin: 0;
}

.p-company {
  padding: 100px 0;
}
@media screen and (max-width: 768px) {
  .p-company {
    padding: 64px 0 80px;
  }
}
.p-company__table {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto 60px;
  border-collapse: collapse;
}
.p-company__table-row {
  border-bottom: 1px solid #e0e0e0;
}
.p-company__table-head {
  width: 250px;
  padding: 30px 20px;
  text-align: left;
  background: none;
  font-size: clamp(1rem, 0.5vw + 0.85rem, 1.4rem);
  border-top: 2px solid #3A7D44;
  color: #3A7D44;
}
@media screen and (max-width: 768px) {
  .p-company__table-head {
    display: block;
    width: 100%;
    padding: 10px 15px;
    background-color: #f2f3f0;
  }
}
.p-company__table-row:last-child .p-company__table-head {
  border-bottom: 2px solid #3A7D44;
}
@media screen and (max-width: 768px) {
  .p-company__table-row:last-child .p-company__table-head {
    border-bottom: none;
  }
}
.p-company__table-data {
  padding: 30px 20px;
  font-size: clamp(1rem, 0.5vw + 0.85rem, 1.4rem);
}
@media screen and (max-width: 768px) {
  .p-company__table-data {
    display: block;
    width: 100%;
    padding: 10px 15px 20px;
  }
}
.p-company__map {
  max-width: 1040px;
  margin: 0 auto;
}
.p-company__map-title {
  font-size: clamp(1.2rem, 0.8vw + 0.95rem, 1.625rem);
  color: rgba(17, 126, 33, 1);
  text-align: center;
  margin-bottom: 32px;
}
.p-company__map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.p-company__map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.p-contact {
  background-color: #ffffff;
  padding: 160px 0;
  border-radius: 40px;
}
@media screen and (max-width: 768px) {
  .p-contact {
    padding: 80px 0 64px;
    border-radius: 24px;
  }
}
.p-contact__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}
@media screen and (max-width: 768px) {
  .p-contact__inner {
    padding: 0 20px;
  }
}
.p-contact__grid {
  display: grid;
  grid-template-columns: 540px 1fr;
  gap: 120px;
  align-items: start;
}
@media screen and (max-width: 1440px) {
  .p-contact__grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}
@media screen and (max-width: 768px) {
  .p-contact__grid {
    gap: 40px;
  }
}
.p-contact__info {
  position: sticky;
  top: 100px;
}
@media screen and (max-width: 1440px) {
  .p-contact__info {
    position: static;
    padding: 0 0 16px;
  }
  .p-contact__info .c-section-heading {
    margin-bottom: 40px;
  }
}
.p-contact__info-text {
  margin-bottom: 1em;
  font-size: clamp(1rem, 0.5vw + 0.85rem, 1.4rem);
}
.p-contact__note {
  margin-top: clamp(16px, 2vw + 8px, 28px);
  padding: clamp(18px, 2.2vw + 10px, 28px) clamp(18px, 2.5vw + 12px, 32px);
  background-color: #f9f8f4;
  border-radius: 8px;
  font-size: clamp(0.8125rem, 0.5vw + 0.72rem, 0.9375rem);
  line-height: 1.75;
  color: #333;
}
.p-contact__note-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.p-contact__note-item {
  position: relative;
  margin: 0 0 clamp(12px, 1.6vw + 6px, 16px);
  padding-left: 1.125rem;
}
.p-contact__note-item:last-child {
  margin-bottom: 0;
}
.p-contact__note-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #00843d;
}
.p-contact__note-link {
  color: #00843d;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.p-contact__note-link:hover {
  text-decoration-thickness: 2px;
}
.p-contact__form {
  max-width: 680px;
  margin-top: 140px;
}
@media screen and (max-width: 1440px) {
  .p-contact__form {
    margin-top: 0;
    max-width: 100%;
  }
}
.p-contact__form-item {
  margin-bottom: 20px;
}
.p-contact__form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: clamp(1rem, 0.5vw + 0.85rem, 1.4rem);
}
.p-contact__form-radio-group {
  display: flex;
  gap: 16px;
}
.p-contact__form-privacy {
  font-size: clamp(1rem, 0.5vw + 0.85rem, 1.4rem);
  margin-bottom: 24px;
}
@media screen and (max-width: 768px) {
  .p-contact__form-submit .c-button {
    padding: 24px 20px;
  }
}

.p-footer {
  background-color: #007a33;
  color: #ffffff;
  padding: 80px 0 40px;
}
.p-footer__inner {
  display: flex;
  justify-content: space-between;
  max-width: 1440px;
  padding: 0 40px;
}
@media screen and (max-width: 768px) {
  .p-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "address"
      "nav"
      "copyright";
    gap: 40px;
    padding: 0 20px;
  }
  .p-footer__left,
  .p-footer__right {
    display: contents;
  }
  .p-footer__logo {
    grid-area: logo;
  }
  .p-footer__address {
    grid-area: address;
  }
  .p-footer__nav {
    grid-area: nav;
  }
}
.p-footer__logo-img {
  height: 55px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}
.p-footer__address {
  font-style: normal;
  margin-bottom: 0;
}
.p-footer__nav-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media screen and (max-width: 768px) {
  .p-footer__nav-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}
.p-footer__nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(0.8rem, 0.6vw + 0.55rem, 1.05rem);
}
.p-footer__nav-link:hover {
  text-decoration: underline;
}
.p-footer__copyright {
  margin-top: 60px;
  font-size: clamp(0.75rem, 0.6vw + 0.55rem, 1.05rem);
  opacity: 0.8;
}
@media screen and (max-width: 768px) {
  .p-footer__copyright {
    grid-area: copyright;
    margin-top: 0;
    padding-top: 32px;
    text-align: center;
  }
}/*# sourceMappingURL=style.css.map */