 body {
    position: relative;
    margin: 0;
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/background.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    z-index: -1; /* 背景を後ろに */
}

a img:hover {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.sp{
  display: none;
}

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


#wrap{
  width: 100%;
  background-color: #fff;
  margin: 0 auto;
  text-align: center;
  padding: 0 0 10px;
}
.headcopy{
  width: 100%;
  background-color: #BE0002;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  padding: 10px 0;
}
.cta img{
  width: 80%;
  margin:0 auto;
}

.img_center img{
  width: 90%;
  margin: 0 auto;
}

}


@media screen and (min-width: 769px) {
#wrap{
  width: 980px;
  background-color: #fff;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 10px;
}
.headcopy{
  width: 100%;
  background-color: #BE0002;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  padding: 10px 0;
}
}



.fv{
  width: 100%;
  margin: 0;
  padding: 0;
  text-align:center;
}

.fv img{
  width: 100%;
  margin: 0;
  padding: 0;
  vertical-align:top;
}

.wood{
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/background_wood.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
}

.cta{
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  animation: ctaZoom 1s ease-in-out infinite;
  transition: background-color 0.3s ease;
  margin-top: 100px;
}


.cta_bk {
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/background_cta.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 50px;
}

.cta_2{
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  animation: ctaZoom 1s ease-in-out infinite;
  transition: background-color 0.3s ease;
  
}

@media screen and (max-width: 768px) {
.cta_2{
  width: 80%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  animation: ctaZoom 1s ease-in-out infinite;
  transition: background-color 0.3s ease;
  
}

.wood{
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/background_sp.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
}
}


.img_center{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
}



@keyframes ctaZoom {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

.back_white{
  width: 100%;
  background-color: #fff;
  padding: 30px 0;
  text-align: center;
}
    




.sky{
  top: auto;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/background_sky.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 30px 0;
}

h2 {
  position: relative;
  display: inline-block;
  padding: 0 55px;
  text-align: center;
  font-size: 2em;
}

h2:before, h2:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: black;
}

h2:before {
  left:0;
}
h2:after {
  right: 0;
}

.img_100,
article.img_100 {
  margin: 0;
  padding: 0;
}

.img_100 img{
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
}


@media screen and (max-width: 768px) {
  .middlecopy{
    width: 100%;
    background-color: #14A44F;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
  }

  .text_center{
    text-align: center;
  }
  .step_wrap{
    width: 90%;
    display: flex;
    justify-content: center;
    flex-direction:column;
    margin: auto;
  }
  
  .step{
    width: 90%;
    margin: 20px auto;
  }

  .step img{
    width: 100%;
  }
}

@media screen and (min-width: 769px) {
  .middlecopy{
    width: 100%;
    background-color: #14A44F;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
  }

  .text_center{
    text-align: center;
    font-size: 24px;
  }
.step_wrap{
  width: 90%;
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.step{
  width: 40%;
  margin-bottom: 40px;
}
}


@media screen and (max-width: 768px) {
  footer{
    border-top: thin solid #ccc;
    margin-top: 100px;
    padding: 30px 0;
    width: 100%;
    display: flex;
    text-align: center;
    flex-direction:column;
  }
}
@media screen and (min-width: 769px) {
footer{
  border-top: thin solid #ccc;
  margin-top: 100px;
  padding: 30px 0;
  width: 100%;
  display: flex;
  text-align: left;
}
}
.foot_parts{
  margin:0 30px;
flex: 1;
}

.foot_parts img{
  width: 100%;
}

h3{
  border: thin solid #333;
  color: #333;
  padding: 10px;
  margin: 0;
}

.font_ss{
  font-size: 0.7em;
}

.tel{
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 3em;
  color: #444;
}

.tel a{
  text-decoration: none;
  color: #444;
}

.foot_parts a{
  text-decoration: none;
  color: #444;
}
.foot_parts a:hover{
  text-decoration: underline;
}

.number-with-icon {
  display: inline-flex;
  align-items: baseline; /* 数字の下線に画像を合わせるなら baseline */
  gap: 0.6em; /* 画像と数字の間隔を適宜調整 */
}

.number-with-icon img {
  height: 1em; /* 数字と同じ高さ */
  width: auto; /* アイコンが縦横比を保つように */
  display: inline-block;
  margin-right: 10px;
}

.number-with-icon .number {
  font-size: 2rem; /* 数字の大きさ */
  line-height: 1;
}

small{
  text-align: center;
  font-size: 0.8em;
  color: #888;
}

.video-wrapper {
  background-color: #fff; /* 白背景 */
  display: flex;
  justify-content: center; /* 横中央 */
  align-items: center;     /* 縦中央 */
  width: 100%;
  height: 100%;
  padding: 20px;           /* 白余白の幅（調整可） */
  box-sizing: border-box;  /* padding込みで中央 */
}

.video-wrapper video {
  width: 100%;
  max-width: 800px;        /* 動画の最大幅（調整可） */
  height: auto;
  display: block;
}