:root {
  --color-title: #000;
  --font-size-title: clamp(1.5625rem, 1.1732rem + 1.6611vw, 3.125rem);
  --g_nav-hover: gray;
  --bg-color-header-btn: rgb(255, 197, 156);
  --bg-color-header-btn-hover: rgb(255, 130, 40);
  --font-size-middle: clamp(1.5625rem, 1.4535rem + 0.4651vw, 2rem);
  --margin-top-content: 6rem;
  --padding-content-side: 0 1rem;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
p {
  line-height: 2rem;
}
h2 {
  font-size: clamp(1.5625rem, 1.4535rem + 0.4651vw, 2rem);
}
#first_section {
  margin-top: 7rem;
}
.openbtn1 {
  position: fixed;
  background: transparent;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  top: 37px;
  right: 20px;
  border: none;
}

/*ボタン内側*/
.openbtn1 span {
  display: inline-block;
  transition: all 0.4s; /*アニメーションの設定*/
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background: #57a2c7;
  width: 45%;
}

.openbtn1 span:nth-of-type(1) {
  top: 15px;
}

.openbtn1 span:nth-of-type(2) {
  top: 23px;
}

.openbtn1 span:nth-of-type(3) {
  top: 31px;
}

/*activeクラスが付与されると線が回転して×に*/

.openbtn1.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0; /*真ん中の線は透過*/
}

.openbtn1.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  height: 110px;
  align-items: center;
  /* padding-top: 20px; */
  background-color: #fff;
  z-index: 2;
}
.logo {
  font-size: var(--font-size-title);
  color: var(--color-title);
  font-weight: 500;
}
.logo > img {
  width: 450px;
}
.logo-text {
  font-size: 14px;
}
.header-wrapper {
  max-width: 1650px;
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin: 0 auto;
  align-items: center;
  position: relative;
  padding: 0 20px;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-link__img {
  width: 70px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.nav-items {
  display: flex;
  gap: 3rem;
}
.nav-item__link.active::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: -12px;
  height: 1px;
  width: 100%;
  background: rgb(255, 130, 40) !important;
}
.nav-item__link {
  position: relative;
  color: #000;
}

.nav-item__link:hover::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: -12px;
  height: 1px;
  width: 100%;
  background: rgb(255, 130, 40) !important;
  /* transform: scale(0, 1);
    transform-origin: left top;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1); */
}
.nav-item__link:hover {
  color: var(--g_nav-hover);
}
.tel-btn {
  background-color: var(--bg-color-header-btn);
  padding: 15px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.tel-btn::after {
  background-color: rgb(255, 106, 0);
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}
.tel-btn:hover::after {
  transform: scale(1, 1);
}
@media screen and (min-width: 1201px) {
  .sp-only {
    display: none;
  }
}
@media screen and (max-width: 1200px) {
  .nav {
    position: absolute;
    width: 100vw;
    height: 100svh;
    top: -50px;
    left: 113%;
    flex-direction: column;
    background-color: #fff;
  }
  .nav.active {
    left: 0;
  }
  .nav-items {
    align-items: center;
    flex-direction: column;
    margin-top: 10rem;
  }
}
@media (max-width: 768px) {
  .logo > img {
    width: 250px;
  }
  .openbtn1 {
    top: 35px;
  }
}

#first-section {
  margin-top: 5rem;
}
.hero {
  width: 100%;
}
.hero__img {
  width: 100%;
  object-fit: cover;
  max-height: 70vh;
  margin: 0 auto;
  max-width: 100%;
  aspect-ratio: 4 / 3;
}

.business__hero__img {
  width: 100%;
  object-fit: cover;
  max-height: 70vh;
  margin: 0 auto;
  max-width: 100%;
  object-position: bottom;
}

.hero__img--top {
  object-position: 0 -600px;
}

@media (max-width: 1600px) {
  .hero__img--top {
    object-position: center;
  }
  .business__hero__img {
    object-position: center;
  }
}

.content-size {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  margin-top: 3.5rem;
}
.about {
  display: flex;
  justify-content: space-between;
  text-align: center;
  gap: 30px;
}
.about-desc {
  width: 55%;
  border-bottom: 2px solid;
  border-bottom: 2px solid rgb(255, 227, 207);
  position: relative;
}
.about_link {
  width: 100%;
}
.about_link_title {
  font-size: 23px;
  margin-top: 1.5rem;
  padding-bottom: 30px;
}
.about-desc::after {
  border-bottom: 2px solid rgb(255, 130, 40);
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}
.about-desc:hover::after {
  transform: scale(1, 1);
}
.about_link__img1 {
  width: 220px;
}
.about_link__img2 {
  width: 200px;
}
@media screen and (max-width: 500px) {
  .about {
    flex-direction: column;
    align-items: center;
  }
  .about-desc {
    width: 100%;
  }
  .news-item {
    flex-direction: column;
  }
  .news {
    height: 300px;
  }
}
#third-section {
  margin-top: var(--margin-top-content);
}
.news-content {
  text-align: center;
}
.news-content__title {
  font-size: var(--font-size-middle);
  margin-bottom: 3rem;
}
.news {
  overflow-y: scroll;
  height: 210px;
}
.news-item {
  padding: 20px;
  width: 100%;
  display: flex;
  gap: 30%;
  border-bottom: 1px solid gray;
}
.news-item__text {
  width: 20%;
}
#fourth-section {
  margin-top: var(--margin-top-content);
}
.about_content {
  width: 100%;
  background-color: rgb(234, 234, 234);
  text-align: center;
}
.about_title {
  text-align: center;
  font-size: var(--font-size-middle);
  margin-bottom: 3rem;
}
.about_link_sub {
  width: 50%;
  border-bottom: 2px solid rgb(255, 227, 207);
  position: relative;
}
.about_link_sub:hover::after {
  transform: scale(1, 1);
}
.about_link_sub::after {
  border-bottom: 2px solid rgb(255, 130, 40);
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}
.about-sub-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--margin-top-content);
}
.about-sub-content__title {
  font-size: var(--font-size-middle);
}
.about-sub-item {
  width: 100%;
  text-align: center;
}
.about-sub-item__text {
  margin-bottom: 2rem;
}
.about-sub-item__img {
  width: 200px;
}
@media screen and (max-width: 500px) {
  .about_link_sub {
    width: 100%;
  }
}
footer {
  margin-top: var(--margin-top-content);
  height: 350px;
  background-color: rgb(0, 7, 29);
}
.footer-items {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 20%;
  color: rgb(153, 193, 218);
  padding: var(--padding-content-side);
}
.footer-items p {
  color: rgb(153, 193, 218);
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.footer-address p {
  margin-top: 10px;
}
.footer-address__data {
  display: flex;
  align-items: start;
  gap: 20px;
}
.footer-address__data:nth-child(3) {
  margin-top: 1rem;
}
.footer-address__data:nth-child(4) {
  margin-top: 1rem;
}
.footer-address__data dt {
  margin-top: 7px;
  width: 100px;
}

.footer-address__data p {
  margin: 0;
}
.footer-nav__title {
  font-size: 20px;
  margin-bottom: 18px;
}
.page-top {
  width: 50px;
  height: 50px;
  background-color: rgb(255, 130, 40);
  position: fixed;
  right: 20px;
  bottom: 10px;
  color: #fff;
  border-radius: 50%;
}
.page-top__icon {
  transform: rotate(90deg);
  margin: 12px;
}
@media (max-width: 700px) {
  .footer-items {
    gap: 6%;
  }
}
@media screen and (max-width: 650px) {
  footer {
    height: auto;
  }
  .about-sub-item {
    width: auto;
  }
  .about-sub-content {
    flex-direction: column;
  }
  footer {
    height: auto;
  }
  .footer-items {
    width: 80%;
    margin: 0 auto;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer {
    padding: 2rem 0;
  }
  .footer-nav {
    margin-top: 1rem;
  }
}
@media (max-width: 550px) {
  .footer-address__data dt {
    width: 180px;
  }
  .footer-nav {
    width: 100%;
    /* text-align: center; */
  }
}
.new-line {
  display: inline-block;
}
