@charset "UTF-8";

/*Theme Name: shitamachi theme
Theme URI:
Author: kwc   */

/* ここにカスタムCSSを追加 */

body {
  background-color: #fff;
  background-image: url('data:image/svg+xml;utf8,\
  <svg xmlns="http://www.w3.org/2000/svg" width="150" height="129.90381" viewBox="0 0 150 129.90381">\
    <rect width="150" height="129.90381" fill="%23fff"/>\
    <g stroke="%23f4f4f4" stroke-width="1" fill="none" stroke-linejoin="round" stroke-linecap="square" shape-rendering="crispEdges">\
      <!-- 斜めライン（ひし形をつくる） -->\
      <line x1="0"   y1="0"         x2="75"  y2="64.951905"/>\
      <line x1="75"  y1="0"         x2="150" y2="64.951905"/>\
      <line x1="0"   y1="64.951905" x2="75"  y2="129.90381"/>\
      <line x1="75"  y1="64.951905" x2="150" y2="129.90381"/>\
      <line x1="0"   y1="64.951905" x2="75"  y2="0"/>\
      <line x1="75"  y1="64.951905" x2="150" y2="0"/>\
      <line x1="0"   y1="129.90381" x2="75"  y2="64.951905"/>\
      <line x1="75"  y1="129.90381" x2="150" y2="64.951905"/>\
\
      <!-- 縦ライン（菱形の中心と境界に合わせて） -->\
      <line x1="0"     y1="0" x2="0"     y2="129.90381"/>\
      <line x1="37.5"  y1="0" x2="37.5"  y2="129.90381"/>\
      <line x1="75"    y1="0" x2="75"    y2="129.90381"/>\
      <line x1="112.5" y1="0" x2="112.5" y2="129.90381"/>\
      <line x1="150"   y1="0" x2="150"   y2="129.90381"/>\
    </g>\
  </svg>');
  background-repeat: repeat;
  background-size: 150px 129.90381px;
}

.min-h100{
	min-height: 70vh;
	padding-top: 100px;
}

.relative-bg-wrap{
	position: relative;
	z-index: -1;
}
.relative-bg-wrap img{
	opacity: 0;
	width: 100%;
}

.shimachimain-text img{
	width: 45%;
	position: relative;
	top: 10%;
}

.mainnav a{
	color: #333;/*#ea5515*/
    font-weight: bold;
}
.aboutus-text{
	display: flex;
	align-items: center;
	justify-content: center;
}
.aboutus-text img{
	width: 80%;
}

.howtoimg img{
	width: 100%;
	display: block;
}

.howto .title {
    font-size: 2.5rem!important;
    padding-top: 5px!important;
}

.aboutus-bg{
	background-image: url('img/aboutus-bg.webp');
	background-size: 100%;
	background-repeat: no-repeat;
	position: absolute;
}

.howto-bg{
	background-image: url('img/howto-bg.webp');
	background-size: 100%;
	background-repeat: no-repeat;
	position: absolute;
}

.otctitle{
	text-align: center;
	font-weight: bold;
	font-size: 2rem;
	margin-bottom: 50px;
}

/* ナビゲーション共通 */
.swiper-button-next.custom-nav,
.swiper-button-prev.custom-nav {
  color: #333;
  font-size: 3rem;
  font-weight: bold;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* 左右配置 */
.swiper-button-prev.custom-nav {
  left: 5px; /* スライダー外に少し出す */
}

.swiper-button-next.custom-nav {
  right: 5px;
}


/* Swiper標準の::after矢印を消す */
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}
.otch2{
	position: relative;
}
.otch2::after {
  content: "";
  position: absolute;
  right: 15%;
  top: 0;
  width: 100px;   /* ← サイズ指定できる */
  height: 100px;
  background-image: url(img/capcel.webp);
  background-repeat: no-repeat;
  background-size: contain; /* or cover */
  background-position: center;
  transform: translateX(-50%);
}

.otcitiranhe img{
	width: 350px;
}

.otcitiranhe{
	margin-top: 50px;
	margin-bottom: 30px;
}

.torikumi{
	position: relative;
}

.torikumi::after {
  content: "";
  position: absolute;
  left: 15%;
  top: 0;
  width: 200px;   /* ← サイズ指定できる */
  height: 200px;
  background-image: url(img/drag01.webp);
  background-repeat: no-repeat;
  background-size: contain; /* or cover */
  background-position: center;
  transform: translateX(-50%);
}

.torikumiue{
	width: 66.6%;
	margin: 0 auto 20px;
}

.torikumiue img{
	border-radius: 50%;
}
.torikumiuesita img{
	border-radius: 50%;
}

footer .navmenu a{
	color: #333;
}

.news-con p{
	border-bottom: solid 1px #e1e1e1;
    padding-bottom: 10px;
}

.newscon{
	margin-bottom: 100px;
}

@media (max-width: 425px) {
  #header .container-fluid,
  #footer .container-fluid {
    flex-wrap: wrap;
    gap: 10px;
  }
  #header .logo img,
  #footer .logo img {
    max-width: 160px;
    height: auto;
  }
  .howto .title{
    font-size: 1.8rem!important;
  }
  .payment img{
    width: 100%;
    display: block;
  }
}

.hero .hero-bg {
	object-fit: cover;      /* ← これでトリミングされず全部表示 */
	object-position: center calc(100% + 20px); /* 左20%寄せもそのまま指定OK */
}
.hero .hero-bg2 {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;      /* ← これでトリミングされず全部表示 */
    object-position: center calc(100% + 20px); /* 左20%寄せもそのまま指定OK */
}
.car1 {
    animation: drive1 5s linear infinite;
}
.car2 {
    animation: drive2 6s linear infinite;
}
.car3 {
    animation: drive3 8s linear infinite;
}

@keyframes drive1 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-180px, -108px);
  }
  70% {
    transform: translate(-180px, -108px);
  }
  100% {
    transform: translate(-300px, -180px);
  }
}
@keyframes drive2 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(-600px, 360px);
  }
}
@keyframes drive3 {
  0% {
    transform: translate(0, 0) rotate(0deg); /* 下にいる */
  }
  40% {
    transform: translate(150px, -90px);
  }
  70% {
    transform: translate(150px, -90px);
  }
  100% {
    transform: translate(315px, -189px); /* 上に向かって走る＆少し傾ける */
  }
}

.hito12{
	animation: shake-up 2s linear infinite;
}

.hito09 {
	width: 100px;
    animation: hito08 4s linear infinite;
}
.hito08 {
	width: 100px;
    animation: hito09 3s linear infinite;
}

.hito01 {
	width: 100px;
    animation: hito08 5s linear infinite;
}
.hito06 {
	width: 100px;
    animation: hito09 2s linear infinite;
}

/*人の動き*/
@keyframes hito08 {
  0%   { transform: rotateZ(0deg); }
  25%  { transform: rotateZ(-3deg); }
  50%  { transform: rotateZ(0deg); }
  75%  { transform: rotateZ(-2deg); }
  100% { transform: rotateZ(0deg); }
}
@keyframes hito09 {
  0%   { transform: rotateY(0deg); }
  25%  { transform: rotateY(12deg); }
  50%  { transform: rotateY(0deg); }
  75%  { transform: rotateY(-12deg); }
  100% { transform: rotateY(0deg); }
}


@keyframes shake-up {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(15px);
    }
}


@keyframes rotate-up {
    0%, 100% {
        rotate: -10deg;
    }
    50% {
        rotate: 10deg;
    }
}

@media (max-width: 768px) {
  .main{
  	overflow: hidden;
  }
  .hero{
	min-width: 768px;
	overflow: hidden;
  }

.hero .hero-bg {
  	object-position: 20% center; /* 左20%寄せもそのまま指定OK */
}
.hero .hero-bg2 {
  	object-position: 20% center; /* 左20%寄せもそのまま指定OK */
}

}


@media (max-width: 768px) {
  .main{
  	overflow: hidden;
  }
  .hero .hero-bg {
  	object-position: 20% center; /* 左20%寄せもそのまま指定OK */
  	left: -90px;
  }
  .hero .hero-bg2 {
	object-position: 20% center; /* 左20%寄せもそのまま指定OK */
	left: -90px;
  }
  .footnav{
  	display: none;
  }
  .otch2::after, .torikumi::after{
	  content: initial;
  }
  .torikumiue{
	width: 100%;
	margin: 0 auto 20px;
  }
  .howto .title{
    font-size: 2rem!important;
  }
  .payment img{
    width: 100%;
    max-width: 400px;
    display: block;
    margin: auto;
  }
}

.access-con1,access-con2{
	margin-bottom: 100px;
}

.access-con1 img,.access-con2 img{
	border-radius: 5%;
}

.isotope-container {
  transition: opacity .35s ease;
}
.isotope-container.isotope-fade-out {
  opacity: 0;
}


.linecontact{
	background-color: #06C755;
    color: #fff !important;
    padding: 20px;
    text-align: center;
    border-radius: 15px;
    font-weight: bold;
    max-width: 500px;
    margin: auto;
}