#wpadminbar {
  display: none;
}

@media screen and (min-width: 1023px) {
  .pc {
    display: block !important;
  }
  .sp {
    display: none !important;
  }
}

@media screen and (max-width: 1024px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans Symbols", sans-serif;
}

.inner {
  width: 80%;
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
  .inner {
    width: 90%;
  }
}

/* 文字CSS */
span,
a,
p {
  font-size: 16px;
  line-height: 1.6;
}

h1 {
  font-size: 40px;
  line-height: 1.5;
}

h2 {
  font-size: 32px;
  line-height: 1.5;
}

h3 {
  font-size: 24px;
  line-height: 1.5;
}

@media screen and (max-width: 1024px) {
  h1 {
    font-size: 35px;
  }

  h2 {
    font-size: 27px;
  }

  h3 {
    font-size: 20px;
    line-height: 1.5;
  }
}
/* 文字CSS ここまで */

/* サイドメニューCSS */
.sidebar {
  right: 0;
  z-index: 1000;
  margin-right: 50px;
}

.sidebar img {
  width: 75px;
  height: auto;
}

@media screen and (max-width: 1024px) {
  .sidebar {
    margin-right: 20px;
  }

  .sidebar img {
    width: 60px;
    height: auto;
  }
}
/* サイドメニューCSS ここまで */

/* 三点下線CSS */
.heading-container {
  position: relative;
  display: inline-block;
  max-width: 1000px;
  font-weight: 700;
  margin: 30px 0;
}

.useful-information-stripe-item p {
  font-size: 24px;
}

.heading-container.no-margin {
}

.heading-container.center {
  text-align: center;
  margin: 40px auto;
}

/* ヘッダー内テキスト */
.heading-container .concept-header {
  margin: 0 0 20px 40px;
}

/* 各イメージ共通 */
.heading-container .concept,
.heading-container .work,
.heading-container .information,
.heading-container .news,
.heading-container .business,
.heading-container .construction,
.heading-container .reform {
  position: absolute;
  top: 0; /* 個別で調整 */
  left: 0; /* 個別で調整 */
  transform: translateY(-50%);
  height: auto;
}

/* 個別配置 */
.heading-container .concept {
  width: 50%;
  top: -40px;
  left: -10px;
}

.heading-container .work {
  width: 70%;
  top: -5px;
  left: -50px;
}

.heading-container .information {
  width: 70%;
  top: 0;
  left: -80px;
}

.heading-container .news {
  width: 50%;
  top: -5px;
  left: -50px;
}

.heading-container .business,
.heading-container .construction {
  width: 80%;
  top: -15px;
  left: -15px;
}

.heading-container .reform {
  width: 40%;
  top: -15px;
  left: -15px;
}

/* 光線グループ */
.heading-container .rays,
.heading-container .small-rays {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.heading-container .rays {
  top: -10px;
  right: 15px;
}

.heading-container .small-rays {
  top: 0;
  right: 10px;
}

/* 大光線 */
.heading-container .ray {
  position: absolute;
  width: 6px;
  background-color: #d4b437;
  border-radius: 4px;
  transform-origin: bottom center;
}

.heading-container .ray:nth-child(1) {
  transform: rotate(25deg) translateY(-20px);
  height: 30px;
}

.heading-container .ray:nth-child(2) {
  transform: rotate(55deg) translateY(-20px);
  height: 30px;
}

.heading-container .ray:nth-child(3) {
  transform: rotate(85deg) translateY(-20px);
  height: 33px;
}

/* 小光線 */
.heading-container .small-ray {
  position: absolute;
  width: 6px;
  background-color: #d4b437;
  border-radius: 4px;
  transform-origin: bottom center;
}

.heading-container .small-ray:nth-child(1) {
  transform: rotate(25deg) translateY(-20px);
  height: 15px;
}

.heading-container .small-ray:nth-child(2) {
  transform: rotate(55deg) translateY(-20px);
  height: 15px;
}

.heading-container .small-ray:nth-child(3) {
  transform: rotate(85deg) translateY(-20px);
  height: 15px;
}

/* その他 */
.heading-container .work-detail .item-bt {
  margin-bottom: 20px;
}

.heading-container .heading-underline {
  display: inline;
  background-image: linear-gradient(#d4b738, #d4b738);
  background-repeat: repeat-x;
  background-size: 100% 6px;
  background-position: 0 80%;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 5px;
}

@media screen and (max-width: 1024px) {
  .heading-container {
    max-width: 75%;
    margin: 30px auto;
  }

  .useful-information-stripe-item p {
    font-size: 24px;
  }

  .heading-container .concept {
    left: 5px;
  }

  .heading-container .construction {
    width: 60%;
  }

  .heading-container .information {
    left: -5px;
    top: -15px;
  }

  .heading-container .rays {
    top: -5px;
    right: 10px;
  }

  .heading-container .ray:nth-child(1) {
    height: 20px;
  }

  .heading-container .ray:nth-child(2) {
    height: 20px;
  }

  .heading-container .ray:nth-child(3) {
    height: 23px;
  }
}
/* 三点下線CSS ここまで */

/* ヘッダーフッター共通CSS */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #000;
  padding: 15px 25px;
  position: relative;
}

.site-nav .logo img {
  position: absolute;
  width: 70px;
  height: auto;
  z-index: 1001;
  top: 10px;
  left: 20px;
}

.site-nav .nav ul {
  display: flex;
  list-style: none;
  padding: 0;
}

.site-nav .nav ul li {
  display: flex;
  align-items: end;
}

@media screen and (max-width: 1024px) {
  .site-nav .logo img {
    width: 85px;
  }

  .site-nav .nav ul li {
    align-items: center;
    justify-content: center;
  }
}

.site-nav .nav ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #000;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.site-nav .nav ul li a:hover {
  opacity: 0.5;
}

.site-nav .nav ul li::after {
  margin: 0 10px;
  padding: 0 10px;
  display: inline-block;
}

@media screen and (max-width: 1024px) {
  .site-nav .nav ul li::after {
    margin: 0;
    padding: 0;
  }
}

.site-nav .nav ul li:not(:last-child):not(:nth-last-child(2))::after {
  content: "/";
  color: #000;
}

@media screen and (max-width: 1024px) {
  .site-nav .nav ul li:not(:last-child):not(:nth-last-child(2))::after {
    content: "";
  }
}

.site-nav .nav ul li:last-child::after,
.site-nav .nav ul li:nth-last-child(2)::after {
  content: "";
}

.site-nav .nav .label-text {
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
}

.site-nav .nav .label-img {
  display: block;
  max-height: 13px;
}

.site-nav .nav .instagram-icon {
  width: 35px;
  height: auto;
  translate: 0 -50%;
  top: 55%;
  position: absolute;
  margin: 0 20px;
}

@media screen and (max-width: 1024px) {
  .site-nav .nav .instagram-icon {
    width: 60px;
    height: auto;
    translate: 0;
    position: static;
    margin: 0 auto;
  }
}

/* ヘッダーCSS */
header .site-nav {
  justify-content: space-between;
  background-color: #fff;
  position: fixed;
}

.hamburger {
  padding: 9px 3px;
}

.hamburger-inner {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 1001;
}

.hamburger-inner .bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #333333;
  transition: all 0.5s;
  z-index: 10;
}

.hamburger-inner .bar:nth-child(1) {
  top: 0;
}

.hamburger-inner .bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-inner .bar:nth-child(3) {
  bottom: 0;
}

.hamburger-menu {
  display: none;
}

.hamburger.active .bar:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

.hamburger.active .hamburger-menu {
  display: block;
  position: absolute;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  padding: 100px 0;
  background-color: #fff;
  z-index: 1000;
}

.hamburger.active .hamburger-menu ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 70%;
  margin-inline: auto;
  gap: 50px;
}

@media screen and (max-width: 768px) {
  .heading-container .concept-header {
    margin: 0 0 0 20px;
  }
  .hamburger.active .hamburger-menu ul {
    grid-template-columns: 1fr;
  }
}

.hamburger.active .hamburger-menu .instagram-icon-content {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ヘッダーCSS ここまで */

/* フッターCSS */
footer .contact-content {
  background-image: url(../image/footer_background_image.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

footer .contact-content .contact-detail {
  margin: 0 auto;
  width: 80%;
  padding: 80px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

@media screen and (max-width: 1024px) {
  footer .contact-content .contact-detail {
    width: 95%;
    display: block;
    text-align: center;
  }
}

footer .contact-content .contact-detail h2 {
  margin: -10px 0 0 125px;
  width: 750px;
  font-weight: 600;
  letter-spacing: 3.84px;
  color: #fff;
}

@media screen and (max-width: 1024px) {
  footer .contact-content .contact-detail h2 {
    width: 100%;
    text-align: center;
    margin: 0;
  }
}

.new-house-button,
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 365px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, #fc6076 0%, #ff9a44 100%);
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

@media screen and (max-width: 1600px) {
  .new-house-button,
  .contact-button {
    margin: 30px 0;
    width: 300px;
  }
}

.new-house-button::after,
.contact-button::after {
  content: ">";
  position: absolute;
  right: 20px;
  font-size: 20px;
  font-weight: bold;
}

footer .contact-content img {
  width: 300px;
  height: auto;
}

@media screen and (max-width: 1024px) {
  footer .contact-content img {
    width: 200px;
    height: auto;
  }
}

footer .company-detail {
  display: flex;
  width: 80%;
  margin: 65px auto 40px;
  align-items: flex-start;
}

@media screen and (max-width: 1024px) {
  footer .company-detail {
    display: grid;
    justify-content: center;
    text-align: center;
  }
}

footer .company-detail img {
  width: 145px;
  height: auto;
  margin-right: 45px;
  object-fit: contain;
  max-width: 100%;
}

@media screen and (max-width: 1024px) {
  footer .company-detail img {
    margin: 0 auto;
  }
}

footer .company-detail h2 {
  color: #d93236;
  font-size: 28px;
  margin-bottom: 30px;
}

footer .company-detail p {
  font-size: 16px;
  margin-bottom: 10px;
}

footer .company-detail a {
  margin: 35px 30px 0 auto;
}

footer .company-detail a img {
  width: 75px;
  height: auto;
  object-fit: contain;
  max-width: 100%;
}

footer .site-nav {
  width: 100%;
  margin: 0 auto;
  justify-content: end;
}

@media screen and (max-width: 1024px) {
  footer .site-nav {
    justify-content: center;
  }
}

@media screen and (max-width: 1024px) {
  footer .site-nav .nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-inline: auto;
    gap: 50px;
  }
}

@media screen and (max-width: 768px) {
  footer .site-nav .nav ul {
    grid-template-columns: 1fr;
  }
}

footer .copyright {
  margin-top: 40px;
  font-size: 16px;
  text-align: center;
}
/* フッターCSS ここまで */

/* アニメーションCSS */
/* フェードインアニーション */
.fade-first,
.fade-second,
.fade-third {
  opacity: 0;
  transition: all 1s ease;

  &.fade-top {
    transform: translateY(-30px);
  }

  &.fade-bottom {
    transform: translateY(30px);
  }

  &.fade-left {
    transform: translateX(-30px);
  }

  &.fade-right {
    transform: translateX(30px);
  }
}

.fade-first.show,
.fade-second.show,
.fade-third.show {
  opacity: 1;
  transform: translateY(0);
}

/* ズームアウトアニメーション */
@keyframes u-zoomOut {
  0% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.u-zoomOut {
  animation: u-zoomOut 12s linear 0s normal both;
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.u-zoomOut-contents {
  position: relative;
  overflow: hidden;
}

/* ジャンプアニメーション */
.jump-img {
  display: inline-block;
  transition: transform 0.3s ease;

  &:hover {
    animation: jumpTwice 0.6s ease;
  }
}

@keyframes jumpTwice {
  0% {
    transform: translateY(0);
  }
  20% {
    transform: translateY(-10px);
  }
  40% {
    transform: translateY(0);
  }
  60% {
    transform: translateY(-6px);
  }
  80% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(0);
  }
}

/* 大きくなるアニメーション */
.big-content {
  transition: opacity 0.3s ease, transform 0.3s ease;
  overflow: hidden;
  &:hover {
    opacity: 0.9;
    transform: scale(1.03);
  }
}

/* 透明から表示させるアニメーション */
.fade-in {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.fade-in.show {
  animation: fadeToFull 1s ease-in-out forwards;
}

@keyframes fadeToFull {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* アニメーションCSS ここまで */
