@charset "UTF-8";
:root {
  --main: #990000;
  --sub: #B7D87F;
  --text: #272525;
  --white: #ffffff;
  --bg: #F1F8E6;
  --member: #F4BD9D;
  --member-bg: #FBEDDD;
  --radius: 5px;
  --font-size: 16px;
  --content-width: 1440px;
  --content-inner-width: 1200px;
  --header-height: 78px;
  --header-height-sp: 60px;
}

* { margin: 0; padding: 0; box-sizing: border-box;}
html { scroll-padding-top: var(--header-height);}
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: var(--font-size);
  font-weight: normal;
  line-height: 1.5;
  letter-spacing: 0.05em;
  background: var(--white) url(../img/bg.png) repeat-x fixed;
  background-size: 1200px auto;
  background-position: 0 60px;
}
body.page-member,
body.single-coupon { background: var(--member) url(../img/member-bg.png) no-repeat left bottom fixed; background-size: 100% auto;}
body.active { height: 100vh; overflow: hidden;}
section { padding: 40px 0;}
ul, ol { list-style-type: none;}
h1, h2, h3, h4 { font-size: 1rem; font-weight: normal;}
p { line-height: 1.8;}
a { color: var(--text); text-decoration: none;}
a, a::before, a::after, a:hover, a:hover:before, a:hover:after { transition: all 0.5s ease;}
a:hover { opacity: 0.8;}
img { width: 100%; height: auto; vertical-align: bottom;}
iframe { width: 100%; vertical-align: bottom;}

.btn {
  width: max-content;
  display: block;
  font-weight: bold;
  padding: 4px 16px;
  margin: 16px auto 0;
  border-radius: var(--radius);
}
.wrapper {
  padding-top: var(--header-height);
  width: var(--content-inner-width);
  max-width: 90%;
  margin: auto;
}
.header {
  width: 100%;
  height: var(--header-height);
  background-color: var(--white);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  padding: 0 5%;
  position: fixed;
  z-index: 2;
}
.header-inner {
  width: var(--content-inner-width);
  max-width: 100%;
  height: 100%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header .logo { width: 280px;}
.header-nav { display: flex; align-items: center; column-gap: 32px;}
.header-nav a { display: block; font-weight: bold;}
.header-nav .member a {
  background-color: var(--main);
  color: var(--white);
  padding: 4px 24px;
  border-radius: var(--radius);
}
.banner-box { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0;}
.banner-item figure { position: relative;}
.banner-item figcaption {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    text-align: center;
    background: rgba(0, 0, 0, .6);
    color: var(--white);
    padding: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.banner-item img { object-fit: cover; aspect-ratio: 288 / 200;}
.article-box {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
}
.article-main {
  max-width: 700px;
  flex-grow: 2;
  padding: 40px 5%;
}
.post-item { padding: 40px 0; border-bottom: 1px solid var(--sub);}
.post-item:first-of-type { padding-top: 0;}
.post-title { font-size: 20px; font-weight: bold;}
.post-meta { font-size: 14px; padding: 8px 0;}
.post-thumb { margin-bottom: 16px; max-width: 580px;}
.post-thumb img { aspect-ratio: 3 / 2; object-fit: contain;}
.post-link a { border: 1px solid var(--text);}
.post-link a:hover { background-color: var(--text); color: var(--white);}
.article-sub {
  max-width: 500px;
  flex-grow: 1;
  background-color: var(--bg);
  padding: 40px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.movie-item { margin-bottom: 24px; text-align: center;}
.movie-item iframe { aspect-ratio: 420 / 250; height: 100%;}
.movie-link a { background-color: #57B947; border: 1px solid #57B947; color: var(--white);}
.movie-link a:hover { background-color: var(--white); color: #57B947;}
.movie-wrap {
  display: grid;
  column-gap: 4%;
  row-gap: 32px;
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--sub);
}

.page-head {
  margin: 56px 0 24px;
  background-color: var(--bg);
  padding: 16px 40px;
  border-radius: var(--radius);
}
.page-head p { line-height: 1.2; margin-top: 8px;}
.page-title {
  font-weight: bold;
  display: flex;
  align-items: center;
}
.page-member .page-head,
.single-coupon .page-head { background-color: var(--member-bg);}
.page-title::before {
  content: attr(data-en);
  font-size: 24px;
  margin-right: 8px;
}
.page-inner {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  padding: 56px 8%;
}
.shop-box { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 6%; row-gap: 32px;}
.shop-item {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sub);
  text-align: center;
}
.shop-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 16px 8px 8px;
  width: 100%;
  height: max-content;
  overflow: hidden;
}
.shop-info::after {
  content: "記事一覧を見る";
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 140%;
  font-weight: bold;
  width: 100%;
  height: 100%;
  background-color: rgba(183, 216, 127, .8);
  position: absolute;
  bottom: -100%;
  left: 0;
  transition: all 0.5s ease;
}
.shop-info:hover:after { bottom: 0; transition: all 0.5s ease;}
.shop-logo { margin-bottom: 8px;}
.shop-logo img { height: 50px; object-fit: contain;}
.shop-link { display: flex; justify-content: center; column-gap: 24px; background-color: var(--sub); padding: 8px;}
.shop-link img { height: 24px; width: auto;}
.coupon-box { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 5%; row-gap: 24px;}
.coupon-item img { margin-bottom: 4px;}
.coupon-item p { line-height: 1.5;}
.coupon-author { font-size: 14px; text-align: center;}
.coupon-item .coupon-period { font-weight: bold;}
.coupon-item .coupon-text { line-height: 1.2;}
.single .page-title { font-size: 20px;}
.single .post-meta { padding: 0;}
.single-content { max-width: 580px; margin: 0 auto 56px;}
.single-content .post-thumb img { margin: 24px 0; aspect-ratio: auto;}
.wpforms-container { max-width: 580px; margin: auto;}
.page-contact div.wpforms-container-full input[type=text],
.page-contact div.wpforms-container-full input[type=email],
.page-contact div.wpforms-container-full textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--sub);
  border-radius: 0;
}
div.wpforms-container-full input[type=submit]:not(:hover):not(:active), div.wpforms-container-full button[type=submit]:not(:hover):not(:active), div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active), .wp-core-ui div.wpforms-container-full input[type=submit]:not(:hover):not(:active), .wp-core-ui div.wpforms-container-full button[type=submit]:not(:hover):not(:active), .wp-core-ui div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active),
div.wpforms-container-full input[type=submit]:hover, div.wpforms-container-full input[type=submit]:active, div.wpforms-container-full button[type=submit]:hover, div.wpforms-container-full button[type=submit]:active, div.wpforms-container-full .wpforms-page-button:hover, div.wpforms-container-full .wpforms-page-button:active, .wp-core-ui div.wpforms-container-full input[type=submit]:hover, .wp-core-ui div.wpforms-container-full input[type=submit]:active, .wp-core-ui div.wpforms-container-full button[type=submit]:hover, .wp-core-ui div.wpforms-container-full button[type=submit]:active, .wp-core-ui div.wpforms-container-full .wpforms-page-button:hover, .wp-core-ui div.wpforms-container-full .wpforms-page-button:active {
  display: block;
  background-color: #57B947 !important;
  min-width: 200px;
  margin: auto;
  transition: all 0.5s ease;
}
.contact-text { text-align: center;}
.footer .copy {
  font-size: 12px;
  text-align: center;
  padding: 60px 0;
}

.pagination { margin-top: 24px; text-align: center;}
.page-numbers {
  display: inline-block;
  min-width: 40px;
  height: 40px;
  line-height: 32px;
  text-align: center;
  padding: 4px 8px;
  border: 1px solid var(--sub);
  border-radius: 20px;
}
.page-numbers.dots { border: none;}
.page-numbers:hover,
.page-numbers.current { background-color: var(--sub);}

@media screen and (max-width:1024px){
  .header { height: auto; padding: 8px;}
  .header nav { width: 100%;}
  .header-inner { flex-direction: column; align-items: center;}
  .logo { margin-bottom: 8px;}
  .header-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 0;
    border: 1px solid var(--main);
    border-bottom: none;
    overflow: hidden;
    transition: all 0.5s ease;
  }
  .header-nav.hide { height: 0;}
  .header-nav.show { height: 83px;}
  .header-nav li { border-bottom: 1px solid var(--main); text-align: center;}
  .header-nav li:nth-child(odd) { border-right: 1px solid var(--main);}
  .header-nav a,
  .header-nav .member a { padding: 8px; border-radius: 0;}
  .banner-box { grid-template-columns: repeat(2, 1fr);}
  .article-box { display: block;}
  .article-main, .article-sub { max-width: 100%;}
  .movie-box { display: grid; column-gap: 4%; row-gap: 24px; grid-template-columns: repeat(2, 1fr);}
  .page-inner { padding: 40px 5%;}
  .shop-box { grid-template-columns: 1fr; row-gap: 24px;}
  .coupon-box { grid-template-columns: repeat(2, 1fr);}
}