/*
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);
}

a {
  color: rgb(26, 12, 171);
  text-decoration: none;
  position: relative;
}
a:hover {
  text-decoration: underline;
}
a[target="_blank"]::after{
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(images/Icon_NewTab.png);
  background-size: contain;
  vertical-align: middle;
}


@media(min-width: 768px){
  a[href^="tel:"]{
    pointer-events: none;
  }
}


h1 {
  font-size: 1.8rem;
}
h2 {
  font-size: 1.5rem;
}
h3 {
  font-size: 1.3rem;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 176, 80);
  padding-left: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 600px) {
  h1 {
    font-size: 1.5rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  h3 {
    font-size: 1.2rem;
  }
}

img {
  max-width: 100%;
  object-fit: contain;
  vertical-align: bottom;
}

ul {
  list-style-type: disc;
  padding-left: 20px;
}

li {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem
}

ul li ul {
  list-style-type: circle;
}

.wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 4%;
}

.cl_black {
  color: rgb(0, 0, 0);
}
.cl_white {
  color: rgb(250, 250, 250);
}

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

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


/* アイコン */
.phone {
  display: inline-block;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}
.phone::before
, .phone_white::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  padding-right: 1.8rem;
}
.phone::before {
  background-image: url(images/phone_icon.svg);
}
.phone_white::before {
  background-image: url(images/phone_white_icon.svg);
}

.mail {
  display: inline-block;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}
.mail::before
, .mail_white::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  padding-right: 1.8rem;
}
.mail::before {
  background-image: url(images/mail_icon.svg);
}
.mail_white::before {
  background-image: url(images/mail_white_icon.svg);
}



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

.header_blog_button {
  display: block;
  font-size: 1rem;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 176, 80);
  border: solid 1px rgba(122, 122, 122, 0.8);
  border-radius: 3px;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  line-height: 1;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.header_message {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  line-height: 1.2;
}

.header_message p {
  font-size: 0.8rem;
  color: #6f4b3e;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.header_message_comment{
  flex-grow: 10;
}

.header_message_contact {
  text-align: right;
  display: flex;
  align-items: center;
  margin: 0 0 0 auto;
}

.header_message_contact .phone {
  font-size: 0.8rem;
}
.header_message_contact .phone::before {
  padding-right: 0;
}


.header_access_button
,.header_contact_button {
  display: inline-block;
  font-size: 1rem;
  color: rgb(0, 0, 0);
  border: solid 1px rgba(122, 122, 122, 0.8);
  border-radius: 3px;
  padding: 0.3rem 1.2rem;
  margin-right: auto;
  margin-bottom: 10px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.header_access_button {
  margin-left: 15px;
}
.header_contact_button {
  margin-left: 6px;
}

@media (max-width: 850px) {
  .header_message {
    flex-direction: column;
  }

  .header_access_button
  ,.header_contact_button {
    padding: 0.2rem 0.5rem;
    margin-top: 8px;
  }
  .header_access_button {
    margin-left: 25px;
  }
  .header_contact_button {
    margin-left: 6px;
  }
}

@media (max-width: 380px) {
  .header_contact_button {
    display: none;
  }
}



.logo_container {  
  margin: 0 0 10px 0;
  flex-shrink: 1;
}

.logo {
  height: 60px;
}
@media (max-width: 600px) {
  .logo {
    height: 50px;
  }
}



.header_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 5px;;
}


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




/* 
パンくずリスト
*/
.breadcrumb {
  display: flex;
  font-size: .8em;
  padding: .5rem 0;
  overflow-x: auto;
}

.breadcrumb_item {
  padding-left: 5px;
  padding-right: 5px;
}
.breadcrumb_item_home {
  padding-right: 5px;
}

.breadcrumb::-webkit-scrollbar {
  height: 5px; /* スクロールバーの高さ */
}
 
.breadcrumb::-webkit-scrollbar-thumb {
  background: rgb(120, 120, 120); /* ツマミの色 */
  border-radius: 7px; /* ツマミ両端の丸み */
}
 
.breadcrumb::-webkit-scrollbar-track {
  background: rgb(200, 200, 200); /* トラックの色 */
  border-radius: 7px; /* トラック両端の丸み */
}

.breadcrumb span {
  flex-shrink: 0;
}



/* 
ナビメニュー
 */
.nav {
  position: sticky;
  top: 60px;
}
@media (max-width: 600px) {
  .nav {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    /* transform: translateX(100%); */
    background-color: rgba(245, 245, 245, 1);
    transition: ease .3s;
  }
}

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

}


.nav li {
  font-weight: bold;
  /* display: flex;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 40px;
  height: 50px;
  line-height: 20px;
  padding: 0 12px;
  background-image: url(images/woodmenu.png); */
}
/* .nav li:nth-child(odd) {
  background-image: url(images/woodmenu1.png);
}
.nav li:nth-child(even) {
  background-image: url(images/woodmenu2.png);
} */

.nav .top_separator {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgb(210, 210, 210);
}

.nav li a {
  display: block;
  color: rgb(0, 0, 0);
  /* flex-grow: 1; */
  line-height: 35px;
}
@media (max-width: 600px) {
  .nav li a {
    display: block;
    font-size: 1.2rem;
    text-align: center;
    width: 100%;
    margin-left: 0%;
    padding: 5px;
  }
}
.nav li a:hover {
  color: rgb(0, 176, 80);
  text-decoration: underline;
}

@media (min-width: 601px) {
  .nav li a.current_page {
    color: rgb(0, 176, 80);
  }
}


/* ハンバーガーメニュー */
.header_hamburger {
  display: none;
}
@media (max-width: 600px) {
  .header_hamburger {
    display: block;
    flex-shrink: 0;
    width: 24px;
    height: 100%;
    padding: 0;
    margin-left: 10px;
    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) {
  .nav.active {
    visibility: visible;
	  opacity: 1;
    overflow: scroll;
    /* 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: 20px 0;
}
footer p {
  font-size: 0.875rem;
}



/* modalイメージ */
.modal_wrapper {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
  pointer-events: none;
  opacity: 0;
  transition: 0.25s ease-out;
  padding: 0 4%;
  z-index: 8000;
}

.modal_wrapper.show {
  opacity: 1;
  pointer-events: all;
}

.modal_image {
  position: fixed;
  inset: 0;
  margin: auto;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  opacity: 0;
  transition: 0.5s ease-out;
}
.modal_image.show {
  opacity: 1;
  cursor: pointer;
}

.modal_previous
,.modal_next {
  position: fixed;
  top: 0;
  bottom: 0;
  margin: auto;
  border: solid 1px rgba(122, 122, 122, 0.8);
  background-color: rgba(250, 250, 250, 0.9);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  cursor: pointer;
}
.modal_previous {
  left: 3%;
}
.modal_next {
  right: 3%;
}

.modal_previous::before
, .modal_next::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: cover    ;
  background-position: center center;
  vertical-align: middle;
}
.modal_previous::before{
  background-image: url(images/leftarrow_icon.svg);
}
.modal_next::before{
  background-image: url(images/rightarrow_icon.svg);
}

@media (max-width: 600px) {
  .modal_wrapper {
    /* display: initial; */
    flex-direction: column;
    justify-content: space-around;
    padding-top: 20%;
    padding-bottom: 20%;
  }
  .modal_image {
    max-width: 95%;
    max-height: 95%;
  }
  .modal_previous
  ,.modal_next {
    background-color: rgba(250, 250, 250, 0.5);
  }
}

.grayout {
  display: none;
  background-color: gray;
  cursor: default;
}



/* サイドバー */
.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;
}

/* セレクトボックスリンク */
.archive_formlink {
  margin-left: 0;
}
.archive_selectlink{
  margin: 0;
  padding: 10px;
  width: 100%;
  border: 2px #ddd solid;
  border-radius: 3px;
  background-color: #fff;
  cursor: pointer;
  -moz-appearance: auto;
  -webkit-appearance: auto;
  appearance: auto;
}

.archive_selectlink:hover{
  border: 2px #333 solid;
}


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




/*----------------------------
/* 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;
}

/* メディアとテキスト */
.wp-block-media-text {
  margin-bottom: 2rem;
}

/* メディア */
.wp-block-image
, .wp-block-gallery {
  padding-top: 15px;
  padding-bottom: 10px;
  margin-top: 0;
  margin-bottom: 0;
}

.wp-block-embed iframe {
  aspect-ratio: 16 / 9;
}


.wp-block-table table {
  width: auto;
}




/* タグ */
.tag {
  display: inline-block;
  margin-left: 10px;
}

.tag::before {
  content: '';
  display: inline-block;
  background-image: url(images/tag.svg);
  width: 10px;
  height: 10px;
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle; 
  padding-right: 12px;
}
.tag .tag_item {  
  display: inline-block;
  font-size: 0.8rem;
  /* border: 1px solid rgb(222, 222, 222); */
  border-radius: 4px;
  padding: 0 5px 0 1px;
}





/* ページ共通 */
.two_columns {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.two_columns main {
  order: 2;
  flex-grow: 1;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 5px;
  padding-left: 10px;
}
.two_columns nav {
  order: 1;
  width: 164px;
  flex-shrink: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 10px;
}

@media (max-width: 600px) {
  .two_columns {
    flex-direction: column;
  }
  .two_columns main {
    padding-left: 0;
  }
  .two_columns nav {
    width: auto;
    padding-right: 0;
  }
}


.contentsbox_shadow {
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.08);
  padding: 15px 20px;
  margin-bottom: 40px;
}

.contentsbox_m {
  padding-top: 15px;
  padding-bottom: 15px;
}


.button_bk_green {
  display: inline-block;
  color: white;
  background-color: rgb(0, 176, 80);
  border-radius: 20px;
  padding: 0.3rem 1rem;
  margin: 0.2rem 1.1rem;
}


/* page-home.php */
#home {
  margin-top: 5px;
  margin-bottom: 20px;
}

#home p {
  padding-top: 0.4rem;
  padding-bottom: 0.6rem;
}

.home_contents h1:nth-child(n+2) {
  padding-top: 20px;
  border-top: solid 1px black;
}

#home h2 {
  color: rgb(0, 176, 80);
}
#home a h2:hover {
  text-decoration: underline;
}

.home_blog_top {
  padding-bottom: 1rem;
}


.home_grid_container {
  display: grid;
  position: relative;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: 10px;
  margin-bottom: 10px;
}


.home_blog_content
, .home_blog_top_content {
  line-height: 1.2;
}

.home_blog_content .thumbnail
, .home_blog_top .thumbnail {
  display: block;
  padding-bottom: 0.2rem;
}

.home_blog_content .title_link
, .home_blog_top .title_link {
  display: inline-block;
  padding-top: 0;
}

.home_blog_content p
, .home_blog_top p {
  font-size: 1.0rem;
  line-height: 1.2;
  padding-top: 0.1rem;
}

.home_blog_content img
, .home_blog_top img {
  display: block;
  object-fit: cover;
  object-position: center center;
  aspect-ratio: 4 / 3;
}
.home_blog_content img {
  /* height: 125px; */
  width: 222px;
}
.home_blog_top img {
  width: 100%;
}

.home_blog_content .post_date
, .home_blog_top .post_date {
  display: inline-block;
  color: black;
  font-size: 0.8rem;
  margin-top: 5px;
}

.home_list dl {
  display: flex;
}
.home_list dl:nth-child(n+1) {
  margin-top: 5px;
}

.home_list dt {
  flex-shrink: 0;
  margin-right: 10px;
}


.home_more_button {
  display: inline-block;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 176, 80);
  border: solid 1px rgba(122, 122, 122, 0.8);
  border-radius: 3px;
  padding: 0.2rem 0.8rem;
  margin: 10px auto 10px auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


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





/* location
  link */

#location p
, #link p {
  padding: 12px 10px;
}

#location table
, #link table {
  border-collapse: collapse;
  margin: 2px 10px 30px 10px;
  max-width: 640px;
}

#location th, #location td
, #link th, #link td {
  font-size: 1.1rem;
  padding: 14px;
	text-align: left;
  font-weight: normal;
	border-bottom: 1px solid #646566;
}

#location td ul
, #link td ul {
  list-style-type: disc;
  padding-left: 20px;
}

#location iframe {
  width: 100%;
  margin-bottom: 40px;
}

#link h3 {
  color: rgb(255, 255, 255);
  background-color: rgb(0, 176, 80);
  padding-left: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}


/* ここまで 
  location
  link */



/* プロフィール */
.profile_container {
  display: flex;
  align-items: start;
}

.profile_image {
  flex-shrink: 0;
  width: 180px;
  pointer-events: none;
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  -moz-touch-callout:none;
  -moz-user-select:none;
  user-select:none;
}

.profile_message {
  margin-left: 20px;
}

@media (max-width: 700px) {
  .profile_container {
    flex-direction: column;
  }

  .profile_message {
    margin-top: 15px;
    margin-left: auto;
  }

}

/* ここまで プロフィール */



/* フォーム */
/* 問い合わせ */
form {
  margin-left: 15px;
}

label {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.contact_input {
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(128, 128, 128);
  padding: 5px;
  font-size: 1rem;
  width: 100%;
  max-width: 380px;
}

.contact_button {
  border: solid 1px rgba(122, 122, 122, 0.8);
  color: rgb(255, 255, 255);
  background-color: rgb(0, 176, 80);
  border-radius: 3px;
  padding: 0.5rem 2.5rem;
  cursor: pointer;
  line-height: 1;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* ここまで問い合わせ */



/* single.php
, aside.php */
.single_contents
,.page_contents {
  margin-top: 5px;
  margin-bottom: 20px;
}

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


.single_contents article h1,
.page_contents article h1 {
  padding-top: 0rem;
}

.page_contents article h2 {
  padding: 5px 0.5rem;
  border-left: 5px solid #000;
}

.single_contents article h2 {
  padding-top: 25px;
}

.single_contents article h3 {
  padding-top: 10px;
}


.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 {
  height: auto;
  /* max-height: 300px; */
}
.page_contents article .post_thumb img {
  height: auto;
  /* max-height: 500px; */
}


/* 上部のメディアで定義する */
/* .single_contents .wp-block-image
, .single_contents .wp-block-gallery
,.single_contents_asideType .wp-block-image
, .single_contents_asideType .wp-block-gallery
, .page_contents .wp-block-image
, .page_contents .wp-block-gallery {
  padding-top: 15px;
  padding-bottom: 10px;
  margin-top: 0;
  margin-bottom: 0;
} */


.single_contents article ol
,.single_contents article ul
,.page_contents article ol
,.page_contents article ul {
  list-style-position: outside;
  padding-left: 1.5rem;
}

.single_contents article li
, .page_contents article li {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}


.single_contents p
,.page_contents p {
  font-size: 1.1rem;
  padding-top: 0.4rem;
  padding-bottom: 0.6rem;
}

@media (max-width: 600px) {
  .single_contents p
  ,.page_contents p {
    font-size: 0.95rem;
    padding-top: 0.3rem;
    padding-bottom: 0.4rem;
  }

  .single_contents article li
  , .page_contents article li {
    font-size: 0.95rem;
  }
}




/* 
single.php
archive.php, searach.php 
*/
.archive_contents_navType
,.archive_contents_asideType
,.single_contents_navType
,.single_contents_asideType {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 5px;
  margin-bottom: 20px;
}

.archive_contents_navType main
,.archive_contents_asideType main
,.single_contents_navType main
,.single_contents_asideType main {  
  flex-grow: 1;
  width: 100%;
  padding-top: 5px;
  padding-bottom: 5px;
}
.archive_contents_navType main
,.single_contents_navType main {
  order: 2;
  padding-left: 10px;
}

.archive_contents_navType nav
,.single_contents_navType nav {
  order: 1;
  width: 164px;
  flex-shrink: 0;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 10px;
}

.archive_contents_asideType main 
,.single_contents_asideType main {
  order: 1;
  margin-right: 20px;
}

.archive_contents_asideType aside
,.single_contents_asideType aside {
  order: 2;
  width: 260px;
  flex-shrink: 0;  
  margin-top: 55px;
  margin-left: 20px;  
}

.single_paging a
, .single_paging_nolink {
  display: inline-block;
  font-size: 1rem;  
  border: solid 1px rgba(122, 122, 122, 0.8);
  border-radius: 3px;
  padding: 0.2rem 0.8rem;
  margin: 20px 10px 10px 10px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.single_paging a {
  color: rgb(0, 0, 0);
}
.single_paging_nolink {
  color: rgb(122, 122, 122);
}

.single_contents .wp-block-table {
  padding-top: 10px;
  padding-bottom: 15px;
}


.aside_contents {
  padding: 5px 10px 10px 10px;
  margin-bottom: 30px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 0 15px rgba(122, 122, 122, 0.1);
}

.aside_content {
  padding-top: 10px;
  padding-bottom: 10px;
}

.aside_blogIntroduction p {
  font-size: 0.75rem;
  padding: 0.2rem;
  margin: 0;
}

@media (max-width: 850px) {
  .archive_contents_asideType
  ,.single_contents_asideType {
    flex-direction: column;
  }
  .archive_contents_asideType main
  ,.single_contents_asideType main {
    margin-right: 0;
  }
  .archive_contents_asideType aside
  ,.single_contents_asideType aside {
    width: 100%;    
    margin-left: 0;
    margin-top: 60px;
  }

  .aside_contents {
    padding: 20px 20px 12px 20px;
  }
}

@media (max-width: 600px) {
  .archive_contents_navType
  ,.single_contents_navType {
    flex-direction: column;
  }
  .archive_contents_navType main
  ,.single_contents_navType main {
    padding-left: 0;
  }
  .archive_contents_navType nav
  ,.single_contents_navType nav {
    width: auto;
    padding-right: 0;
  }
}

.popular_articles_list li {
  list-style: none;
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgb(128, 128, 128);
}
.popular_articles_list li:nth-child(1) {
  padding-top: 8px;
}
.popular_articles_list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.popular_articles_list li img {
  display: block;
  width: 600px;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.popular_articles_list li p
, .popular_articles_list li p a {
  line-height: 1.2;
  margin-top: 8px;
}


.archive_loop {
  margin-top: 10px;
  margin-bottom: 20px;
}
.archive_contents_navType h1
, .archive_contents_asideType h1 {
  font-size: 1.1rem;
  line-height: 1.4;
}
.archive_contents h2 {
  font-size: 1rem;
}
.archive_item {
  background-color: rgb(255, 255, 255);
  box-shadow: 0 0 15px rgba(122, 122, 122, 0.1);
  display: flex;
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 15px;
  margin-bottom: 20px;
}
.archive_item.latest {
  flex-direction: column;
}

.archive_item_link {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  text-decoration: none;
}
.archive_item .content {
  padding-left: 10px;
  flex-grow: 1;
}
.archive_item .post_date {
  display: inline-block;
  font-size: 0.8rem;
}
.archive_item .post_thumb img {
  width: 250px;
  max-width: none;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.archive_item.latest .post_thumb img {
  width: 100%;
  margin-bottom: 0.8rem;
}
@media (max-width: 500px) {
  .archive_item {
    flex-direction: column;
  }

  .archive_item .post_thumb img {
    width: 100%;
    margin-bottom: 10px;
  }
}

.archive_item .excerpt {
  font-size: 0.8rem;
}

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


.archive_nav_content {
  margin-top: 18px;
  margin-bottom: 18px;
}
.aside_content h3 {
  line-height: 1.2;
  padding: 0.3rem;
  margin-bottom: 0.3rem;
  color: white;
  background-color: rgb(0, 176, 80);
}
.aside_content h3 a {
  display: block;
  line-height: 1.2;
  color: white;
}


.aside_list_tag {
  display: inline-block;
  padding-right: 10px;
}

.aside_list li {
  padding: 0px 8px;
}
.aside_list li a {
  display: block;
  line-height: 1.5;
}

/* archive.php ここまで */




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

.page-numbers {
  position: relative;
  display: inline-block;
  height: 40px;
  min-width: 20px;
  line-height: 40px;
  text-align: center;
  /* border: 1px solid rgb(127, 127, 127); */
  /* border-radius: 0.2rem; */
  padding: 0 0.3rem 0 0.3rem;
  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);
}

.prev.page-numbers {
  padding-left: 20px;
}
.prev.page-numbers::before {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border-top: solid 2px rgb(26, 12, 171);
  border-right: solid 2px rgb(26, 12, 171);
  transform: rotate(225deg);
  position: absolute;
  top: 50%;
  left: 0;
}

.next.page-numbers {
  padding-right: 20px;
}
.next.page-numbers::after {
  content: '';
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border-top: solid 2px rgb(26, 12, 171);
  border-right: solid 2px rgb(26, 12, 171);
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 0;
}


/* searchform.php */
.searchform {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 0;
  width: 100%;
  max-width: 350px;
}
label[for="searchword"] {
  display: none;
}

.search_text {
  font-size: 1rem;
  flex-grow: 1;
  flex-shrink: 1;
  background: rgba(255,255,255,.8);
  border: 1px rgb(128, 128, 128) solid;
  border-radius: 0;
  -webkit-appearance: none;
  padding: 3px 6px;
  margin-right: 0.2rem;
  width: 175px;
}
@media (max-width: 600px) {
  .search_text {
    font-size: 16px;
  }
}
.search_button{
  font-size: 1rem;
  border: 1px solid rgba(122, 122, 122, 0.8);
  border-radius: 3px;
  padding: 3px 0.6rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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



/* ゴルフサービス */
.golf_service {
  
}
.golf_service .container {
  display: flex;
  align-items: start;
  padding-top: 0px;
  padding-bottom: 15px;
}

.golf_service .container .description
,.golf_service .container .picture {
  flex-grow: 1;
}
.golf_service .container .description {
  padding-right: 10px;
  width: 60%;
}
.golf_service .container .picture {
  padding-left: 10px;
  width: 40%;
}
.golf_service .container .picture img {
  width: 100%;
  border: 1px solid gray;
  margin-bottom: 12px;
}
@media (max-width: 900px) {
  .golf_service .container {
    flex-direction: column;
  }
  .golf_service .container .description
  ,.golf_service .container .picture {
    width: 100%;
  }
  .golf_service .container .description {
    order: 2;
    padding-top: 10px;
    padding-right: 0;
  }
  .golf_service .container .picture {
    order: 1;
    padding-left: 0;
  }
}

/* ゴルフサービス　ここまで */