html {
  overflow-y: unset;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-appearance: none;
}

:root {
  scroll-padding: 100px;
  scroll-behavior: smooth;
}

.pc {
  display: block !important;
}

.page-top {
  display: none !important;
}

.page-top.active {
  display: none !important;
}

.sp {
  display: none !important;
}

.ff-min {
  font-family: 'BIZ UDMincho', serif;
}

.ff-go {
  font-family: 'Noto Sans JP', sans-serif;
}

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

  .sp {
    display: block !important;
  }
}

.l-header {}


.l-body {
  overflow: unset;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
  width: 110px;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}


.f_meoto {
  background: url(../images/meoto/pc/tecs.png),
    linear-gradient(0deg, #E1E1E1 0%, #E9E9E9 100%);
  background-size: 100px 100px, contain;
}

.firstview {
  display: flex;
  justify-content: space-around;
  padding-top: 150px;
  overflow: hidden;
  margin-bottom: 150px;
}

.f_menu_box {
  width: calc(40% + 5vw);
  padding: 4vw 3vw 0;
}

.f_logo {
  margin-bottom: 20px;
}

.f_logo img {
  margin: 0 auto;
  margin-bottom: 2vw;
  width: 25vw;
}

.f_menu {
  writing-mode: vertical-rl;
  margin: 0 auto;
}

.f_menu ul {
  margin-right: 1.2rem;
}

.f_menu li {
  padding: 0;
}

.f_menu a {
  font-size: 2.4rem;
  line-height: 1;
  padding: 0 1.25rem;
  display: block;
}

.f_item_box {
  width: 60%;
  margin-right: -5vw;
}

.f_item_box img {
  width: 100%;
}

.meoto_about {
  margin-bottom: 10vw;
}

.meoto_about_inner {
  display: flex;
  justify-content: center;
}

.meoto_about_inner h3 {
  order: 2;
  margin-left: 50px;
  max-width: 61px;
}

.meoto_about_inner p {
  writing-mode: vertical-rl;
  font-size: 2rem;
  line-height: 2.2;
}

.meoto_about_inner p span.bg_liner1 {
  background-image: url(../images/meoto/pc/liner1.png);
  background-size: 80% 95%;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 0 10px;
}

.meoto_about_inner p span.bg_liner2 {
  background-image: url(../images/meoto/pc/liner2.png);
  background-size: 80% 95%;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 0 10px;
}

.meoto_about_inner p span.bg_liner3 {
  background-image: url(../images/meoto/pc/liner3.png);
  background-size: 80% 100%;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 0 10px;
}

.meoto_line {
  display: flex;
  justify-content: center;
  margin-bottom: -4px;
  background-image: url(../images/meoto/pc/meoto_line_bg_tecs.png), url(../images/meoto/pc/meoto_line_bg_white.png);
  background-repeat: no-repeat;
  background-size: contain, contain;
  background-position: bottom center, bottom center
}

.meoto_line img {
  max-width: 338px;
  width: 20vw;
}

.meoto_para {
  background: url(../images/meoto/pc/tecs.png), #fff;
  background-repeat: repeat;
  background-size: 100px 100px, 100%;
  padding-bottom: 100px;
}








* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*ラッパー要素*/
.para_wrapper {
  display: flex;
  position: relative;
  background-image: url(../images/meoto/pc/para_bg.png);
  background-attachment: fixed;
}

/*左画像のブロック*/
.images-left {
  width: 5%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  margin-left: 1vw;

}

.images-left p {
  height: 100vh;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: ;
  transform: translateY(-50%);
  transition: opacity 0.4s ease;
  overflow: hidden;
}

.images-left p img {
  width: 100%;
  height: auto;
  max-width: 50px;
}

.images-left p.scroll-box04 img {
  width: 100%;
}

.images-left p.active {
  opacity: 1;
}

/*中央コンテンツのブロック*/
.contents {
  width: 45%;
  padding: 0 10rem 0 3rem;
}

.contents div {
  padding-top: 50vh;
  padding-bottom: 50vh;
}

.contents div:first-child {
  padding-top: 37vh;
}

.contents div:last-child {
  padding-bottom: 42vh;
}

.contents h2 {
  font-size: 4.3rem;
  color: #231815;
  font-weight: normal;
  text-align: center;
  margin-bottom: 15px;
}

.contents h2 span {
  font-size: 2.2rem;
  color: #000;
}

.contents p.price {
  font-size: 2.4rem;
  color: #777;
  text-align: center;
  margin-bottom: 15px;
}

.contents p.price span {
  font-size: 1.8rem;
  color: #777;
}

.contents p.desc {
  font-size: 1.8rem;
  color: #000;
  text-align: left;
  line-height: 1.7;
  font-weight: 300;
}

/*右画像のブロック*/
.images-right {
  width: 50%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
}

.images-right p {
  height: 100vh;
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
  overflow: hidden;
}

.images-right p img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 50% 50%;
}

.images-right p.active {
  opacity: 1;
}

p.btn {
  text-align: center;
  margin-bottom: 15px;
}

a.sale_btn {
  padding: 1rem 4.5rem;
  border: 2px solid #C11E20;
  color: #C11E20;
  font-size: 2.3rem;
  display: inline-block;
  margin-top: 3rem;
  border-radius: 3rem;
  transition: all 0.3s;
}

a.sale_btn:hover {
  background-color: #C11E20;
  color: #fff;
}

.caution {
  font-size: 1.5rem;
  color: #000;
  text-align: center;
  line-height: 1.3;
}

p.single.desc {
  font-size: 1.8rem;
  color: #000;
  text-align: left;
  line-height: 1.7;
  font-weight: 300;
}

p.single.desc span {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: 3px;
}

/*hirosaki*/
.hirosaki {
  padding: 9rem 10rem;
  background: url(../images/meoto/pc/hirosaki_bg_snow.png), url(../images/meoto/pc/tecs.png), #796E5C;
  background-repeat: no-repeat, repeat, repeat;
  background-size: 100%, 100px 100px, 100%;
  margin-top: -35px;
  position: relative;
  z-index: 50;
  background-size: 100% 100%;
}

.hirosaki::before {
  content: "";
  position: absolute;
  top: -45px;
  left: 0;
  width: 100%;
  height: 50px;
  background: url(../images/meoto/pc/hirosaki_upline_bg_tecs.png), url(../images/meoto/pc/hirosaki_upline_bg.png);
  background-repeat: no-repeat, no-repeat;
  background-size: 100%, 100%;
  background-position: bottom center, bottom center;
}

.hirosaki::after {
  content: "";
  position: absolute;
  bottom: -45px;
  left: 0;
  width: 100%;
  height: 50px;
  background: url(../images/meoto/pc/hirosaki_downline_bg_tecs.png), url(../images/meoto/pc/hirosaki_downline_bg.png);
  background-repeat: no-repeat, no-repeat;
  background-position: top center, top center;
  background-size: 100%, 100%;

}

.hirosaki_map {
  display: flex;
  justify-content: center;
}

.hirosaki_ttl {
  font-size: 4.5rem;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
  font-weight: bold;
  letter-spacing: 0.3rem;
}

.hirosaki_txt {
  font-size: 2rem;
  color: #fff;
  max-width: 1048px;
  margin: 0 auto;
  margin-bottom: 40px;
  font-weight: 600;
}

.hirosaki_desc_container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem
}

/* google map */
.googlemap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  height: 0;
  margin-top: -35px;
}

.googlemap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(100%);

}

/* ig_slider */
.ig_slider {
  background-image: url(../images/meoto/pc/ig_slider_bg.png);
}




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

  body,
  html {
    font-size: 0.65vw;
  }
}

@media screen and (max-width: 1800px) {
  .meoto_about_inner h3 {
    margin-left: 3vw;
    width: 3.5vw;
  }

  .contents {
    width: 48%;
  }

  .meoto_about_inner p {
    font-size: 1.7rem;
  }

  .meoto_about_inner {
    padding: 0 2.5vw;
  }

  .images-left {
    max-width: 3.5%;
  }

  .images-left p {}

  .hirosaki_map {
    width: 10vw;
    margin: 0 auto;
  }

  /*body,
  html {
    font-size: inherit;
  }*/
}


@media screen and (max-width: 1500px) {
  .contents {
    padding: 0 10rem 0 5rem;
  }
}

@media screen and (max-width: 1120px) {
  .meoto_about_inner h3 {}

  .meoto_about_inner p {
    line-height: 2.1;
  }
}

.sp_1100 {
  display: none;
}

.pc_1100 {
  display: block;
}

@media screen and (max-width: 1100px) {
  .sp_1100 {
    display: block;
  }

  .pc_1100 {
    display: none;
  }

  .meoto_about_inner {
    flex-wrap: wrap;
  }

  .meoto_about_inner h3.sp_1100 {
    width: 100%;
    order: 1;
    margin: 0;
    margin-bottom: 5rem;
    display: flex;
    justify-content: center;
    max-width: 100%;
  }

  .meoto_about_inner p {
    order: 2;
    writing-mode: unset;
    line-height: 2;
    width: 100%;
    padding: 0 7.5vw;
    font-size: 2rem;
    color: #000;
    text-align: center;
    line-height: 2;
  }

  .meoto_about_inner p span.bg_liner1 {
    padding: 1.3vw 0;
    background-position: left center;
    background-image: url(../images/meoto/pc/liner1_sp.png);
    background-size: 93% 70%;
  }

  .meoto_about_inner p span.bg_liner2 {
    padding: 1.3vw 0;
    background-position: center;
    background-image: url(../images/meoto/pc/liner2_sp.png);
    background-size: 80% 60%;
  }

  .meoto_about_inner p span.bg_liner3 {
    padding: 1.3vw 0;
    background-position: left center;
    background-image: url(../images/meoto/pc/liner3_sp.png);
    background-size: 100% 70%;
  }

  .back-to-top {
    width: 19rem;
  }
}


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

  body,
  html {
    font-size: 62.5%;
  }

  .f_meoto {
    background: url(../images/meoto/pc/f_meoto_snow_sp.png),
      url(../images/meoto/pc/tecs.png),
      linear-gradient(0deg, #E1E1E1 0%, #E9E9E9 100%);
    background-size: cover, 10px 10px, contain;
  }

  .firstview {
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 30vw;
  }

  .f_logo img {
    width: 100%;
  }

  .f_menu_box {
    width: 100%;
    padding: 10vw 12vw 5vw;
  }

  .f_item_box {
    width: 100%;
    margin-bottom: 10vw;
    margin-right: -8vw;
  }


  .meoto_about_inner {
    flex-wrap: wrap;
    padding: 0;
  }

  .f_menu a {
    font-size: 2.3rem;
    letter-spacing: 0.2rem;
  }

  .meoto_about_inner h3 {
    order: 1;
    margin: 0;
    margin-bottom: 6vw;
  }

  .meoto_about_inner p {
    order: 2;
    writing-mode: unset;
    font-size: 1.5rem;
    line-height: 2;
    width: 100%;
    padding: 0 7.5vw;
    text-align: left;
  }

  .meoto_about_inner p span.bg_liner1 {
    padding: 1.3vw 0;
    background-position: left center;
    background-image: url(../images/meoto/pc/liner1_sp.png);
    background-size: 95% 95%;
  }

  .meoto_about_inner p span.bg_liner2 {
    padding: 1.3vw 0;
    background-position: center;
    background-image: url(../images/meoto/pc/liner2_sp.png);
    background-size: 80% 95%;
  }

  .meoto_about_inner p span.bg_liner3 {
    padding: 1.3vw 0;
    background-position: left center;
    background-image: url(../images/meoto/pc/liner3_sp.png);
    background-size: 100% 95%;
  }


  .products_subttl {
    display: flex;
    justify-content: center;
    margin-bottom: 8vw;
  }

  .products_container {
    padding: 0 3rem;
    padding-top: 10vw;
    background: url(../images/meoto/pc/tecs.png), #fff;
    background-repeat: repeat;
    background-size: 100px 100px, 100%;
    padding-bottom: 50px;
  }

  .products_img {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 3vw;
  }

  .products_img img {
    width: 100%;
  }

  .products_box h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 2vw;
    font-weight: normal;
  }

  .products_box h2 span {
    font-size: 1.8rem;
  }

  .price {
    text-align: center;
    font-size: 2rem;
    color: #777;
  }

  .price span {
    font-size: 1.4rem;
  }

  .desc {
    font-size: 1.65rem;
    line-height: 1.7;
  }

  a.sale_btn {
    font-size: 2.3rem;
    display: inline-block;
    margin-top: 1rem;
    padding: 1.5vw 11vw;
    border-radius: 7vw;

  }

  .products_box {
    margin-bottom: 2vw;
    margin-bottom: 25vw;
  }

  p.btn {
    margin-bottom: 3vw;
  }

  .products_box2 {
    margin-bottom: 25vw;
  }

  .single.desc {
    font-size: 1.5rem;
    text-align: left;
  }

  .single.desc span {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto;
    display: inline-block;
  }

  .tc {
    text-align: center;
  }

  .hirosaki {
    padding: 5rem 3rem;
    background: url(../images/meoto/pc/hirosaki_bg_snow_sp.png), url(../images/meoto/pc/tecs.png), #796E5C;
    background-repeat: no-repeat, repeat, repeat;
    background-size: 100% 100%, 10px 10px, 100%;
  }

  .hirosaki::before {
    content: "";
    position: absolute;
    top: -45px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url(../images/meoto/pc/hirosaki_upline_bg_sp.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100%;
  }

  .hirosaki::after {
    content: "";
    position: absolute;
    bottom: -45px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url(../images/meoto/pc/hirosaki_downline_bg_sp.png);
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100%;

  }

  .hirosaki_map {
    width: 30%;
    margin-bottom: 2vw;
  }

  .hirosaki_ttl {
    margin-bottom: 1.5vw;
    font-size: 4.3rem;
  }

  .hirosaki_txt {
    font-size: 1.65rem;
    line-height: 1.7;
    font-weight: 600;
  }

  .hirosaki_desc_container {
    display: flex;
    flex-wrap: wrap;
  }

  .hirosaki_desc_box {
    width: 45%;
    gap: 1vw;
  }

  .hirosaki_desc_box.box1 {
    order: 1;
  }

  .hirosaki_desc_box.box2 {
    order: 3;
  }

  .hirosaki_desc_box.box3 {
    order: 2;
  }

  .hirosaki_desc_box.box4 {
    order: 4;
  }

  .googlemap {
    padding-top: 66.25%;
  }

  .meoto_line {
    background-image: url(../images/meoto/pc/meoto_line_bg_tecs_sp.png), url(../images/meoto/pc/meoto_line_bg_white_sp.png);
  }

  .meoto_line img {
    width: 55%;
  }

  .sp_products {
    padding: 0 3rem;
  }

  .back-to-top {
    width: 20vw;
    right: 1rem;
    bottom: 1rem;
    z-index: 90;
  }

  :root {
    scroll-padding: 100px;
    scroll-behavior: smooth;
  }
}


.snow {
  /*雪の色*/
  color: snow;
  /*雪の大きさ*/
  font-size: 10px;
  /*初期位置*/
  position: fixed;
  top: -5%;
  /*雪を適当な幅で降らせる*/
  text-shadow:
    5vw -100px 0px,
    10vw -400px 0px,
    20vw -500px 0px,
    30vw -580px 0px,
    39vw -250px 0px,
    42vw -340px 0px,
    56vw -150px 0px,
    63vw -180px 0,
    78vw -220px 0px,
    86vw -320px 0px,
    94vw -170px 0px;
  /*雪アニメーション1*/
  animation: roll 20s linear infinite;
}

/*2つめの雪アニメーション*/
.snow2nd {
  animation: anim 32s linear infinite;
}

.snow3rd {
  text-shadow:
    5vw -100px 2px,
    10vw -400px 3px,
    20vw -500px 4px,
    30vw -580px 1px,
    39vw -250px 2px,
    42vw -340px 5px,
    56vw -150px 2px,
    63vw -180px 0,
    78vw -220px 4px,
    86vw -320px 9px,
    94vw -170px 7px;
  animation: anim 24s linear infinite;
}

.snow4th {
  text-shadow:
    0vw -100px 2px,
    8vw -400px 3px,
    15vw -500px 4px,
    24vw -580px 1px,
    34vw -250px 2px,
    49vw -340px 5px,
    60vw -150px 2px,
    72vw -180px 0,
    91vw -220px 4px,
    100vw -320px 9px;
  animation: anim 40s linear infinite;
}

@keyframes roll {
  0% {
    transform: rotate(0deg);
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: rotate(20deg);
    top: 100%;
    opacity: 0;
  }
}

@keyframes anim {
  100% {
    color: transparent;
    top: 150%;
  }
}

@media screen and (max-width: 768px) {
  .snow {
    display: none;
  }
}


p,
ul,
ol,
dl,
table {
  font-size: 10px;
  line-height: 2;
}

.l-header {
  font-size: 10px;
  padding: 0 3em;
  border-top-left-radius: 0.8em;
}

.l-header::before {
  background-color: #19191A;
  width: 1rem;
  height: 1rem;
}

.l-header::before,
.l-header::after {
  content: "";
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 101;
}

.l-header .logo img {
  display: block;
  margin: 9em auto 6em;
}

.l-header .gnav ul.menu {
  border-top: 1px solid #D9D9D9;
  margin-bottom: 3.5em;
}

.l-header .gnav ul.menu li {
  border: solid #D9D9D9;
  border-width: 0 0 1px;
  padding: 1.2em 0;
  font-size: 10px;
}

.l-header .gnav ul.menu li a {
  color: #000;
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-size: clamp(1.5em, 1vw + 0.25em, 1.7em);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.l-header .gnav ul.menu li ul.sub-menu {
  padding: 0.6em 0 0 1.5em;
}

.l-header .gnav ul.menu li ul.sub-menu a {
  color: #5D5D5D;
  font-family: "YuGochic", sans-serif;
  font-size: clamp(1.2em, 0.8vw + 0.25em, 1.4em);
  letter-spacing: 0.13em;
  padding: 5px 0 5px 20px;
  position: relative;
  display: block;
}

.l-header .btn-gold {
  width: calc(100% + 6em);
  position: relative;
  left: -3em;
}

.l-header .btn-gold a {
  background-color: #C9A25F;
  letter-spacing: 0.21em;
  text-indent: 0.21em;
  font-size: 1.7em;
  font-weight: 700;
  text-align: center;
  line-height: 60px;
  display: block;
  position: relative;
}

@media screen and (max-width: 768px) {
  .l-header {
    padding: 0 2rem;
  }

  .l-header .logo img.horizontal {
    margin: 0;
  }

  .l-header::before,
  .l-header::after {
    top: 0.4rem;
    left: 0.4rem;
  }
}