@charset "utf-8";
/*
Theme Name: grits THEME
Author: grits
Version: 1.0.0
*/
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);
@import url('https://fonts.googleapis.com/css2?family=Funnel+Sans:ital,wght@0,300..800;1,300..800&family=Shippori+Mincho&family=Zen+Kaku+Gothic+Antique&display=swap');
/******************************************************
基本設定
******************************************************/
:root {
  --white: #fff; /* 白 */
  --main-color: #a79985cc; /* メインカラー */
  --sub-color: #6f808d; /* サブカラー */
  --bg-color: #f6f4f1; /* 背景色1（基本的にメインカラーと同じ） */
  --bg-high-color: #f6f4f1; /* 背景色2 */
  --inner-size: 1300px; /* インナー */
  --text-size-pc: 1.6rem; /* フォントサイズ */
  --text-size-sp: 1.4rem; /* フォントサイズ */
  --text-color: #4b4a51; /* テキストカラー（通常） */
  --text-high-color: #fff; /* テキストカラー（背景あり） */
  --text-space: 0; /* フォントの間隔 */
  --text-weight: 400; /* フォントの太さ */
  --text-weight-bold: 600; /* フォント（太字）の太さ */
  --text-weight-black: 900; /* フォント（超太字）の太さ */
  --border-color: #ccc; /* 線の色 */
  --sans: "Zen Kaku Gothic Antique", sans-serif; /* ゴシック体 */
  --serif: "Shippori Mincho", serif; /* 明朝体 */
  --catch: "Zen Kaku Gothic Antique", sans-serif;
  --alphabet: "Shippori Mincho", serif; /* 英語フォント */
}
/******************************************************
リセット
******************************************************/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
  font-weight: var(--text-weight);
	font: inherit;
	vertical-align: baseline;
	font-family: var(--serif);
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
html, body {
  margin: 0;
	padding: 0;
	border: 0;
  color: var(--text-color);
	font-size: 100%;
  font-weight: var(--text-weight);
	font: inherit;
	vertical-align: middle;
  word-break: break-all;
}
html {
  font-size: 62.5%;
}
body {
  position: relative;
  font-size: var(--text-size-pc);
  line-height: 2;
  font-weight: var(--text-weight);
  letter-spacing: var(--text-space);
  font-family: var(--sans);
}
@media screen and (max-width:767px) {
  body {
    font-size: var(--text-size-sp);
  }
}
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-size: 100%;
  font-weight: var(--text-weight);
  line-height: 1.5;
}
table, th, td {
  border-collapse: collapse;
  font-weight: var(--text-weight);
}
dl, dt, dd {
  margin: 0;
  padding: 0;
}
p, ul, ol, li {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul, ol {
  text-align: left;
}
img {
  max-width: 100%;
	height: auto;
  vertical-align: middle;
}
a {
  color: var(--text-color);
  text-decoration: none;
  vertical-align: baseline;
  border:　none;
  outline:　none;
}
span {
  vertical-align: baseline;
}
*:focus {
  outline: none;
}
/******************************************************
iPhoneリセット
******************************************************/
input,textarea,select {
  font-family: var(--sans);
}
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}
input[type=text],
input[type=email],
input[type=tel],
textarea,
select {
  font-size: 1.6rem;
  font-family: var(--sans);
  outline: none;
  -webkit-appearance:none;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--border-color);
  box-sizing: border-box;
}
/******************************************************
animate.css カスタマイズ
******************************************************/
@keyframes fadeInUp30 {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fadeInUp30 {
  animation-name: fadeInUp30;
  animation-duration: 1s;
}
@keyframes zoomUp {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/******************************************************
iPhoneリセット
******************************************************/
.clearfix:after,
.inner:after,
.box:after {
  content: "";
  display: block;
  height: 0;
  font-size: 0;
  line-height: 0;
  clear: both;
  visibility: hidden;
}
/******************************************************
レスポンシブ
******************************************************/
.pc, .tab, .sp {display: none;}
.inner {position: relative;}
@media screen and (max-width: 767px){
  .inner {
    margin: 0 1.5rem;
  }
  .sp {display: block;}
  .sp-left {text-align:left!important;}
  .sp-right {text-align:right!important;}
  .sp-center {text-align:center!important;}
}
@media screen and (min-width: 768px) {
  .inner {
    width: var(--inner-size);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5rem;
    box-sizing: border-box;
  }
  .pc {display: block;}
  .pc-left {text-align:left!important;}
  .pc-right {text-align:right!important;}
  .pc-center {text-align:center!important;}
}
/******************************************************
基本フォント
******************************************************/
.sans {
  font-family: var(--sans);
}
.serif {
  font-family: var(--serif);
}
.bold {
  font-weight: var(--text-weight-bold);
}
/******************************************************
パンくず
******************************************************/
#breadcrumb {
  padding: 1.2em 0;
}
#breadcrumb br {
  display: none;
}
#breadcrumb li {
  display: inline-block;
  color: var(--text-color);
}
@media screen and (max-width:767px) {
  #breadcrumb li {
    font-size: 1.2rem;
  }
}
#breadcrumb li a {
  color: var(--main-color);
}
#breadcrumb li a:hover {
  color: var(--main-color);
}
#breadcrumb li a.breadcrumb_home:before {
  content: "\f015";
  font-family: "FontAwesome";
  margin-right: .5em;
}
#breadcrumb li:after {
  content: "\f105";
  font-family: "FontAwesome";
  margin: 0 .5em;
}
#breadcrumb li:last-child:after {
  content: none;
  margin: 0;
}
/******************************************************
ページネーション
******************************************************/
#pagination {
  margin-top: 3rem;
}
#pagination ul {
  text-align: center;
}
#pagination li {
  display: inline-block;
  margin-right: .3rem;
  font-size: 1.2rem;
}
#pagination li:last-child {
  margin-right: 0;
}
#pagination li a,
#pagination li span {
  display: block;
  width: 3rem;
  height: 3rem;
  color: var(--text-color);
  line-height: 3rem;
  background: var(--border-color);
}
#pagination li a:hover {
  color: var(--white);
  background: var(--main-color);
}
#pagination li span.current {
  color: var(--white);
  background: var(--main-color);
}
#pagination li span.dots {
  color: var(--text-color);
  background: none;
}
/******************************************************
フッター
******************************************************/
@media screen and (min-width:1240px) {
  /* コピーライト */  
  #copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    height: 10rem;
    font-family: var(--serif);
    line-height: 1;
    background: var(--main-color);
  }
  #copyright span.logo:after {
    display: inline-block;
    content: "";
    width: 1px;
    margin: 0 1em;
    height: 1em;
    background: var(--white);
    vertical-align: middle;
  }
  #copyright span.logo img {
    width: auto;
    height: 4rem;
  } 
  /* トップに戻る */
  #page_top {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 50;
  }
  #page_top a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 6rem;
    height: 6rem;
    color: var(--white);
    font-size: 1.4rem;
    text-decoration: none;
    border-radius: 50%;
    background: var(--sub-color);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;   
  }  
  #page_top a:before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    content: "";
    width: 10px;
    height: 1px;
    margin-top: -3px;
    transform-origin: top left;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
    background: var(--white);
  }
  #page_top a:after {
    position: absolute;
    top: 50%;
    right: 50%;
    display: block;
    content: "";
    width: 10px;
    height: 1px;
    margin-top: -3px;
    transform-origin: top right;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: var(--white);
  }     
  #page_top a:hover {
    opacity: .7;
  }  
  
}
@media screen and (max-width:1239px) {
  #footer {
    padding-bottom: 6rem;
  }
  /* コピーライト */  
  #copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    height: 7rem;
    font-family: var(--serif);
    line-height: 1;
    background: var(--sub-color);
  }
  #copyright span.logo:after {
    display: inline-block;
    content: "";
    width: 1px;
    margin: 0 1em;
    height: 1em;
    background: var(--white);
    vertical-align: middle;
  }
  #copyright span.logo img {
    width: auto;
    height: 4rem;
  } 
  /* トップに戻る */
  #page_top {
    display: none;
    position: fixed;
    bottom: 7rem;
    right: 1rem;
    z-index: 50;
  }
  #page_top a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 5rem;
    height: 5rem;
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 50%;
    background: var(--sub-color);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }  
  #page_top a:before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    content: "";
    width: 10px;
    height: 1px;
    margin-top: -3px;
    transform-origin: top left;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
    background: var(--white);
  }
  #page_top a:after {
    position: absolute;
    top: 50%;
    right: 50%;
    display: block;
    content: "";
    width: 10px;
    height: 1px;
    margin-top: -3px;
    transform-origin: top right;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: var(--white);
  }     
  #page_top a:hover {
    opacity: .7;
  }  
  
}
/******************************************************
ヘッダー
******************************************************/
@media screen and (min-width:1240px) {
  #header {
    height: 140px;
  }
  #h_cover {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 2rem;
    background: var(--white);
    box-sizing: border-box;
    z-index: 100;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;       
  }
  #h_cover.active {
    padding: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
  }
  #h_logo {
    box-sizing: border-box;
  }
  #h_logo img {
    width: auto;
    height: 100px;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #h_cover.active #h_logo img {
    height: 8rem;
  }
  #h_data {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  #h_address {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-right: 4rem;
    padding-left: 50px;
    line-height: 1.5;
  }
  #h_address:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 40px;
    height: 40px;
    margin-top: -20px;
    background: url(/wp-content/uploads/images/icon_access.webp) center center no-repeat;
    background-size: contain;
  }
  #h_btn {
    display: flex;
    flex-wrap: wrap;
  }
  #h_btn .btn {
    margin-left: 1rem;
  }
  #h_btn .btn a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 60px;
    color: var(--white);
    text-align: center;
    line-height: 1;
    border-radius: 30px;
    background: var(--main-color);
  }
  
  #h_btn .btn a.tel:before {
    display: block;
    content: "";
    width: 1.2em;
    height: 1.2em;
    margin-right: .5em;
    line-height: 1;
    background: url(/wp-content/uploads/images/icon_tel.webp) center center no-repeat;
    background-size: contain;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }  
  #h_btn .btn a.web:before {
    display: block;
    content: "";
    width: 1.2em;
    height: 1.2em;
    margin-right: .5em;
    line-height: 1;
    background: url(/wp-content/uploads/images/icon_web.webp) center center no-repeat;
    background-size: contain;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }    
}
@media screen and (max-width:1239px) {
  #header {
    height: 7rem;
  }
  #h_cover {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem;
    background: var(--white);
    box-sizing: border-box;
    z-index: 100;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;           
  }
  #h_cover.active {
    box-shadow: 0 0 10px rgba(0,0,0,.1);
  }
  #h_logo {
    box-sizing: border-box;
  }
  #h_logo img {
    width: auto;
    height: 50px;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #h_data {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  #h_address {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-right: 1.5rem;
    padding-left: 40px;
    font-size: 1.2rem;
    line-height: 1.5;
  }
  #h_address:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 30px;
    height: 30px;
    margin-top: -15px;
    background: url(/wp-content/uploads/images/icon_access.webp) center center no-repeat;
    background-size: contain;
  }
  #h_btn {
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  #h_btn .btn {
    width: 50%;
    box-sizing: border-box;
  }
  #h_btn .btn:nth-child(n+2) {
    border-left: 1px solid var(--border-color);
  }
  #h_btn .btn a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    color: var(--white);
    text-align: center;
    line-height: 1;
    background: var(--main-color);
  }
  
  #h_btn .btn a.tel:before {
    display: block;
    content: "";
    width: 1.2em;
    height: 1.2em;
    margin-right: .5em;
    line-height: 1;
    background: url(/wp-content/uploads/images/icon_tel.webp) center center no-repeat;
    background-size: contain;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }  
  #h_btn .btn a.web:before {
    display: block;
    content: "";
    width: 1.2em;
    height: 1.2em;
    margin-right: .5em;
    line-height: 1;
    background: url(/wp-content/uploads/images/icon_web.webp) center center no-repeat;
    background-size: contain;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }  
  
}
/******************************************************
タイトル
******************************************************/
@media screen and (min-width:1240px) {
  .main_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 6rem;
    letter-spacing: .2em;
  }
  .main_title .eng {
    color: var(--main-color);
    font-size: 6rem;
    font-family: var(--alphabet);
  }
  .main_title .jap {
    font-size: 2rem;
    font-family: var(--serif);
  }
  .sub_title {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
  }
  .sub_title .jap {
    font-size: 4.2rem;    
    font-family: var(--serif);
  }
  .sub_title .eng {
    position: relative;
    padding-left: 1.5em;
    font-size: 1.6rem;
    font-family: var(--alphabet);
    color: var(--main-color);
  }  
  .sub_title .eng:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1em;
    height: 1px;
    background: var(--main-color);
  }
}
@media screen and (max-width:1239px) {
  .main_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    letter-spacing: .2em;
  }
  .main_title .eng {
    color: var(--main-color);
    font-size: 4rem;
    font-family: var(--alphabet);
  }
  .main_title .jap {
    font-size: 1.4rem;
    font-family: var(--serif);
  }
  .sub_title {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
  }
  .sub_title .jap {
    font-size: 3rem;    
    font-family: var(--serif);
  }
  .sub_title .eng {
    position: relative;
    padding-left: 1.5em;
    font-size: 1.4rem;
    font-family: var(--alphabet);
    color: var(--main-color);
  }  
  .sub_title .eng:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1em;
    height: 1px;
    background: var(--main-color);
  }
}
/******************************************************
メインビジュアル
******************************************************/
@media screen and (min-width:1240px) {
  #top_page {
    background: var(--bg-high-color);
  }
  #top_main {
    position: relative;
    width: 100%;
    padding-left: 9vw;
    box-sizing: border-box;
    background: var(--white);
  }
  #main_catch {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 140px);
    padding-right: 9vw;
    border-radius: 10vw 0 0 0;
    background: url(/wp-content/uploads/images/main_img.webp) top center no-repeat;
    background-size: cover;
    box-sizing: border-box;
    overflow: hidden;
  }
  #main_catch:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.25);
  }
  #main_catch .catch {
    position: relative;
    color: var(--white);
    text-align: center;
    letter-spacing: .2em;
    z-index: 1;
	font-family: var(--serif);
  }
  #main_catch .name {
    font-size: 2.4vw;
	 margin-bottom: .5em;
	  
  }
  #main_catch .date span {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2.4vw;
    border-radius: 1.2vw;
    color: var(--text-color);
    font-size: 1.3vw;
    font-weight: var(--text-weight-bold);    
    line-height: 1vw;
    background: var(--white);
  }
  #main_catch .date span i {
    color: var(--main-color);
  }
  #main_catch .title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: .3em 0;
    font-size: 4.5vw;
    text-align: center;
    letter-spacing: .3em;
    line-height: 1;
  }
  #main_catch .schedule {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--white);
    border-bottom: 1px solid var(--white);
  }
  #main_catch .schedule span {
    width: 100%;
    padding: .5em;
    font-size: 1.2vw;
    font-weight: var(--text-weight-bold); 
    box-sizing: border-box;
  }
  #main_catch .schedule span:nth-child(n+2) {
    border-top: 1px solid var(--white);
  }
  
  #fix_banner {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    z-index: 1;
  }
  #fix_banner a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 180px;
    color: var(--main-color);
    font-size: 1.8rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
    line-height: 1.5;
    border-radius: 50%;
    background: var(--white);
  }
  
}
@media screen and (max-width:1239px) {
  #top_page {
    background: var(--bg-high-color);
  }
  #top_main {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    box-sizing: border-box;
    background: var(--white);
  }
  #main_catch {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: calc(100vh - 140px);
    border-radius: 10vw 0 0 0;
    background: url(/wp-content/uploads/images/main_img.webp) top center no-repeat;
    background-size: cover;
    box-sizing: border-box;
    overflow: hidden;
  }
  #main_catch:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.25);
  }
  #main_catch .catch {
    position: relative;
    color: var(--white);
    text-align: center;
    letter-spacing: .2em;
    z-index: 1;
	font-family: var(--serif);
  }
  #main_catch .name {
    font-size: 6vw;
  }

	
  #main_catch .date span {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 5.4vw;
    border-radius: 2.7vw;
    color: var(--text-color);
    font-size: 4vw;
    font-weight: var(--text-weight-bold);    
    line-height: 1vw;
    background: var(--white);
  }
  #main_catch .date span i {
    color: var(--main-color);
  }
  #main_catch .title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: .2em 0;
    font-size: 8vw;
    text-align: center;
    letter-spacing: .3em;
    line-height: 1;
  }
  #main_catch .schedule {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--white);
    border-bottom: 1px solid var(--white);
  }
  #main_catch .schedule span {
    width: 100%;
    padding: .5em;
    font-size: 3.2vw;
    font-weight: var(--text-weight-bold); 
    box-sizing: border-box;
  }
  #main_catch .schedule span:nth-child(n+2) {
    border-top: 1px solid var(--white);
  }
  
  #fix_banner {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 1;
  }
  #fix_banner a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    color: var(--main-color);
    font-size: 1.1rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
    line-height: 1.5;
    border-radius: 50%;
    background: var(--white);
  }  
  
}
/******************************************************
新着情報
******************************************************/
@media screen and (min-width:1240px) {
  #top_news {
    padding-bottom: 12rem;
    background: var(--bg-high-color);
  }
  #top_news .news_flex {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin-top: -8rem;
    z-index: 1;
  }
  #top_news .title_cover {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 540px;
    padding: 16rem 0;
    border-radius: 0 4rem 4rem 0;
    background: var(--white);
  }
  #top_news .news_title {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
    letter-spacing: .2em;
  }
  #top_news .news_title .jap {
    font-size: 3rem;
    font-family: var(--serif);
  }    
  #top_news .news_title .eng {
    position: relative;
    padding-left: 1.5em;
    font-size: 2rem;
    font-family: var(--alphabet)
  }
  #top_news .news_title .eng:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1em;
    height: 1px;
    background: var(--main-color);
  }
  #top_news .news_btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 60px;
    color: var(--white);
    border-radius: 30px;
    background: var(--sub-color);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;     
  }
  #top_news .news_btn a:hover {
    background: #8599a8;
  }
  #top_news .news_btn a:after {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    flex-diretion: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    content: "\f105";
    font-family: "FontAwesome";  
    color: var(--white);
    border-radius: 50%;
    background: #8599a8;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;   
  }
  #top_news .news_btn a:hover:after {
    background: var(--sub-color);
  }
  #top_news .news_cover {
    width: calc(100% - 540px);
    padding: 16rem 8rem 12rem;
    box-sizing: border-box;
  }
  #top_news .news_list {
    max-width: 1000px;
    border-top: 1px solid var(--border-color)
  }
  #top_news .news_list .list {
    border-bottom: 1px solid var(--border-color);
  }
  #top_news .news_list .list a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1.8em 1.2em;
  }
  #top_news .news_list .list a .cat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 3rem;
    margin: 0 1em;
    padding: 0 2em;
    color: var(--white);   
    font-size: .9em;
    border-radius: 1.5rem;
    background: var(--main-color);
  }
  
}
@media screen and (max-width:1239px) {
  #top_news {
    padding: 5rem 1.5rem;
    background: var(--bg-high-color);
  }
  #top_news .news_flex {
    z-index: 1;
  }
  #top_news .title_cover {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 3rem;
  }
  #top_news .news_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    letter-spacing: .2em;
  }
  #top_news .news_title .jap {
    font-size: 2.4rem;
    font-family: var(--serif);
  }    
  #top_news .news_title .eng {
    position: relative;
    padding: 0 1.5em;
    font-family: var(--alphabet)
  }
  #top_news .news_title .eng:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1em;
    height: 1px;
    background: var(--main-color);
  }
  #top_news .news_btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 50px;
    color: var(--white);
    border-radius: 25px;
    background: var(--sub-color);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;     
  }
  #top_news .news_btn a:hover {
    background: #8599a8;
  }
  #top_news .news_btn a:after {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    flex-diretion: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    content: "\f105";
    font-family: "FontAwesome";  
    color: var(--white);
    border-radius: 50%;
    background: #8599a8;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;   
  }
  #top_news .news_btn a:hover:after {
    background: var(--sub-color);
  }
  #top_news .news_cover {
    box-sizing: border-box;
  }
  #top_news .news_list {
    max-width: 1000px;
    border-top: 1px solid var(--border-color)
  }
  #top_news .news_list .list {
    border-bottom: 1px solid var(--border-color);
  }
  #top_news .news_list .list a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1.8em 1.2em;
  }
  #top_news .news_list .list a .cat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 2.4rem;
    margin: 0 1em;
    padding: 0 2em;
    color: var(--white);   
    font-size: .8em;
    border-radius: 1.2rem;
    background: var(--main-color);
  }
  #top_news .news_list .list a .title {
    width: 100%;
    margin-top: .5em;
  }
}
/******************************************************
医院情報
******************************************************/
@media screen and (min-width:1240px) {
  #top_information {
    padding: 12rem 0;
    background: var(--white);
  }
  #top_information .information_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_information .data {
    width: calc(50% - 30px);
  }
  #top_information .access {
    width: calc(50% - 30px);
  }
  #top_information .logo {
    margin-bottom: 3rem;
    text-align: center;
  }
  #top_information .logo img {
    height: 10rem;
  }
  #top_information .schedule {
    margin-bottom: 3rem;
  }
  #top_information .schedule table {
    width: 100%;
    margin-bottom: 1em;
  }
  #top_information .schedule th,
  #top_information .schedule td {
    padding: .8em;
    text-align: center;
  }
  #top_information .schedule th {
    background: var(--bg-high-color);
  }
  #top_information .schedule td {
    border-bottom: 1px solid var(--border-color);
  }
  #top_information .schedule span {
    color: var(--main-color);
  }
  #top_information .schedule p {
    text-align: right;
  }
  #top_information .tel {
    margin-bottom: 2rem;
  }
  #top_information .tel a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--main-color);
    font-size: 3rem;
    font-family: var(--serif);    
    text-align: center;
    letter-spacing: .2em;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;      
  }
  #top_information .tel a:hover {
    opacity: .7;
  }
  #top_information .tel a span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #top_information .tel a span:before {
    display: block;
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_tel.webp) center center no-repeat;
    background-size: contain;
  }
  #top_information .web a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 5rem;
    color: var(--white);
    font-size: 2rem;
    font-family: var(--serif);    
    text-align: center;
    letter-spacing: .2em;
    border-radius: 2.5rem;
    background: var(--main-color);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;      
  }
  #top_information .web a:hover {
    opacity: .7;
  }
  #top_information .web a span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #top_information .web a span:before {
    display: block;
    content: "";
    width: 1.5em;
    height: 1.5em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_web.webp) center center no-repeat;
    background-size: contain;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);    
  }  
  #top_information .map {
    margin-bottom: 1em;
  }
  #top_information .map iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 10 / 7;
    vertical-align: middle;
  }
  #top_information .name {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
  }
  #top_information .name span {
    display: flex;
    align-items: center;
  }
  #top_information .name span:nth-child(n+2):before {
    display: block;
    content: "";
    width: 1px;
    height: 1em;
    margin: 0 1em;
    background: var(--text-color);
  }
  #top_information .google a {
    display: flex;
    justify-content: flex-end;
    color: var(--sub-color);
    font-weight: var(--text-weight-bold);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;     
  }
  #top_information .google a:hover {
    opacity: .7;
  }
  #top_information .google a span {
    display: flex;
    align-items: center;
  }
  #top_information .google a span:after {
    display: flex;
    flex-diretion: column;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    margin-left: .5em;
    content: "\f105";
    font-family: "FontAwesome";  
    color: var(--white);
    border-radius: 50%;
    background: #8599a8;
  }
}
@media screen and (max-width:1239px) {
  #top_information {
    padding: 5rem 0;
    background: var(--white);
  }
  #top_information .information_flex { }
  #top_information .data {
    margin-bottom: 3rem;
  }
  #top_information .access {
  }
  #top_information .logo {
    margin-bottom: 3rem;
    text-align: center;
  }
  #top_information .logo img {
    height: 8rem;
  }
  #top_information .schedule {
    margin-bottom: 3rem;
  }
  #top_information .schedule table {
    width: 100%;
    margin-bottom: 1em;
  }
  #top_information .schedule th,
  #top_information .schedule td {
    padding: .6em;
    text-align: center;
  }
  #top_information .schedule th {
    background: var(--bg-high-color);
  }
  #top_information .schedule td {
    border-bottom: 1px solid var(--border-color);
  }
  #top_information .schedule span {
    color: var(--main-color);
  }
  #top_information .schedule p {
    text-align: right;
  }
  #top_information .tel {
    margin-bottom: 2rem;
  }
  #top_information .tel a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--main-color);
    font-size: 2.4rem;
    font-family: var(--serif);    
    text-align: center;
    letter-spacing: .2em;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;      
  }
  #top_information .tel a:hover {
    opacity: .7;
  }
  #top_information .tel a span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #top_information .tel a span:before {
    display: block;
    content: "";
    width: 1em;
    height: 1em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_tel.webp) center center no-repeat;
    background-size: contain;
  }
  #top_information .web a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 5rem;
    color: var(--white);
    font-size: 1.6rem;
    font-family: var(--serif);    
    text-align: center;
    letter-spacing: .2em;
    border-radius: 2.5rem;
    background: var(--main-color);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;      
  }
  #top_information .web a:hover {
    opacity: .7;
  }
  #top_information .web a span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  #top_information .web a span:before {
    display: block;
    content: "";
    width: 1.5em;
    height: 1.5em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_web.webp) center center no-repeat;
    background-size: contain;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);    
  }  
  #top_information .map {
    margin-bottom: 1em;
  }
  #top_information .map iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/ 9;
    vertical-align: middle;
  }
  #top_information .name {
    margin-bottom: 1em;
  }
  #top_information .name span {
    display: block;
  }
  #top_information .name br {
    display: none;
  }
  #top_information .google a {
    display: flex;
    justify-content: flex-end;
    color: var(--sub-color);
    font-weight: var(--text-weight-bold);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;     
  }
  #top_information .google a:hover {
    opacity: .7;
  }
  #top_information .google a span {
    display: flex;
    align-items: center;
  }
  #top_information .google a span:after {
    display: flex;
    flex-diretion: column;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    margin-left: .5em;
    content: "\f105";
    font-family: "FontAwesome";  
    color: var(--white);
    border-radius: 50%;
    background: #8599a8;
  }
}
/******************************************************
診療内容
******************************************************/
@media screen and (min-width:1240px) {
  #top_medical {
    padding: 12rem 0;
    background: var(--bg-high-color);
  }
  #top_medical .medical_list {
    display: flex;
    flex-wrap: wrap;
  }
  #top_medical .medical_list .list {
    position: relative;
    width: calc(50% - 1.5rem);
    margin-left: 3rem;
    padding: 3rem;
    background: var(--main-color);
    box-sizing: border-box;
  }
  #top_medical .medical_list .list:nth-child(2n+1) {
    margin-left: 0;
  }
  #top_medical .medical_list .list:nth-child(n+3) {
    margin-top: 3rem;
  }
  #top_medical .medical_list .list:after {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;    
    opacity: .25;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  #top_medical .medical_list .list:nth-child(1):after {
    background-image: url(/wp-content/uploads/images/bg_medical_001.webp) 
  }
  #top_medical .medical_list .list:nth-child(2):after {
    background-image: url(/wp-content/uploads/images/bg_medical_002.webp) 
  }
  #top_medical .medical_list .list:nth-child(3):after {
    background-image: url(/wp-content/uploads/images/bg_medical_003.webp) 
  }
  #top_medical .medical_list .list:nth-child(4):after {
    background-image: url(/wp-content/uploads/images/bg_medical_004.webp) 
  }    
  #top_medical .medical_list .list .title {
    position: relative;
    margin-bottom: 3rem;
    color: var(--white);
    font-size: 3rem;
    text-align: center;
    font-family: var(--serif);
    z-index: 1;
  }
  #top_medical .medical_list .list ul {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    z-index: 1;
  }
  #top_medical .medical_list .list li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc((100% / 3) - 10px);
    margin-left: 15px;
    text-align: center;
    aspect-ratio: 1 / 1;
    border-radius: 1rem;
    background: var(--white);
  }
  #top_medical .medical_list .list li:nth-child(3n+1) {
    margin-left: 0;
  }
  #top_medical .medical_list .list li:nth-child(n+4) {
    margin-top: 15px;
  }
  #top_medical .medical_list .list li .icon {
    margin-bottom: 1em;
  }
  #top_medical .medical_list .list li .icon img {
    width: 40%;
    height: auto;
  }
  #top_medical .medical_list .list li .name {
    color: var(--text-color);
    font-family: var(--serif);
    line-height: 1.35;
  }
}
@media screen and (max-width:1239px) {
  #top_medical {
    padding: 5rem 0;
    background: var(--bg-high-color);
  }
  #top_medical .medical_list {
  }
  #top_medical .medical_list .list {
    position: relative;
    padding: 5rem 1.5rem;
    background: var(--main-color);
    box-sizing: border-box;
  }
  #top_medical .medical_list .list:nth-child(n+2) {
    margin-top: 1rem;
  }
  #top_medical .medical_list .list:after {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    content: "";
    width: 100%;
    height: 100%;    
    opacity: .25;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
  }
  #top_medical .medical_list .list:nth-child(1):after {
    background-image: url(/wp-content/uploads/images/bg_medical_001.webp) 
  }
  #top_medical .medical_list .list:nth-child(2):after {
    background-image: url(/wp-content/uploads/images/bg_medical_002.webp) 
  }
  #top_medical .medical_list .list:nth-child(3):after {
    background-image: url(/wp-content/uploads/images/bg_medical_003.webp) 
  }
  #top_medical .medical_list .list:nth-child(4):after {
    background-image: url(/wp-content/uploads/images/bg_medical_004.webp) 
  }    
  #top_medical .medical_list .list .title {
    position: relative;
    margin-bottom: 3rem;
    color: var(--white);
    font-size: 2.4rem;
    text-align: center;
    font-family: var(--serif);
    z-index: 1;
  }
  #top_medical .medical_list .list ul {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    z-index: 1;
  }
  #top_medical .medical_list .list li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc((100% / 3) - 4px);
    margin-left: 6px;
    text-align: center;
    aspect-ratio: 1 / 1;
    border-radius: 1rem;
    background: var(--white);
  }
  #top_medical .medical_list .list li:nth-child(3n+1) {
    margin-left: 0;
  }
  #top_medical .medical_list .list li:nth-child(n+4) {
    margin-top: 6px;
  }
  #top_medical .medical_list .list li .icon {
    margin-bottom: 1em;
  }
  #top_medical .medical_list .list li .icon img {
    width: 30%;
    height: auto;
  }
  #top_medical .medical_list .list li .name {
    color: var(--main-color);
    font-family: var(--serif);
    line-height: 1.35;
  }
}
/******************************************************
特徴
******************************************************/
@media screen and (min-width:1240px) {
  #top_feature {
    position: relative;
    padding: 12rem 0;
    background: var(--bg-high-color);
  }
  #top_feature:before {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    content: "";
    width: 65%;
    height: 100%;
    border-radius: 5vw 0 0 5vw;
    background: var(--white);
  }
  #top_feature .inner {
    width: 100%;
  }
  #top_feature .feature_title {
    display: flex;
    flex-direction: column;
    margin: 0 10%;
    margin-bottom: 5rem;
  }
  #top_feature .feature_title .jap {
    font-size: 4.8rem;
    font-family: var(--serif);
  }
  #top_feature .feature_title .jap span {
    color: var(--main-color);
    font-size: 1.5em;
  }
  #top_feature .feature_title .eng {
    font-size: 2rem;
    font-family: var(--alphabet);
    letter-spacing: .2em;
  }  
  #top_feature .feature_list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    padding: 0 35% 0 10%;
  }
  #top_feature .feature_list:before {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    content: "";
    width: 30%;
    height: 100%;
    border-radius: 0 5vw 5vw 0;
    background: url(/wp-content/uploads/images/feature_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_feature .feature_list .list {
    width: 50%;
    box-sizing: border-box;
    padding-bottom: 5rem;
  }
  #top_feature .feature_list .list:nth-child(n+3) {
    padding-top: 5rem;
    padding-bottom: 0;
    border-top: 1px solid var(--border-color);
  }
  #top_feature .feature_list .list:nth-child(odd) {
    padding-right: 5rem;
  }
  #top_feature .feature_list .list:nth-child(even) {
    padding-left: 5rem;
    border-left: 1px solid var(--border-color);
  }
  #top_feature .feature_list .list .title_cover {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1em;
    font-size: 2rem;
  }
  #top_feature .feature_list .list .title_cover .number {
    color: var(--main-color);
    font-size: 3.6em;
    line-height: 1;
    font-family: var(--serif);    
  }
  #top_feature .feature_list .list .title_cover .title {
    margin-left: .5em;
    line-height: 1.5;
  }
}
@media screen and (max-width:1239px) {
  #top_feature {
    position: relative;
    padding: 5rem 0;
    background: var(--white);
  }
  #top_feature .inner {}
  #top_feature .feature_title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    text-align: center;
  }
  #top_feature .feature_title .jap {
    font-size: 2rem;
    font-family: var(--serif);
  }
  #top_feature .feature_title .jap span {
    color: var(--main-color);
    font-size: 1.5em;
  }
  #top_feature .feature_title .eng {
    font-family: var(--alphabet);
    letter-spacing: .2em;
  }  
  #top_feature .feature_list {
    position: relative;
  }
  #top_feature .feature_list:before {
    display: block;
    content: "";
    width: 100%;
    aspect-ratio: 3 / 2;
    margin-bottom: 3rem;
    object-fit: cover;
    border-radius: 5vw;
    background: url(/wp-content/uploads/images/feature_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_feature .feature_list .list {
    box-sizing: border-box;
  }
  #top_feature .feature_list .list:nth-child(n+2) {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
  }
  #top_feature .feature_list .list .title_cover {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1em;
    font-size: 1.6rem;
  }
  #top_feature .feature_list .list .title_cover .number {
    color: var(--main-color);
    font-size: 3.6em;
    line-height: 1;
    font-family: var(--serif);    
  }
  #top_feature .feature_list .list .title_cover .title {
    margin-left: .5em;
    line-height: 1.5;
  }
}
/******************************************************
ごあいさつ
******************************************************/
@media screen and (min-width:1240px) {
  #top_greeting {
    position: relative;
    padding: 12rem 0;
    background: var(--bg-high-color);
  }
  #top_greeting:after {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    content: "";
    width: 35%;
    height: 50%;
    border-radius: 0 3vw 3vw 0;
    background: var(--main-color);
  }
  #top_greeting .greeting_flex {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    z-index: 1;
  }
  #top_greeting .greeting_flex .image {
    width: 360px;;
    margin-bottom: 8rem;
    background: url(/wp-content/uploads/images/greeting_img001.webp) top center no-repeat;
    background-size: cover;
    border-radius: 3vw;
  }
  #top_greeting .greeting_flex .text {
    width: calc(100% - 440px);
    margin-top: 8rem;
  }
  #top_greeting .greeting_flex .comment {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--main-color);
  }
  #top_greeting .greeting_flex .name_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  #top_greeting .greeting_flex .name_flex .name_box {
    line-height: 1.5;
    font-family: var(--serif);
  }
  #top_greeting .greeting_flex .name_flex .name {
    color: var(--main-color);
  }
  #top_greeting .greeting_flex .name_flex .name span {
    margin-right: .5em;
    color: var(--text-color);
    font-size: 2em;
  }
  #top_greeting .greeting_flex .name_flex .instagram_btn a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--serif);
  }
  #top_greeting .greeting_flex .name_flex .instagram_btn a .icon img {
    width: auto;
    height: 4rem;
  }
}
@media screen and (max-width:1239px) {
  #top_greeting {
    position: relative;
    padding: 5rem 0;
    background: var(--bg-high-color);
  }
  #top_greeting .greeting_flex {
    z-index: 1;
  }
  #top_greeting .greeting_flex .image {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 3rem;
    background: url(/wp-content/uploads/images/greeting_img001.webp) top center no-repeat;
    background-size: cover;
    border-radius: 5vw;
  }
  #top_greeting .greeting_flex .text {
  }
  #top_greeting .greeting_flex .comment {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--main-color);
  }
  #top_greeting .greeting_flex .name_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  #top_greeting .greeting_flex .name_flex .name_box {
    line-height: 1.5;
    font-family: var(--serif);
  }
  #top_greeting .greeting_flex .name_flex .name {
    color: var(--main-color);
  }
  #top_greeting .greeting_flex .name_flex .name span {
    margin-right: .5em;
    color: var(--text-color);
    font-size: 2em;
  }
  #top_greeting .greeting_flex .name_flex .instagram_btn a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--serif);
  }
  #top_greeting .greeting_flex .name_flex .instagram_btn a .icon img {
    width: auto;
    height: 3rem;
  }
}
/******************************************************
求人情報
******************************************************/
@media screen and (min-width:1240px) {
  #top_recruit {
    padding: 12rem 0;
    background: var(--bg-high-color);
  }
  #top_recruit .recruit_message {
    text-align: center;
  }
  #top_recruit .recruit_comment {
    margin-bottom: 6rem;
    font-size: 2rem;
  }  
  .btn_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .btn_list .btn {
    margin: 0 15px;
  }
  .btn_list .btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 60px;
    color: var(--white);
    border-radius: 30px;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;     
  }
  .btn_list .btn a:after {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    flex-diretion: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    content: "\f105";
    font-family: "FontAwesome";  
    color: var(--white);
    border-radius: 50%;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;   
  }
  /* 1 */
  .btn_list .btn a.first_btn {
    background: var(--sub-color);
  }
  .btn_list .btn a.first_btn:hover {
    background: #8599a8;
  }
  .btn_list .btn a.first_btn:after {
    background: #8599a8;
  }
  .btn_list .btn a.first_btn:hover:after {
    background: var(--sub-color);
  }
  /* 2 */
  .btn_list .btn a.second_btn {
    background: var(--main-color);
  }
  .btn_list .btn a.second_btn:hover {
    background: #b2867e;
  }
  .btn_list .btn a.second_btn:after {
    background: #918682;
  }
  .btn_list .btn a.second_btn:hover:after {
    background: var(--main-color);
  }
}
@media screen and (max-width:1239px) {
  #top_recruit {
    padding-bottom: 5rem;
    background: var(--bg-high-color);
  }
  #top_recruit .recruit_message {
    text-align: center;
  }
  #top_recruit .recruit_comment {
    margin-bottom: 3rem;
  }  
  .btn_list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .btn_list .btn {
    margin: 0 auto;
  }
  .btn_list .btn:nth-child(n+2) {
    margin-top: 1.5rem;
  }
  .btn_list .btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 240px;
    height: 50px;
    color: var(--white);
    border-radius: 25px;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;     
  }
  .btn_list .btn a:after {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    flex-diretion: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    content: "\f105";
    font-family: "FontAwesome";  
    color: var(--white);
    border-radius: 50%;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;   
  }
  /* 1 */
  .btn_list .btn a.first_btn {
    background: var(--sub-color);
  }
  .btn_list .btn a.first_btn:hover {
    background: #8599a8;
  }
  .btn_list .btn a.first_btn:after {
    background: #8599a8;
  }
  .btn_list .btn a.first_btn:hover:after {
    background: var(--sub-color);
  }
  /* 2 */
  .btn_list .btn a.second_btn {
    background: var(--main-color);
  }
  .btn_list .btn a.second_btn:hover {
    background: #b2867e;
  }
  .btn_list .btn a.second_btn:after {
    background: #b2867e;
  }
  .btn_list .btn a.second_btn:hover:after {
    background: var(--main-color);
  }
}
/******************************************************
インスタグラム
******************************************************/
@media screen and (min-width:1240px) {
  #top_instagram {
    padding: 12rem 0;
    background: var(--white);
  }
  #top_instagram .instagram_list {
    display: flex;
    flex-wrap: wrap;
  }
  #top_instagram .instagram_list .list {
    width: calc((100% / 6) - 10px);
    margin-left: 12px;
  }
  #top_instagram .instagram_list .list:nth-child(6n+1) {
    margin-left: 0;
  }
  #top_instagram .instagram_list .list:nth-child(n+7) {
    margin-top: 12px;
  }
}
@media screen and (max-width:1239px) {
  #top_instagram {
    padding: 5rem 0;
    background: var(--white);
  }
  #top_instagram .instagram_list {
    display: flex;
    flex-wrap: wrap;
  }
  #top_instagram .instagram_list .list {
    width: calc((100% / 3) - 4px);
    margin-left: 6px;
  }
  #top_instagram .instagram_list .list:nth-child(3n+1) {
    margin-left: 0;
  }
  #top_instagram .instagram_list .list:nth-child(n+4) {
    margin-top: 6px;
  }
}
/******************************************************
下層ページ
******************************************************/
@media screen and (min-width:1240px) {
  #page {
    padding: 12rem 0;
  }
  #page .news_list {
    border-top: 1px solid var(--border-color)
  }
  #page .news_list .list {
    border-bottom: 1px solid var(--border-color);
  }
  #page .news_list .list a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1.8em 1.2em;
  }
  #page .news_list .list a .cat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 3rem;
    margin: 0 1em;
    padding: 0 2em;
    color: var(--white);   
    font-size: .9em;
    border-radius: 1.5rem;
    background: var(--main-color);
  }
  #page #post_data {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
  }
  #page #post_data h1 {
    font-size: 2.4rem;
    font-weight: var(--text-weight-bold);
  }
}
@media screen and (max-width:1239px) {
  #page {
    padding: 5rem 0;
  }
  #page .news_list {
    border-top: 1px solid var(--border-color)
  }
  #page .news_list .list {
    border-bottom: 1px solid var(--border-color);
  }
  #page .news_list .list a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1.8em 1.2em;
  }
  #page .news_list .list a .cat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 2.4rem;
    margin: 0 1em;
    padding: 0 2em;
    color: var(--white);   
    font-size: .8em;
    border-radius: 1.2rem;
    background: var(--main-color);
  }
  #page .news_list .list a .title {
    width: 100%;
    margin-top: .5em;
  }  
  #page #post_data {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
  }
  #page #post_data h1 {
    font-size: 2rem;
    font-weight: var(--text-weight-bold);
  }
}



@media screen and (min-width:1240px) {
  .block {
    position: absolute;
    top: -80px;
    left: -80px;
    width: 160px;
    height: 160px;
    margin: auto;
  }
  .circleText {
    overflow: visible;
    animation: rotation 18s linear infinite;
  }
  .circleText__circle {
    fill: none;     
  }
  .circleText__text {
    fill: var(--main-color);
    font-size: 12px;
    letter-spacing: 0.05em;
    border: 1px solid var(--main-color);
  }
}
@media screen and (max-width:1239px) {
  .block {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    margin: auto;
  }
  .circleText {
    overflow: visible;
    animation: rotation 18s linear infinite;
  }
  .circleText__circle {
    fill: none;     
  }
  .circleText__text {
    fill: var(--main-color);
    font-size: 12px;
    letter-spacing: 0.05em;
    border: 1px solid var(--main-color);
  }
}
    