/*
    Theme Name: hokkaidowine
*/
* {
  line-height:2;
}

p,h1,h2,h3,h4,h5,img {
  padding-top:4px;
  padding-bottom: 8px;
}

h3.page-contents__ttl {
  color:#75a384;
  margin-top: 230px;
  font-size: 28px;
  line-height: 1.4;
  text-align: left;
  font-family: "Noto Serif JP", serif;
  letter-spacing: -0.01em
}

@media screen and (max-width: 959px) {
  h3.page-contents__ttl {
    margin-top: 100px;
    font-size: 20px;
    line-height: 1.8
  }
}

a {
  text-decoration: underline;
  transition:.5s;
}

a.decoration-none,
.decoration-none a {
  text-decoration: none;
}

.wp-singular .page-inner a {
  position: relative;
  padding: 0 .5em 4px;
  font-size: 16px;
  font-size: min(.83vw, 16px);
  line-height: .6666666667;
  font-family: "Noto Serif JP", serif
}

@media screen and (max-width: 959px) {
  .wp-singular .page-inner a {
    font-size: 10px;
    line-height: 2
  }
}

.wp-singular .page-inner a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #1a1311
}

.wp-singular .page-inner a:hover::before {
  animation: underline ease 500ms forwards
}

[id^="bfb_content_"] .bfb_closed {
  top: -6px!important;
  right:-10px!important;
}
[id^="bfb_content_"] .bfb_closed img {
  height:auto!important;
}

.post-id-1787 main {
  margin-top:150px;
  font-family: 'Noto Sans JP', sans-serif;
}

.page-about a,
.page-wine a,
.page-viticulturist a,
.page-tours a,
.page-brandlist a,
.page-challenge a,
.page-company a {
  text-decoration: none;
}

.sns-list {
  display: flex;
  justify-content: left;
}
.sns-list li {
  display: flex;
  align-items: center;
  text-align: center;
  margin-right: 10px;
}

.list__item {
  width: 430px;
  margin: 230px 105px 0 0
}

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

.gnav__carnival figure {
  width: 90%;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}
.hero__sp-logo {
  display: none
}
.hero__ttl {
  width: 90px;
}
.hero__text {
  font-size: 25px;
  color: #fff;
  margin-top: 30px;
  text-shadow: 0 0 10px #000, 0 0 10px #000, 0 0 10px #000;
  letter-spacing: .03em
}
@media screen and (max-width: 959px) {
  .hero__sp-logo {
    display: block;
    width: 171px
  }
  .hero {
    height: calc(var(--vh, 1vh)*100);
    position: relative
  }
  .hero__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 44px
  }
  .hero__sp-logo {
    display: block;
    width: 171px
  }
  .hero__ttl {
    width: 12.8vw;
    min-width: 48px
  }
  .hero__text {
    font-size: 14px;
    position: absolute;
    bottom: 84px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap
  }
}

.visit-pian__txt span.red {	
color: #fff;	
background: #d99b9b;	
}

.visit-pian__txt span.green {	
color:#fff;	
background: #75a384;	
}	

.waribiki-pc,	
.waribiki-sp {	
align-self: flex-end;	
}	

.doumin {	
display: flex;	
justify-content: space-between;	
}	

.doumin:first-child {	
border-bottom:1px solid #797979;	
}	

.doumin p {	
width:20%;	
align-self:center;	
}	

.doumin p:last-child {	
width:60%;	
}	

.doumin h3 {	
margin-top:20px;	
margin-block-end: 0;	
}	
.waribiki-sp {	
display: none!important;	
}

@media screen and (max-width: 1920px) {
  .list__item {
    margin-right: 0
  }
}
@media screen and (max-width: 959px) {
  .list__item {
    width: 100%;
    margin-top: 100px
  }
  .waribiki-pc {	
  display:none;	
  }	
  .waribiki-sp {	
  display: block!important;	
  }
}
.list__item:nth-of-type(3n) {
  margin-right: 0
}
.list__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: .3s
}

.list__link:hover {
  opacity: .7
}

.list__link:hover .list__more::after {
  animation: underline ease 500ms forwards
}

.list__img {
  height: 302px;
  overflow: hidden
}

@media screen and (max-width: 959px) {
  .list__img {
    height: 48vw
  }
}

.list__img img {
  object-fit: cover;
  height: 100%
}

.list__textArea {
  flex-grow: 1;
  margin-top: 24px;
  display: flex;
  flex-direction: column
}

@media screen and (max-width: 959px) {
  .list__textArea {
    margin-top: 20px
  }
}

.list__textArea__inner {
  flex-grow: 1;
  margin-top: 30px;
  display: flex;
  align-items: flex-start
}

@media screen and (max-width: 959px) {
  .list__textArea__inner {
    margin-top: 20px
  }
}

@media screen and (max-width: 959px) {
  .list__date {
    font-size: 12px
  }
}

.list__title {
  font-size: 20px;
  line-height: 1.6666666667;
  margin-top: 30px
}

@media screen and (max-width: 959px) {
  .list__title {
    font-size: 16px;
    line-height: 1.5625;
    margin-top: 20px
  }
}

.list__tag {
  flex-grow: 1;
  display: flex;
  flex-wrap: wrap
}

.list__tag__item {
  background: #898989;
  color: #fff;
  padding: 4px 6px;
  margin: 6px 6px 0 0
}

@media screen and (max-width: 959px) {
  .list__tag__item {
    font-size: 12px
  }
}

.list__more {
  flex-shrink: 0;
  width: 120px;
  margin-left: 20px;
  text-align: center;
  padding-bottom: 8px;
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end
}

@media screen and (max-width: 959px) {
  .list__more {
    width: 96px;
    margin-left: 16px;
    font-size: 12px
  }
}

.list__more::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: #1a1311;
  position: absolute;
  bottom: 0;
  left: 0
}

@media screen and (max-width: 959px) {
  .list__more::after {
    height: 1px
  }
}
.container {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
  padding: 20px;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    width:100%;
    height:100vh;
    background-size: cover; /*画像を中央に配置し、余白ができないように調整*/
    background-position: center; /*画像の位置を中央に設定*/
    background-repeat: no-repeat; /*背景画像を繰り返し表示しないように設定*/
}

.page-inner {
    margin-top:120px;
    /*width:1500px;*/
}

h1.hero__ttl {
  font-size: 25px;
  color: #fff;
  margin-top: 30px;
  text-shadow: 0 0 10px #000;
  letter-spacing: .03em
}

.gotoshop {
  position: absolute;
  right: 5vw;
  top: 60vh;
  opacity: .6;
  transition: all 0.5s 0s ease;
}

.gotoshop:hover {
  opacity: 1;
}

.gotoshop img {
  width: 150px;
  height: 150px;
}
@media screen and (max-width: 959px) {
  .gotoshop {
    top:70vh;
  }
 .gotoshop img {
  width: 100px;
  height: 100px;
 }
}

#history1970s,
#history1980s,
#history1990s,
#history2000s,
#history2010s,
#history2020s {
  margin-bottom:0;
}

.wp-block-spacer {
	display:block;
}

.shadow-font {
	text-shadow:-3px -3px 3px #000, 3px 3px 3px #000;
}

.button {
  margin-top: 230px;
  display: flex;
  justify-content: center
}

@media screen and (max-width: 959px) {
  .button {
    margin-top: 70px
  }
}

.button__link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 67px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
  transition: .3s
}

@media screen and (max-width: 959px) {
  .button__link {
    width: 143px;
    height: 46px;
    box-shadow: none;
    border: 2px solid #efefef;
    font-size: 12px
  }
}

.button__link:hover {
  opacity: .7
}

/*----------------------------*/
/*-----iframeレスポンシブ-----*/
/*----------------------------*/
.iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/*----------------------------*/
/*　　MW WP Formカスタマイズ　　*/
/*----------------------------*/
.mw-wp-form input,
.mw-wp-form textarea,
.mw-wp-form button,
.mw-wp-form select {
appearance:normal!important;
-webkit-appearance:normal!important;
}



.mw_wp_form .error {
    color: red;
}

.mw-wp-form__list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 80px;
  }
  
  
  .mw-wp-form dt,
  .mw-wp-form dd {
    line-height: 1.75;
  }
  
  .mw-wp-form dt:not(:first-of-type),
  .mw-wp-form dd:not(:first-of-type) {
    margin-top: 30px;
  }
  
  .mw-wp-form dt {
    width: 320px;
    padding-top: 15px;
  }
  
  .mw-wp-form dd {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 660px;
  }
  
  .mw-wp-form__label {
    margin-right: 15px;
    padding: 8px 22px;
    border-radius: 2px;
    color: #fff;
    font-size: 14px;
    vertical-align: 1px;
  }
  
  .mw-wp-form__label--req {
    background: #BE1D1D;
  }
  
  .mw-wp-form__label--opt {
    background: #878D8E;
  }
  
  .mw-wp-form dd input[type="text"],
  .mw-wp-form dd input[type="email"],
  .mw-wp-form dd textarea {
    box-sizing: content-box;
    width: calc(100% - (20px * 2));
    padding: 15px 20px;
    background: #F5F5F5;
  }
  
  .mw-wp-form dd input[type="text"]:nth-child(n + 2) {
    margin-top: 15px;
  }
  
  .mw-wp-form dd input[type="tel"] {
    box-sizing: content-box;
    width: 66px;
    padding: 15px 20px;
    background: #F5F5F5;
  }
  
  .mw-wp-form dd textarea {
    height: calc(1.75em * 10);
  }
  
  .mw-wp-form dd input[type="text"]::placeholder,
  /*.mw-wp-form dd input[type="tel"]::placeholder,*/
  .mw-wp-form dd input[type="email"]::placeholder,
  .mw-wp-form dd textarea::placeholder {
    color: #797979;
  }
  
  /* Microsoft Edge */
  .mw-wp-form dd input[type="text"]::-ms-input-placeholder,
  /*.mw-wp-form dd input[type="tel"]::-ms-input-placeholder,*/
  .mw-wp-form dd input[type="email"]::-ms-input-placeholder,
  .mw-wp-form dd textarea::-ms-input-placeholder {
    color: #797979;
  }
  
  /* Internet Explorer */
  .mw-wp-form dd input[type="text"]:-ms-input-placeholder,
  /*.mw-wp-form dd input[type="tel"]:-ms-input-placeholder,*/
  .mw-wp-form dd input[type="email"]:-ms-input-placeholder,
  .mw-wp-form dd textarea:-ms-input-placeholder {
    color: #797979;
  }
  
  .mw-wp-form__automatic {
    margin: 0 0 0 20px;
    font-size: 15px;
  }
  
  .mw-wp-form__buttons {
    display: flex;
    justify-content: center;
  }
  
  .mw-wp-form__buttons button[type="submit"] {
    display: block;
    position: relative;
    width: 360px;
    height: 60px;
    margin: 0 30px;
    border: 1px solid #1B201A;
    color: #1B201A;
    transition: opacity .6s;
  }
  
  .mw-wp-form__buttons button[type="submit"]:hover {
    opacity: .6;
  }
  
  .mw-wp-form__buttons button[type="submit"]:before {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    border-top: 1px solid #1B201A;
    border-right: 1px solid #1B201A;
    content: '';
  }
  
  .mw_wp_form_confirm .mw-wp-form dd {
    padding-top: 15px;
  }
  .privacy-h2 {
    margin: 40px auto 20px;
    font-size:30px;
  }
  .privacy-policy {
    height: 350px;
    padding: 2em;
    border: 2px solid #111;
    overflow-y: scroll;
    }
    .check-privacy {
        text-align:center;
        margin:60px auto;
    }
  @media screen and (max-width: 430px) {
  
    .mw-wp-form__list {
      margin-bottom: 60px;
    }
  
    .mw-wp-form dt {
      width: 100%;
    }
  
    .mw-wp-form dd {
      width: 100%;
    }
  
    .mw-wp-form dd:first-of-type,
    .mw-wp-form dd:not(:first-of-type) {
      margin-top: 15px;
    }
  
    .mw-wp-form dd input[type="text"]:nth-child(n + 2) {
      margin-top: 10px;
    }
  
    .mw-wp-form dd textarea {
      height: calc(1.75em * 8);
    }
  
    .mw-wp-form__automatic {
      margin: 5px 0 0;
      font-size: 14px;
    }
  
    .mw-wp-form__buttons {
      flex-direction: column;
      align-items: center;
    }
  
    .mw-wp-form__buttons button[type="submit"] {
      width: 300px;
      margin: 0;
    }
  
    .mw-wp-form__buttons button[type="submit"]:not(:first-child) {
      margin-top: 30px;
    }
  
  
    .mw_wp_form_confirm .mw-wp-form dd {
      padding-top: 0;
    }
  
    .mw-wp-form__label {
      padding: 6px 16px;
    }
  
  }
 
/*----------------------------*/

@media screen and (max-width:1500px) {
    .page-inner {
        width:auto;
    }
}

@media screen and (max-width: 959px) {
    .page-inner {
        padding-right: 32px;
        padding-left: 32px;
    }
}

.media-v {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.media-v iframe {
  width: 100%;
  height: 100%;
}


/*----------------------------------*/
/* だいたいcommonファイルの修正エリア */
/*----------------------------------*/
.hero__text,
.page-contents__ttl,
.page-contents__sb-ttl,
.page-contents__txt,
.page-contents__lead,
footer p,
footer a,
footer li {
  font-weight: bold;
}

.page-contents__row.inside-c {
  margin-top:50px;
}

@media screen and (max-width: 959px) {
  .page-contents__row.inside-c {
    margin-top:20px;
  }
}

.kv__wrap img {
  padding-top:0;
}

.hero__wrap {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 60px;
  z-index: 2;
  transform: translateX(-50%);
  width: 40px;
  height: 20px;
  background: url(/assets/images/kv-arrow01.svg) center center/contain;
  background-repeat: no-repeat;
  opacity: 0;
  animation: kvArrow01 2s ease infinite
}

@media screen and (max-width: 959px) {
  .hero::before {
    bottom: 49px;
    width: 25px;
    height: 12px
  }
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 35px;
  z-index: 2;
  transform: translateX(-50%);
  width: 40px;
  height: 20px;
  background: url(/assets/images/kv-arrow02.svg) center center/contain;
  background-repeat: no-repeat;
  opacity: 0;
  animation: kvArrow02 2s .5s ease infinite
}

@media screen and (max-width: 959px) {
  .hero::after {
    bottom: 33px;
    width: 25px;
    height: 12px;
    max-height: 100%
  }
}

.page-inner {
  overflow-x: hidden;
}

.btn-wrap.btn-block a {
	border: none;
	background: #983b55;
	color: #fff;
	transition: .3s;
	
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	padding: 30px;
	width: 425px;
	max-width: 425px;
	width: min(22.13vw, 425px);
	min-width: 225px;
	font-size: 20px;
	line-height: 1;
	font-family: "Noto Serif JP", serif;
	text-align: center;
}

.btn-wrap.btn-block a::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 20px;
  left:auto;
	transform: translateY(-50%);
	width: 10px;
	height: 20px;
	background: url(/assets/images/btn-arrow.svg) no-repeat center center / contain;
	background-repeat: no-repeat;
}

.page-tours .visit-pian .btn-wrap.btn-block a:before {
    background-image: url(/assets/images/btn-arrow02.svg);
}

.btn-wrap.btn-block a:hover {
	opacity: .7;
}

.visit-pian__row .advgb-columns-row ,
.info-row .advgb-columns-row{
	margin-top: 130px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 50px;
}

.visit-pian__col img {
  border:1px solid #333;
}

.page-contents__row .page-contents__txt-col,
.page-contents__row--reverse {
	margin-left: auto;
}
.info__row.back-col > div > .advgb-columns-row {
	flex-direction: row-reverse;
}

.info__row .advgb-columns-container {
	width:100%;
}

.info-map .advgb-column-inner {
	width:58%;
}

@media screen and (max-width: 1087px) {
	.page-contents__row--reverse .advgb-columns-row {
		flex-direction: column-reverse;
	}
	.page-contents__img-col-2set {
		margin-bottom: 0;
	}
	.block-column .visit-pian__row {
		width: auto;
	}
}

@media screen and (max-width: 959px) {
  .info__row.back-col > div > .advgb-columns-row {
    flex-direction: column;
  }
}