@charset "UTF-8";

.service-page,
.service-page * {
  box-sizing: border-box;
}

.service-page {
  --service-green-deep: #183f31;
  --service-green: #2d6651;
  --service-green-soft: #e4eee8;
  --service-orange: #d45d25;
  --service-cream: #f7f3eb;
  --service-cream-deep: #f0eadf;
  --service-paper: #fffefa;
  --service-text: #3f493f;
  --service-muted: #76766f;
  overflow: hidden;
  background: var(--service-cream);
  color: var(--service-text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}

.service-page h1,
.service-page h2,
.service-page h3,
.service-page p,
.service-page ul,
.service-page ol,
.service-page li {
  margin: 0;
  padding: 0;
}

.service-page h1,
.service-page h2 {
  font-family: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", serif;
  color: var(--service-green-deep);
}

.service-page img {
  max-width: 100%;
}

.service-page a {
  color: inherit;
}

.service-container {
  width: min(92%, 1360px);
  margin-inline: auto;
}

.section-kicker {
  margin-bottom: 10px !important;
  color: var(--service-green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.section-heading h2 {
  font-size: clamp(30px, 2.7vw, 42px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.035em;
}

.section-heading > p:last-child {
  margin-top: 14px;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 500;
  line-height: 1.9;
}

.section-heading--center {
  text-align: center;
}

.service-section {
  padding: clamp(74px, 7vw, 112px) 0;
}

#work-overview,
#equipment,
#contact-flow {
  scroll-margin-top: 118px;
}

/* Hero */
.service-hero {
  position: relative;
  height: min(38vw, 650px);
  min-height: 460px;
  overflow: hidden;
  background: #d6dfd2;
}

.service-hero__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.service-hero__wash {
  position: absolute;
  top: 17%;
  left: 2%;
  width: 50%;
  height: 66%;
  border-radius: 50%;
  background: rgba(250, 248, 242, 0.72);
  box-shadow: 0 0 72px 52px rgba(250, 248, 242, 0.62);
  filter: blur(28px);
}

.service-hero__content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(6%, calc((100% - 1360px) / 2));
  width: min(56%, 750px);
  transform: translateY(-50%);
}

.service-hero h1 {
  font-size: clamp(38px, 3.5vw, 62px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.service-hero__content > p {
  margin-top: clamp(25px, 3vw, 42px);
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.03em;
}

/* Overview */
.service-overview {
  position: relative;
  padding: clamp(90px, 8vw, 135px) 0 clamp(110px, 10vw, 160px);
  background: var(--service-paper);
}

.section-curve-bottom {
  border-radius: 0 0 50% 50% / 0 0 44px 44px;
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(620px, 1.55fr);
  align-items: start;
  gap: clamp(46px, 6vw, 92px);
}

.overview-copy h2 {
  margin-bottom: 32px;
  font-size: clamp(29px, 2.65vw, 41px);
  line-height: 1.65;
  letter-spacing: 0.035em;
}

.overview-copy > p:not(.section-kicker) {
  margin-top: 13px;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 2.15;
}

.overview-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.overview-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(24, 63, 49, 0.08);
  border-radius: 7px;
  background: var(--service-paper);
  box-shadow: 0 6px 22px rgba(35, 49, 39, 0.08);
}

.overview-card header {
  position: relative;
  min-height: 138px;
  padding: 28px 20px 30px;
  display: grid;
  align-content: center;
  gap: 16px;
  background: var(--service-green-soft);
  text-align: center;
}

.overview-card header span {
  position: relative;
  z-index: 1;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 700;
}

.overview-card header strong {
  position: relative;
  z-index: 1;
  color: var(--service-green-deep);
  font-size: clamp(16px, 1.2vw, 18px);
}

.overview-card__arrow {
  position: absolute;
  z-index: 2;
  bottom: -13px;
  left: 50%;
  width: 28px;
  height: 28px;
  display: block;
  transform: translateX(-50%);
}

.overview-card ul {
  min-height: 330px;
  padding: 42px 24px 50px;
  display: grid;
  align-content: start;
  gap: 15px;
  list-style: none;
}

.overview-card__etc,
.feature-panel__etc,
.qualification-list__etc {
  position: absolute;
  right: 22px;
  bottom: 17px;
  color: var(--service-muted);
  font-size: 11px;
  font-weight: 600;
}

.overview-card li,
.feature-panel li,
.qualification-list li,
.case-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
}

.overview-card li img,
.feature-panel li img,
.qualification-list li img,
.case-card li img {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
  filter: brightness(0) saturate(100%) invert(29%) sepia(18%) saturate(1097%) hue-rotate(102deg) brightness(93%);
}

/* Service cards */
.service-work {
  position: relative;
  padding: clamp(82px, 8vw, 126px) 0 clamp(110px, 10vw, 160px);
  background: var(--service-cream);
}

.work-cards {
  margin-top: clamp(42px, 5vw, 70px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.work-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(24, 63, 49, 0.08);
  border-radius: 7px;
  background: var(--service-paper);
  box-shadow: 0 6px 22px rgba(35, 49, 39, 0.08);
}

.work-card__visual {
  position: relative;
  aspect-ratio: 1.62 / 1;
  overflow: hidden;
}

.work-card__visual > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.work-card:hover .work-card__visual > img {
  transform: scale(1.035);
}

.work-card__visual > span {
  position: absolute;
  left: 18px;
  bottom: -1px;
  min-width: 54px;
  height: 54px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  border-radius: 5px 5px 0 0;
  background: var(--service-green-deep);
  color: #fff;
  font-family: "Shippori Mincho", serif;
  font-size: 26px;
}

.work-card__body {
  min-height: 225px;
  padding: 27px 24px 24px;
  display: flex;
  flex-direction: column;
}

.work-card h3 {
  color: var(--service-green-deep);
  font-family: "Shippori Mincho", serif;
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
}

.work-card p {
  margin-top: 28px;
  font-size: 12px;
  line-height: 1.85;
}

.service-button img {
  width: 17px;
  height: 17px;
  filter: brightness(0) saturate(100%) invert(22%) sepia(16%) saturate(1420%) hue-rotate(105deg) brightness(90%);
}

/* Equipment */
.service-equipment {
  background: var(--service-paper);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(600px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 6vw, 92px);
}

.feature-photo {
  overflow: hidden;
  border: 9px solid #fff;
  border-radius: 7px;
  box-shadow: 0 7px 24px rgba(35, 49, 39, 0.11);
}

.feature-photo img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  display: block;
  object-fit: cover;
}

.feature-panels {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature-panel {
  position: relative;
  min-width: 0;
  padding: 30px 27px 46px;
  border: 1px solid rgba(24, 63, 49, 0.08);
  border-radius: 7px;
  background: var(--service-paper);
  box-shadow: 0 5px 18px rgba(35, 49, 39, 0.07);
}

.feature-panel h3 {
  margin-bottom: 22px;
  color: var(--service-green-deep);
  font-size: 16px;
}

.feature-panel ul {
  display: grid;
  gap: 13px;
  list-style: none;
}

.feature-panel li span {
  min-width: 0;
  flex: 1 1 auto;
}

.feature-panel li strong {
  margin-left: auto;
  color: var(--service-green-deep);
  white-space: nowrap;
}

.feature-panel--accent li img {
  filter: brightness(0) saturate(100%) invert(44%) sepia(83%) saturate(1990%) hue-rotate(352deg) brightness(87%);
}

/* Qualifications */
.service-qualifications {
  background: var(--service-cream);
}

.qualification-layout {
  margin-top: clamp(38px, 4.5vw, 62px);
  display: grid;
  grid-template-columns: minmax(370px, 0.7fr) minmax(680px, 1.3fr);
  align-items: stretch;
  gap: 26px;
}

.qualification-layout > img {
  width: 100%;
  height: 100%;
  min-height: 350px;
  display: block;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 6px 22px rgba(35, 49, 39, 0.09);
}

.qualification-list {
  position: relative;
  padding: clamp(31px, 3.4vw, 50px);
  border: 1px solid rgba(24, 63, 49, 0.08);
  border-radius: 7px;
  background: var(--service-paper);
  box-shadow: 0 6px 22px rgba(35, 49, 39, 0.08);
}

.qualification-list ul {
  padding-bottom: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px 34px;
  list-style: none;
}

.qualification-list li {
  font-size: 13px;
}

/* Cases */
.service-cases {
  background: var(--service-paper);
}

.case-cards {
  margin-top: 37px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.case-card {
  overflow: hidden;
  border: 1px solid rgba(24, 63, 49, 0.08);
  border-radius: 7px;
  background: var(--service-paper);
  box-shadow: 0 6px 22px rgba(35, 49, 39, 0.08);
}

.case-card > img {
  width: 100%;
  aspect-ratio: 2 / 1;
  display: block;
  object-fit: cover;
}

.case-card__body {
  position: relative;
  min-height: 250px;
  padding: 33px 29px 28px;
}

.case-card__body > span {
  position: absolute;
  top: -22px;
  left: 28px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--service-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.case-card h3 {
  color: var(--service-green-deep);
  font-family: "Shippori Mincho", serif;
  font-size: clamp(20px, 1.65vw, 25px);
  line-height: 1.55;
}

.case-card ul {
  margin-top: 22px;
  display: grid;
  gap: 11px;
  list-style: none;
}

.cases-action {
  margin-top: 43px;
  text-align: center;
}

.service-button {
  min-width: 240px;
  padding: 17px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px solid var(--service-green);
  border-radius: 4px;
  background: var(--service-paper);
  color: var(--service-green-deep);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.service-button:hover {
  background: var(--service-green-deep);
  color: #fff;
}

.service-button:hover img {
  filter: brightness(0) invert(1);
}

/* Flow */
.service-flow {
  background: var(--service-cream);
}

.flow-list {
  margin-top: clamp(40px, 5vw, 68px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
}

.flow-list li {
  position: relative;
  min-width: 0;
  min-height: 240px;
  padding: 27px 15px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(24, 63, 49, 0.08);
  border-radius: 7px;
  background: var(--service-paper);
  box-shadow: 0 5px 18px rgba(35, 49, 39, 0.07);
  text-align: center;
}

.flow-list li:nth-child(1) {
  z-index: 6;
}

.flow-list li:nth-child(2) {
  z-index: 5;
}

.flow-list li:nth-child(3) {
  z-index: 4;
}

.flow-list li:nth-child(4) {
  z-index: 3;
}

.flow-list li:nth-child(5) {
  z-index: 2;
}

.flow-list li:nth-child(6) {
  z-index: 1;
}

.flow-notch {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -64px;
  width: 110px;
  height: 132px;
  transform: translateY(-50%);
}

.flow-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -20px;
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(21%) sepia(15%) saturate(1426%) hue-rotate(105deg) brightness(91%);
  transform: translateY(-50%);
}

.flow-list li > span {
  position: absolute;
  top: 12px;
  left: 14px;
  color: rgba(24, 63, 49, 0.42);
  font-family: "Shippori Mincho", serif;
  font-size: 11px;
}

.flow-icon {
  width: 37px;
  height: 37px;
  margin: 11px auto 17px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(21%) sepia(15%) saturate(1426%) hue-rotate(105deg) brightness(91%);
}

.flow-list h3 {
  min-height: 50px;
  color: var(--service-green-deep);
  font-size: 14px;
  line-height: 1.55;
}

.flow-list p {
  margin-top: 13px;
  font-size: 11px;
  line-height: 1.85;
}

@media (max-width: 1100px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .overview-copy {
    width: min(760px, 100%);
    margin-inline: auto;
  }

  .overview-copy h2 {
    text-align: center;
  }

  .work-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-layout {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 38px;
  }

  .qualification-layout {
    grid-template-columns: 0.78fr 1.22fr;
  }

  .flow-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
  }

}

@media (max-width: 900px) {
  .flow-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .flow-list li:nth-child(3) .flow-arrow,
  .flow-list li:nth-child(3) .flow-notch {
    display: none;
  }
}

@media (max-width: 768px) {
  .service-container {
    width: min(90%, 680px);
  }

  .service-hero {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .service-hero__image {
    order: 2;
    height: 58vw;
    min-height: 340px;
    object-position: 65% center;
  }

  .service-hero__wash {
    display: none;
  }

  .service-hero__content {
    position: relative;
    top: auto;
    left: auto;
    order: 1;
    width: 100%;
    padding: 52px 7% 45px;
    background: var(--service-paper);
    transform: none;
  }

  .service-hero h1 {
    font-size: clamp(32px, 7vw, 44px);
  }

  .service-hero__content > p {
    font-size: 13px;
  }

  .overview-cards {
    grid-template-columns: 1fr;
  }

  .overview-card ul {
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-layout,
  .qualification-layout {
    grid-template-columns: 1fr;
  }

  .feature-photo {
    width: 100%;
  }

  .qualification-layout > img {
    min-height: 330px;
  }

  .case-cards {
    grid-template-columns: 1fr;
  }

  .case-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .case-card > img {
    height: 100%;
    aspect-ratio: auto;
  }

  .case-card__body > span {
    top: 20px;
    left: -28px;
  }

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list li:nth-child(2) .flow-arrow,
  .flow-list li:nth-child(2) .flow-notch,
  .flow-list li:nth-child(4) .flow-arrow,
  .flow-list li:nth-child(4) .flow-notch {
    display: none;
  }

  .flow-list li:nth-child(3) .flow-arrow,
  .flow-list li:nth-child(3) .flow-notch {
    display: block;
  }
}

@media (max-width: 640px) {
  .source-header .header {
    padding: 12px 14px;
    justify-content: center;
    gap: 12px;
  }

  .source-header .logo {
    width: 100%;
    text-align: center;
  }

  .source-header .header-btns {
    width: 100%;
    margin-left: 0;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 8px;
  }

  .source-header .btn-recruit,
  .source-header .btn-consult {
    padding: 9px 10px;
    gap: 5px;
    font-size: 10px;
  }

  .source-header .btn-icon {
    width: 14px;
    height: 14px;
  }

  #work-overview,
  #equipment,
  #contact-flow {
    scroll-margin-top: 150px;
  }

  .service-section {
    padding: 66px 0;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .section-heading > p:last-child {
    margin-top: 11px;
    font-size: 12px;
  }

  .service-hero__content {
    padding: 38px 20px 32px;
  }

  .service-hero h1 {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.55;
  }

  .service-hero__content > p {
    margin-top: 20px;
    font-size: 11.5px;
    line-height: 1.9;
  }

  .service-hero__content > p br {
    display: none;
  }

  .service-hero__image {
    height: 67vw;
    min-height: 250px;
  }

  .service-overview,
  .service-work {
    padding: 66px 0 78px;
    border-radius: 0 0 50% 50% / 0 0 22px 22px;
  }

  .overview-grid {
    gap: 34px;
  }

  .overview-copy h2 {
    margin-bottom: 23px;
    font-size: 25px;
    line-height: 1.65;
    text-align: left;
  }

  .overview-copy > p {
    font-size: 12px;
    line-height: 1.95;
  }

  .overview-card header {
    min-height: 112px;
    padding: 23px 18px 25px;
  }

  .overview-card ul {
    padding: 36px 20px 46px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .work-cards {
    margin-top: 30px;
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .work-card__visual {
    aspect-ratio: 1.72 / 1;
  }

  .work-card__body {
    min-height: 0;
    padding: 24px 20px;
  }

  .work-card h3 {
    font-size: 18px;
  }

  .feature-panels {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-photo {
    border-width: 5px;
  }

  .feature-panel {
    padding: 24px 20px;
  }

  .qualification-layout {
    margin-top: 30px;
  }

  .qualification-layout > img {
    min-height: 220px;
  }

  .qualification-list {
    padding: 25px 20px;
  }

  .qualification-list ul {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .qualification-list li {
    font-size: 11px;
  }

  .case-cards {
    margin-top: 28px;
    gap: 17px;
  }

  .case-card {
    display: block;
  }

  .case-card > img {
    height: auto;
    aspect-ratio: 2 / 1;
  }

  .case-card__body {
    min-height: 0;
    padding: 32px 22px 25px;
  }

  .case-card__body > span {
    top: -19px;
    left: 20px;
  }

  .flow-list {
    margin-top: 32px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .flow-list li {
    min-height: 0;
    padding: 25px 25px 25px 64px;
    display: grid;
    grid-template-columns: 45px 1fr;
    align-items: center;
    column-gap: 16px;
    text-align: left;
  }

  .flow-arrow,
  .flow-list li:nth-child(2) .flow-arrow,
  .flow-list li:nth-child(3) .flow-arrow,
  .flow-list li:nth-child(4) .flow-arrow {
    top: auto;
    right: 50%;
    bottom: -22px;
    display: block;
    transform: translateX(50%) rotate(90deg);
  }

  .flow-notch {
    top: auto;
    right: 50%;
    bottom: -54px;
    width: 96px;
    height: 96px;
    display: block !important;
    transform: translateX(50%) rotate(90deg);
  }

  .flow-list li > span {
    top: 11px;
    left: 13px;
  }

  .flow-icon {
    width: 38px;
    height: 38px;
    margin: 0;
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .flow-list h3 {
    min-height: 0;
    grid-column: 2;
    font-size: 14px;
  }

  .flow-list p {
    margin-top: 5px;
    grid-column: 2;
    font-size: 10.5px;
  }
}
