/**
 *
 * File page-service.css
 * Usage: page-service.phpのスタイルを定義します。
 * 
*/

.service {
  padding: 40px 0;
}

@media screen and (min-width: 768px) {
  .service {
    padding: 60px 0;
  }
}

@media screen and (min-width: 1024px) {
  .service {
    padding: 80px 0;
  }
}

/* ================================================
 日常セクション (ly_everyday)
================================================ */
.ly_everyday {
  position: relative;
  padding: 160px 14px 144px;
  overflow: hidden;
}

.bl_everyday_bg {
  display: none;
}

/* Watermark text */
.bl_everyday_watermark {
  position: absolute;
  font-family: 'Oswald', sans-serif;
  font-size: 136px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 4.08px;
  color: var(--color-bg-light);
  white-space: nowrap;
  margin: 0;
  pointer-events: none;
  z-index: 1;
}

.bl_everyday_watermark.sm_only {
  top: 107px;
  left: 50%;
  transform: translateX(-40%);
}

.bl_everyday_container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Circular photos */
.bl_everyday_photos {
  position: relative;
  max-width: 100%;
  width: 350px;
  height: 352px;
  margin-inline: auto;
}

.bl_everyday_photos_deco {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(30deg);
  width: 255px;
  max-width: 255px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.bl_everyday_photo {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #6eb380;
  background: var(--color-white);
  z-index: 1;
}

.bl_everyday_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl_everyday_photo__1 {
  top: 0;
  left: 0;
}

.bl_everyday_photo__2 {
  top: 191px;
  left: 85px;
}

.bl_everyday_photo__3 {
  top: 29px;
  left: 188px;
}

/* Text */
.bl_everyday_txt {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 10px;
}

.bl_everyday_heading {
  position: relative;
  width: 208px;
  aspect-ratio: 208 / 88;
}

.bl_everyday_heading_line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  overflow: hidden;
}

.bl_everyday_heading_line__top {
  top: 0;
}

.bl_everyday_heading_line__bottom {
  bottom: 0;
}

.bl_everyday_heading_line img {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 208 / 88;
}

.bl_everyday_heading_line__top img {
  top: 0;
}

.bl_everyday_heading_line__bottom img {
  bottom: 0;
}


.bl_everyday_txt p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 2.4;
  letter-spacing: 0.8px;
  color: var(--color-black);
}

/* ================================================
 日常セクション PC (min-width: 1024px)
================================================ */
@media screen and (min-width: 1024px) {
  .ly_everyday {
    padding: 160px 80px 160px;
  }

  .bl_everyday_bg {
    display: block;
    position: absolute;
    left: 0;
    top: 434px;
    width: 100%;
    height: 648px;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
  }

  .bl_everyday_watermark.md_only {
    top: 451px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 184px;
    letter-spacing: 5.52px;
  }

  .bl_everyday_container {
    max-width: 920px;
    margin-inline: auto;
    gap: 0;
  }

  .bl_everyday_photos {
    width: 920px;
    height: 762px;
    margin-left: 80px;
    margin-inline: unset;
  }

  .bl_everyday_photos_deco {
    width: 603px;
    max-width: 603px;
  }

  .bl_everyday_photo {
    width: 335px;
    height: 334px;
    border-radius: 160px;
  }

  .bl_everyday_photo__1 {
    top: 0;
    left: 80px;
  }

  .bl_everyday_photo__2 {
    top: 426px;
    left: 328px;
  }

  .bl_everyday_photo__3 {
    top: 83px;
    left: 585px;
  }

  .bl_everyday_txt {
    gap: 0;
    margin-top: -355px;
    padding-left: 0;
  }

  .bl_everyday_heading {
    width: 368px;
    aspect-ratio: 368 / 155;
  }

  .bl_everyday_heading_line img {
    aspect-ratio: 368 / 155;
  }
}

/* ================================================
 サービスセクション共通 (ly_svcSection)
================================================ */
.ly_svcSection {
  position: relative;
  z-index: 1;
  background: var(--color-bg-light);
  border-radius: 64px 64px 0 0;
  margin-top: -64px;
  padding: 80px 24px 200px;
  scroll-margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  overflow: hidden;
}

/* Header */
.bl_svcSec_head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.bl_svcSec_head_en {
  font-family: 'Oswald', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.56px;
  text-align: center;
  margin: 0;
}

.bl_svcSec_head_en .js_charAnim_char {
  background: linear-gradient(to right, var(--color-main-dark), var(--color-sub-green));
  background-size: var(--char-bg-size, 100%) 100%;
  background-position: var(--char-bg-pos, 0) center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero images */
.bl_svcSec_head_imgs {
  display: flex;
  width: 100%;
}

.bl_svcSec_head_img__main {
  width: 61%;
  height: 200px;
  overflow: hidden;
  border-radius: 24px 0 0 24px;
}

.bl_svcSec_head_img__sub {
  width: 39%;
  height: 200px;
  overflow: hidden;
  border-radius: 0 24px 24px 0;
}

.bl_svcSec_head_img__main img,
.bl_svcSec_head_img__sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Head text */
.bl_svcSec_head_txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  width: 100%;
}

.bl_svcSec_head_ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  color: var(--color-black);
}

.bl_svcSec_head_desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.75px;
  color: var(--color-black);
  text-align: left;
}

/* Service list */
.bl_svcSec_list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.bl_svcSec_list_ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-black);
}

/* Items */
.bl_svcSec_items {
  display: flex;
  flex-direction: column;
  gap: 72px;
  width: 100%;
}

/* Single item */
.bl_svcSec_item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 0 40px rgba(0, 153, 61, 0.08);
}

.bl_svcSec_item_img {
  width: 100%;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
}

.bl_svcSec_item_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl_svcSec_item_body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bl_svcSec_item_num {
  font-family: 'Oswald', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.56px;
  background: linear-gradient(to right, var(--color-main-dark), var(--color-sub-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.bl_svcSec_item_divider {
  display: block;
  width: 56px;
  height: 2px;
  background: linear-gradient(to right, var(--color-main-dark), var(--color-sub-green));
}

.bl_svcSec_item_txt {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bl_svcSec_item_ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: var(--color-black);
}

.bl_svcSec_item_desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.75px;
  color: var(--color-black);
}

/* White variant */
.ly_svcSection__white {
  background: var(--color-white);
}

.ly_svcSection__white .bl_svcSec_item {
  background: #f6f6f6;
}

/* CTA button centering */
.ly_svcSection > .el_btnArrow__green {
  flex-shrink: 0;
}

/* ================================================
 サービスセクション PC (min-width: 1024px)
================================================ */
@media screen and (min-width: 1024px) {
  .ly_svcSection {
    border-radius: 80px 80px 0 0;
    margin-top: -80px;
    padding: 136px 0 280px;
  }

  .bl_svcSec_head_en {
    font-size: 96px;
    letter-spacing: 0;
  }

  .bl_svcSec_head_en br {
    display: none;
  }

  .bl_svcSec_head_imgs {
    width: 1080px;
  }

  .bl_svcSec_head_img__main {
    width: 67%;
    height: 280px;
    border-radius: 40px 0 0 40px;
  }

  .bl_svcSec_head_img__sub {
    width: 33%;
    height: 280px;
    border-radius: 0 40px 40px 0;
  }

  .bl_svcSec_head_ttl {
    font-size: 28px;
    letter-spacing: 1.4px;
  }

  .bl_svcSec_head_desc {
    max-width: 640px;
  }

  .bl_svcSec_list_ttl {
    font-size: 22px;
    letter-spacing: 1.1px;
  }

  .bl_svcSec_items {
    max-width: 1080px;
  }

  .bl_svcSec_item {
    flex-direction: row;
    align-items: center;
    gap: 80px;
    padding: 0 80px;
    height: 312px;
  }

  .bl_svcSec_item__reverse {
    flex-direction: row-reverse;
  }

  .bl_svcSec_item_img {
    width: 320px;
    height: 360px;
    flex-shrink: 0;
  }

  .bl_svcSec_item_body {
    width: 440px;
    height: 100%;
    justify-content: center;
  }

  .bl_svcSec_item_num {
    font-size: 96px;
    letter-spacing: 0;
  }

  .bl_svcSec_item_divider {
    width: 96px;
  }
}

/* ================================================
 対応エリアセクション (ly_areaSection)
================================================ */
.ly_areaSection {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border-radius: 64px 64px 0 0;
  margin-top: -64px;
  padding: 168px 0 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  overflow: hidden;
}

/* Decorative circle photos */
.bl_area_deco {
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  z-index: 0;
}

.bl_area_deco img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SP: positions relative to center */
.bl_area_deco__1 {
  width: min(28vw, 128px);
  aspect-ratio: 1;
  top: 360px;
  left: calc(50% + 8vw);
  z-index: 1;
}

.bl_area_deco__2 {
  width: min(36vw, 135px);
  aspect-ratio: 1;
  top: 100px;
  left: calc(50% - 38vw);
}

.bl_area_deco__3 {
  width: min(28vw, 104px);
  aspect-ratio: 1;
  top: 230px;
  left: calc(50% + 20vw);
}

.bl_area_deco__4 {
  width: min(24vw, 99px);
  aspect-ratio: 1;
  top: 50px;
  left: calc(50% + 9vw);
}

.bl_area_deco__5 {
  width: min(34vw, 128px);
  aspect-ratio: 1;
  top: 260px;
  left: calc(50% - 52vw);
}

/* Map */
.bl_area_map {
  width: 480px;
  max-width: 100%;
  margin-bottom: -80px;
  position: relative;
  z-index: 0;
}

.bl_area_map img {
  width: 100%;
  height: auto;
}

/* Content */
.bl_area_content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-inline: 24px;
  width: 100%;
}

/* Heading */
.bl_area_head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.bl_area_head_en {
  font-family: 'Oswald', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.56px;
  white-space: nowrap;
  margin: 0;
}

.bl_area_head_en .js_charAnim_char {
  background: linear-gradient(to right, var(--color-main-dark), var(--color-sub-green));
  background-size: var(--char-bg-size, 100%) 100%;
  background-position: var(--char-bg-pos, 0) center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bl_area_head_line {
  display: block;
  flex: 1;
  height: 0;
  border-top: 2px solid var(--color-sub-green);
  border-bottom: 2px solid var(--color-sub-green);
  padding-top: 8px;
  transform: scaleX(0);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Left line grows from its right edge toward the left (outward from center) */
.bl_area_head_line__double {
  border-top-color: var(--color-main-dark);
  border-bottom-color: var(--color-main-dark);
  transform-origin: right center;
}

/* Right line grows from its left edge toward the right (outward from center) */
.bl_area_head_line:last-of-type {
  transform-origin: left center;
}

.bl_area_head.is_revealed .bl_area_head_line {
  transform: scaleX(1);
}

/* Text */
.bl_area_txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.bl_area_txt_ttl {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.5;
  color: var(--color-black);
}

.bl_area_txt_desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.75px;
  color: var(--color-black);
  text-align: left;
}

/* ================================================
 対応エリア Tablet (min-width: 768px)
================================================ */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .bl_area_deco {
    max-width: none;
    aspect-ratio: auto;
  }

  .bl_area_deco__1 {
    width: 189px;
    height: 189px;
    top: 380px;
    left: calc(50% - 360px);
  }

  .bl_area_deco__2 {
    width: 203px;
    height: 203px;
    top: 20px;
    left: calc(50% - 297px);
  }

  .bl_area_deco__3 {
    width: 155px;
    height: 155px;
    top: 397px;
    right: auto;
    left: calc(50% + 170px);
  }

  .bl_area_deco__4 {
    width: 213px;
    height: 213px;
    top: 132px;
    left: calc(50% + 129px);
  }

  .bl_area_deco__5 {
    width: 129px;
    height: 129px;
    top: 260px;
    left: calc(50% - 195px);
  }
}

/* ================================================
 対応エリア PC (min-width: 1024px)
================================================ */
@media screen and (min-width: 1024px) {
  .ly_areaSection {
    border-radius: 80px 80px 0 0;
    margin-top: -80px;
    padding: 160px 0 120px;
  }

  .bl_area_deco {
    max-width: none;
    aspect-ratio: auto;
  }

  /* Positions relative to center, scaled with vw */
  .bl_area_deco__1 {
    width: min(13vw, 189px);
    height: min(13vw, 189px);
    top: 524px;
    left: calc(50% - 35vw);
  }

  .bl_area_deco__2 {
    width: min(19vw, 269px);
    height: min(19vw, 269px);
    top: 61px;
    left: calc(50% - 25vw);
  }

  .bl_area_deco__3 {
    width: min(19vw, 269px);
    height: min(19vw, 269px);
    top: 463px;
    right: auto;
    left: calc(50% + 19vw);
  }

  .bl_area_deco__4 {
    width: min(23vw, 334px);
    height: min(23vw, 334px);
    top: 94px;
    left: calc(50% + 12vw);
  }

  .bl_area_deco__5 {
    width: min(16vw, 224px);
    height: min(16vw, 224px);
    top: 277px;
    left: calc(50% - 38vw);
  }

  .bl_area_content {
    max-width: 520px;
    padding-inline: 0;
  }

  .bl_area_head_en {
    font-size: 96px;
    letter-spacing: 0;
  }

  .bl_area_txt_ttl {
    font-size: 22px;
    letter-spacing: 1.1px;
  }
}

/* ================================================
 対応エリア Wide (min-width: 1560px)
================================================ */
@media screen and (min-width: 1560px) {
  .bl_area_deco__1 {
    width: 189px;
    height: 189px;
    left: calc(50% - 505px);
  }

  .bl_area_deco__2 {
    width: 269px;
    height: 269px;
    left: calc(50% - 356px);
  }

  .bl_area_deco__3 {
    width: 269px;
    height: 269px;
    left: calc(50% + 280px);
  }

  .bl_area_deco__4 {
    width: 334px;
    height: 334px;
    left: calc(50% + 173px);
  }

  .bl_area_deco__5 {
    width: 224px;
    height: 224px;
    left: calc(50% - 548px);
  }
}
