.fv {
  position: relative;
}
.fv__inner {
  display: flex;
  max-height: calc(100vh - 50px);
  @media screen and (max-width: 750px){
    margin-top: 135px;
    height: auto;
  }
}
.fv__title {
  width: 23%;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vw;
  @media screen and (max-width: 750px){
    width: auto;
    padding: 0;
    position: absolute;
    z-index: 2;
    top: -45px;
    right: 50px;
  }
  span {
    writing-mode: vertical-rl;
    font-size: 1.56vw;
    font-weight: bold;
    letter-spacing: 0.15em;
    @media screen and (max-width: 750px){
      font-size: 16px;
      background-color: #fff;
      padding: 0.4em 0;
    }
    &:nth-child(2) {
      margin-top: 1em;
    }
  }
}
.fv__img {
  width: 77%;
  @media screen and (max-width: 750px){
    width: 100%;
    padding-left: 20px;
  }
  img {
    border-radius: 0 0 0 20vw;
    @media screen and (min-width: 751px){
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}
.fv__logo {
  position: absolute;
  left: 0px;
  bottom: 2.1vw;
  width: 11.1vw;
  padding-left: 2vw;
  border-left: 0.5vw solid var(--color-blue);
  @media screen and (max-width: 750px){
    display: none;
  }
}
.scroll-down {
  margin-right: 20px;
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.15em;
  font-family: var(--font-en);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  &:before {
    content: "";
    width: 13px;
    height: 13px;
    display: inline-block;
    background: url(../img/icon_scroll_down.png) no-repeat center / contain;
    margin-right: 7px;
  }
  @media screen and (max-width: 750px){
    display: none;
  }
}
.homePolicy {
  @media screen and (max-width: 750px){
    
    margin-top: 20px;
  }
}
.homePolicy__inner {
  display: flex;
  @media screen and (max-width: 750px){
    flex-direction: column;
    align-items: center;
    margin-bottom: -240px;
  }
}
.homePolicy__left {
  flex: 1;
  padding-top: 120px;
  padding-right: 80px;
  @media screen and (max-width: 750px){
    padding: 0;
  }
}
.homePolicy__right {
  width: 539px;
  padding-top: 20px;
  @media screen and (max-width: 750px){
    padding: 0;
    margin-top: 30px;
    transform: scale(0.64);
    transform-origin: center top;
  }
}
.homePolicy__thumb {
  display: inline-block;
  width: 100%;
  aspect-ratio: 539 / 682;
  position: relative;
  .thumb01 {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 72%;
    z-index: 1;
  }
  .thumb02 {
    position: absolute;
    top: 40.8%;
    right: 0px;
    width: 50.6%;
    z-index: 2;
  }
  .thumb03 {
    position: absolute;
    bottom: 0px;
    left: 14.5%;
    width: 27.1%;
    z-index: 4;
  }
  .line {
    position: absolute;
    width: 94.9%;
    top: 14.5%;
    left: -8.4%;
    z-index: 3;
    opacity: 0;
    transition: opacity;
    transition-delay: .6s;
    .is-active & {
      opacity: 1;
    }
  }
}
#mask_01 {
  position: absolute;
  width: 100%;
  top: 0%;
  left: 0%;
  z-index: 2;
  stroke-dasharray: 2000px;
  .is-active & {
    animation: mask_01_written 2s forwards .6s;
  }
}
#mask_01_path {
  fill: none;
  stroke: #fff;
  stroke-miterlimit: 10;
  stroke-width: 30px;
}
@keyframes mask_01_written {
  0% {
    stroke-dashoffset: 2000px;
  }
  100% {
    stroke-dashoffset: 0px;
  }
}

.homePolicy__title {
  display: flex;
  flex-direction: column;
  .en {
    font-size: 15px;
    font-family: var(--font-en);
    @media screen and (max-width: 750px){
      font-size: 12px;
    }
  }
  .ja {
    font-size: 23px;
    line-height: 1.8;
    margin-top: 24px;
    color: var(--color-blue);
    font-weight: bold;
    @media screen and (max-width: 750px){
      font-size: 20px;
    }
  }
}
.homePolicy__text {
  font-size: 14px;
  line-height: 2;
  margin-top: 24px;
  margin-right: -2em;
  @media screen and (max-width: 750px){
    line-height: 1.8;
    margin-right: 0;
  }
}
.homeProfile {
  margin-top: 120px;
  @media screen and (max-width: 750px){
    margin-top: 60px;
  }
}
.homeProfile__inner {
  position: relative;
  padding: 70px 0 0 300px;
  @media screen and (max-width: 750px){
    padding: 115px 0 0;
  }
}
.homeProfile__thumb {
  width: 400px;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 2;
  @media screen and (max-width: 750px){
    width: 260px;
    left: 20px;
  }
}
.homeProfile__block {
  background: url(../img/home/bg_profile.png) no-repeat center / cover;
  border-radius: 15px;
  padding: 55px 40px 40px 180px;
  position: relative;
  z-index: 1;
  @media screen and (max-width: 750px){
    padding: 80px 20px 40px;
    border-radius: 0px;
  }
}
.homeProfileDetail {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 0;
  font-size: 13px;
  .homeProfileDetail__label {
    width: 112px;
    padding-right: 1em;
  }
  .homeProfileDetail__content {

  }
}
.homeProfile__btn {
  display: flex;
  justify-content: flex-end;
  margin-top: 1em;
}
.homeProfile__deco {
  position: absolute;
  top: 322px;
  left: 116px;
  width: 212px;
  z-index: 3;
  opacity: 0;
  transition: opacity;
  transition-delay: .6s;
  @media screen and (max-width: 750px){
    transform: scale(0.85);
    transform-origin: left top;
    bottom: 65px;
    top: auto;
    left: 0px;
  }
  .is-active & {
    opacity: 1;
  }
}
#mask_02 {
  position: absolute;
  width: 100%;
  top: 0%;
  left: 0%;
  z-index: 2;
  stroke-dasharray: 1000px;
  .is-active & {
    animation: mask_02_written 1s forwards .6s;
  }
}
#mask_02_path {
  fill: none;
  stroke: #fff;
  stroke-miterlimit: 10;
  stroke-width: 24px;
}
@keyframes mask_02_written {
  0% {
    stroke-dashoffset: 1000px;
  }
  100% {
    stroke-dashoffset: 0px;
  }
}

.homeTopics {
  margin-top: 200px;
  @media screen and (max-width: 750px){
    margin-top: 80px;
  }
}
.homeTopics__inner {
  display: flex;
  @media screen and (max-width: 750px){
    display: block;
  }
}
.homeTopics__left {
  width: 248px; 
  @media screen and (max-width: 750px){
    width: 100%;
  }
}
.homeTopics__right {
  flex: 1;
  @media screen and (max-width: 750px){
    margin-top: 40px;
    width: 100%;
  }
}
.homeTopics__catlist {
  margin-top: 1em;
  @media screen and (max-width: 750px){
    display: flex;
    gap: 1.5em;
  }
  li {
    position: relative;
    padding-left: 20px;
    &:before {
      content: "";
      background: url(../img/icon_arrow_btn.png) no-repeat center / contain;
      width: 16px;
      aspect-ratio: 1 / 1;
      position: absolute;
      top: 4px;
      left: 0px;
    }
  }
  a {
    color: var(--color-blue);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-en);
    letter-spacing: 0.15em;
    &:hover {
      text-decoration: underline;
    }
  }
}
.homeTopics__btn {
  margin-top: 15px;
}
.homeTopics__wrapper {
  @media screen and (max-width: 750px){
    overflow: auto;
  }
}
.homeTopicslist {
  display: flex;
  gap: 24px;
}
.homeTopicslist__item {
  width: 200px;
  a {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
    position: relative;
    padding-bottom: 36px;
  }
}
.homeTopicslist__thumb {
  img {
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    border-radius: 90px 0 0 0;
  }
}
.homeTopicslist__title {
  font-size: 14px;
  margin-top: 15px;
}
.homeTopicslist__date {
  font-size: 11px;
  font-family: var(--font-en);
  position: absolute;
  bottom: 0px;
  left: 0px;
}
.homeTopicslist__cat {
  display: inline-block;
  margin-left: 0.6em;
  padding-left: 1em;
  border-left: 1px solid var(--color-text);
  line-height: 1;
}
.homeService {
  margin-top: 150px;
  padding: 100px 0 120px;
  background: url(../img/home/bg_service.jpg) no-repeat center / cover;
  @media screen and (max-width: 750px){
    margin-top: 60px;
    padding: 45px 0px 80px;
  }
}
.homeService__lead {
  font-size: 14px;
}
.homeServiceList {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  gap: 40px;
  @media screen and (max-width: 750px){
    margin-top: 40px;
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
}
.homeServiceList__item {
  background-color: #1d3c9e;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 437px;
  height: 329px;
  border-radius: 90px 0 0 0;
  text-decoration: none;
  @media screen and (max-width: 750px){
    width: 320px;
    height: 240px;
    border-radius: 72px 0 0 0;
  }
  &.-item02 {
    background-color: #243364;
    margin-top: 76px;
    @media screen and (max-width: 750px){
      margin: 0;
    }
  }
}
.homeServiceList__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  .ja {
    writing-mode: vertical-rl;
    font-size: 25px;
    font-weight: bold;
  }
  .en {
    font-size: 14px;
    font-family: var(--font-en);
    margin-top: 27px;
  }
}
.homeServiceList__detail {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  line-height: 2;
}
.homePrice {
  margin-top: 130px;
  padding-top: 200px;
  padding-bottom: 130px;
  @media screen and (max-width: 750px){
    margin-top: 40px;
    padding: 0;
  }
}
.homePrice__inner {
  position: relative;
}
.homePrice__thumb {
  position: absolute;
  width: 272px;
  @media screen and (max-width: 750px){
    position: static;
    width: 100%;
    img {
      width: 180px;
    }
  }
  &.-thumb01 {
    top: -200px;
    right: calc(50% - 540px);
    @media screen and (max-width: 750px){
      text-align: right;
      margin-bottom: 50px;
    }
  }
  &.-thumb02 {
    bottom: -130px;
    left: calc(50% - 540px);
    @media screen and (max-width: 750px){
      margin-top: 40px;
    }
  }
}
.homePrice__title {
  text-align: center;
}
.homePrice__text {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  line-height: 2;
  @media screen and (max-width: 750px){
    text-align: left;
  }
}
.homePrice__btn {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}
.homePrice__deco {
  width: 308px;
  position: absolute;
  top: -148px;
  left: 84px;
  opacity: 0;
  transition: opacity;
  transition-delay: .6s;
  @media screen and (max-width: 750px){
    mask: unset;
    transform: scale(0.5);
    transform-origin: left top;
    top: 100px;
    left: 0px;
  }
  .is-active & {
    opacity: 1;
  }
}
#mask_03 {
  position: absolute;
  width: 102.1%;
  top: -1%;
  left: -1%;
  z-index: 2;
  stroke-dasharray: 1000px;
  .is-active & {
    animation: mask_03_written 0.8s forwards .6s;
  }
}
#mask_03_path {
  fill: none;
  stroke: #fff;
  stroke-miterlimit: 10;
  stroke-width: 20px;
}
@keyframes mask_03_written {
  0% {
    stroke-dashoffset: 1000px;
  }
  100% {
    stroke-dashoffset: 0px;
  }
}

.homeAccess {
  margin-top: 150px;
  @media screen and (max-width: 750px){
    margin-top: 80px;
  }
}
.homeAccess__title {
  text-align: center;
}
.homeAccess__map {
  margin-top: 30px;
  iframe {
    width: 100%;
    height: 350px;
    vertical-align: bottom;
  }
}
.homeAccess__btn {
  padding-right: 30px;
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
  @media screen and (max-width: 750px){
    display: none;
  }
}
