@charset "utf-8";
/* 
Theme Name: ME-SITE
*/


body {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.wrapper {
  overflow: hidden;
}

.button {
  background: #1e2084;
  border: 2px solid #1e2084;
  border-radius: 60px;
  color: #fff;
  display: block;
  font-weight: bold;
  max-width: 200px;
  padding: 15px 40px;
  text-align: center;
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  text-decoration: none;
  margin: 30px auto;
}

p {
  font-size: .9rem;
}

/****************************        下部メニュー         **********************************/
#sp-fixed-menu {
  position: fixed;
  width: 100%;
  bottom: 0px;
  font-size: 0;
  /* opacity: 0.9; */
  z-index: 99;
}

/*メニューを横並びにする*/
#sp-fixed-menu ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

#sp-fixed-menu li {
  justify-content: center;
  align-items: center;
  /* width: 50%; */
  width: 100%;
  padding: 0;
  margin: 0;
  /* font-size: 20px; */
}

/*左側メニューを緑色に*/
/* #sp-fixed-menu li:first-child{
  background: #38b435;
} */

/*左側メニューをオレンジ色に*/
/* #sp-fixed-menu li:last-child{
  background: #f3a324;
} */

/*ボタンを調整*/
#sp-fixed-menu li a {
  color: #fff;
  text-align: center;
  display: block;
  width: 100%;

  /* padding:20px 0; */
  padding: 0;
}

#sp-fixed-menu img {
  width: 100%;
  object-fit: contain;

}

#sp-fixed-menu li a img {
  width: 100%;
  object-fit: contain;
}

.title-frame {
  width: 100%;
  max-width: 200px;
  display: block;
  margin: auto;
  margin-top: -40px;
}

.fadein {
  /* 最初は非表示 */
  transform: translateY(30px);
  opacity: 0;
  visibility: hidden;
  transition: transform 1s, opacity 1s, visibility 1s;
}

/* フェードイン時に入るクラス */
.is-fadein {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* SHUTTER ANIMATION */
.shutter {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background-color: #fff;
  z-index: 99;
  -webkit-animation: byeShutter 3.5s forwards;
  animation: byeShutter 3.5s forwards;
}

.shutter-logo {
  width: 300px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  -webkit-animation: logo 0.8s forwards;
  animation: logo 0.8s forwards;
  animation-delay: 0.2s;
}

@keyframes byeShutter {
  50% {
    opacity: 1;
  }

  100% {
    display: none;
    opacity: 0;
    z-index: -1;
  }
}

@keyframes logo {
  0% {
    opacity: 1;
  }

  50% {
    transform: rotate(10deg);
  }

  100% {
    transform: scale(0.8);
  }
}

/* END SHUTTER ANIMATION */

/* HAMBURGER */
#hamburger {
  display: none;
}

#toggle {
  position: fixed;
  top: 30px;
  right: 30px;
}

#toggle-box {
  position: relative;
  width: 50px;
  height: 40px;
  cursor: pointer;
}

#toggle-box>span {
  width: 100%;
  height: 1px;
  left: 0;
  display: block;
  background: #000;
  position: absolute;
  transition: transform .6s ease-in-out, top .5s ease, bottom .5s ease;
}

#toggle-box>span:nth-child(1) {
  top: 0;
}

#toggle-box>span:nth-child(2) {
  top: 50%;
  transform: translatey(-50%);
}

#toggle-box>span:nth-child(3) {
  bottom: 0;
}

#toggle {
  z-index: 1000;
}

#nav-content {
  z-index: 900;
  overflow-x: hidden;
  width: 50%;
  height: 100%;
  /* color: #00256A; */
  background: #1e2084;
  position: relative;
  position: fixed;
  top: 0;
  right: 0;
  transform: translateX(100%);
  transition: transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  text-align: center;

}


#nav-content ul {
  list-style: none;
  display: block;
  position: absolute;
  /* top: 10%; */
  top: 15%;
  left: 8%;
  padding-left: 10px;
  width: 80%;
  line-height: 4em;
}

#nav-content ul li {
  width: 100%;
  border-bottom: 1px solid #fff;
  padding: 10px 0;
}

#nav-content ul li a {
  display: block;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  color: #fff;
}

#nav-content a:hover {
  opacity: 0.6;
}

.is-open {
  overflow: hidden;
}

.is-open #toggle-box>span {
  background: #fff;
}

.is-open #toggle-box>span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg) translatey(-50%);
}

.is-open #toggle-box>span:nth-child(2) {
  width: 0;
}

.is-open #toggle-box>span:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg) translatey(-50%);
}

.is-open #nav-content {
  z-index: 999;
  transform: translateX(0);
  width: 100%;
}


/* SM */
@media(max-width:519px) {
  #hamburger {
    display: block;
  }

  .header-top .gnav {
    display: none;
  }

  .button {
    font-size: .8rem;
    max-width: 180px;
    padding: 14px 30px;
    margin-top: 50px;
  }
}

/*PCの場合にはメニューを表示させない*/
@media (min-width: 768px) {
  .for-sp {
    display: none;
  }
}

@media(max-width:300px) {
  #toggle-box {
    width: 35px;
    height: 25px;
  }

  #nav-content ul li {
    padding: 15px 0;

  }

}


/* END HAMBURGER */



/* HEADER */
header {
  display: flex;
  align-items: center;
  position: fixed;
  z-index: 999;
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  height: 70px;
  padding: 40px 0;
}

.header-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.header-top .logo {
  /* width: 10%; */
  height: 70px;
  object-fit: contain;
  margin: 0 20px;

}


/*********************************** ナビメニュー用CSS  ***********************************/
.gnav {
  height: 70px;
  display: flex;
  justify-content: flex-end;
  width: 80%;
  margin: auto;
}

.contact-btn {
  width: 20%;
}

.contact-btn img {
  width: 100%;
}

.gnav ul {
  display: flex;
  margin: 0;
  padding: 0;
  height: 70px;
  width: 80%;
}

.gnav li {
  position: relative;
  flex: 1;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 🔻 li の縦線（疑似要素で高さ50%） */
.gnav li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  height: 50%;
  /* ← ここで高さ調整 */
  width: 1px;
  background: #333;
  top: 25%;
  /* 中央に寄せる（(100-50)/2 = 25） */
}

/* 🔻 テキストを上下に並べて中央揃え */
.gnav a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #333;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  height: 100%;
}

/* 🔻 下部の英語小文字 */
.gnav a span {
  font-size: 0.7em;
  font-weight: normal;
  margin-top: -5px;
  opacity: 0.8;
}


/*********************************** ナビメニュー用CSS  ***********************************/

/*スクロールダウン全体の場所*/
.scrolldown1 {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  left: 50%;
  bottom: -100px;
  /*全体の高さ*/
  height: 50px;
  font-weight: bolder;
}

/*Scrollテキストの描写*/
.scrolldown1 span {
  /*描画位置*/
  position: absolute;
  left: -15px;
  top: -15px;
  /*テキストの形状*/
  /* color: #eee; */
  color: #333;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* .scrolldown1 span img {
  width: 100%;
  margin-top: -30px;
  margin-bottom: 5px;
} */

/* 線の描写 */
.scrolldown1::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  /*線の形状*/
  width: 1px;
  height: 30px;
  /* background: #eee; */
  background: #333;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }

  30% {
    height: 30px;
    opacity: 1;
  }

  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}

/****************************レスポンシブ CSS（header/nav） ***********************************/
@media(max-width:1024px) {

  .header-top .logo {
    width: 100%;
    height: 70px;
    max-width: 200px;
    object-fit: contain;
  }

  .gnav ul {
    padding: 0;
    width: 80%;
  }

  .gnav a {
    font-size: .8em;
  }

}

@media(max-width:834px) {

  .header-top .logo {
    max-width: 180px;
  }

  .gnav {
    width: 70%;
  }

  .gnav a {
    font-size: .7em;
  }

  .gnav ul {
    width: 90%;
  }

  .contact-btn {
    width: 25%;
  }

}

@media(max-width:820px) {}

@media(max-width:768px) {}

@media(max-width:519px) {

  header {
    height: 90px;
  }

  .scrolldown1 span {
    top: -10px;
    color: #333;
  }

  .scrolldown1::after {
    top: 55px;
    height: 20px;
    background: #333;
  }

}

@media(max-width:300px) {
  header {
    height: 70px;
  }

  .header-top .logo {
    max-width: 130px;
  }

}


/* END HEADER */

/* TOP-TEXT */

.top-contents {
  width: 100%;
  margin-top: 70px;
}


.top-contents3 {
  width: 100%;
  display: flex;
  background-color: #eee;
  margin-top: 180px;
  position: relative;
  padding: 30px 0;
}

.top-contents3 .topimg {
  width: 50%;
  display: block;
  margin: -80px 0 0 0;
}

.top-text {
  width: 40%;
  margin: auto;
  z-index: 111;
}

.top-text2 h1 .line {
  font-size: 2.7vw;
  font-weight: 600;
  white-space: nowrap;
  background: #fff;
  padding: 8px 16px;
  display: inline-block;
  margin-bottom: 10px;
}

.title .line {
  background: #fff;
  padding: 8px 16px;
  display: inline-block;
  margin-bottom: 10px;
}


.top-text2 img {
  width: 70%;
  display: block;
  margin: auto;
}

.top-text3 p {
  line-height: 30px;
}

/* スライダーコンテナ */
/* .slider {
  width: 50%;
  overflow: hidden;
  position: relative;
} */

.slider {
  position: relative;
  width: 55%;
  transform: translate(10%, -70px);
}

/* スライド画像のラッパー */
.slide {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

/* 表示中のスライドに付与 */
.slide.active {
  opacity: 1;
}

/* スライド内の画像 */
.slide img {
  width: 100%;
  height: 480px;
  display: block;
  object-fit: cover;
}

.title .line {
  overflow: hidden;
}

.title .text {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.8s ease;
}

.line.is-fadein .text {
  transform: translateY(0);
}

/****************************レスポンシブ CSS（top-text） ***********************************/

@media(max-width:1024px) {
  .slide img {
    height: 430px;
  }

  .title .text {
    font-size: 1.3rem;
  }

}

@media(max-width:834px) {

  .top-text {
    width: 70%;
  }

  .slider {
    width: 60%;
  }

  .title .text {
    font-size: 1.3rem;
  }

  .top-text3 p {
    margin-left: 30px;
    font-size: .8rem;
  }



}

@media(max-width:768px) {
  .title .text {
    font-size: 1.1rem;
  }
}



@media(max-width:519px) {
  .slider {
    width: 75%;
    transform: translate(-180%, -110px);
  }

  .slide img {
    width: 400px;
    height: 440px;
  }

  .top-text3 p {
    background: rgba(255, 255, 255, .5);
    padding: 10px 30px;
    margin-left: 10px;
    font-size: 1rem;
    line-height: 20px;
  }

  .top-text2 img {
    width: 100%;
    margin: 30% 0 0 10%;
  }

  .title .text {
    font-size: 1.2rem;
  }

}

@media(max-width:300px) {}

/* END TOP-TEXT */

/* CONTENTS1 */

.contents1 {
  padding-bottom: 80px;
}

.contents1-container {
  /* background-color: rgb(251,249,244); */
  padding: 30px;
  margin: 50px 200px 0 200px;
}

.contents1-title {
  margin: 30px 0;
}

.contents1-title h2 {
  font-size: 2.5rem;
  border-bottom: 1px solid #333333;
  width: 50%;
  margin: 0;
  color: #1e2084;
}

.contents1-title p {
  margin: 0;
  color: gray;
}

/*お知らせ↓ここから*/
.info {
  -webkit-overflow-scrolling: touch;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  display: -webkit-box;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  /* max-width: 600px; */
  /*付け加えた*/
  width: auto;
  height: 13em;
  margin: auto;
  overflow-y: scroll
}


@media (min-width:768px) {
  .info {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    flex-wrap: wrap
  }
}

.info dd,
.info dt {
  box-sizing: border-box;
  width: 100%;
  padding-bottom: .5em;
  padding-left: .5em
}

.info dt {
  font-style: normal;
  font-weight: initial
}

@media (min-width:768px) {
  .info dt {
    width: 12.5em;
    margin-bottom: .5em;
    border-bottom: 1px dotted #343a40
  }
}

.info dt:first-of-type {
  padding-top: .5em;
  border-bottom: 1px dotted #343a40
}

.info dt time {
  /*margin-right: .5em;*/
  float: right;
}

.info dt span {
  box-sizing: border-box;
  display: inline-block;
  width: 7em;
  margin-right: .5em;
  padding: 0 .5em;
  background-color: #1e2084;
  color: #fff;
  font-size: .8em;
  line-height: 1.75;
  text-align: center
}

.info time {
  color: #adb5bd
}

.info dd {
  margin-left: 0;
  margin-bottom: .5em;
  border-bottom: 1px dotted #343a40
}

@media (min-width:768px) {
  .info dd {
    width: calc(100% - 12.5em)
  }

  .info dd:first-of-type {
    padding-top: .5em;
    border-bottom: 1px dotted #343a40
  }
}

.info dd:nth-of-type(-n+3) {
  position: relative
}

@media(max-width: 1024px) {

  .contents1-container {
    /* background-color: rgb(251,249,244); */
    padding: 30px;
    margin: 50px;
  }

  .contents1 {
    padding-bottom: 30px;
  }


}


@media(max-width: 519px) {

  .info dt time {
    margin-right: 1.5em;
    float: left;
  }

  .contents1-container {

    margin: 50px auto;
  }



}


/* END CONTENTS1 */

.contents2 {
  padding: 50px 0;
}

.contents2-title {
  letter-spacing: 10px;
  text-align: center;
}

.contents2-title h2 {
  font-size: 4rem;
  margin: 0;
  color: #adc6dd;
}

.contents2-title p {
  font-size: 1.3rem;
  margin: 0;
  font-weight: normal;
}

.contents2-container {
  display: flex;
  margin: 50px auto;
}

.contents2-box {
  width: 28%;
  height: 500px;
  margin: auto;
  background-color: #FAFAFA;
}

.contents2-box img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.contents2-contents {
  width: 90%;
  margin: auto;
}

.contents2-contents h4 {
  color: red;
}

.contents2-box {
  display: block;              /* aタグをブロック化 */
  text-decoration: none;       /* 下線消す */
  color: inherit;              /* 文字色継承 */
  transition: 0.3s;
}

/* ホバー演出（おすすめ） */
.contents2-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.contents2-box:hover h3 {
  color: #1e2084;
}


@media(max-width:834px) {
  .contents2-box {
    height: 400px;
  }

  .contents2-box img {
    height: 150px;

  }
}

@media(max-width:519px) {
  .contents2-title h2 {
    font-size: 2.8em;
  }

  .contents2-title p {
    font-size: 1.3rem;
  }

  .contents2-container {
    display: block;
  }

  .contents2-box {
    width: 80%;
    margin: 50px auto;
  }

  .contents2-box img {
    height: 200px;

  }
}

.contents3 {
  padding: 50px 0;
}

.contents3-title {
  letter-spacing: 10px;
  text-align: center;
}

.contents3-title h2 {
  font-size: 4rem;
  margin: 0;
  color: #adc6dd;
}

.contents3-title p {
  font-size: 1.3rem;
  margin: 0;
  font-weight: normal;
}

.contents3-container {
  display: flex;
  margin: 50px auto;
}

.contents3-box {
  width: 28%;
  height: 500px;
  margin: auto;
  background-color: #FAFAFA;
}

.contents3-box img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.contents3-contents {
  width: 90%;
  margin: auto;
}

.contents3-contents h4 {
  color: red;
}

.contents3-box {
  display: block;              /* aタグをブロック化 */
  text-decoration: none;       /* 下線消す */
  color: inherit;              /* 文字色継承 */
  transition: 0.3s;
}

.contents3-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}


@media(max-width:1024px) {}

@media(max-width:834px) {}

@media(max-width:768px) {
  .contents3-box {
    height: 100%;
  }

}

@media(max-width:519px) {
  .contents3-title h2 {
    font-size: 3rem;
  }

  .contents3-title p {
    font-size: 1.1rem;
  }

  .contents3-container {
    display: block;
  }

  .contents3-box {
    width: 80%;
    margin: 50px auto;
  }

}

.contents4 {
  padding: 50px 0;
}

.contents4-title {
  letter-spacing: 10px;
  text-align: center;
}

.contents4-title h2 {
  font-size: 4rem;
  margin: 0;
  color: #adc6dd;
}

.contents4-title p {
  font-size: 1.3rem;
  margin: 0;
  font-weight: normal;
}

.contents4-container {
  display: flex;
  margin: 50px auto;
}

.contents4-box {
  width: 28%;
  height: 500px;
  margin: auto;
  background-color: #FAFAFA;
}

.contents4-box img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.contents4-contents {
  width: 90%;
  margin: auto;
}

.contents4-contents h4 {
  color: red;
}

.contents4-box {
  display: block;              /* aタグをブロック化 */
  text-decoration: none;       /* 下線消す */
  color: inherit;              /* 文字色継承 */
  transition: 0.3s;
}

.contents4-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}


@media(max-width:519px) {
  .contents4-title h2 {
    font-size: 3rem;
  }

  .contents4-title p {
    font-size: 1.1rem;
  }

  .contents4-container {
    display: block;
  }

  .contents4-box {
    width: 80%;
    margin: 50px auto;
  }

}

.contents5 {
  padding: 50px 0;
}

.contents5-title {
  letter-spacing: 10px;
  text-align: center;
}

.contents5-title h2 {
  font-size: 4rem;
  margin: 0;
  color: #adc6dd;
}

.contents5-title p {
  font-size: 1.3rem;
  margin: 0;
  font-weight: normal;
}

.contents5-container {
  display: flex;
  margin: 50px auto;
}

.contents5-box {
  width: 28%;
  height: 500px;
  margin: auto;
  background-color: #FAFAFA;
}

.contents5-box img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.contents5-contents {
  width: 90%;
  margin: auto;
}

.contents5-contents h4 {
  color: red;
}

.contents5-box {
  display: block;              /* aタグをブロック化 */
  text-decoration: none;       /* 下線消す */
  color: inherit;              /* 文字色継承 */
  transition: 0.3s;
}

.contents5-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}


@media(max-width:519px) {
  .contents5-title h2 {
    font-size: 3rem;
  }

  .contents5-title h2 span {
    display: block;
  }

  .contents5-title p {
    font-size: 1.1rem;
  }

  .contents5-container {
    display: block;
  }

  .contents5-box {
    width: 80%;
    margin: 50px auto;
  }

}

.contents6 {
  padding: 50px 0;
}

.contents6-title {
  letter-spacing: 10px;
  text-align: center;
}

.contents6-title h2 {
  font-size: 4rem;
  margin: 0;
  color: #adc6dd;
}

.contents6-title p {
  font-size: 1.3rem;
  margin: 0;
  font-weight: normal;
}

.contents6-container {
  display: flex;
  margin: 50px auto;
}

.contents6-box {
  width: 28%;
  height: 500px;
  margin: auto;
  background-color: #FAFAFA;
}

.contents6-box img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.contents6-contents {
  width: 90%;
  margin: auto;
}

.contents6-contents h4 {
  color: red;
}

.contents6-box {
  display: block;              /* aタグをブロック化 */
  text-decoration: none;       /* 下線消す */
  color: inherit;              /* 文字色継承 */
  transition: 0.3s;
}

.contents6-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}


@media(max-width:519px) {
  .contents6-title h2 {
    font-size: 3rem;
  }

  .contents6-title h2 span {
    display: block;
  }

  .contents6-title p {
    font-size: 1.1rem;
  }

  .contents6-container {
    display: block;
  }

  .contents6-box {
    width: 80%;
    margin: 50px auto;
  }

}

.contents7 {
  padding: 50px 0;
  background-color: #FAFAFA;
}

.contents7-title {
  letter-spacing: 10px;
  text-align: center;
}

.contents7-title h2 {
  font-size: 4rem;
  margin: 0;
  color: #adc6dd;
}

.contents7-title p {
  font-size: 1.3rem;
  margin: 0;
  font-weight: normal;
}

.contents7-container {
  display: flex;
  margin: 50px auto;
}

@media(max-width:519px) {
  .contents7-title h2 {
    font-size: 2.8em;
  }

  .contents7-title p {
    font-size: 1.3rem;
  }
}


.contents8 {
  padding-bottom: 100px;
  background-color: #FAFAFA;
  padding-top: 50px;
}

.contents8-title {
  letter-spacing: 10px;
  margin-left: 30px;
}

.contents8-title h2 {
  font-size: 4rem;
  margin: 0;
  color: #adc6dd;
}

.contents8-title p {
  font-size: 2rem;
  margin: 0;
  font-weight: normal;
}

.contents8-box {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin: 50px auto;
}

.contents8-contents {
  width: 40%;
  margin: 0 auto;
}

.contents8-text {
  line-height: 2rem;
}

.contents8-box img {
  width: 50%;
  /* box-shadow: -30px 30px 0px 0 rgb(158, 138, 119); */
  display: block;
  margin: 10px auto;
  object-fit: contain;
}

@media(max-width:1024px) {
  .contents8-title {
    text-align: left;
    margin-left: 50px;
  }

  .contents8-box {
    width: 90%;
    display: block;
  }

  .contents8-contents {
    width: 90%;
    text-align: center;
  }

  .contents8-text {
    line-height: 2rem;
    text-align: left;
    display: inline-block;
    margin: 50px auto;
  }

  .contents8-box img {
    width: 70%;
  }

}

@media(max-width:834px) {

  .contents8-box {
    display: block;
  }

  .contents8-contents {
    width: 90%;
  }

  .contents8-box img {
    width: 90%;
    margin: 50px auto;
  }

}

@media(max-width:519px) {
  .contents8-title {
    margin-left: 20px;
  }

  .contents8-title h2 {
    font-size: 2.8em;
  }

  .contents8-title p {
    font-size: 1.3rem;
  }

  .contents8-text {
    margin: 0 auto;
  }

}

@media(max-width: 300px) {
  .contents8 {
    padding-bottom: 0;
  }

  .contents8 h2 {
    font-size: 1.5em;
    margin: 0 10px;
  }

  .contents8 h3 {
    font-size: 1em;
    margin: 0 10px;
  }

  .contents8-contents h4 {
    font-size: .8em;
    line-height: 25px;
  }

  .contents8-contents p {
    text-align: left;
    font-size: .7em;
  }

  .contents8 a {
    font-size: .8em;
    padding: 15px;
    max-width: 180px;
  }

}


.contents9 {
  padding: 50px 0;
}

.contents9-title {
  letter-spacing: 10px;
  text-align: center;
}

.contents9-title h2 {
  font-size: 4rem;
  margin: 0;
  color: #adc6dd;
}

.contents9-title p {
  font-size: 1.3rem;
  margin: 0;
  font-weight: normal;
}

.contents9-container {
  display: flex;
  flex-wrap: wrap;
}

.contents9-box {
  width: 28%;
  margin: 50px auto;
}

.contents9-box img {
  width: 300px;
  height: 220px;
  object-fit: cover;
  display: block;
  margin: auto;
}

.contents9-contents {
  text-align: center;
  width: 90%;
  margin: auto;
}

.contents9-contents h3 {
  font-size: 1.3rem;
  margin: 0;
  height: 70px;
}

.contents9-contents h3 span {
  font-size: .8rem;
  display: block;
}

.contents9-contents p {
  width: 80%;
  margin: auto;
  display: inline-block;
  text-align: left;
  line-height: 30px;
}

.contents9-contents .point {
  font-size: .8em;
  font-weight: bold;
  color: #fff;
  background: #08549b;
  padding: 8px 18px;
  margin: 10px auto;
  display: inline-block;
  border-radius: 4px;
  letter-spacing: 4px;
}

@media(max-width:1024px) {
  .contents9-box {
    width: 44%;
  }

  .contents9-box img {
    width: 350px;
    height: 220px;
  }

  .contents9-contents h3 {
    font-size: 1rem;
    margin: 10px auto;
    height: 50px;
  }

  .contents9-contents p {
    font-size: .8rem;
    width: 90%;
  }

}

@media(max-width:519px) {
  .contents9-title h2 {
    font-size: 2.8em;
  }

  .contents9-title p {
    font-size: 1.3rem;
  }

  .contents9-container {
    display: block;
  }

  .contents9-box {
    width: 90%;
  }

  .contents9-contents h3 {
    font-size: 1.3rem;
    margin: 0 auto;
  }

  .contents9-contents p {
    width: 100%;
  }

}

.contents10 {
  background-color: #FAFAFA;
  padding: 50px 0;
}

.contents10-title {
  letter-spacing: 10px;
  text-align: center;
}

.contents10-title h2 {
  font-size: 4rem;
  margin: 0;
  color: #adc6dd;
}

.contents10-title p {
  font-size: 1.3rem;
  margin: 0;
  font-weight: normal;
}

.contents10-container {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  margin: auto;
}

.contents10-box {
  width: 28%;
  margin: 50px auto;
}

.contents10-box img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  display: block;
  margin: auto;
}

.contents10-contents {
  text-align: center;
  width: 90%;
  margin: auto;
}

.contents10-contents h3 {
  font-size: 1.1rem;
  height: 50px;
}

.contents10-contents h3 span {
  font-size: .8rem;
  display: block;
}

.contents10-contents p {
  width: 80%;
  margin: auto;
  display: inline-block;
  text-align: left;
  line-height: 30px;
}

.contents10-contents .point {
  font-size: .8em;
  font-weight: bold;
  color: #fff;
  background: #08549b;
  padding: 8px 18px;
  margin: 10px auto;
  display: inline-block;
  border-radius: 4px;
  letter-spacing: 4px;
}

@media(max-width:1024px) {
  .contents10-contents p {
    font-size: .8rem;
    width: 90%;
  }

  .contents10-contents h3 {
    font-size: 1rem;
  }
}

@media(max-width:834px) {
  .contents10-box {
    width: 44%;
  }
}

@media(max-width:519px) {
  .contents10-title h2 {
    font-size: 2.8em;
  }

  .contents10-title p {
    font-size: 1.3rem;
  }

  .contents10-container {
    display: block;
  }

  .contents10-box {
    width: 90%;
  }

  .contents10-contents h3 {
    font-size: 1.1rem;
    margin: 20px auto 0;
  }

  .contents10-contents p {
    width: 100%;
  }
}


/*  footer-contact */
.footer-contact {
  background-color: #1e2084;
  padding: 50px 0;
}

.footer-contact-container {
  background-color: #fff;
  width: 80%;
  margin: auto;
  text-align: center;
  padding: 50px 0;
  position: relative;
}

.footer-contact-container img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20%;
}

.footer-contact-container h2 span {
  display: block;
}

.footer-contact-container h2 {
  font-size: 2rem;
}

.footer-contact-container h3 {
  position: relative;
  display: block;
  padding: 0 70px;
  line-height: 1.6;
  width: 60%;
  margin: auto;
}

/* 共通設定 */
.footer-contact-container h3::before,
.footer-contact-container h3::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 70px;
  /* 線の長さ */
  height: 2px;
  /* ← 細さ（ここがポイント） */
  background: #000;
  /* 色 */
}

/* 左：＼ */
.footer-contact-container h3::before {
  left: 0;
  transform: translateY(-50%) rotate(45deg);
}

/* 右：／ */
.footer-contact-container h3::after {
  right: 0;
  transform: translateY(-50%) rotate(-45deg);
}

.button2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  padding: 15px 40px;
  background-color: #1e2084;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.button2 i {
  font-size: 1.1em;
}

.button2:hover {
  background-color: #0f1170;
  transform: translateY(-2px);
}


@media(max-width:1024px) {}

@media(max-width:834px) {

  .footer-contact-container {
    padding: 10px 0;
    width: 95%;
  }

  .footer-contact-container h2 {
    font-size: 1.5rem;
  }

  .footer-contact-container h3 {
    padding: 0 30px;
  }

  .footer-contact-container h3 span {
    display: block;
  }

}

@media(max-width:768px) {}

@media(max-width:519px) {
  .footer-contact-container h2 {
    font-size: 1.2rem;
  }

  .footer-contact-container h3 {
    font-size: .8rem;
    width: 70%;
  }

  .footer-contact-container h3::before,
  .footer-contact-container h3::after {
    width: 40px;
    height: 1px;
  }

  .button2 {
    padding: 13px 30px;
    font-size: .8rem;
  }

  .footer-contact-container img {
    width: 30%;
    right: -20px;
  }

}

/* END footer-contact */

/* FOOTER */

.footer-container {
  display: flex;
  margin: 50px auto;
}

.footer-map {
  width: 40%;
  height: 500px;
  margin: auto;
}

.footer-contents {
  width: 50%;
}

.footer-contents img {
  width: 40%;
  display: block;
  margin: 20px auto;
}

.footer-info {
  width: 70%;
  margin: auto;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 6px 0;
  vertical-align: top;
  text-align: left;
}

.info-table td span {
  padding-left: 10px;
}

.info-table th {
  width: 110px;
  /* 左側の幅調整（お好みで） */
  font-weight: bold;
  color: #333;
}

.info-table td {
  color: #555;
}

.footer-tel {
  text-align: center;
  margin: 50px auto;
}

.footer-tel p {
  font-size: 1.1rem;
  margin: 0;
  color: #1e2084;
}

.footer-tel .number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  /* アイコンとの間隔 */
}

.footer-tel .number i {
  font-size: 2.2em;
  color: #1e2084;
  /* お好みで */
}

.footer-tel .number a {
  font-size: 2.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #1e2084;
}

.footer-bottom {
  background: #1e2084;
  /* フッター背景（好みに応じて） */
  padding: 10px 0;
}

.footer-bottom_container {
  width: 60%;
  margin: auto;
}

.footer-bottom_container ul {
  display: flex;
  justify-content: center;
  /* 中央に寄せる（必要なら） */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 各 li を均等幅にして中身を中央寄せにする */
.footer-bottom_container ul li {
  flex: 1;
  /* ← 各 li が同じ幅になる */
  display: flex;
  justify-content: center;
  /* テキストを横方向の中央に */
  align-items: center;
  /* テキストを縦方向の中央に */
  padding: 0 12px;
  /* 左右の余白（必要に応じて調整） */
  box-sizing: border-box;
  position: relative;
}

/* リンク自体は幅いっぱいにして文字は中央揃え */
.footer-bottom_container ul li a {
  display: block;
  width: 100%;
  text-align: center;
  color: #fff;
  text-decoration: none;
  padding: 8px 0;
  /* 高さ調整 */
}

/* サブテキスト（英語） */
.footer-bottom_container ul li a span {
  display: block;
  font-size: 0.7rem;
  opacity: 0.8;
  margin-top: 4px;
}

/* 縦線（li の右端に表示） */
.footer-bottom_container ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  /* li の右端に置く */
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  /* テキストに合う長さに調整 */
  background-color: rgba(255, 255, 255, 0.6);
}

footer .copy {
  font-size: 15px;
  line-height: 30px;
  letter-spacing: .06em;
  text-align: center;
  margin: 0;
  padding: 10px 0;
  color: #333333;
}

.time-table {
  width: 100%;
  display: table;
  border-collapse: collapse;
  table-layout: fixed;
}

.time-table th {
  border-top: 1px solid #d2d2d2;
}

.time-table th,
.time-table td {
  padding: 0px 10px;
  text-align: center;
  height: 50px;
  border-bottom: 1px solid #d2d2d2;
}

.time-table td {
  width: 100%;
  min-width: auto;
  color: #1e2084;
  font-weight: bold;
}

.time-table td .time {
  color: #3c3c3c;
}

@media screen and (max-width: 764px) {
  .time-table td {
    min-width: auto;
    width: 100%;
    max-width: 5%;
    font-size: 12px;
  }

  .time-table th,
  .time-table td {
    min-width: 40px;
    width: 100%;
    padding: 0px 15px;
    font-size: 14px;
    min-width: unset;
    padding: 4px 6px;
  }
}

@media(max-width:1024px) {
  .footer-bottom_container {
    width: 80%;
  }

  .footer-tel .number a {
    font-size: 2rem;
  }

  .footer-tel .number {
    margin: 10px auto;
  }

  .footer-map {
    width: 50%;
  }
}

@media(max-width:834px) {

  .footer-bottom_container {
    width: 95%;
  }

  .footer-tel .number a {
    font-size: 1.8rem;
  }

  .footer-bottom_container ul li a {
    font-size: .7rem;
  }

  footer .copy {
    font-size: 11px;
  }

}

@media(max-width:768px) {
  .footer-tel .number a {
    font-size: 1.5rem;
  }

}

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

  footer {
    margin-bottom: 80px;
    /* 固定フッターがある場合のみ */
  }

  .footer-container {
    display: block;
  }

  .footer-contents {
    width: 100%;
  }

  .footer-contents img {
    width: 70%;
    margin: 0 auto 20px;
    display: block;
  }

  .footer-info {
    width: 100%;
    margin: auto;
  }

  .info-table {
    width: 100%;
    font-size: 0.9rem;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
    text-align: center;
  }

  .info-table td span {
    display: block;
  }

  .footer-tel {
    margin-top: 20px;
  }

  .footer-tel .number a {
    font-size: 2.2rem;
  }

  .footer-map {
    width: 100%;
    height: 300px;
    margin-top: 30px;
  }

  /* ===== フッターメニュー ===== */

  .footer-bottom {
    padding: 20px 0;
  }

  .footer-bottom_container ul {
    display: block;
    padding: 0;
    margin: 0;
  }

  .footer-bottom_container ul li {
    width: 100%;
    border: none;
    border-bottom: 1px solid #555;
    padding: 15px 0;
    text-align: center;
  }

  .footer-bottom_container ul li a {
    font-size: 1rem;
    display: block;
  }

  .footer-bottom_container ul li a span {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
  }

  .copy {
    font-size: 10px;
    text-align: center;
    margin-top: 10px;
  }

  .footer-bottom_container ul li::after {
    display: none;
  }
}


@media(max-width:300px) {
  .footer-bottom {
    margin-bottom: 140px;
  }

  table {
    font-size: .7em;
  }

  td {
    padding-left: 30px;
  }

  .footer-bottom_container img {
    width: 70%;
    display: block;
    margin: 20px auto;
  }

  .footer-bottom_container .insta {
    width: 90%;
  }

}

/* END FOOTER */



/* ======================================
  トップ：物件カードを左から順に並べる（共通）
====================================== */
.contents2-container,
.contents3-container,
.contents4-container,
.contents5-container,
.contents6-container {
  width: min(1100px, 90%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* ←左詰め */
  gap: 24px;
}

/* 3列（PC） */
.contents2-box,
.contents3-box,
.contents4-box,
.contents5-box,
.contents6-box {
  display: block;
  width: calc((100% - 48px) / 3); /* gap24×2=48 */
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #222;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease;
}

.contents2-box:hover,
.contents3-box:hover,
.contents4-box:hover,
.contents5-box:hover,
.contents6-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0,0,0,.12);
}

/* 画像 */
.contents2-box img,
.contents3-box img,
.contents4-box img,
.contents5-box img,
.contents6-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* 2列（タブレット） */
@media (max-width: 900px) {
  .contents2-box,
  .contents3-box,
  .contents4-box,
  .contents5-box,
  .contents6-box {
    width: calc((100% - 24px) / 2);
  }
}

/* 1列（スマホ） */
@media (max-width: 520px) {
  .contents2-container,
  .contents3-container,
  .contents4-container,
  .contents5-container,
  .contents6-container {
    gap: 16px;
  }
  .contents2-box,
  .contents3-box,
  .contents4-box,
  .contents5-box,
  .contents6-box {
    width: 100%;
  }
  .contents2-box img,
  .contents3-box img,
  .contents4-box img,
  .contents5-box img,
  .contents6-box img {
    height: 180px;
  }
}


/* ★中央寄せの原因（margin:auto）を打ち消す */
.contents2-box,
.contents3-box,
.contents4-box,
.contents5-box,
.contents6-box {
  margin: 0 !important;
}

.contents2-box-contents {
  padding: 30px;
}


/* ======================================
  TOP：物件カード 共通（PARKING〜LAND）
  contents2〜contents6 まとめて適用
====================================== */

/* --- 1) コンテナ：左から順に並べる + 3列 --- */
.contents2-container,
.contents3-container,
.contents4-container,
.contents5-container,
.contents6-container{
  width: min(1100px, 90%);
  margin: 50px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 24px;
}

/* --- 2) カード本体（aタグ想定） --- */
.contents2-box,
.contents3-box,
.contents4-box,
.contents5-box,
.contents6-box{
  display: flex;
  flex-direction: column;
  width: calc((100% - 48px) / 3); /* gap24×2 */
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: #222;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.contents2-box:hover,
.contents3-box:hover,
.contents4-box:hover,
.contents5-box:hover,
.contents6-box:hover{
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.14);
}

/* --- 3) 画像 --- */
.contents2-box img,
.contents3-box img,
.contents4-box img,
.contents5-box img,
.contents6-box img{
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

/* --- 4) カード中身（あなたの “-contents” に合わせて） --- */
.contents2-box-contents,
.contents3-box-contents,
.contents4-box-contents,
.contents5-box-contents,
.contents6-box-contents{
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(0,0,0,.06);
  flex: 1;
}

/* --- 5) タイトル --- */
.contents2-box-contents h3,
.contents3-box-contents h3,
.contents4-box-contents h3,
.contents5-box-contents h3,
.contents6-box-contents h3{
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  color: #111;
}

/* --- 6) 価格（主役） --- */
.contents2-box-contents h4,
.contents3-box-contents h4,
.contents4-box-contents h4,
.contents5-box-contents h4,
.contents6-box-contents h4{
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0;
  color: #d7263d;
  letter-spacing: .02em;
}

/* --- 7) 住所など（控えめ） --- */
.contents2-box-contents p,
.contents3-box-contents p,
.contents4-box-contents p,
.contents5-box-contents p,
.contents6-box-contents p{
  font-size: .9rem;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* 住所に📍を付ける（不要なら削除OK） */
.contents2-box-contents p::before,
.contents3-box-contents p::before,
.contents4-box-contents p::before,
.contents5-box-contents p::before,
.contents6-box-contents p::before{
  content: "📍";
  margin-right: 6px;
}

/* --- 8) タブレット：2列 --- */
@media (max-width: 900px){
  .contents2-box,
  .contents3-box,
  .contents4-box,
  .contents5-box,
  .contents6-box{
    width: calc((100% - 24px) / 2);
  }
}

/* --- 9) スマホ：1列 --- */
@media (max-width: 520px){
  .contents2-container,
  .contents3-container,
  .contents4-container,
  .contents5-container,
  .contents6-container{
    width: 92%;
    gap: 16px;
  }

  .contents2-box,
  .contents3-box,
  .contents4-box,
  .contents5-box,
  .contents6-box{
    width: 100%;
  }

  .contents2-box img,
  .contents3-box img,
  .contents4-box img,
  .contents5-box img,
  .contents6-box img{
    height: 180px;
  }

  .contents2-box-contents,
  .contents3-box-contents,
  .contents4-box-contents,
  .contents5-box-contents,
  .contents6-box-contents{
    padding: 16px 18px 20px;
  }

  .contents2-box-contents h3,
  .contents3-box-contents h3,
  .contents4-box-contents h3,
  .contents5-box-contents h3,
  .contents6-box-contents h3{
    font-size: 1.05rem;
  }

  .contents2-box-contents h4,
  .contents3-box-contents h4,
  .contents4-box-contents h4,
  .contents5-box-contents h4,
  .contents6-box-contents h4{
    font-size: 1.2rem;
  }
}

@media (max-width: 520px){
  /* 高さ固定を解除（contents4〜6がデカい原因） */
  .contents4-box,
  .contents5-box,
  .contents6-box{
    height: auto !important;
  }
}



/* スマホメニュー：日本語＋英語を縦にする */
#nav-content ul li a{
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  white-space: normal;
}

#nav-content ul li a span{
  display: block;
  margin-top: 6px;
  font-size: .9em;
  font-weight: normal;
  opacity: .85;
}

@media (max-width: 519px) {
    .top-text3 p {
    background: rgba(255, 255, 255, .5);
    padding: 10px 20px;
    margin-left: 10px;
    font-size: .8rem;
    font-weight: bold;
    line-height: 20px;
    width: 80%;
  }

}


.footer-map {
  width: 40%;
}

.yahoo-map {
  width: 100%;
  aspect-ratio: 1 / 1;   /* 正方形にしたい場合（おすすめ） */
  height: 100%;
  overflow: hidden;
  border-radius: 18px;  /* 任意 */
}

/* Yahooが内部に作る要素に効かせる */
.yahoo-map iframe,
.yahoo-map > div,
.yahoo-map canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

@media (max-width: 519px) {
.footer-map {
  width: 100%;
}

}

@media (max-width: 519px) {

  /* フッター情報エリア全体は中央に配置 */
  .footer-info{
    text-align: center;
  }

  /* テーブル自体を中央に置く */
  .info-table{
    display: inline-table;  /* ←これがポイント（幅を内容に合わせる） */
    width: auto;
    margin: 0 auto;
  }

  /* ここが原因だった “ブロック化” を戻す */
  .info-table th,
  .info-table td{
    display: table-cell;     /* ← block を解除 */
    width: auto;
    text-align: left;        /* ←文字は左詰め */
    padding: 6px 0 6px 6px;
    vertical-align: top;
  }

  /* 住所の span を改行したいなら（今のままでもOK） */
  .info-table td span{
    display: inline;         /* ←改行したくないなら */
    padding-left: 10px;
  }

  /* 住所を2行にしたいならこっち */
  /* .info-table td span{
    display:block;
    padding-left:0;
  } */
}

/* =========================
   TOP：スマホ（〜519px）調整
   ・スライドを画面幅いっぱい
   ・トップコピー(h1)をスライドに被せる
   ・「駐車場探し〜」をスライド下へ（中央寄せ・文字は左詰）
========================= */
@media (max-width: 519px){

  /* 全体：縦積みにする */
  .top-contents3{
    flex-direction: column;
    padding: 0 0 30px;
    margin-top: 120px;              /* ヘッダー固定分。必要なら微調整 */
    position: relative;
  }

  /* スライド：画面幅いっぱい（100vw） */
  .slider{
    order: 1;
    width: 100vw !important;
    margin-left: calc(50% - 50vw);  /* コンテナ幅からはみ出して画面幅に */
    transform: none !important;     /* 既存translateを無効化 */
    position: relative;
    height: 55vh;                   /* 好みで調整 */
    max-height: 480px;
    min-height: 360px;
  }

  .slide{
    position: absolute;
    inset: 0;                       /* top/right/bottom/left:0 */
  }

  .slide img{
    width: 100% !important;
    height: 100% !important;        /* sliderの高さに追従 */
    object-fit: cover;
    display: block;
  }

  /* テキストブロック：スライドの下に通常配置 */
  .top-text{
    order: 2;
    width: 100%;
    margin: 16px 0 0;
    z-index: 2;
  }

  /* トップコピー（h1）だけをスライドに被せる */
  .top-text2{
    position: static;
  }

  .top-text2 .title{
    position: absolute;
    top: 200px;                      /* 被せる位置（今のまま感）微調整OK */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: left;
    z-index: 5;
  }

  /* 既存でh1のサイズが崩れるのを抑える（任意） */
  .top-text2 h1 .line,
  .title .line{
    margin-bottom: 8px;
  }
  .title .text{
    font-size: 1.15rem;             /* 好みで微調整 */
  }

  /* 「駐車場探し〜」をスライド下に：中央寄せ（文字は左詰） */
  .top-text3{
    width: min(92%, 520px);
    margin: 0 auto;
    text-align: center;             /* ブロック全体を中央へ */
  }
  .top-text3 p{
    display: inline-block;          /* 中央寄せしつつ */
    text-align: left;               /* 文字は左詰 */
    width: 100%;
    background: none;
    padding: 0;
    margin: 0;
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.6;
  }

  /* ガイド画像も中央寄せに（必要なら） */
  .top-text2 img{
    width: min(82%, 360px);
    margin: 16px auto 0;
    display: block;
  }
}

/* =========================
   contents0：TOPバナーエリア
   （ヒーロー下・NEWS上）
========================= */
.contents0{
  width: 100%;
  margin: 200px auto 20px;   /* 上下余白 */
  padding: 0;
}

.contents0 a{
  display: block;
  width: min(600px, 90%);  /* 他contentsと揃える */
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  transition: transform .3s ease, box-shadow .3s ease;
}

.contents0 img{
  width: 100%;
  height: auto;
  display: block;
}

/* hover（PCのみ効く） */
@media (hover:hover){
  .contents0 a:hover{
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.18);
  }
}


/* =========================
   スマホ（〜519px）
   ・画面幅いっぱい
   ・タップしやすく
========================= */
@media (max-width: 519px){

  .contents0{
    margin: 24px 0 10px;
    text-align: center;
  }

  .contents0 a{
    width: 90%;
    margin: auto;
    border-radius: 0;              /* フル幅感 */
    box-shadow: none;
  }

  .contents0 img{
    width: 100%;
    display: block;
    height: auto;
  }
}


.top-contents {
  width: 100%;
  margin: 70px auto;
}

/* =========================
   contents0：キランと光る演出
========================= */

.contents0 a{
  position: relative;
  overflow: hidden;
}

.contents0 a::before{
  content: "";
  position: absolute;
  top: -20%;
  left: -120%;
  width: 40%;
  height: 140%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.25) 40%,
    rgba(255,255,255,0.65) 50%,
    rgba(255,255,255,0.25) 60%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: shine 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine{
  0%{
    left: -120%;
    opacity: 0;
  }
  15%{
    opacity: 1;
  }
  30%{
    left: 120%;
    opacity: 0;
  }
  100%{
    left: 120%;
    opacity: 0;
  }
}

/* =========================
   contents0：ふわっと浮く演出
========================= */

/* .contents0 a{
  position: relative;
  display: block;
  animation: floatBanner 1.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes floatBanner{
  0%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(-6px);
  }
  100%{
    transform: translateY(0);
  }
}

@media (hover:hover){
  .contents0 a:hover{
    transform: translateY(-10px) scale(1.02);
    transition: transform .3s ease;
  }
} */

/* =========================
  Yahooマップ下：駐車場案内
========================= */
.map-parking-note{
  margin: 14px 0 26px;   /* ←下の余白を追加（重なり防止） */
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fffbe6;
  border: 1px solid #f0d97a;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #333;
}

@media (max-width: 519px){
  .map-parking-note{
    font-size: 0.8rem;
    padding: 10px 12px;
    margin-bottom: 32px; /* ←スマホはもう少し離す */
  }
}


.map-parking-note i{
  color: #d4a400;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.map-parking-note p{
  margin: 0;
}

.map-parking-note strong{
  font-weight: 800;
  color: #1e2084;
}

/* =========================
  営業案内（スマホ用：BUY直下の要約カード）
========================= */
.office-mini{
  padding: 10px 0 30px;
  background: #fff;
}

.office-mini__inner{
  width: min(520px, 92%);
  margin: 0 auto;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.office-mini__ttl{
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #1e2084;
}

.office-mini__list{
  margin: 0 0 14px;
}

.office-mini__row{
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px dashed rgba(0,0,0,.12);
}

.office-mini__row:first-child{
  border-top: 0;
}

.office-mini__row dt{
  font-weight: 700;
  color: #333;
}

.office-mini__row dd{
  margin: 0;
  color: #555;
}

.office-mini__tel{
  font-weight: 900;
  color: #1e2084;
  text-decoration: none;
  font-size: 1.15rem;
}

.office-mini__actions{
  display: grid;
  gap: 10px;
}

.office-mini__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 999px;
  background: #1e2084;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.office-mini__link{
  text-align: center;
  color: #1e2084;
  font-weight: 700;
  text-decoration: underline;
}

/* スマホだけ表示（for-spに合わせて） */
@media (min-width: 768px){
  .office-mini{ display:none; }
}