@charset "UTF-8";

#service {
  padding: 35px 0;
}

#service .service-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}

#service .service-list .service-list-item-title {
  width: 61%;
  font-size: 4vw;
  text-align: center;
  color: #fff;
  background: var(--orange-color);
  border-radius: 0 8px 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* ==================================
== #reason
================================== */

#reason {
  background-color: var(--base-color2);
  padding: 30px 0 50px;
}

.reason-header {
  gap: 30px;
}

.reason-header .section-header {
  padding-bottom: 0;
  margin-bottom: 20px;
}

.reason-header .section-header::after {
  display: none;
}

.reason-header-text p {
  color: var(--orange-color);
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.9;
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
}

.reason-header-image {
  color: #604c3f;
  text-align: center;
}

.reason-header-image img {
  width: 248px;
  margin-bottom: 14px;
}

.reason-header-image-number {
  font-size: 5rem;
  margin: 5px 0 3px;
}

.reason-header-image-number span {
  font-size: 0.7em;
  margin-left: 5px;
}

.reason1,
.reason2,
.reason3 {
  width: 100%;
  position: relative;
  margin-bottom: 30px;
  z-index: 1;
}

.reason4,
.reason5,
.reason6 {
  width: 100%;
  margin-bottom: 30px;
}

.reason-list {
  margin-bottom: -40px;
}

.reason-list-item-image {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.reason-list-item-content {
  background: #fff;
  box-shadow: 10px 10px 0 var(--orange-color);
}

.reason1 .reason-list-item-content,
.reason2 .reason-list-item-content,
.reason3 .reason-list-item-content {
  width: calc(100% - 5px);
  padding: 26px 22px;
  margin-top: -20px;
  position: relative;
  z-index: 2;
}

.reason4 .reason-list-item-content,
.reason5 .reason-list-item-content,
.reason6 .reason-list-item-content {
  height: 100%;
  padding: 20px;
}

.reason-list-item-content h3 {
  color: var(--orange-color);
  font-size: clamp(2rem, 5.333vw, 3rem);
  margin-bottom: 15px;
  height: min(92px, 17vw);
  display: flex;
  align-items: center;
  padding-left: min(65px, 16.5vw);
}

.reason-list-item-wrap {
  gap: 40px;
}

.reason1 .reason-list-item-content h3 {
  background: url(../images/life/reason1-header.svg) no-repeat left bottom / cover;
}

.reason2 .reason-list-item-content h3 {
  background: url(../images/life/reason2-header.svg) no-repeat left bottom / cover;
}

.reason3 .reason-list-item-content h3 {
  background: url(../images/life/reason3-header.svg) no-repeat left bottom / cover;
}

.reason4 .reason-list-item-content h3 {
  background: url(../images/life/reason4-header.svg) no-repeat left bottom / cover;
}

.reason5 .reason-list-item-content h3 {
  background: url(../images/life/reason5-header.svg) no-repeat left bottom / cover;
}

.reason6 .reason-list-item-content h3 {
  background: url(../images/life/reason6-header.svg) no-repeat left bottom / cover;
}

.reason-list-item-content p {
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.7;
}

.reason-btn {
  margin-bottom: 80px;
}

.reason-btn img {
  width: 50%;
  margin: 0 auto -2px;
  display: block;
}

.reason-btn button {
  color: #fff;
  font-size: clamp(2rem, 5.3333vw, 3rem);
  font-weight: 600;
  text-align: center;
  width: 100%;
  padding: 20px 0;
  border-radius: 90px;
  background: var(--orange-color);
  box-shadow: 3px 3px 0 #f85d03;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  position: relative;
}

.reason-btn button::after {
  content: "";
  display: inline-block;
  width: 5vw;
  aspect-ratio: 1;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjguNy4xMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDEuMi4wIEJ1aWxkIDIzNikgIC0tPgogIDxnPgogICAgPGcgaWQ9Il/jg6zjgqTjg6Tjg7xfMSIgZGF0YS1uYW1lPSLjg6zjgqTjg6Tjg7xfMSI+CiAgICAgIDxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTEyLDBDNS40LDAsMCw1LjQsMCwxMnM1LjQsMTIsMTIsMTIsMTItNS40LDEyLTEyUzE4LjYsMCwxMiwwWk05LDE3di05bDcsNC41LTcsNC41WiIvPgogICAgPC9nPgogIDwvZz4KPC9zdmc+");
  transition: transform 0.3s ease;
}

.reason-btn.open button::after {
  transform: rotate(90deg);
}

.reason-philosophy {
  display: none;
  margin-bottom: 80px;
}

.reason-philosophy .section-header {
  padding-bottom: 0;
  margin-bottom: 20px;
}

.reason-philosophy .section-header::after {
  display: none;
}

.philosophy-question {
  color: #fff;
  font-size: 3.5vw;
  background: var(--orange-color);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 30px;
  position: relative;
}

.philosophy-question::before {
  content: "";
  position: absolute;
  top: 3vw;
  right: -14px;
  width: 18px;
  height: 18px;
  background: url(../images/life/balloon_tail-o.png) no-repeat center / contain;
}

.philosophy-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
}

.philosophy-item {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.philosophy-item.reverse {
  flex-direction: row-reverse;
}

.philosophy-item-profile {
  flex-shrink: 0;
  width: 28%;
  text-align: center;
}

.philosophy-item-profile img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.philosophy-item-profile-text {
  border-top: 2px solid var(--orange-color);
  border-bottom: 2px solid var(--orange-color);
  background-color: #fff;
  padding: 8px 2px;
}

.philosophy-item-profile-text p {
  color: var(--orange-color);
  font-size: 2.6667vw;
  line-height: 1.5;
}

.philosophy-item-balloon {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  position: relative;
}

.philosophy-item-balloon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -14px;
  width: 18px;
  height: 18px;
  background: url(../images/life/balloon_tail.png) no-repeat center / contain;
}

.philosophy-item.reverse .philosophy-item-balloon::before {
  left: auto;
  right: -14px;
  transform: scaleX(-1);
}

.philosophy-item-balloon p {
  font-size: 3.2vw;
  line-height: 1.7;
  letter-spacing: 0.04em;
  font-feature-settings: "palt";
}

.reason-philosophy-close button {
  color: #fff;
  font-size: 5.3333vw;
  font-weight: 600;
  text-align: center;
  width: 100%;
  padding: 20px 0;
  border-radius: 90px;
  background: var(--orange-color);
  box-shadow: 3px 3px 0 #f85d03;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.reason-philosophy-close button::after {
  content: "";
  display: inline-block;
  width: 5vw;
  aspect-ratio: 1;
  background: no-repeat center / contain;
  transform: rotate(180deg);
  background-image: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjZmZmOwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMjguNy4xMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDEuMi4wIEJ1aWxkIDIzNikgIC0tPgogIDxnPgogICAgPGcgaWQ9Il/jg6zjgqTjg6Tjg7xfMSIgZGF0YS1uYW1lPSLjg6zjgqTjg6Tjg7xfMSI+CiAgICAgIDxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTEyLDBDNS40LDAsMCw1LjQsMCwxMnM1LjQsMTIsMTIsMTIsMTItNS40LDEyLTEyUzE4LjYsMCwxMiwwWk05LDE3di05bDcsNC41LTcsNC41WiIvPgogICAgPC9nPgogIDwvZz4KPC9zdmc+");
  transform: rotate(-90deg);
}

.show-more {
  color: #898989;
  font-size: 1.5rem;
  text-align: center;
  margin-top: 40px;
}

#process .section-header {
  margin-top: 50px;
}

@media screen and (min-width: 769px) {
  #process {
    padding: 40px 0 50px;
    margin-top: 40px;
  }

  #process .section-header {
    margin-top: 0;
  }
}

.service-content {
  padding: 40px 0;
  position: relative;
}

.service-content::after {
  content: "";
  width: 100%;
  height: 60%;
  background: var(--base-color);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  display: block;
}

.service-content-header {
  flex-direction: row-reverse;
  gap: 36px;
  margin-bottom: 20px;
}

.service-content-header > * {
  flex: 1;
}

.service-content-header-text {
  color: var(--orange-color);
  font-size: 1.8rem;
  line-height: 1.9;
}

.service-content .service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service-content .service2-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.service-content .service-list article {
  flex: 1;
}

.service-content .service-list img {
  width: 100%;
}

.service-content .service-list article h4 {
  color: #fff;
  font-size: 4vw;
  font-weight: 600;
  text-align: center;
  background: var(--orange-color);
  padding: 10px 0;
}

.service-content.service1 h3::before {
  background: url(../images/life/service1-icon-o.svg) no-repeat left center / 9vw;
}

.service-content.service2 h3::before {
  background: url(../images/life/service2-icon-o.svg) no-repeat center center / 9vw;
}

.service-content.service3 h3::before {
  background: url(../images/life/service3-icon-o.svg) no-repeat left center / 9vw;
}

.service-content.service4 h3::before {
  background: url(../images/life/service4-icon-o.svg) no-repeat center center / 9vw;
}

.service-content.service5 h3::before {
  background: url(../images/life/service5-icon-o.svg) no-repeat center center / 9vw;
}

.service-content.service6 h3::before {
  background: url(../images/life/service6-icon-o.svg) no-repeat center center / 9vw;
}

@media screen and (max-width: 768px) {
  .service-list .service-list-item {
    display: flex;
  }

  .service-list-item picture {
    width: 39%;
    background-color: #feede4;
    display: flex;
    align-items: center;
  }

  .service-list-item-title img {
    padding-top: 15px;
  }

  .service-list-item-title p {
    padding: 12px 0 15px;
  }

  .service-content::after {
    height: calc(100% - 50vw);
  }

  #service4 .service-content::after {
    height: 22vw;
  }

  #service5 .service-content::after {
    height: 80vw;
  }

  #service6 .service-content::after {
    height: 270vw;
  }

  .reason-header {
    flex-direction: column;
    margin-bottom: 30px;
    position: relative;
    z-index: 9;
  }

  .reason-header-image {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 4vw;
  }

  .reason-header-image img {
    width: min(320px, 45vw);
    margin-bottom: 0;
  }

  .reason-header-image-number {
    font-size: clamp(4rem, 12vw, 5rem);
  }

  .reason-header-image p small {
    font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  }

  .service-content-header-image {
    margin-bottom: 20px;
  }

  .service-content-header-text {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    height: 90px;
    overflow: hidden;
    transition: var(--anime-transition);
  }

  .service-content-header-text.open {
    height: auto;
  }

  .service-content-header-text p {
    font-size: 4vw;
  }

  .service-content-header-text .display-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    background: var(--orange-color);
  }

  .service-content-header-text .display-btn::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 12px;
    background: #fff;
    clip-path: polygon(0 0, 100% 0%, 50% 100%);
    transition: all 0.3s ease;
  }

  .service-content-header-text.open .display-btn::after {
    transform: rotate(180deg);
  }
}

@media screen and (min-width: 769px) {
  #service {
    padding: 50px 0 65px;
  }

  #service .service-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  #service .service-list .service-list-item {
    display: flex;
    flex-direction: column;
  }

  #service .service-list .service-list-item-title {
    width: 100%;
    height: 100%;
    font-size: 1.8rem;
    margin-top: 10px;
    padding: 12px 5px 18px;
    border-radius: 12px;
    gap: 15px;
  }

  #service .service-list .service-list-item-title p {
    margin: auto 0;
  }

  #service-content {
    margin-bottom: 80px;
  }

  .reason-header {
    gap: 95px;
  }

  .reason-header-text p {
    font-size: 1.8rem;
  }

  .reason-list {
    margin-bottom: 72px;
  }

  .reason1 {
    margin-bottom: 150px;
  }

  .reason2 {
    margin-bottom: 110px;
  }

  .reason3 {
    margin-bottom: 55px;
  }

  .reason4,
  .reason5,
  .reason6 {
    margin-bottom: 0;
  }

  .reason-list-item-content h3 {
    font-size: 2.9rem;
    margin-bottom: 20px;
    height: 63px;
  }

  .reason4 .reason-list-item-content h3,
  .reason5 .reason-list-item-content h3,
  .reason6 .reason-list-item-content h3 {
    font-size: 2.3rem;
  }

  .reason-list-item-content p {
    font-size: 1.8rem;
    line-height: 1.7;
  }

  .reason1 .reason-list-item-content,
  .reason2 .reason-list-item-content,
  .reason3 .reason-list-item-content {
    width: 460px;
    padding: 40px;
    margin-top: 0;
    position: absolute;
  }

  .reason1 .reason-list-item-content {
    top: 100px;
    right: 0;
  }

  .reason2 .reason-list-item-content {
    top: -50px;
    left: 0;
  }

  .reason3 .reason-list-item-content {
    top: -50px;
    right: 0;
  }

  .reason-list-item-image {
    width: 560px;
    margin: 0;
  }

  .reason2 .reason-list-item-image {
    margin-left: auto;
  }

  .reason-btn img {
    width: 28%;
  }

  .reason-btn button {
    font-size: 4rem;
    padding: 40px 0 20px;
    box-shadow: 6px 6px 0 #f85d03;
  }

  .reason-btn button::after {
    content: "";
    display: inline-block;
    width: 38px;
  }

  .reason-philosophy {
    margin-bottom: 100px;
  }

  .reason-philosophy .section-header {
    margin-bottom: 30px;
  }

  .philosophy-question {
    font-size: 2.3rem;
    padding: 16px 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    width: 82%;
    margin-left: auto;
  }

  .philosophy-question::before {
    top: 10px;
    right: -27px;
    width: 28px;
    height: 32px;
  }

  .philosophy-list {
    gap: 50px;
    margin-bottom: 60px;
  }

  .philosophy-item {
    gap: 20px;
  }

  .philosophy-item-profile {
    width: 180px;
  }

  .philosophy-item-profile-text {
    padding: 8px 4px;
  }

  .philosophy-item-profile-text p {
    font-size: 1.2rem;
  }

  .philosophy-item-balloon {
    border-radius: 24px;
    padding: 30px;
  }

  .philosophy-item-balloon::before {
    top: 60px;
    left: -38px;
    width: 39px;
    height: 45px;
  }

  .philosophy-item.reverse .philosophy-item-balloon::before {
    right: -38px;
  }

  .philosophy-item-balloon p {
    font-size: 1.8rem;
  }

  .reason-philosophy-close button {
    font-size: 4rem;
    padding: 40px 0 20px;
    box-shadow: 6px 6px 0 #f85d03;
  }

  .reason-philosophy-close button::after {
    width: 38px;
  }

  #process .section-header {
    margin-top: 70px;
  }

  .service-content {
    padding: 160px 0 80px;
  }

  .service-content-header {
    margin-bottom: 50px;
  }

  .service-content.service1 .service-list,
  .service-content.service5 .service-list,
  .service-content.service6 .service-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }

  .service-content.service2 .service-list {
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
  }

  .service-content .service2-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
  }

  .item-top {
    grid-column: span 3;
  }

  .item-bottom {
    grid-column: span 2;
  }

  .service-content.service3 .service-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .service-content .service-list article h4 {
    font-size: 2rem;
  }

  .service-content.service1 h3::before {
    background-size: 64px;
  }

  .service-content.service2 h3::before {
    background-size: 64px;
  }

  .service-content.service3 h3::before {
    background-size: 64px;
  }

  .service-content.service4 h3::before {
    background-size: 64px;
  }

  .service-content.service5 h3::before {
    background-size: 64px;
  }

  .service-content.service6 h3::before {
    background-size: 64px;
  }
}
