@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&family=Roboto:wght@700&display=swap');
@import url('https://fonts.cdnfonts.com/css/optima');

/* A Modern CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0
}

ul[role="list"],
ol[role="list"] {
  list-style: none
}

html:focus-within {
  scroll-behavior: smooth
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5
}

a:not([class]) {
  text-decoration-skip-ink: auto
}

img,
picture {
  max-width: 100%;
  display: block
}

input,
button,
textarea,
select {
  font: inherit
}

@media(prefers-reduced-motion:reduce) {
  html:focus-within {
    scroll-behavior: auto
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important
  }
}

:root {
  --body-color: #FFF;
  --main-font-color: #333;
  --primary-color: #EB5505;
  --white-color: #FFF;
  --gray-color: #CBCBCB;
  --business-bg-color: #F1F1F1;
}

html {
  display: flex;
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  background-color: var(--body-color);
  color: var(--main-font-color);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0;
  line-height: 1.75;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

button {
  padding: 0;
  background: none;
  border: none;
  outline: none;
}

a {
  color: var(--main-font-color);
  transition: 0.4s;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.no-sp {
  display: none !important;
}

@media only screen and (min-width: 768px) {
  .no-sp {
    display: flex !important;
  }
}

.no-pc {
  display: flex !important;
}

@media only screen and (min-width: 768px) {
  .no-pc {
    display: none !important;
  }
}

.js-fade {
  opacity: 0;
}

.js-fade.is-inview {
  opacity: 1;
  transition-delay: 0.3s;
  transition: 0.5s;
}

.js-fadeUp {
  opacity: 0;
  transform: translateY(50px);
}

.js-fadeUp.is-inview {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
  transition: 0.5s;
}

.f-bold {
  font-weight: bold;
}

.f-optima {
  font-family: 'Optima', sans-serif;
}

.f-mincho {
  font-family: YuMincho, "Hiragino Mincho ProN", serif;
}

.d-flex {
  display: flex;
  flex-direction: column;
}

/* ----- component ----- */

@media only screen and (min-width: 768px) {}

/* ----- layout ----- */
.l-top__mv {
  position: relative;
}

.l-top__mv-figure {
  padding-top: 75%;
  position: relative;
}

.l-top__mv-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.l-top__mv-title {
  position: absolute;
  bottom: 30px;
  left: 20px;
  padding-left: 10px;
  color: var(--white-color);
  border-left: 10px solid var(--primary-color);
  font-size: 2.7rem;
  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.67);
}

.l-top-section__title {
  color: var(--primary-color);
  font-weight: normal;
  font-size: 3.8rem;
  line-height: 1;
  letter-spacing: 0.1em;
}

.l-top-section__title--arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.l-top-section__title-arrow {
  width: 15px;
  height: 15px;
}

.l-top-section__title-wrap {
  gap: 5px;
  text-align: center;
}

.l-top-section__title-jp {
  color: var(--primary-color);
}

.l-top-section__inner {
  padding: 0 25px;
}

.l-top-section__inner--news {
  padding-top: 80px;
  padding-bottom: 98px;
}

.l-top-news__item-title {
  position: relative;
  padding-right: 36px;
  line-height: 1.64;
  font-size: 1.4rem;
  font-weight: normal;
}

.l-top-news__item-title::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  display: block;
  width: 12px;
  height: 12px;
  background: url(../images/top/gray-arrow.svg) no-repeat center / cover;
}

.l-top-news__time {
  font-size: 1.4rem;
  letter-spacing: 0.1em;
}

.l-top-news {
  gap: 20px;
  margin-top: 25px;
}

.l-top-news__item {
  position: relative;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--gray-color);
}

.l-top-section__inner--business {
  padding-top: 45px;
  padding-bottom: 50px;
  background-color: var(--business-bg-color);
}

.l-top-business {
  gap: 25px;
  margin-top: 21px;
}

.l-top-business__text {
  font-size: 1.4rem;
  line-height: 1.64;
}

.l-top-section__inner--service {
  padding: 44px 0 0;
}

.l-top-service__item {
  position: relative;
  display: block;
  padding: 25px 0;
}

.l-top-service__item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  transition: 0.5s;
}

.l-top-service__item:not(:last-of-type) {
  border-bottom: 1px solid var(--white-color);
}

.l-top-service__item--consultation {
  padding: 50px 0;
  background: url(../images/top/our-service-consultation.webp) no-repeat center / cover;
}

.l-top-service__item--housing {
  background: url(../images/top/our-service-housing.webp) no-repeat center / cover;
}

.l-top-service__item--savings {
  background: url(../images/top/our-service-savings.webp) no-repeat center / cover;
}

.l-top-service__item--ideco {
  background: url(../images/top/our-service-ideco.webp) no-repeat center / cover;
}

.l-top-service__item--fire {
  background: url(../images/top/our-service-fire.webp) no-repeat center / cover;
}

.l-top-service {
  margin-top: 25px;
}

.l-top-service__link {
  position: relative;
  gap: 10px;
  color: var(--white-color);
  text-align: center;
  letter-spacing: 0.1em;
}

.l-top-service__link::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: 12px;
  height: 24px;
  background: url(../images/top/white-arrow.svg) no-repeat center / cover;
}

.l-top-service__link--fire::after {
  width: 26px;
  height: 26px;
  background: url(../images/top/fire-link-icon.svg) no-repeat center / cover;
}

.l-top-service__item-title-en {
  line-height: 1;
}

.l-top-service__item-title {
  font-size: 1.6rem;
  line-height: 1.5;
}

.l-top-service__item-title-small {
  display: block;
  font-size: 1.1rem;
}

.l-top-site-map__link {
  position: relative;
  gap: 5px;
  margin-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-color);
}

.l-top-site-map__link::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: url(../images/top/gray-arrow.svg) no-repeat center / cover;
}

.l-top-site-map__link--recruit::after {
  width: 24px;
  height: 24px;
  background: url(../images/top/link-icon.svg) no-repeat center / cover;
}

.l-top-site-map__title-en {
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}

.l-top-site-map {
  display: grid;
  gap: 30px;
}

.l-top-section__inner--site-map {
  padding-top: 46px;
  /* footerリニューアル後変更 */
  /* padding-bottom: 50px; */
}

@media only screen and (min-width: 768px) {
  .l-top__mv-figure {
    padding-top: 32%;
  }

  .l-top__mv-title {
    padding-left: 20px;
    left: 120px;
    bottom: 25px;
    font-size: 4.5rem;
    line-height: 1.5;
  }

  .l-top-section__title {
    font-size: 5.2rem;
  }

  .l-top-section__title--arrow {
    gap: 16px;
  }

  .l-top-section__title--arrow .l-top-section__title-arrow {
    transition: 0.5s;
  }

  .l-top-section__title--arrow:hover .l-top-section__title-arrow {
    transform: translateX(10px);
    transition: 0.5s;
    opacity: 1;
  }

  .l-top-section__inner--business {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .l-top-section__title-jp {
    font-size: 1.8rem;
  }

  .l-top-business {
    flex-direction: row-reverse;
    align-items: center;
    max-width: 1085px;
    margin: 0 auto;
    gap: 79px;
  }

  .l-top-business__text {
    gap: 24px;
    max-width: 490px;
    font-size: 1.5rem;
    line-height: 2;
  }

  .l-top-business__figure {
    max-width: 516px;
    margin: 0 auto;
  }

  .l-top-section__title-arrow {
    width: 20px;
    height: 20px;
  }

  .l-top-service {
    margin-top: 40px;
  }

  .l-top-service__text {
    justify-content: center;
    margin-top: 24px;
    line-height: 2;
  }

  .l-top-service__link {
    display: inline-flex;
    gap: 20px;
  }

  .l-top-service__item-title-en {
    font-size: 2.3rem;
  }

  .l-top-service__item-title {
    font-size: 2.2rem;
  }

  .l-top-service__item-title-small {
    font-size: 1.5rem;
  }

  .l-top-service__item {
    text-align: center;
  }

  .l-top-service__link::after {
    top: 80%;
    right: -45px;
  }

  .l-top-service__link--first:after {
    top: 70%;
    right: -45px;
  }

  .l-top-service__link--fire::after {
    right: -5px;
  }

  .l-top-service__item {
    padding: 65px 0;
  }

  .l-top-service__item--consultation {
    padding: 103px 0;
  }

  .l-top-service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "consultation consultation"
      "housing savings"
      "ideco fire";
  }

  .l-top-service__item--consultation {
    grid-area: consultation;
  }

  .l-top-service__item--housing {
    grid-area: housing;
  }

  .l-top-service__item--savings {
    grid-area: savings;
  }

  .l-top-service__item--ideco {
    grid-area: ideco;
  }

  .l-top-service__item--fire {
    grid-area: fire;
  }

  .l-top-service__item--housing,
  .l-top-service__item--ideco {
    border-right: 1px solid var(--white-color);
  }

  .l-top-section__inner--site-map {
    max-width: 1150px;
    margin: 0 auto;
    padding: 80px 25px;
    /* footerリニューアル後変更 */
    padding-bottom: 0;
  }

  .l-top-site-map {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 60px;
  }

  .l-top-site-map__title-en {
    font-size: 2rem;
  }

  .l-top-site-map__title {
    font-size: 2rem;
  }

  .l-top-site-map__link::after {
    width: 14px;
    height: 14px;
    transition: 0.5s;
  }

  .l-top-site-map__link:hover::after {
    background: url(../images/top/orange-arrow.svg) no-repeat center / cover;
    transition: 0.5s;
  }

  .l-top-site-map__link--recruit::after {
    width: 26px;
    height: 26px;
  }

  .l-top-site-map__link {
    padding-bottom: 22px;
  }

  .l-top-service__item:hover {
    opacity: 1;
  }

  .l-top-service__item:hover::before {
    background-color: rgba(0, 0, 0, 0);
    transition: 0.5s;
  }

  .l-top-site-map__link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-color);
    margin: auto;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
  }

  .l-top-site-map__link:hover {
    border-bottom: 1px solid transparent;
    color: var(--primary-color);
  }

  .l-top-site-map__link:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
  }

  .l-top-site-map__link--recruit:hover::after {
    background: url(../images/top/link-icon-orange.svg) no-repeat center / cover;
  }
}

@media only screen and (min-width: 1036px) {
  .l-top__mv-title {
    padding-left: 20px;
    left: 120px;
    bottom: 45px;
    font-size: 7.7rem;
    line-height: 1.5;
  }
}

@media only screen and (min-width: 1036px) {
  .l-top-news {
    gap: 30px;
    max-width: 840px;
    width: 100%;
    margin-top: 0;
  }

  .l-top-section__inner--news {
    display: flex;
    justify-content: space-around;
    max-width: 1150px;
    margin: 0 auto;
    padding: 80px 25px;
  }

  .l-top-section__title--news {
    justify-content: left;
  }

  .l-top-news__item-title {
    width: 100%;
    font-size: 1.5rem;
  }

  .l-top-news__item-title::after {
    width: 14px;
    height: 14px;
    transition: 0.5s;
  }

  .l-top-news__item {
    padding-bottom: 30px;
    transition: 0.5s;
  }

  .l-top-news__item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--primary-color);
    margin: auto;
    transform-origin: right top;
    transform: scale(0, 1);
    transition: transform .3s;
  }

  .l-top-news__item:hover {
    border-bottom: 1px solid transparent;
  }

  .l-top-news__item:hover::before {
    transform-origin: left top;
    transform: scale(1, 1);
  }

  .l-top-news__item-link {
    flex-direction: row;
    align-items: center;
    gap: 40px;
  }

  .l-top-section__title-wrap--news {
    text-align: left;
  }

  .l-top-news__item:hover .l-top-news__item-link {
    color: var(--primary-color);
    opacity: 1;
    transition: 0.5s;
  }

  .l-top-news__item:hover .l-top-news__item-title::after {
    background: url(../images/top/orange-arrow.svg) no-repeat center / cover;
    transition: 0.5s;
  }
}

.anchor {
  padding-top: 50px;
  margin-top: 50px;
}

/* メンテナンスのお知らせ */

.maintenance-container {
  padding: 1.5rem 4.5rem;
  /* margin-bottom: 6rem; */
  background-color: #F1F1F1;
  /* margin-top: 6rem; */
}

/* @media only screen and (min-width: 768px) {
  .maintenance-container {
    margin-top: 8rem;
  }
} */

.maintenance-container .heading {
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.5;
  text-align: center;
  /* padding-bottom: 0.5rem; */
}


@media only screen and (min-width: 768px) {
  .maintenance-container .heading {
    font-size: 1.6rem;
    line-height: 1.417;
  }
}

.maintenance-container .maintenance-container__inner p {
  font-size: 1.1rem;
  text-align: start;
  margin-top: 0px;
  line-height: 1.5rem;
}

@media only screen and (min-width: 768px) {
  .maintenance-container .maintenance-container__inner p {
    font-size: 1.4rem;
    margin-top: 5px;
    line-height: 1.8rem;

  }
}

.maintenance-container__inner {
  border: 2px solid red;
  padding: 0.5rem 1rem;
  margin: 0 auto;
}

@media only screen and (min-width: 768px) {
  .maintenance-container__inner {
    border: 3px solid red;
    max-width: 45%;
    padding: 1.5rem;
  }
}

/* メンテナンスのお知らせ END*/
