/*
======================================
トップページcss
======================================
*/

.top-hero-text {
  position: absolute;
  z-index: 10;
  top: 250px;
  left: 70px;
  color: #fff;
  font-size: var(--font-size-7xl);
  font-family: var(--fv-font-familys);
  font-weight: 500;
  line-height: 1.2;
}

.top-hero-bg {
  position: absolute;
  width: 550px;
  height: auto;
  z-index: 5;
  top: 100px;
  left: -70px;
}

@media (min-width: 1600px) {
  .top-hero-bg {
    left: 100px;
  }

  .top-hero-text {
    left: 240px;
  }
}

@media (min-width: 1920px) {
  .top-hero-bg {
    left: 200px;
  }

  .top-hero-text {
    left: 340px;
  }
}

.top-hero-bg-mobile {
  display: none;
}

.takaishi-life {
  padding: 128px 20px;
  max-width: 1326px;
  margin: auto;
  justify-content: space-around;
  margin: 0 auto;
}

.takaishi-life__img {
  max-width: 520px;
}

.takaishi-life-rightbox {
  gap: 48px;
  align-content: space-around;
}

.takaishi-life__txt--heading {
  font-size: var(--font-size-3xl);
  max-width: 730px;
}

.takaishi-life__txt--heading .orange {
  color: var(--color-main);
  font-size: var(--font-size-5xl);
}

.takaishi-life__txt--paragraph {
  font-size: 20px;
  max-width: 730px;
}

.takaishi-life__txt--paragraph .orange {
  color: var(--color-main);
  font-weight: bold;
}

.k2housing-movie {
  height: 392px;
}

.k2housing-movie>div>p {
  font-size: 20px !important;
}

.k2housing-movie__txt {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
  margin-bottom: 16px;
}

.k2housing-movie__btntxt a {
  font-size: var(--font-size-base);
  font-weight: bold;
  background-color: #ffffff;
  transition: 0.4s;
}

.k2housing-movie__btntxt a::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  margin-left: 16px;
}

.k2housing-movie__modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 100px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.k2housing-movie__modal.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.k2housing-movie__modal .wp-block-group__inner-container {
  border-radius: 16px;
  padding: 56px;
  max-width: 960px;
  width: 100%;
  position: relative;
}

.k2housing-movie__modal iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 8px;
}

.k2housing-movie__modal .wp-block-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.k2housing-movie__modal .wp-block-button__link {
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  padding: 0;
}


.reasons__column {
  padding: 0 20px;
}

.reasons__column>div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: auto;
  gap: 24px;
}

.reasons__column--top>div{
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.reasons__column--orange-txt {
  color: var(--color-main);
  font-size: var(--font-size-6xl);
  font-weight: bold;
  width: 57px;
}

.reasons__column--txt {
  font-weight: bold;
  font-size: var(--font-size-xl);
}

.reasons__column--txt-paragraph {
  font-size: var(--font-size-base);
  line-height: 1.6;
  max-width: 384px;
  height: auto;
  margin: 0 auto;
}

.reasons__column--btn {
  height: auto;
  width: 384px;
}

.reasons__column--btn>a {
  background-color: var(--color-main);
  border: 1px solid transparent;
  font-weight: bold;
  transition: all 0.3s ease;
}

.reasons__column--btn>a::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  margin-left: 16px;
  transition: all 0.3s ease;
}

.service__btn {
  width: 221px;
  height: 48px;
  background: #333333 0% 0% no-repeat padding-box;
  border-radius: 31px;
  color: #fff;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.service__txt {
  text-align: center;
  font-size: var(--font-size-3xl);
}

.service__block {
  /* display: flex; */
  width: 100%;
  height: 304px;
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
}

.service__block--img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60vw;
  height: 304px;
  overflow: hidden;
  border-radius: 16px;
  z-index: 1;
  width: 678px;
}

.service__block--img::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service__block--img img {
  height: auto;
  object-fit: cover;
  display: block;
}

.service__block--paragraph {
  background: #FFFFFF 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 8px;
  opacity: 1;
  max-width: 720px;
  height: auto;
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -27%;
  transform: translate(-50%, -50%);
  padding: 20px 40px;
}

.service__block--orange-txt {
  color: var(--color-main);
  font-size: var(--font-size-6xl);
  font-weight: bold;
}

.service__block--txt {
  font-weight: bold;
  font-size: var(--font-size-xl);
}

.service__block--paragraph2 {
  font-size: var(--font-size-base);
  line-height: 1.6;
  width: 640px;
  height: 136px;
  margin: 0 auto;
}

.service__block--btn {
  width: 101px;
  height: 24px;
  line-height: 1px;
}

.service__block--btn a {
  font-size: var(--font-size-base);
  border-color: var(--color-main);
}

.button__text {
  color: var(--color-main);
}

.service__block--hgroup {
  gap: 24px;
}


.introduction__hgroup>div .introduction__txt {
  padding-bottom: 50px;
  padding-top: 25px;
  margin: 0;
}

.introduction__slider .swiper-wrapper .vk_slider_item .vk_slider_item-background-area {
  background-color: #ffffff;
  opacity: 1;
}

.introduction__slider .swiper-wrapper {
  transition-timing-function: linear;
}

.kids {
  justify-content: center;
  padding-bottom: 128px;
  padding-left: 20px;
  padding-right: 20px;
}

.kids__txt {
  font-size: var(--font-size-3xl);
  margin-bottom: 48px;
}

.kid__paragraph {
  font-size: 20px;
  line-height: 1.5;
}

.kid__img {
  max-width: 520px;
}

.staff {
  max-width: 493px;
  margin-left: auto;
}

.staff__bg {
  height: 384px;
  padding: 32px 40px;
}

.staff__bg>div {
  margin: 0 auto;
  max-width: 1326px;
}

.staff__txt {
  width: 291px;
  border-bottom: 2px solid #ffffff;
  text-align: justify;
  margin-bottom: 31px;
  font-weight: bold;
}

.staff__paragraph {
  margin-bottom: 40px;
  font-size: 20px;
}

.staff__link {
  font-size: var(--font-size-base);
}

.staff__link::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  margin-left: 16px;
}

.information {
  padding-left: 20px;
}

.information-section {
  background-color: #ffffff;
  position: relative;
  z-index: 1;
}

.information__btn {
  width: 268px;
  height: 48px;
  background: #333333 0% 0% no-repeat padding-box;
  border-radius: 31px;
  color: #fff;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.information__txt {
  text-align: center;
  font-size: var(--font-size-3xl);
}

.information>div {
  display: flex;
  margin: 0 auto;
  max-width: 1326px;
  overflow: visible;
}

.information__hgroup {
  display: grid;
  place-items: center;
  margin-right: 68px;
}

.information__click {
  margin-top: 0;
}

.information__click>a {
  border: 1px solid transparent;
}

.information__click>a::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  margin-left: 16px;
}

.information-button__group>div{
  display: flex;
  gap:16px;
  justify-content: flex-end; 
  padding-right:20px
}

.news-slider {
  overflow-x: auto;
  padding: 1rem 0;
  width: calc(962px + ((100vw - 1326px) / 2));
  flex: 0 0 auto;
  scroll-snap-type: x mandatory;
}

.news-slider::-webkit-scrollbar {
  height: 8px;
}

.news-slider::-webkit-scrollbar-track {
  background-color: #ccc;
  border-radius: 24px;
}

.news-slider::-webkit-scrollbar-thumb {
  background-color: var(--color-text);
  border-radius: 24px;
}

.news-slider__track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding:24px;
  scroll-snap-type: x mandatory;
}

.news-slider__item {
  width: 312px;
  min-width: 240px;
  flex: 0 0 auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  transition: all .3s ease;
}

.news-slider__item:hover{
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.news-slider__item img {
  border-radius: 8px 8px 0 0;
  width: 312px;
  height: 280px;
  object-fit: cover;
  border-bottom: 2px solid var(--color-main);
}

.news-slider__thumbnail {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.news-slider__title {
  font-size: 20px;
  width: 280px;
  height: 63px;
  color: #333333;
}

.news-slider__link {
  text-decoration: none;
  color: inherit;
}

.news-slider__date {
  font-size: var(--font-family-base);
  color: #333333;
}

.news-slider__category{
  align-items: center;
  background-color: var(--color-text);
  border-radius: 32px;
  color: #fff;
  display: inline-block;
  display: flex;
  font-size: var(--font-size-sm);
  font-weight: bold;
  height: 24px;
  justify-content: center;
  padding: 4px 8px;
  text-align: center;
  width: 50%;
}

.news-slider__info {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.news-slider__content{
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 16px;
}

.news-slider__item {
  position: relative;
  overflow: hidden;
}

.top__information--btn {
  max-width: 1326px;
  margin: 0 auto;
}

@media screen and (max-width: 1326px) {
  .news-slider {
    width: calc(100vw - 375px);
  }
}


@media screen and (max-width: 599px) {

  /*
======================================
トップページcss(sp)ここから
======================================
*/
  .sp-only-br {
    display: inline;
  }

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

  .section {
    padding: 64px 16px;
  }

  .section-lr {
    padding: 80px 0;
  }

  .staff__bg.section-lr {
    padding: 0 14px 24px 14px;
  }

  .top-hero-text {
    font-family: var(--font-family-base);
    position: absolute;
    z-index: 10;
    top: 290px;
    left: 40px;
    color: #fff;
    font-size: var(--font-size-3xl);
  }

  .top-hero-bg {
    display: none;
  }

  .top-hero-bg-mobile {
    display: block;
    width: 300px;
    height: auto;
    position: absolute;
    z-index: 5;
    top: 230px;
    left: -40px;
  }

  .takaishi-life {
    flex-direction: column;
  }

  .takaishi-life__txt--heading {
    font-size: var(--font-size-xl);
    max-width: 344px;
    height: auto;
  }

  .takaishi-life__txt--heading .orange {
    color: var(--color-main);
    font-size: var(--font-size-xl);
  }

  .takaishi-life__txt--paragraph {
    font-size: 18px;
    max-width: 344px;
    height: auto;
  }

  .k2housing-movie__txt {
    font-size: var(--font-size-base);
    max-width: 344px;
    height: auto;
    margin: 0 auto;
  }

  .k2housing-movie>div>p {
    font-size: var(--font-size-base) !important;
  }

  .k2housing-movie__btntxt {
    margin-top: 24px;
    max-width: 344px;
    height: auto;
  }

  .k2housing-movie__modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
  }

  .k2housing-movie__modal.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    padding: 0;
    margin: 0 auto;
    gap: 20px;
  }

  .k2housing-movie__modal .wp-block-group__inner-container {
    background: transparent;
    border-radius: 16px;
    padding: 56px 0;
    width: calc(100% - 20px);
    position: relative;
    box-shadow: none;
  }

  .k2housing-movie__modal iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 8px;
  }

  .k2housing-movie__modal .wp-block-button {
    position: absolute;
    top: 10px;
    right: 10px;
  }

  .k2housing-movie__modal .wp-block-button__link {
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    padding: 0;
  }

  .reasons__column--orange-txt {
    font-size: var(--font-size-5xl);
    white-space: nowrap;
  }

  .reasons__column--top>div{
    gap: 12px;
  }

  .reasons__column--txt {
    font-size: 20px;
  }

  .reasons__column--txt-paragraph {
    font-size: var(--font-size-base);
    width: 100%;
    height: auto;
    margin: 24px 0;
  }

  .service__btn {
    max-width: 208px;
    height: 43px;
    font-size: var(--font-size-base);
  }

  .service__txt {
    font-size: var(--font-size-xl);
  }


  .wp-block-group__inner-container .service__block {
    flex-wrap: wrap;
    height: auto;
    gap: 0;
  }

  .service__block--img,
  .service__block--paragraph {
    position: static;
    width: 100%;
    height: auto;
  }

  .service__block--img {
    border-radius: 16px 16px 0 0;
  }

  .service__block--paragraph {
    padding: 0;
    height: auto;
    transform: none;
    box-shadow: none;
    padding: 12px 24px 32px 24px;
    border-radius: 0 0 16px 16px;
  }

  .service__block--paragraph>.service__block--hgroup {
    flex-wrap: wrap;
    row-gap: 20px;
    margin-bottom: 24px;
  }

  .service__block--hgroup>.service__block--txt {
    min-width: 170px;
  }

  .service__block--paragraph2 {
    width: 100%;
    height: auto;
  }

  .kids {
    flex-direction: column-reverse;
  }

  .kids__txt {
    max-width: 344px;
    height: auto;
    font-size: var(--font-size-xl);
    margin-bottom: 24px;
  }

  .kid__paragraph {
    max-width: 344px;
    height: auto;
    font-size: var(--font-size-lg);
  }

  .kids__leftbox {
    width: 100%;
  }

  .staff__bg {
    display: flex;
    flex-direction: column;
    height: 364px;
    padding: 20px 14px;
  }

  .staff__bg>div {
    margin-top: auto;
  }

  .staff__txt {
    font-size: var(--font-size-3xl);
  }

  .staff__paragraph {
    font-size: 16px;
  }

  .information {
    padding-left: 11px;
  }

  .information__btn {
    width: 245px;
    height: 43px;
    font-size: var(--font-size-base);
  }

  .information__txt {
    font-size: var(--font-size-xl);
  }

  .information>div {
    flex-direction: column;
  }

  .information+div {
    display: block;
    text-align: center;
  }

  .information__hgroup {
    margin: 0;
  }

  .news-slider {
    width: auto;
    scroll-snap-type: x mandatory;
  }

  .news-slider__track{
    padding: 0 24px 0 8px;
    gap: 16px;
    scroll-snap-type: x mandatory;
  }

  .news-slider__item{
    scroll-snap-align: center;
  }

  .information__click {
    margin: 0 auto;
    padding: 0;
  }

  .information-button__group>div{
    flex-direction: column;
    gap: 0;
    align-items: center;
    padding:0 20px;
  }
  .wp-block-buttons>.wp-block-button,
  .wp-block-buttons.is-content-justification-right{
    width: 100%;
  }
  .k2housing-movie__modal .wp-block-buttons>.wp-block-button{
    width: auto;
  }
}


@media screen and (min-width: 600px) and (max-width: 1200px) {
  .top-hero-bg {
    left: -200px;
  }

  .top-hero-text {
    left: 10px;
    font-size: 56px;
    top: 280px;
    font-family: var(--fv-font-familys);
  }

  .section {
    padding: 80px 20px;
  }

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

  .wp-block-group__inner-container .service__block {
    flex-wrap: wrap;
    height: auto;
    gap: 0;
  }

  .service__block--img,
  .service__block--paragraph {
    position: static;
    width: 100%;
    height: 300px;
  }

  .service__block--img {
    border-radius: 16px 16px 0 0;
  }

  .service__block--paragraph {
    max-width: 100%;
    height: auto;
    transform: none;
    box-shadow: none;
    padding: 24px 24px 32px 24px;
    border-radius: 0 0 16px 16px;
  }

  .service__block--paragraph>.service__block--hgroup {
    flex-wrap: wrap;
    row-gap: 20px;
    margin-bottom: 24px;
  }

  .service__block--hgroup>.service__block--txt {
    min-width: 170px;
  }

  .service__block--paragraph2 {
    width: 100%;
    height: auto;
  }

  .reasons__column--txt {
    font-size: 20px;
  }

  .reasons__column--orange-txt {
    font-size: var(--font-size-5xl);
    white-space: nowrap;
  }

  .reasons__column--img {
    width: auto;
    height: auto;
  }

  .reasons__column--img>figure {
    width: auto;
    height: auto;
  }

  .reasons__column--img>figure>img {
    width: auto;
    height: auto;
  }

  .service__block--img img {
    width: 100%;
  }

  .reasons__column>div {
    gap: 16px;
  }

  .k2housing-movie__modal {
    padding: 20px;
  }
}



/*
======================================
ホバーアクション
======================================
*/

.k2housing-movie__btntxt>a:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.reasons__column--btn a:hover {
  background-color: #ffffff;
  border-color: var(--color-main);
  color: var(--color-main);
  border: 1px solid var(--color-main);
}

.reasons__column--btn a:hover::after {
  color: var(--color-main);
}

.button__text {
  display: inline-block;
  transition: transform 0.3s ease;
}

.service__block--btn a:hover .button__text {
  transform: translateX(5px);
  color: #ffffff;
}

.service__block--btn a:hover {
  background-color: var(--color-main);
  border-color: var(--color-main);
}



.information__click a:hover {
  background-color: #ffffff;
  border: 1px solid #333333;
  color: #333333;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.information__click a:hover::after {
  color: #333333;
  transition: color 0.3s ease;
}