/* ============================================================
   MAR5AUX — service.css
   サービスページ固有
============================================================ */

.header__hamburger span {
  background-color: #1A1A1A !important;
}

p {
  line-break: strict;
  word-break: normal;
  overflow-wrap: break-word;
}

.service-sp-br {
  display: none;
}

.service-pc-br {
  display: none;
}

.service-line {
  border-top: 1px solid #F0F0F0;
  margin: 0px 16px;
}

.no-break {
  white-space: nowrap;
}

/* ============================================================
   セクション見出し
============================================================ */
.service-section__heading {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 37px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1A1A1A;
  text-align: center;
  margin-bottom: 1px;
  line-height: 1.25;
}

/* ============================================================
   ヒーローラベル
============================================================ */
.service-hero {
  padding: 100px 20px 0;
}

.service-hero__label {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #1A1A1A;
  font-weight: 400;
  margin-right: 5px;
}

.service-hero__label_en {
  font-weight: 300;
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
}

/* ============================================================
   イントロ
============================================================ */
.service-intro {
  padding: 115px 16px 56px;
  text-align: center;
}

.service-intro__catch {
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #1A1A1A;
  margin-bottom: 6px;
}

.service-intro__sav {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #1A1A1A;
  margin-bottom: 206px;
}

.service-intro__text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.75;
  color: #9F353A;
  margin: 0 auto;
  text-align: left;
  overflow-wrap: normal;
}

/* ============================================================
   Key Features
============================================================ */
.service-key {
  padding: 56px 16px;
  text-align: center;
}

.service-key__lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.875;
  color: #1A1A1A;
  margin: 0 auto;
}

/* ============================================================
   Planning / Production / Operation
============================================================ */
.service-feature {
  --feature-bg: none;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 360px;
  background-image: var(--feature-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}

.service-feature__content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.service-feature__title {
  font-family: 'Roboto', sans-serif;
  font-size: 37px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.service-feature__text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.75;
  text-align: justify;
  line-break: anywhere;
  word-break: break-all;
}

.service-feature_planning {
  justify-content: left;
  text-align: center;
  padding: 35px 16px;
  --feature-bg: url("../images/service/planning_sp.png");
}

.service-feature_planning .service-feature__title,
.service-feature_planning .service-feature__text {
  color: #D9D9D9;
}

.service-feature_production {
  justify-content: flex-end;
  padding: 78px 16px;
  --feature-bg: url('../images/service/Production_sp.png');
}

.service-feature_production::before {
  background: transparent;
}

.service-feature_production .service-feature__content {
  margin-left: auto;
  text-align: center;
}

.service-feature_production .service-feature__title,
.service-feature_production .service-feature__text {
  color: #1A1A1A;
}

.service-feature_operation {
  justify-content: flex-start;
  padding: 64px 16px;
  --feature-bg: url('../images/service/Operation_sp.png');
}

.service-feature_operation .service-feature__content {
  text-align: center;
}

.service-feature_operation .service-feature__title,
.service-feature_operation .service-feature__text {
  color: #FFFFFF;
}

/* ============================================================
   Options
============================================================ */
.service-options {
  padding: 35px 20px;
}

.service-options__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1px 1fr;
  grid-template-rows: auto 1fr;
  gap: 20px;
}

.service-options__heading {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 37px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1A1A1A;
  text-align: center;
  grid-column: 1 / -1;
}

.service-options__divider {
  display: block;
  grid-row: 2;
  grid-column: 1;
  width: 1px;
  background-color: #1A1A1A;
}

.service-options__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  grid-row: 2;
  grid-column: 2;
}

.service-options__item {
  display: flex;
  flex-direction: column;
}

.service-options__toggle {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 10px;
  border: none;
  background: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #111111;
  text-align: left;
  cursor: pointer;
}

.service-options__icon {
  flex-shrink: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 35px;
  font-weight: 300;
  line-height: 1.2;
  color: #1A1A1A;
  text-align: center;
}

.service-options__label {
  flex: 1;
  line-height: 1.6;
}

.service-options__body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
  margin-top: 0;
}

.service-options__body.is-open {
  max-height: 500px;
  opacity: 1;
  margin-top: 5px;
}

.service-options__body[hidden] {
  display: block;
}

.service-options__body p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.10em;
  line-height: 1.8;
  color: #1A1A1A;
}

/* ============================================================
   Flow
============================================================ */
.service-flow {
  padding: 60px 20px;
  text-align: center;
  background-color: #FBFBFB;
}

.service-flow_item {
  padding-bottom: 50px;
  background-color: #FFFFFF;
}

.service-flow__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 360px;
  margin: 0 auto;
}

.service-flow__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 10px;
  width: 100%;
}

.service-flow__num {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #9F353A;
}

.service-flow__icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.service-flow__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #111111;
  text-align: center;
  margin: 14px 0px 28px;
}

.service-flow__title-margin-minimun {
  margin: 14px 0px 18px;
}

.service-flow__title-margin-small {
  margin: 0px 0px 6px;
}

.service-flow__arrow {
  display: none;
}

/* ============================================================
   お問い合わせ
============================================================ */
.service-contact {
  padding: 40px 20px 100px;
  text-align: center;
}

.service-contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 40px;
  min-width: 300px;
  background-color: #1A1A1A;
  color: #ffffff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  letter-spacing: 0.03em;
  font-weight: 500;
  text-decoration: none;
  border-radius: 9999px;
  transition: background-color 0.2s;
}

.service-contact__btn:hover {
  background-color: #9F353A;
}

.service-contact__btn-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.service-contact__btn_pc {
  display: none;
}

.service-contact__btn_sp {
  display: inline;
}

/* ============================================================
   PC BREAKPOINT (795px〜)
============================================================ */
@media (min-width: 795px) {
  .service-pc-br {
    display: inline;
  }

  .service-hero {
    padding: 140px 60px 0;
  }

  .service-hero__label {
    font-size: 16px;
  }

  .service-line {
    border-top: 1px solid #EEEEEE;
    margin: 0px 60px;
  }

  .service-intro {
    padding: 80px 60px 100px;
  }

  .service-intro__catch {
    font-size: 44px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
  }

  .service-intro__sav {
    font-size: 24px;
    margin-bottom: 200px;
  }

  .service-intro__text {
    font-size: 20px;
    text-align: left;
    letter-spacing: 0.15em;
  }

  .service-section__heading {
    margin-bottom: 8px;
  }

  .service-key {
    padding-top: 100px;
    padding-left: 60px;
    padding-right: 60px;
  }

  .service-key__lead {
    font-size: 16px;
    text-align: center;
    max-width: 900px;
  }

  .service-feature {
    height: 410px;
  }

  .service-feature__content { 
    max-width: 520px;
    margin-left: 10%;
  }

  .service-feature_planning {
    --feature-bg: url("../images/service/planning.png");
  }

  .service-feature_production {
    --feature-bg: url('../images/service/Production.png');
  }

  .service-feature_operation {
    --feature-bg: url('../images/service/Operation.png');
  }

  .service-feature__title {
    font-size: 37px;
    width: 431px;
  }

  .service-feature__text {
    font-size: 16px;
    width: 433px;
    line-break: strict;
    word-break: normal;
    text-align: left;
  }

  .service-options {
    padding: 80px 100px 80px 250px;
  }

  .service-options__inner {
    display: flex;
    align-items: stretch;
    gap: 52px;
  }

  .service-options__heading {
    flex-shrink: 0;
    width: 136px;
    margin-bottom: 0;
    font-size: 37px;
    display: flex;
    grid-column: auto;
    transform: translateY(-11px);
  }

  .service-options__divider {
    flex-shrink: 0;
    grid-row: auto;
    grid-column: auto;
    margin: 4px 0px;
  }

  .service-options__list {
    flex: 1;
    grid-row: auto;
    grid-column: auto;
    gap: 20px;
  }

  .service-options__toggle {
    font-size: 18px;
  }

  .service-options__icon {
    font-size: 22px;
    width: 22px;
  }

  .service-options__body {
    padding-left: 48px;
  }

  .service-options__body p {
    font-size: 16px;
  }

  .service-flow {
    padding: 60px 40px;
  }

  .service-flow__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    max-width: 1200px;
    align-items: center;
    gap: 12px 0;
  }

  .service-flow__grid_item {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr !important;
  }

  .service-flow__grid_item_bottom {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr !important;
    max-width: 1000px !important;
    padding: 0px 10%;
  }

  .service-flow__item {
    padding: 20px 12px;
  }

  .service-flow__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #9F353A;
    letter-spacing: -0.05em;
    padding: 0 4px;
  }

  .service-flow__arrow_row-end {
    display: none;
  }

  .service-flow__title {
    font-size: 14px;
  }

  .service-flow__title-margin-minimun {
    margin: 14px 0px 10px;
  }

  .service-flow_item{
    padding: 60px 10%;
  }

  .service-contact {
    padding: 60px 40px 160px;
  }

  .service-contact__btn {
    padding: 16px 105px;
    min-width: auto;
  }

  .service-contact__btn_pc {
    display: inline;
  }

  .service-contact__btn_sp {
    display: none;
  }
}
