/*
Theme Name: オリジナルテンプレート
Description: オリジナルテンプレート
Version: 1.0
Author: miraiy
Author URI: https://wp.miraiy.com/

@charset "utf-8";

/*!
 * reset.css • v4.0.0
 * MIT License
 * github.com/filipelinhares/ress
 */html{box-sizing:border-box;-webkit-text-size-adjust:100%;word-break:normal;-moz-tab-size:4;tab-size:4}*,:after,:before{background-repeat:no-repeat;box-sizing:inherit}:after,:before{text-decoration:inherit;vertical-align:inherit}*{padding:0;margin:0}hr{overflow:visible;height:0;color:inherit}details,main{display:block}summary{display:list-item}small{font-size:80%}[hidden]{display:none}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}a{background-color:transparent}a:active,a:hover{outline-width:0}code,kbd,pre,samp{font-family:monospace,monospace}pre{font-size:1em}b,strong{font-weight:bolder}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:inherit;text-indent:0}input{border-radius:0}[disabled]{cursor:default}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}textarea{overflow:auto;resize:vertical}button,input,optgroup,select,textarea{font:inherit}optgroup{font-weight:700}button{overflow:visible}button,select{text-transform:none}[role=button],[type=button],[type=reset],[type=submit],button{cursor:pointer;color:inherit}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button:-moz-focusring{outline:1px dotted ButtonText}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}button,input,select,textarea{background-color:transparent;border-style:none}a:focus,button:focus,input:focus,select:focus,textarea:focus{outline-width:0}select{-moz-appearance:none;-webkit-appearance:none}select::-ms-expand{display:none}select::-ms-value{color:currentColor}legend{border:0;color:inherit;display:table;white-space:normal;max-width:100%}::-webkit-file-upload-button{-webkit-appearance:button;color:inherit;font:inherit}img{border-style:none}progress{vertical-align:baseline}[aria-busy=true]{cursor:progress}[aria-controls]{cursor:pointer}[aria-disabled=true]{cursor:default}


/* 共通部分 */
html {
  font-size: 100%;
}
body, a {
  font-family: 'Avenir','Helvetica Neue','Helvetica','Arial','Hiragino Sans','ヒラギノ角ゴシック',YuGothic,'Yu Gothic','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic';
  line-height: 1.7;
  color: rgb(0, 0, 0);
}

h2 {
  font-size: 4rem;
}
@media (max-width: 600px) {
  h2 {
    font-size: 2.5rem;
  }
}

h3 {
  font-size: 1.5rem;
}
@media (max-width: 600px) {
  h3 {
    font-size: 1.2rem;
  }
}

a {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  object-fit: contain;
  vertical-align: bottom;
}
.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4%;
}

.button {
  /* display: inline; */
  font-size: 1rem;
  border: solid 1px rgba(122, 122, 122, 0.8);
  border-radius: 3px;
  padding: 0.5rem 1.2rem;
  margin-left: auto;
  margin-right: auto;
}

/* 大きな背景画像 */
.big_bg {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}



/* ヘッダー */
#page_header {
  position: sticky;  
  top: 0;
  left: 0;
  width: 100%;  
  background-color: rgba(252,252,252,.95);
  z-index: 90;
}

#page_header .top_most {
  z-index: 9999;
}

.container, .wrap_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wrap_container {
  flex-wrap: wrap;
}


.grid_container {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 10px;
  margin-bottom: 20px;
}


.logo {
  height: 40px;
  margin: 5px 0;
}


.breadcrumb {
  font-size: .8em;
  padding: .5rem 0;
}




/* ヘッダーのナビ */
@media (max-width: 600px) {
  .header_nav {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    /* transform: translateX(100%); */
    background-color: rgba(255, 255, 255, 1);
    transition: ease .3s;
  }
}

.header_nav ul {
  display: flex;
  height: 100%;
  padding: 0;
  font-size: 1.0rem;
  list-style: none;
}
@media (max-width: 600px) {
  .header_nav ul {
    position: absolute;
    flex-direction: column;
    left: 50%;
    transform: translateX(-50%);
    margin: 80px 0 0 0;
    padding-left: 0;
    width: 90%;
  }

}
.header_nav li a {
  margin-left: 36px;
  text-align: center;
  color: rgb(50, 50, 50);
}
@media (max-width: 600px) {
  .header_nav li a {
    display: block;
    width: 100%;
    border-bottom: solid 1px rgb(221, 221, 221);
    margin-left: 0%;
    padding: 5px;
    font-size: 1.2rem;
  }
}
.header_nav li a:hover {
  text-decoration: underline;
}


/* ハンバーガーメニュー */
.header_hamburger {
  display: none;
}
@media (max-width: 600px) {
  .header_hamburger {
    display: block;
    width: 24px;
    height: 100%;
    padding: 0;
    z-index: 9000;
  }

  /* ハンバーガーメニューの線 */
  .header_hamburger span {
    width: 100%;
    height: 2px;
    background-color: #000;
    position: relative;
    transition: ease .0s;
    display: block;
  }

  .header_hamburger span:nth-child(1) {
    top: 0;
  }

  .header_hamburger span:nth-child(2) {
    margin: 7px 0;
  }

  .header_hamburger span:nth-child(3) {
    top: 0;
  }
}

/* ハンバーガーメニュークリック後 */
@media (max-width: 600px) {
  .header_nav.active {
    visibility: visible;
	  opacity: 1;
    /* transform: translateX(0); */
  }

  .header_hamburger.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
  }

  .header_hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .header_hamburger.active span:nth-child(3) {
    top: -9px;
    transform: rotate(-45deg);
  }
}


/* フッター */
footer {
  text-align: center;
  padding: 26px 0;
}
footer p {
  font-size: 0.875rem;
}


/* サイドバー */
.sidebar_widgets {
  list-style: none;
}

/* サイドバー カレンダー用 */
.sidebar_widgets td a {
  font-weight: bold;
}

#wp-calendar td:last-of-type,
#wp-calendar td:last-of-type a,
#wp-calendar th:last-of-type {
  color: red;
}


/* ページ全体 */
.bk_gray {
  background-color: rgb(252, 252, 252);
}


/* 文字装飾 */
.text_align_center {
  text-align: center;
}

.both_ends_lines {
  /* text-align: center; */
  position: relative;
  display: inline-block;
  width: auto;
  padding: 0 50px;
}
.both_ends_lines::before, .both_ends_lines::after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: black;
}
.both_ends_lines::before {
  left: 0;
}
.both_ends_lines::after {
  right: 0  
}


/* WordPress共通 */
/* カテゴリー */
ul.post-categories {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.post-categories > li {
  display:inline-block;
  background-color: rgb(241, 241, 241);
  font-size: 0.7rem;
  padding: 0 8px;
}


/* front-page.php */
#home_image {
  background-image: url(images/top_image.jpg);
  height: 80vh;
  min-height: 300px;
  position: relative;
  margin-bottom: 60px;
}
@media (max-width: 600px) {
  #home_image{
    margin-bottom: 30px;
  }
}

.home .main_box {
  padding-bottom: 15px;
  margin-bottom: 60px;
}
@media (max-width: 600px){
  .home .main_box {
    padding-bottom: 10px;
    margin-bottom: 50px;
  }
}

.front-page h4 {
  font-weight: bold;
}

/* front-page.php ここまで */


/* menu */
#menu_main {
  background-image: url(images/menu_image.jpg);
  background-color: rgba(0, 0, 0, .2);
  background-blend-mode: darken;
  height: 80vh;
  min-height: 300px;
  position: relative;
  padding-top: 80px;
  margin-bottom: 60px;
  /* overflow: hidden; */
}
@media (max-width: 600px) {
  #menu_main {
    margin-bottom: 30px;
  }
}

#menu_main h2, #menu_main p {
  text-align: center;
  color: white;
}
#menu_main p {
  font-size: 1.125rem;
}


.menu_contents {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  margin-top: 10px;
  margin-bottom: 30px;
}

.menu_content {
  display: flex;
  width: 100%;
  padding: 10px;
  overflow: hidden;
  box-shadow: 0 0 2px rgba(122, 122, 122, 0.8);
}
@media (max-width: 600px) {
  .menu_contents {
    grid-template-columns: repeat(1, 1fr);
  }
  .menu_content {
    flex-direction: column;
    align-items: center;
  }
}

.menu_image {
  display: block;
  order: 1;
  max-width: 50%;
}

.menu_description {
  order: 2;
  flex-grow: 1;
  padding: 10px;
}
.menu_description h3 {
  border-bottom: solid 2px black;
  margin-bottom: 10px;
}
.menu_description p {
  font-size: 0.7rem;
}

@media (max-width: 600px) {
  .menu_image {
    max-width: 100%;
  }
  .menu_description {
    width: 100%;
  }
}
/* menuここまで */


/* access */
#access_main {
  background-image: url(images/shop.jpg);
  background-color: rgba(0, 0, 0, .2);
  background-blend-mode: darken;
  height: 300px;
  max-height: 100vh;
  position: relative;
  padding-top: 80px;
  margin-bottom: 60px;
  overflow: hidden;
}
@media (max-width: 600px) {
  #access_main {
    margin-bottom: 30px;
  }
}

#access_main h2
, #access_main p {
  text-align: center;
  color: white;
}
#access_main p {
  font-size: 1.125rem;
}

/* location */
#location {
  display: flex;
  justify-content: space-between;
}
.location_info {
  width: 30%;
}
.location_info h3 {
  border-bottom: solid 2px black;
  margin-bottom: 10px;
}
.location_info p {
  padding: 12px 10px;
}
.location_map {
  width: 65%;
}
.location_map iframe {
  width: 100%;
}

@media (max-width: 600px) {
  #location {
    flex-direction: column;
  }
  .location_info
  ,.location_map {
    width: 100%;
  }
}
/* access ここまで */


/* single.php
, aside.php
, contents 一般 */
.single_contents
,.page_contents
, .contents {
  margin-top: 20px;
  margin-bottom: 50px;
}

.single_contents article header
,.page_contents article header {
  padding-bottom: 20px;
  border-bottom: solid 1px black;
  margin-bottom: 20px;
}

.single_contents article h1,
.page_contents article h1 {
  font-size: 1.5rem;
}

.single_contents article .post_date
,.page_contents article .post_date {
  display: inline-block;
  font-size: 0.8rem;
}

.single_contents article .post_thumb
,.page_contents article .post_thumb {
  margin-bottom: 20px;
}
.single_contents article .post_thumb img
,.page_contents article .post_thumb img {
  max-height: 300px;
}


/* single.php */
.single_contents {
  display: flex;
  top: 0;
  justify-content: space-between;
}
.single_contents main {
  width: 74%;
  order: 1;
}
.single_contents aside {
  position: sticky;
  top: 60px;
  align-self: flex-start;
  width: 22%;
  padding-top: 20px;
  order: 2;
}

.single_contents aside .aside_title {
  font-size: 1rem;
}

@media (max-width: 600px) {
  .single_contents {
    flex-direction: column;
  }
  .single_contents main
  ,.single_contents aside {
    width: 100%
  }
}


/* archive.php, searach.php */
.archive_contents {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  margin-bottom: 50px;
}
.archive_contents main {
  width: 74%;
  order: 1;
}
.archive_contents aside {
  position: sticky;
  top: 60px;
  align-self: flex-start;
  width: 22%;
  padding-top: 20px;
  order: 2;
}
@media (max-width: 600px) {
  .archive_contents {
    flex-direction: column;
  }
  .archive_contents main
  ,.archive_contents aside {
    width: 100%
  }
}

.archive_loop {
  margin-top: 20px;
  margin-bottom: 20px;
}
.archive_contents h1 {
  font-size: 1.1rem;
}
.archive_contents h2 {
  font-size: 1rem;
}
.archive_item {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px;
  margin-bottom: 20px;
  box-shadow: 0 0 2px rgba(122, 122, 122, 0.8);
}
.archive_item a {
  display: block;
  height: 100%;
  text-decoration: none;
}
.archive_item .content_header {
  display: flex;
  justify-content: space-between;
}
.archive_item .post_date {
  display: inline-block;
  font-size: 0.7rem;
}
.archive_item .post_thumb img {
  height: 100px;
}
.archive_item .excerpt {
  font-size: 0.75rem;
}

.archive_contents aside .aside_title {
  font-size: 1rem;
}

/* archive.php ここまで */


/* archive pagination */
.nav-links {
  text-align: center;
  margin-bottom: 30px;
}

.page-numbers {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  text-align: center;
  margin: 0 3px;
  font-weight: 500;
}

a.page-numbers:hover {
  background-color: transparent;
  /* color: #FFF; */
}

.page-numbers.current {
  /* background-color: #f0264b; */
  color: rgb(128, 128, 128);
}


/* searchform.php */
.searchform {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 20px auto 30px auto;
  width: 100%;
}
label[for="searchword"] {
  display: none;
}
.search_text {
  font-size: 0.75rem;
  flex-grow: 1;
  flex-shrink: 1;
  background: rgba(255,255,255,.8);
  border: 0.5px rgb(128, 128, 128) solid;
  border-radius: 0;
  -webkit-appearance: none;
  padding: 0px 6px;
  margin-right: 0.2rem;
}
@media (max-width: 600px) {
  .search_text {
    font-size: 16px;
  }
}
.search_button{
  font-size: 0.75rem;
  border: solid 1px rgba(122, 122, 122, 0.8);
  border-radius: 3px;
  padding: 0.1rem 1rem;
  margin: 6px auto;
}

/* #searchform 検索フィールド ここまで */