@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=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');
/******************************************************
基本設定
******************************************************/
:root {
  --white: #fff; /* 白 */
  --main-color: #282f7b; /* メインカラー */
  --sub-color: #eb9f5b; /* サブカラー */
  --dark-color: #1e305c; /* 暗めのメインカラー */
  --bg-color: #282f7b; /* 背景色1（基本的にメインカラーと同じ） */
  --bg-high-color: #f2f7fb; /* 背景色2 */
  --bg-high-color-2: #fefaf7; /* 背景色3 */
  --inner-size: 1300px; /* インナー */
  --text-size-pc: 16px; /* フォントサイズ */
  --text-size-sp: 14px; /* フォントサイズ */
  --text-color: #000; /* テキストカラー（通常） */
  --text-high-color: #fff; /* テキストカラー（背景あり） */
  --text-space: 0; /* フォントの間隔 */
  --text-weight: 400; /* フォントの太さ */
  --text-weight-bold: 600; /* フォント（太字）の太さ */
  --text-weight-black: 900; /* フォント（超太字）の太さ */
  --border-color: #ccc; /* 線の色 */
  --sans: "Noto Sans JP", "游ゴシック", "Zen Kaku Gothic New", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif; /* ゴシック体 */
  --serif: "游明朝体","Noto Serif JP", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", "Hiragino Mincho ProN", "MS PMincho", "Times New Roman", serif; /* 明朝体 */
  --alphabet: "Funnel Sans", sans-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;
}
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);
  }
}
/******************************************************
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);
}
/******************************************************
フッター
******************************************************/
@media screen and (min-width:1025px) {
  #footer {
    position: relative;
  }
  /* 追尾バナー */
  #fix_banner_list {
    position: fixed;
    display: flex;
    flex-wrap: wrap;
    bottom: 2rem;
    left: 2rem;
    z-index: 100;
  }
  #fix_banner_list.fixed {
    position: absolute;
    bottom: 11.5rem;
  }
  #fix_banner_list .list:nth-child(n+2) {
    margin-left: 1.5rem;
  }
  #fix_banner_list .list.hidden {
    display: none;
  }
  #fix_banner_list .list span.close_btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    color: var(--main-color);
    font-size: .8em;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    background: var(--bg-high-color);
  }  
  #fix_banner_list .list img {
    width: 100%;
    height: auto;
  }   
  /* トップに戻る */
  #page_top {
    display: none;
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
  }
  #page_top.fixed {
    position: absolute;
    bottom: 11.5rem;
  }
  #page_top a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 7rem;
    height: 7rem;
    color: #fff;
    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: 1.4rem;
    height: 1px;
    margin-top: -.5rem;
    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: 1.4rem;
    height: 1px;
    margin-top: -.5rem;
    transform-origin: top right;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: var(--white);
  }     
  #page_top a:hover {
    opacity: .7;
  }  
  /* GoogleMap */
  #f_map .map iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
    vertical-align: middle;
  }
  /* コピーライト */
  #copyright {
    display: flex;
    flex-directinon: column;
    justify-content: center;
    align-items: center;
    height: 10rem;
    color: var(--white);
    font-size: 1.4rem;
    text-align: center;
    font-family: var(--serif);
    line-height: 1;
    background: var(--main-color);
  }
}
@media screen and (max-width:1024px) {
  #footer {
    position: relative;
    padding-bottom: 6rem;
  }  
  /* 追尾バナー */
  #fix_banner_list {
    position: fixed;
    bottom: 7rem;
    left: 1rem;
    z-index: 99;
  }
  #fix_banner_list.fixed {
    position: absolute;
    bottom: calc(100% + 1rem);
  }
  #fix_banner_list .list {
    width: 240px;
  }
  #fix_banner_list .list:nth-child(n+2) {
    margin-top: 10px;
  }
  #fix_banner_list .list.hidden {
    display: none;
  }
  #fix_banner_list .list span.close_btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    color: var(--main-color);
    font-size: .8em;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    background: var(--bg-high-color);
  }
  #fix_banner_list .list img {
    width: 100%;
    height: auto;
  }  
  /* トップに戻る */
  #page_top {
    position: fixed;
    bottom: 7rem;
    right: 1rem;
    z-index: 100;
  }
  #page_top.fixed {
    position: absolute;
    bottom: calc(100% + 1rem);
  }
  #page_top a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    color: var(--white);
    text-align: center;
    border-radius: 50%;
    background: var(--sub-color);
  }  
  #page_top a:before {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    content: "";
    width: 8px;
    height: 1px;
    margin-top: -.3rem;
    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: 8px;
    height: 1px;
    margin-top: -.3rem;
    transform-origin: top right;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: var(--white);
  }    
  /* GoogleMap */
  #f_map .map iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    vertical-align: middle;
  }
  /* コピーライト */
  #copyright {
    display: flex;
    flex-directinon: column;
    justify-content: center;
    align-items: center;
    height: 6rem;
    color: var(--white);
    font-size: 1.2rem;
    text-align: center;
    font-family: var(--serif);
    line-height: 1;
    background: var(--main-color);
  }
}
/******************************************************
ヘッダー
******************************************************/
@media screen and (min-width:1025px) {
  #header {}
  #h_cover {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 1.5rem;
    padding-right: calc(100px + 3rem);
    box-sizing: border-box;
    z-index: 100;
  }
  /* ロゴ・タイトル */
  #h_logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    text-align: center;
  }
  #h_logo .image {
    box-sizing: border-box;
    background: url(/wp-content/uploads/images/logo.webp) center center no-repeat;
    background-size: contain;
  }
  #h_logo .image img {
    width: auto;
    height: 50px;
  }
  #h_logo .type {
    width: 300px;
    margin-top: 8px;
    color: var(--white);
    font-size: 1.6rem;
    text-align: center;
    line-height: 3.2rem;
    background: var(--main-color);
  }
  /* ボタン */
  #h_btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    font-family: var(--serif);
  }
  #h_btn .btn {
    position: relative;
    width: 300px;
    margin-left: 1.5rem;
    background: var(--white);
  }
  #h_btn .btn a {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100px; 
    color: var(--white);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
    box-sizing: border-box;
  }
  #h_btn .btn a:hover {
    opacity: .7;
  }
  #h_btn .btn a .title {
    font-size: 1.6rem;
    line-height: 1.5;
  }
  #h_btn .btn a .logo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 2.4rem;
    line-height: 1.5;
  }
  /* 電話番号 */
  #h_btn .btn a.tel {
    background: var(--main-color);
  }
  #h_btn .btn a.tel:after {
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    content: "";
    width: 30px;
    height: 30px;
    background: var(--sub-color);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
  }
  #h_btn .btn a.tel .logo {
    color: var(--white);
  }
  #h_btn .btn a.tel .logo .icon {
    content: "";
    width: 3rem;
    height: 3rem;
    margin-right: 1rem;
    line-height: 3rem;
    background: url(/wp-content/uploads/images/icon_tel.webp) center center;
    background-size: contain;
  }
  /* フォーム */
  #h_btn .btn a.form {
    background: var(--sub-color);
  }
  #h_btn .btn a.form:after {
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
    content: "";
    width: 30px;
    height: 30px;
    background: var(--main-color);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
  }
  #h_btn .btn a.form .logo {
    color: var(--white);
  }
  #h_btn .btn a.form .logo .icon {
    content: "";
    width: 1.6em;
    height: 1.6em;
    margin-right: .5em;
    line-height: 1;
    background: url(/wp-content/uploads/images/icon_form.webp) center center;
    background-size: contain;
  }  
  /* ハンバーガーメニュー */
  #h_toggle_btn {
    position: fixed;
    display: block;
    width: 100px;
    height: 100px;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 101;
    color: var(--white);
    background: var(--main-color);
    cursor: pointer;
    box-sizing: border-box;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #h_toggle_btn span {
    display: block;
    width: 40px;
    height: 1px;
    background: var(--white);
    position: absolute;
    left: 30px;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;	
  }
  #h_toggle_btn span:nth-child(1){
    top: 24px;
  }
  #h_toggle_btn span:nth-child(2){
    top: 36px;
  }
  #h_toggle_btn span:nth-child(3){
    top: 48px;
  }
  #h_toggle_btn.open {
    z-index: 10004;
  }
  #h_toggle_btn.open span {
    color: var(--white);
  }
  #h_toggle_btn.open span:nth-child(1) {
    top: 36px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
    background: var(--white);
  }
  #h_toggle_btn.open span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  #h_toggle_btn.open span:nth-child(3) {
    top: 36px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: var(--white);
  }  
  #h_toggle_btn div {
    position: absolute;
    width: 100%;
    bottom: 10px;
    text-align: center;
    font-family: var(--serif);
  }  
  /* メニュー全体 */
  #h_nav {
    background: rgba(255,255,255,.95);
    display: block;
    width: 480px;
    max-width: calc(100% - 60px);
    height: 100%;
    padding: 12rem 6rem 6rem;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
    visibility: hidden;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
    box-sizing: border-box;
  }
  #h_nav.on {
    visibility: visible;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
    transform: translateX(0px);
  }
  #h_nav li a {
    position: relative;
    display: block;
    padding: 1em;
    padding-left: 1.5em;
    border-bottom: 1px solid var(--bg-high-color);
  }
  #h_nav li a:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1rem;
    height: 1rem;
    margin-top: -.5rem;
    line-height: 1;
    background: var(--sub-color);
  }
}
@media screen and (max-width:1024px) {
  #header {
    height: 6rem;
  }
  #h_cover {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 100;
    background: var(--white);    
  }
  /* ロゴ・タイトル */
  #h_logo {
    padding: 1.5rem;
    padding-right: 7.2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  #h_logo .image img {
    display: block;
    height: 3rem;
    vertical-align: middle;
  }
  #h_logo .type {
    margin-left: .6rem;
    padding: .6rem 1.2rem;
    color: var(--white);
    font-size: 1.2rem;
    line-height: 1;
    text-align: left;
    background: var(--main-color);
  }
  /* ボタン */
  #h_btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }
  #h_btn .btn {
    width: calc(100% / 2);
    background: var(--white);
  }
  #h_btn .btn a {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem .5rem;
    color: var(--white);
    font-family: var(--serif);
    box-sizing: border-box;
  }
  #h_btn .btn a .title {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  #h_btn .btn a .logo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    line-height: 2.5rem;
  }  
  /* 電話番号 */
  #h_btn .btn a.tel {
    background: var(--main-color);
  }
  #h_btn .btn a.tel .logo .icon {
    content: "";
    width: 1.6em;
    height: 1.6em;
    margin-right: .5em;
    line-height: 1;
    background: url(/wp-content/uploads/images/icon_tel.webp) center center;
    background-size: contain;
  }
  /* フォーム */
  #h_btn .btn a.form {
    background: var(--sub-color);
  }
  #h_btn .btn a.form .logo .icon {
    content: "";
    width: 1.6em;
    height: 1.6em;
    margin-right: .5em;
    line-height: 1;
    background: url(/wp-content/uploads/images/icon_form.webp) center center;
    background-size: contain;
  }  
  /* ハンバーガーメニュー */
  #h_toggle_btn {
    position: fixed;
    display: block;
    width: 60px;
    height: 60px;
    top: 0;
    right: 0;
    z-index: 101;
    color: var(--white);
    background: var(--main-color);
    cursor: pointer;
    box-sizing: border-box;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #h_toggle_btn span {
    display: block;
    width: 26px;
    height: 1px;
    background: var(--white);
    position: absolute;
    left: 17px;
    -webkit-transition: 0.5s ease-in-out;
    -moz-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;	
  }
  #h_toggle_btn span:nth-child(1){
    top: 16px;
  }
  #h_toggle_btn span:nth-child(2){
    top: 22px;
  }
  #h_toggle_btn span:nth-child(3){
    top: 28px;
  }
  #h_toggle_btn.open {
    z-index: 10004;
  }
  #h_toggle_btn.open span {
    color: var(--white);
  }
  #h_toggle_btn.open span:nth-child(1) {
    top: 22px;
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
    background: var(--white);
  }
  #h_toggle_btn.open span:nth-child(2) {
    width: 0;
    left: 50%;
  }
  #h_toggle_btn.open span:nth-child(3) {
    top: 22px;
    -webkit-transform: rotate(-135deg);
    -moz-transform: rotate(-135deg);
    transform: rotate(-135deg);
    background: var(--white);
  }  
  #h_toggle_btn div {
    position: absolute;
    width: 100%;
    bottom: .8rem;
    font-size: 1rem;
    text-align: center;
    font-family: var(--serif);
  }  
  /* メニュー全体 */
  #h_nav {
    background: rgba(255,255,255,.9);
    display: block;
    width: 280px;
    max-width: 100%;
    height: 100%;
    padding: 9rem 3rem 3rem;
    overflow-x: hidden;
    overflow-y: auto;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 100;
    visibility: hidden;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
    webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
    box-sizing: border-box;
  }
  #h_nav.on {
    visibility: visible;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -ms-transform: translateX(0px);
    -o-transform: translateX(0px);
    transform: translateX(0px);
  }
  #h_nav li a {
    position: relative;
    display: block;
    padding: 1em;
    padding-left: 1.5em;
    border-bottom: 1px solid var(--bg-high-color);
  }
  #h_nav li a:before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1rem;
    height: 1rem;
    margin-top: -.5rem;
    line-height: 1;
    background: var(--sub-color);
  }
}
/******************************************************
タイトル
******************************************************/
@media screen and (min-width:1025px) {
  .main_title {
    display: flex;
    flex-direction: column;
    margin-bottom: 6rem;
    font-size: 3rem;
    text-align: center;
  }
  .main_title span {
    display: block;
  }
  .main_title .eng {
    margin-bottom: .1em;
    color: var(--main-color);
    font-size: 12rem;
    font-weight: 400;
    line-height: 1;
    font-family: var(--alphabet);
  }
  .main_title .jap {
    font-family: var(--sans);
    font-weight: var(--text-weight-bold);
  }
  .sub_title {
    margin-bottom: 1.2em;
    font-size: 4.8rem;
    text-align: center;
    line-height: 1.3;
  }
  .sub_title span {
    color: var(--main-color);
    font-family: var(--serif);
  }    
}
@media screen and (max-width:1024px) {
  .main_title {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
    font-size: 1.4rem;
    text-align: center;
  }
  .main_title span {
    display: block;
  }
  .main_title .eng {
    margin-bottom: .2em;
    color: var(--main-color);
    font-size: 4.2rem;
    font-weight: 400;
    line-height: 1;
    font-family: var(--alphabet);     
  }
  .main_title .jap {
    font-weight: var(--text-weight-bold);
    font-family: var(--sans);
  }
  .sub_title {
    margin-bottom: 1.2em;
    font-size: 2rem;
    text-align: center;
    line-height: 1.3;
  }
  .sub_title span {
    color: var(--main-color);
    font-family: var(--serif);
  }  
}
/******************************************************
メインビジュアル
******************************************************/
@media screen and (min-width:1025px) {
  #top_main .main_cover {
    position: relative;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
  }
  #top_main .main_cover:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(40,47,123,.25);
    z-index: 0;
  }
  #top_main .main_cover .catch_copy {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  #top_main .main_cover .catch_copy .catch {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    line-height: 1.5;    
  }
  #top_main .main_cover .catch_copy .catch .large {
    font-size: 3vw;
    font-family: var(--serif);
    text-shadow: 0 0 .3em rgba(0,0,0,.5);
  }
  #top_main .main_cover .catch_copy .catch .small {
    font-size: 2vw;
    font-family: var(--sans);
    font-weight: var(--text-weight-bold);
    text-shadow: 0 0 .3em rgba(0,0,0,.5);
  }
  #top_main .main_cover .main_slider {
    position: relative;
  }
  #top_main .main_cover .main_slider .slide {
    position: relative;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
  } 
  #top_main .main_cover .main_slider .slide_1 {
    background: #ccc url(/wp-content/uploads/images/main_img001.webp) center center no-repeat;
    background-size: cover;
  }
  #top_main .main_cover .main_slider .slide_2 {
    background: #eee url(/wp-content/uploads/images/main_img002.webp) center center no-repeat;
    background-size: cover;
  }
  #top_main .main_cover .main_slider .slide_3 {
    background: #bbb url(/wp-content/uploads/images/main_img003.webp) center center no-repeat;
    background-size: cover;
  }
}
@media screen and (max-width:1024px) {
  #top_main .main_cover {
    position: relative;
    width: 100%;
    height: 75vh;
    box-sizing: border-box;
  }
  #top_main .main_cover:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(40,47,123,.25);
    z-index: 0;
  }
  #top_main .main_cover .catch_copy {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  #top_main .main_cover .catch_copy .catch {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    line-height: 1.5;    
  }
  #top_main .main_cover .catch_copy .catch .large {
    font-size: 5.4vw;
    font-family: var(--serif);
    text-shadow: 0 0 .3em rgba(0,0,0,.5);
  }
  #top_main .main_cover .catch_copy .catch .small {
    font-size: 3.6vw;
    font-family: var(--sans);
    font-weight: var(--text-weight-bold);
    text-shadow: 0 0 .3em rgba(0,0,0,.5);
  }
  #top_main .main_cover .main_slider {
    position: relative;
  }
  #top_main .main_cover .main_slider .slide {
    position: relative;
    width: 100%;
    height: 75vh;
    box-sizing: border-box;
  } 
  #top_main .main_cover .main_slider .slide_1 {
    background: #ccc url(/wp-content/uploads/images/main_img001sp.webp) center center no-repeat;
    background-size: cover;
  }
  #top_main .main_cover .main_slider .slide_2 {
    background: #eee url(/wp-content/uploads/images/main_img002sp.webp) center center no-repeat;
    background-size: cover;
  }
  #top_main .main_cover .main_slider .slide_3 {
    background: #bbb url(/wp-content/uploads/images/main_img003sp.webp) center center no-repeat;
    background-size: cover;
  }
}
/******************************************************
院長メッセージ
******************************************************/
@media screen and (min-width:1025px) {
  #top_message {
    padding: 10rem 0;
    background: var(--white) url(/wp-content/uploads/images/bg_message.webp) top center no-repeat;
    background-size: cover;
    overflow: hidden;
  }
  #top_message .message_cover {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_message .message_cover.row {
    flex-direction: row;
  }
  #top_message .message_cover.reverse {
    flex-direction: row-reverse;
  }
  #top_message .image_area {
    position: relative;
    width: 420px;
    z-index: 1;
  }
  #top_message .image_area .photo {
    position: relative;
    width: 100%;
    margin-bottom: 8rem;
  }
  #top_message .image_area .photo:before {
    position: absolute;
    top: -30px;
    left: -30px;
    display: block;
    content: "";
    width: 60px;
    height: 60px;
    border-radius: 6px;
    background: var(--main-color);
    z-index: 0;
  }
  #top_message .image_area .photo:after {
    position: absolute;
    bottom: -40px;
    right: -40px;
    display: block;
    content: "";
    width: 80px;
    height: 80px;
    border-radius: 6px;
    background: var(--main-color);
    z-index: 0;
  }  
  #top_message .image_area .photo img {
    aspect-raito: 3 / 4;
    object-fit: cover;
  }
  #top_message .image_area .name {
    position: absolute;
    top: -2em;
    right: 1em;
    display: flex;
    flex-direction: column;
    font-family: var(--serif);
    line-height: 1;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-shadow: 
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1);
  }
  #top_message .image_area .name .clinic_name {
    font-size: 2rem;
  }
  #top_message .image_area .name .doctor_name {
    position: relative;
  }
  #top_message .image_area .name .doctor_name span {
    margin-bottom: 1em;
    font-size: 3rem;
  }
  #top_message .image_area .name .doctor_name:before {
    content: "";
    display: flex;
    width: 1px;
    height: 100%;
    margin: 0 .5em;
    background: var(--text-color);
    box-shadow:
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1);
  }  
  #top_message .text_area {
    position: relative;
    width: calc(100% - 340px);
    margin-top: 80px;
    padding: 8rem;
    padding-top: 0;
    box-sizing: border-box;
    background: var(--bg-high-color);
  }
  #top_message .message_cover.row .text_area {
    margin-left: -80px;
    padding-left: 160px;
  }
  #top_message .message_cover.reverse .text_area {
    margin-right: -80px;
    padding-right: 160px;
  }
  #top_message .text_area .text {
    position: relative;
    z-index: 1;
  }
  #top_message .text_area h2 {
    margin-bottom: .3em;
    margin-top: -.5em;
    color: var(--main-color);
    font-size: 12rem;
    line-height: 1;
    font-family: var(--alphabet);
  }
}
@media screen and (max-width:1024px) {
  #top_message {
    padding: 5rem 0;
    background: var(--white) url(/wp-content/uploads/images/bg_message.webp) top center no-repeat;
    background-size: cover;
    overflow: hidden;
  }
  #top_message .image_area {
    position: relative;
    width: 240px;
    margin: 0 auto 3rem;
    z-index: 1;
  }
  #top_message .image_area .photo {
    position: relative;
    width: 100%;
  }
  #top_message .image_area .photo:before {
    position: absolute;
    top: -15px;
    left: -15px;
    display: block;
    content: "";
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: var(--main-color);
    z-index: 0;
  }
  #top_message .image_area .photo:after {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: block;
    content: "";
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: var(--main-color);
    z-index: 0;
  }  
  #top_message .image_area .photo img {
    aspect-raito: 3 / 4;
    object-fit: cover;
  }
  #top_message .image_area .name {
    position: absolute;
    top: -2em;
    right: 1em;
    display: flex;
    flex-direction: column;
    font-family: var(--serif);
    line-height: 1;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-shadow: 
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1),
      0 0 .5em rgba(255,255,255,1);
  }
  #top_message .image_area .name .clinic_name {}
  #top_message .image_area .name .doctor_name {
    position: relative;
  }
  #top_message .image_area .name .doctor_name span {
    margin-bottom: 1em;
    font-size: 1.6rem;
  }
  #top_message .image_area .name .doctor_name:before {
    content: "";
    display: flex;
    width: 1px;
    height: 100%;
    margin: 0 .5em;
    background: var(--text-color);
    box-shadow:
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1),
      0 0 .5em 0 rgba(255,255,255,1);
  }  
  #top_message .text_area {
    position: relative;
    padding: 5rem 3rem;
    box-sizing: border-box;
    background: var(--bg-high-color);
  }
  #top_message .text_area .text {
    position: relative;
    z-index: 1;
  }
  #top_message .text_area h2 {
    margin-bottom: .3em;
    margin-top: -.5em;
    color: var(--main-color);
    font-size: 3rem;
    text-align: center;
    line-height: 1;
    font-family: var(--alphabet);
  }
}
/******************************************************
働きやすさ
******************************************************/
@media screen and (min-width:1025px) {
  #top_charm {
    padding: 10rem 5% 18rem;
    overflow: hidden;
  }
  #top_charm .title_cover {
    position: relative;
  }
  #top_charm h2 {
    position: relative;
    margin-bottom: 6rem;
    color: var(--main-color);
    font-size: 4.8rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
    font-family: var(--sans);
    line-height: 1.3;
    letter-spacing: .1em;      
    z-index: 1;
    text-shadow:
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff;
  }
  #top_charm h2 span {
    color: var(--sub-color);
    font-size: 2em;
  }  
  #top_charm .charm_list {
    padding: 0;
  }
  #top_charm .charm_list .list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 12rem;
    background: var(--bg-high-color);
  }
  #top_charm .charm_list .list:nth-child(n+2) {
    margin-top: 20rem;
  }
  #top_charm .charm_list .list:nth-child(odd) {
    margin-left: 16rem;
  }
  #top_charm .charm_list .list:nth-child(odd):before {
    position: absolute;
    bottom: -2rem;
    left: -8rem;
    display: block;
    content: "";
    width: 100%;
    height: 1px;
    border-bottom: 1px solid var(--main-color);
    box-sizing: border-box;
  }
  #top_charm .charm_list .list:nth-child(odd):after {
    position: absolute;
    bottom: -10rem;
    left: 2rem;
    display: block;
    content: "";
    width: 1px;
    height: 100%;
    border-left: 1px solid var(--main-color);
    box-sizing: border-box;
  }
  #top_charm .charm_list .list:nth-child(even) {
    flex-direction: row-reverse;
    margin-right: 16rem;
  }
  #top_charm .charm_list .list:nth-child(even):before {
    position: absolute;
    bottom: -2rem;
    right: -8rem;
    display: block;
    content: "";
    width: 100%;
    height: 1px;
    border-bottom: 1px solid var(--main-color);
    box-sizing: border-box;
  }  
  #top_charm .charm_list .list:nth-child(even):after {
    position: absolute;
    bottom: -10rem;
    right: 2rem;
    display: block;
    content: "";
    width: 1px;
    height: 100%;
    border-left: 1px solid var(--main-color);
    box-sizing: border-box;
  }  
  #top_charm .charm_list .list .image {
    position: relative;
    width: 40%;
    margin-top: -8rem;
    padding-bottom: 8rem;
    z-index: 1;
  }
  #top_charm .charm_list .list:nth-child(odd) .image {
    margin-left: -8rem;
  }
  #top_charm .charm_list .list:nth-child(odd) .image img {
    box-shadow: 2rem 2rem var(--sub-color);
  }
  #top_charm .charm_list .list:nth-child(even) .image {
    margin-right: -8rem;
  }
  #top_charm .charm_list .list:nth-child(even) .image img {
    box-shadow: -2rem 2rem var(--sub-color);
  }  
  #top_charm .charm_list .list .comment {
    width: 60%;
    padding: 12rem 8rem;
    box-sizing: border-box;
  }
  #top_charm .charm_list .list:nth-child(odd) .comment {
    padding-left: 0;
  }
  #top_charm .charm_list .list:nth-child(even) .comment {
    padding-right: 0;
  }
  #top_charm .charm_list .list .title {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
  }
  #top_charm .charm_list .list .number {
    width: 160px;
    color: var(--sub-color);
    font-size: 12rem;
    font-family: var(--serif);
    font-weight: var(--text-weight-bold);
    line-height: 1;
  }
  #top_charm .charm_list .list h3 {
    width: calc(100% - 160px);
    color: var(--main-color);
    font-size: 3rem;
    font-family: var(--sans);
    font-weight: var(--text-weight-bold);
  }   
}
@media screen and (max-width:1024px) {
  #top_charm {
    padding: 5rem 0;
    overflow: hidden;
  }
  #top_charm .title_cover {
    position: relative;
  }
  #top_charm h2 {
    position: relative;
    margin-bottom: 3rem;
    color: var(--main-color);
    font-size: 1.8rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
    font-family: var(--sans);
    line-height: 1.3;
    letter-spacing: .1em;      
    z-index: 1;
    text-shadow:
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff;
  }
  #top_charm h2 span {
    color: var(--sub-color);
    font-size: 2em;
  }    
  #top_charm .charm_list {
    padding: 0;
  }
  #top_charm .charm_list .list {
    margin-top: 3rem;
    background: var(--bg-high-color);
  } 
  #top_charm .charm_list .list .image {
    position: relative;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 2;
    z-index: 1;
  }
  #top_charm .charm_list .list .comment {
    padding: 3rem 1.5rem;
    box-sizing: border-box;
  }
  #top_charm .charm_list .list .title {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1em;
  }
  #top_charm .charm_list .list .number {
    width: 80px;
    color: var(--sub-color);
    font-size: 6rem;
    text-align: right;
    font-family: var(--serif);
    font-weight: var(--text-weight-bold);
    line-height: 1;
  }
  #top_charm .charm_list .list h3 {
    width: calc(100% - 80px);
    color: var(--main-color);
    font-size: 1.6rem;
    font-family: var(--sans);
    font-weight: var(--text-weight-bold);
  }
  #top_charm .charm_list .list h3 br {
    display: none;
  }
}
/******************************************************
当院の自慢
******************************************************/
@media screen and (min-width:1025px) {
  #top_point {
    padding: 10rem 0;
    background: var(--bg-high-color-2);
    background-size: cover;
  }
  #top_point .inner {
    width: 100%;
    padding: 0 5%;
  }
  #top_point .point_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_point .point_list .list {
    width: calc((100% / 3) - 20px);
    font-size: 1.8rem;
    background: rgba(255,255,255,.9);
    box-sizing: border-box;
    box-shadow: 6px 6px 12px 0 rgba(0,0,0,.1);    
  }  
  #top_point .point_list .list:nth-child(1) .box {
    background: url(/wp-content/uploads/images/point_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_point .point_list .list:nth-child(2) .box {
    background: url(https://hasama.grits-test.work/wp-content/uploads/2026/03/32948807_l-scaled.jpg) top center no-repeat;
    background-size: cover;
  }
  #top_point .point_list .list:nth-child(3) .box {
    background: url(/wp-content/uploads/images/point_img003.webp) top center no-repeat;
    background-size: cover;
  }
  #top_point .point_list .list .title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    text-align: center;
    font-size: 2.4rem;
    font-weight: var(--text-weight-bold);
    font-family: var(--sans);
    letter-spacing: .1em;    
    height: 300px;
    background: rgba(235,159,91,.3);
    text-shadow: 
      var(--sub-color) 0 0 .3em,
      var(--sub-color) 0 0 .3em,
      var(--sub-color) 0 0 .3em,
      var(--sub-color) 0 0 .3em;
  }
  #top_point .point_list .list .title .number {
    font-size: 4.8rem;
    font-family: var(--serif);
  }
  #top_point .point_list .list .comment {
    padding: 5rem;
    box-sizing: border-box;
  }
}
@media screen and (max-width:1024px) {
  #top_point {
    padding: 5rem 0;
    background: var(--bg-high-color-2);
  }
  #top_point .point_list {}
  #top_point .point_list .list {
    background: rgba(255,255,255,.9);
    box-sizing: border-box;
    box-shadow: 6px 6px 12px 0 rgba(0,0,0,.1);    
  }  
  #top_point .point_list .list:nth-child(n+2) {
    margin-top: 1.5rem;
  }
  #top_point .point_list .list:nth-child(1) .box {
    background: url(/wp-content/uploads/images/point_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_point .point_list .list:nth-child(2) .box {
    background: url(/wp-content/uploads/images/point_img002.webp) top center no-repeat;
    background-size: cover;
  }
  #top_point .point_list .list:nth-child(3) .box {
    background: url(/wp-content/uploads/images/point_img003.webp) top center no-repeat;
    background-size: cover;
  }
  #top_point .point_list .list .title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    text-align: center;
    font-size: 2rem;
    font-weight: var(--text-weight-bold);
    font-family: var(--sans);
    letter-spacing: .1em;    
    background: rgba(235,159,91,.3);
    text-shadow: 
      var(--sub-color) 0 0 .3em,
      var(--sub-color) 0 0 .3em,
      var(--sub-color) 0 0 .3em,
      var(--sub-color) 0 0 .3em;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 2;
  }
  #top_point .point_list .list .title .number {
    font-size: 3rem;
    font-family: var(--serif);
  }
  #top_point .point_list .list .comment {
    padding: 3rem 1.5rem;
    box-sizing: border-box;
  }
}
/******************************************************
まだまだある
******************************************************/
@media screen and (min-width:1025px) {
  #top_more {
    padding: 10rem 0;
    background: var(--white);
  }
  #top_more .title_cover {
    position: relative;
  }
  #top_more h2 {
    position: relative;
    margin-bottom: 6rem;
    color: var(--main-color);
    font-size: 4.8rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
    font-family: var(--serif);
    line-height: 1.3;
    letter-spacing: .1em;      
    z-index: 1;
    text-shadow:
      0 0 10px #fff,
      0 0 10px #fff,
      0 0 10px #fff,
      0 0 10px #fff,
      0 0 10px #fff,
      0 0 10px #fff,
      0 0 10px #fff,
      0 0 10px #fff;
  }
  #top_more h2 span {
    color: var(--sub-color);
  }   
  #top_more .more_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 5%;
  }
  #top_more .more_list .list {
    width: calc((100% / 3) - 2rem);
    background: #fff;
    box-shadow: 6px 6px 12px 0 rgba(0,0,0,.1);    
  }
  #top_more .more_list .list .image {
    margin-bottom: 2rem;
  }
  #top_more .more_list .list .image img {
  }
  #top_more .more_list .list h3 {
    margin-bottom: 2rem;
    color: var(--main-color);
    font-size: 2.4rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
  }
  #top_more .more_list .list .comment {
    padding: 5rem;
    padding-top: 0;
  }
}
@media screen and (max-width:1024px) {
  #top_more {
    padding: 5rem 0;
    background: var(--white);
  }
  #top_more .title_cover {
    position: relative;
  }
  #top_more h2 {
    position: relative;
    margin-bottom: 3rem;
    color: var(--main-color);
    font-size: 1.8rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
    font-family: var(--sans);
    line-height: 1.3;
    letter-spacing: .1em;      
    z-index: 1;
    text-shadow:
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff,
      0 0 .3em #fff;
  }
  #top_more h2 span {
    color: var(--sub-color);
  }    
  #top_more .more_list {
    padding: 0 1.5rem;
  }
  #top_more .more_list .list {
    background: #fff;
    box-shadow: 6px 6px 12px 0 rgba(0,0,0,.1);    
  }
  #top_more .more_list .list:nth-child(n+2) {
    margin-top: 1.5rem;
  }
  #top_more .more_list .list .image {
    margin-bottom: 2rem;
  }
  #top_more .more_list .list .image img {
  }
  #top_more .more_list .list h3 {
    margin-bottom: 2rem;
    color: var(--main-color);
    font-size: 2rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
  }
  #top_more .more_list .list .comment {
    padding: 3rem 1.5rem;
    padding-top: 0;
  }
}
/****************************************************
スタッフの声
****************************************************/
@media screen and (min-width: 1025px) {
  #top_voice {
    padding: 10rem 0;
    background: var(--bg-high-color-2) url(/wp-content/uploads/images/bg_voice.webp) top center no-repeat;
    background-size: 100% auto;
  }
  #top_voice .voice_list {
    max-width: 1200px;
    margin: 0 auto;
  }
  #top_voice .voice_list .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_voice .voice_list .list:nth-child(even) {
    flex-direction: row-reverse;
  }
  #top_voice .voice_list .list:nth-child(n+2) {
    margin-top: 5rem;
  }  
  #top_voice .voice_list .list .box {
    position: relative;
    width: calc(100% - 240px);
    padding: 5rem;
    box-sizing: border-box;
    background: var(--white);
  }
  #top_voice .voice_list .list:nth-child(odd) .box:before {
    position: absolute;
    display: block;
    content: "";
    top: 100px;
    right: 100%;
    margin-top: -20px;
    border-top: 20px solid transparent;
    border-right: 20px solid var(--white);
    border-bottom: 20px solid transparent;
  }
  #top_voice .voice_list .list:nth-child(even) .box:before {
    position: absolute;
    display: block;
    content: "";
    top: 100px;
    left: 100%;
    margin-top: -20px;
    border-top: 20px solid transparent;
    border-left: 20px solid var(--white);
    border-bottom: 20px solid transparent;
  }  
  #top_voice .voice_list .list .box .s_box:nth-child(n+2) {
    margin-top: 3rem;
  }
  #top_voice .voice_list .list .image {
    width: 200px;
    height: 200px;
    border-radius: 100px;
  }
  #top_voice .voice_list .list .image img {
    border-radius: 50%;
  }
  #top_voice .voice_list .list h3 {
    margin-bottom: .8em;
    padding-bottom: .8em;
    color: var(--main-color);
    font-weight: 600;
    border-bottom: 1px dotted var(--border-color);
  }
  #top_voice .voice_list .list h3 span {
    font-size: 1.8rem;
  }
}
@media screen and (max-width: 1024px) {
  #top_voice {
    padding: 5rem 0;
    background: var(--bg-high-color-2) url(/wp-content/uploads/images/bg_voice.webp) top center no-repeat;
    background-size: 100% auto;
  }
  #top_voice .voice_list {
    max-width: 960px;
    margin: 0 auto;
  }
  #top_voice .voice_list .list {}
  #top_voice .voice_list .list:nth-child(n+2) {
    margin-top: 3rem;
  }  
  #top_voice .voice_list .list .box {
    position: relative;
    width: 100%;
    padding: 3rem;
    box-sizing: border-box;
    background: var(--white);
  }
  #top_voice .voice_list .list .box:before {
    position: absolute;
    display: block;
    content: "";
    bottom: 100%;
    left: 50%;
    margin-left: -20px;
    border-bottom: 20px solid var(--white);
    border-right: 20px solid transparent;
    border-left: 20px solid transparent;
  }
  #top_voice .voice_list .list .box .s_box:nth-child(n+2) {
    margin-top: 1em;
  }
  #top_voice .voice_list .list .image {
    width: 160px;
    height: 160px;
    margin: 0 auto 3rem;
    border-radius: 80px;
  }
  #top_voice .voice_list .list .image img {
    border-radius: 50%;
  }
  #top_voice .voice_list .list h3 {
    margin-bottom: .8em;
    padding-bottom: .8em;
    color: var(--main-color);
    font-weight: 600;
    border-bottom: 1px dotted var(--border-color);
  }

  #top_voice .voice_list .list h3 span {
    font-size: 1.6rem;
  }
}
/****************************************************
ドクターインタビュー
****************************************************/
@media screen and (min-width: 1025px) {
  #top_doctor {
    padding: 10rem 0;
    background: var(--bg-high-color);
  }
  #top_doctor .doctor_cover {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
  }
  #top_doctor .doctor_cover:nth-of-type(2) {
    flex-direction: row;
    margin-top: 10rem;
  }
  #top_doctor .doctor_cover:before {
    display: block;
    width: 40%;
    content: "";
  }
  #top_doctor .doctor_cover:nth-of-type(1):before {
    border-radius: 2rem 0 0 2rem;
    background: url(/wp-content/uploads/images/doctor_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_doctor .doctor_cover:nth-of-type(2):before {
    border-radius: 0 2rem 2rem 0;
    background: url(/wp-content/uploads/images/doctor_img002.webp) top center no-repeat;
    background-size: cover;
  }
  .doctor_list {
    width: 60%;    
    padding: 0 10rem;
    box-sizing: border-box;
  }
  .doctor_list .list:nth-child(n+2) {
    margin-top: 2em;
  }
  .doctor_list .list .title span {
    position: relative;
    display: block;
    padding-left: 1.5em;
    font-size: 2rem;
    font-weight: var(--text-weight-bold);
  }
  .doctor_list .list .title span:before {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -.5em;
    color: var(--main-color);
    line-height: 1;
    content: "Q.";
    font-family: var(--alphabet);  
  }
  .doctor_list .list p {
    margin-top: .5em;
    padding: 3rem;
    background: var(--white);
  }
}
@media screen and (max-width: 1024px) {
  #top_doctor {
    padding: 5rem 0;
    background: var(--bg-high-color);
  }
  #top_doctor .doctor_cover {}
  #top_doctor .doctor_cover:before {
    display: block;
    width: 100%;
    content: "";
    object-fit: cover;
    aspect-ratio: 3 / 2;
  }
  #top_doctor .doctor_cover:nth-of-type(1):before {
    background: url(/wp-content/uploads/images/doctor_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_doctor .doctor_cover:nth-of-type(2):before {
    background: url(/wp-content/uploads/images/doctor_img002.webp) top center no-repeat;
    background-size: cover;
  }
  .doctor_list {   
    padding: 3rem 1.5rem;
    box-sizing: border-box;
  }
  .doctor_list .list:nth-child(n+2) {
    margin-top: 2em;
  }
  .doctor_list .list .title span {
    position: relative;
    display: block;
    padding-left: 1.5em;
    font-size: 1.6rem;
    font-weight: var(--text-weight-bold);
    line-height: 1.5;
  }
  .doctor_list .list .title span:before {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -.5em;
    color: var(--main-color);
    line-height: 1;
    content: "Q.";
    font-family: var(--alphabet);      
  }
  .doctor_list .list p {
    margin-top: .5em;
    padding: 3rem;
    background: var(--white);
  }
}
/******************************************************
1日のスケジュール
******************************************************/
@media screen and (min-width:1025px) {
  #top_schedule {
    padding: 10rem 0;
    background: var(--white);
  }  
  #top_schedule .inner {
    width: initial;
    padding: 0;
  }
  .parts_schedule_a .schedule_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 5%;
  }
  .parts_schedule_a .schedule_list .list {
    position: relative;
    display: flex;
    flex-direction: column;
    width: calc((100% / 5) - 12px);
    margin-left: 15px;
  }
  .parts_schedule_a .schedule_list .list:nth-child(5n+1) {
    margin-left: 0;
  }
  .parts_schedule_a .schedule_list .list .image {
    position: relative;
    margin-bottom: 2rem;
  }
  .parts_schedule_a .schedule_list .list:nth-child(-n+5) .image:after {
    position: absolute;
    top: 50%;
    left: 100%;
    display: block;
    content: "";
    width: 4rem;
    height: 1px;
    background: #ccc;
  }
  .parts_schedule_a .schedule_list .list .time {
    position: absolute;
    top: -30px;
    right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto;
    color: var(--white);
    text-align: center;
    font-family: var(--serif);
    border-radius: 50%;
    background: var(--sub-color);
  }
  .parts_schedule_a .schedule_list .list .title {
    color: var(--main-color);
    font-weight: 600;
    font-size: 1.8rem;
  }
}
@media screen and (max-width:1024px) {
  #top_schedule {
    padding: 5rem 0;
    background: var(--white);
  }
  .parts_schedule_a .schedule_list .list {
    position: relative;
    display: flex;
    flex-direction: column;
  }
  .parts_schedule_a .schedule_list .list:nth-child(n+2) {
    margin-top: 3rem;
  }
  .parts_schedule_a .schedule_list .list .image {
    position: relative;
    margin-bottom: 1rem;
  } 
  .parts_schedule_a .schedule_list .list .time {
    position: absolute;
    top: -30px;
    right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto;
    color: var(--white);
    text-align: center;
    font-family: var(--serif);
    border-radius: 50%;
    background: var(--sub-color);
  }
  .parts_schedule_a .schedule_list .list .title {
    color: var(--main-color);
    font-weight: 600;
    font-size: 1.6rem;
  }

}
/******************************************************
特徴
******************************************************/
@media screen and (min-width:1025px) {
  #top_feature {   
    position: relative;
    padding: 10rem 0;
    background: var(--bg-high-color-2);
  } 
  #top_feature .main_title .eng {
    position: relative;
    z-index: 1;
  }
  #top_feature .feature_list {
    position: relative;  
    padding: 0 5%;
    z-index: 1;
  }
  #top_feature .feature_list .list {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    z-index: 1;
  }
  #top_feature .feature_list .list:nth-child(odd) {
    flex-direction: row-reverse;
  }
  #top_feature .feature_list .list:nth-child(n+2) {
    margin-top: 8rem;
  }
  #top_feature .feature_list .list .image {
    width: 50%;
    margin-bottom: 8rem;
    box-sizing: border-box;
    background: var(--bg-high-color);
  }
  #top_feature .feature_list .list:nth-child(1) .image {
    background: url(/wp-content/uploads/images/feature_img001.webp?20250519) top center no-repeat;
    background-size: cover;
  }
  #top_feature .feature_list .list:nth-child(2) .image {
    background: url(/wp-content/uploads/images/feature_img002.webp?20250519) top center no-repeat;
    background-size: cover;
  }
  #top_feature .feature_list .list:nth-child(3) .image {
    background: url(/wp-content/uploads/images/feature_img003.webp?20250519) top center no-repeat;
    background-size: cover;
  }
  #top_feature .feature_list .list .text {
    position: relative;
    width: calc(50% + 8rem);
    box-sizing: border-box;
    z-index: 1;
  }
  #top_feature .feature_list .list:nth-child(odd) .text {
    margin-right: -8rem;
  }
  #top_feature .feature_list .list:nth-child(even) .text {
    margin-left: -8rem;
  }
  #top_feature .feature_list .list .text .cover {
    padding: 8rem;
    background: var(--white);
  }
  #top_feature .feature_list .list .text .number {
    color: var(--sub-color);
    font-size: 6rem;
    text-align: center;
    font-family: var(--serif);
  }
  #top_feature .feature_list .list .text .number span {
    margin-left: .1em;
    font-size: 12rem;
    line-height: 1;
  }
  #top_feature .feature_list .list .text .title {
    margin-bottom: 1em;
    padding-bottom: 1em;
    color: var(--main-color);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
  }
}
@media screen and (max-width:1024px) {
  #top_feature {   
    position: relative;
    padding: 5rem 0;
    background: var(--bg-high-color-2);
  } 
  #top_feature .main_title .eng {
    position: relative;
    z-index: 1;
  }
  #top_feature .feature_list {
    position: relative;  
    z-index: 1;
  }
  #top_feature .feature_list .list {
    z-index: 1;
  }
  #top_feature .feature_list .list:nth-child(n+2) {
    margin-top: 5rem;
  }
  #top_feature .feature_list .list .image {
    width: 100%;
    margin-bottom: 2rem;
    box-sizing: border-box;
    background: var(--bg-high-color);
    object-fit: cover;
    aspect-ratio: 3 / 2;
  }
  #top_feature .feature_list .list:nth-child(1) .image {
    background: url(/wp-content/uploads/images/feature_img001.webp?20250519) top center no-repeat;
    background-size: cover;
  }
  #top_feature .feature_list .list:nth-child(2) .image {
    background: url(/wp-content/uploads/images/feature_img002.webp?20250519) top center no-repeat;
    background-size: cover;
  }
  #top_feature .feature_list .list:nth-child(3) .image {
    background: url(/wp-content/uploads/images/feature_img003.webp?20250519) top center no-repeat;
    background-size: cover;
  }

  #top_feature .feature_list .list .text {
    position: relative;
    box-sizing: border-box;
    z-index: 1;
  }
  #top_feature .feature_list .list .text .cover {
    padding: 0 1.5rem;
  }
  #top_feature .feature_list .list .text .number {
    color: var(--sub-color);
    font-size: 1.6rem;
    text-align: center;
    font-family: var(--serif);
  }
  #top_feature .feature_list .list .text .number span {
    margin-left: .1em;
    font-size: 3rem;
    line-height: 1;
  }
  #top_feature .feature_list .list .text .title {
    margin-bottom: 1em;
    padding-bottom: 1em;
    color: var(--main-color);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
  }
}
/******************************************************
クリニック情報
******************************************************/
@media screen and (min-width:1025px) {
  #top_clinic {
    background: var(--white);
  }
  #top_clinic .clinic_flex {
    display: flex;
    flex-wrap: wrap;
  }
  #top_clinic .clinic_flex .image {
    width: 50%;
    background: url(/wp-content/uploads/images/clinic_img001.webp) top center no-repeat;
    background-size: cover;
  }
  #top_clinic .clinic_flex .image img {
    display: none;
  }
  #top_clinic .clinic_flex .data {
    width: 50%;
    box-sizing: border-box;
  }
  #top_clinic .clinic_flex .data .box {
    max-width: 600px;    
    padding: 6rem;
    padding-right: 0;
    box-sizing: border-box;
  }
  #top_clinic .main_title {
    text-align: left;
  }
  #top_clinic .clinic_data {
    margin-bottom: 3rem;
  }
  #top_clinic .clinic_data table {
    width: 100%;
    table-layout: fixed;
    border-top: 1px solid var(--border-color);
  }
  #top_clinic .clinic_data th,
  #top_clinic .clinic_data td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
  }
  #top_clinic .clinic_data th {
    width: 80px;
  }
  #top_clinic .clinic_schedule table {
    width: 100%;
    margin-bottom: 1rem;
  }
  #top_clinic .clinic_schedule th,
  #top_clinic .clinic_schedule td {
    padding: 1rem;
    text-align: center;
  }
  #top_clinic .clinic_schedule th {
    color: var(--white);
    background: var(--main-color);
  }
  #top_clinic .clinic_schedule td {
    border-bottom: 1px solid var(--border-color);
  }
  #top_clinic .clinic_schedule .color {
    color: var(--sub-color);
  }
  #top_clinic .clinic_schedule p {
    text-align: right;
  }
}
@media screen and (max-width:1024px) {
  #top_clinic {
    background: var(--white);
  }
  #top_clinic .clinic_flex {
  }
  #top_clinic .clinic_flex .image {
    width: 100%;
    background: url(/wp-content/uploads/images/clinic_img001.webp) top center no-repeat;
    background-size: cover;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }
  #top_clinic .clinic_flex .image img {
    display: none;
  }
  #top_clinic .clinic_flex .data {
    box-sizing: border-box;
  }
  #top_clinic .clinic_flex .data .box { 
    padding: 5rem 1.5rem;
    box-sizing: border-box;
  }
  #top_clinic .main_title {}
  #top_clinic .clinic_data {
    margin-bottom: 3rem;
  }
  #top_clinic .clinic_data table {
    width: 100%;
    border-top: 1px solid var(--border-color);
  }
  #top_clinic .clinic_data th,
  #top_clinic .clinic_data td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
  }
  #top_clinic .clinic_data th {
    width: 80px;
  }
  #top_clinic .clinic_schedule table {
    width: 100%;
    margin-bottom: 1rem;
  }
  #top_clinic .clinic_schedule th,
  #top_clinic .clinic_schedule td {
    padding: .5em;
    text-align: center;
  }
  #top_clinic .clinic_schedule th {
    color: var(--white);
    background: var(--main-color);
  }
  #top_clinic .clinic_schedule td {
    border-bottom: 1px solid var(--border-color);
  }
  #top_clinic .clinic_schedule .color {
    color: var(--sub-color);
  }
  #top_clinic .clinic_schedule p {
    text-align: right;
  }
}
/******************************************************
スライダー
******************************************************/
@media screen and (min-width:1025px) {
  #top_slider {
    padding: 2rem 0;
  }
  .simply-scroll-container {
    position: relative;
  }
  .simply-scroll-clip {
    position: relative;
    overflow: hidden; 
  }
  .simply-scroll-list {
    overflow: hidden;
    margin: 0;
    padding: 0;
  }
  .simply-scroll-list li img {
    display: block;
    border-radius: 2rem;
  }
  #image-scroll.simply-scroll-list div {
    float: left; 
    padding: 0 1rem;
    margin: 0;
    width: 360px;
    height: 240px;
    list-style:none!important;
  }    
  #image-scroll.simply-scroll-list img {
    display: block;
  }  
}
@media screen and (max-width:1024px) { 
  #top_slider { 
    padding: 1rem 0;
  }
  .simply-scroll-container {
    position: relative;
  }
  .simply-scroll-clip {
    position: relative;
    overflow: hidden; 
  }
  .simply-scroll-list {
    overflow: hidden;
    margin: 0;
    padding: 0;
  }
  .simply-scroll-list li img {
    display: block;
    border-radius: 1rem;
  }
  #image-scroll.simply-scroll-list div {
    float: left; 
    padding: 0 .5rem;
    margin: 0;
    width: 240px;
    height: 160px;
    list-style:none!important;
  }    
  #image-scroll.simply-scroll-list img {
    display: block;
  }  
}
/******************************************************
採用の流れ
******************************************************/
@media screen and (min-width:1025px) {
  #top_flow {
    padding: 10rem 0;
    background: var(--white);
  }
  #top_flow .inner {
    width: initial;
    padding: 0 10%;
    box-sizing: border-box;
  }
  #top_flow .flow_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_flow .flow_list .list {
    position: relative;
    width: calc((100% / 5) - 32px);
  }
  #top_flow .flow_list .list .number {
    position: absolute;
    top: -3rem;
    left: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 6rem;
    height: 6rem;
    margin-left: -3rem;
    padding: 1rem;
    color: var(--white);
    font-size: 1rem;
    font-family: var(--serif);
    text-align: center;
    line-height: 1;
    background: var(--main-color);
    border-radius: 3rem;
    z-index: 1;
    box-sizing: border-box; 
  }
  #top_flow .flow_list .list .number span {
    font-size: 2rem;
    font-weight: 600;
  }
  #top_flow .flow_list .list .image {
    position: relative;
    margin-bottom: 2rem;
  }
  #top_flow .flow_list .list:nth-child(n+2) .image:before {
    position: absolute;
    display: block;
    content: "\f04e";
    font-family: "FontAwesome";
    top: 50%;
    left: -30px;
    margin-top: -0.5em;
    color: var(--sub-color);
    font-size: 2rem;
    line-height: 1;
  }
  #top_flow .flow_list .list h3 {
    margin-bottom: .8em;
    text-align: center;
  }
  #top_flow .flow_list .list h3 span {
    color: var(--main-color);
    font-weight: var(--text-weight-bold);
  }
  #top_flow .flow_list .list a {
    color: var(--main-color);
    text-decoration: underline;
  }
  #top_flow .flow_list .list a:hover {
    text-decoration: none;
  }
}
@media screen and (max-width:1024px) {
  #top_flow {
    padding: 5rem 0;
    background: var(--white);
  }
  #top_flow .flow_list {}
  #top_flow .flow_list .list {
    position: relative;
    margin-top: 5rem;
  }
  #top_flow .flow_list .list .number {
    position: absolute;
    top: -3rem;
    left: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 6rem;
    height: 6rem;
    margin-left: -3rem;
    padding: 1rem;
    color: #fff;
    font-size: 1rem;
    font-family: var(--serif);
    text-align: center;
    line-height: 1;
    background: var(--main-color);
    border-radius: 3rem;
    z-index: 1;
    box-sizing: border-box; 
  }
  #top_flow .flow_list .list .number span {
    font-size: 2.4rem;
  }
  #top_flow .flow_list .list .image {
    position: relative;
    margin-bottom: 2rem;
  }
  #top_flow .flow_list .list:nth-child(n+2) .image:before {
    position: absolute;
    display: block;
    content: "\f04e";
    font-family: "FontAwesome";
    top: 50%;
    left: -30px;
    margin-top: -0.5em;
    color: var(--sub-color);
    font-size: 2rem;
    line-height: 1;
  }
  #top_flow .flow_list .list h3 {
    margin-bottom: .8em;
    font-size: 2rem;
    text-align: center;
  }
  #top_flow .flow_list .list h3 span {
    color: var(--main-color);
    font-weight: var(--text-weight-bold);
  }
  #top_flow .flow_list .list a {
    color: var(--main-color);
    text-decoration: underline;
  }
  #top_flow .flow_list .list a:hover {
    text-decoration: none;
  }  
}
/******************************************************
募集要項
******************************************************/
@media screen and (min-width:1025px) {
  #top_recruit {
    padding: 10rem 0;
    background: var(--bg-high-color-2);
  }
  #top_recruit .recruit_btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 6rem;
  }
  #top_recruit .recruit_btn .btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: 240px;
    height: 60px;
    margin-left: 2rem;
    color: var(--white);
    background: var(--main-color);
    border: 1px solid var(--main-color);
    cursor: pointer;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
    box-sizing: border-box;
  }
  #top_recruit .recruit_btn .btn.active,
  #top_recruit .recruit_btn .btn:hover {
    color: var(--main-color);
    background: var(--white);
  }
  #top_recruit .recruit_btn .btn:nth-child(4n+1) {
    margin-left: 0;
  }
  #top_recruit .recruit_box {
    display: none;
  }
  #top_recruit .recruit_box.active {
    display: block;
  }
  #top_recruit .recruit_box dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_recruit .recruit_box dl:nth-of-type(n+2) {
    margin-top: 15px;
  }
  #top_recruit .recruit_box dl dt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: calc(25% - 7.5px);
    padding: 1em;
    color: var(--white);
    line-height: 1.5;
    text-align: center;
    background: var(--sub-color);
    box-sizing: border-box;
  }
  #top_recruit .recruit_box dl dd {
    width: calc(75% - 7.5px);
    padding: 1em;
    line-height: 1.5;
    background: var(--white);
    box-sizing: border-box;
  }
}
@media screen and (max-width:1024px) {
  #top_recruit {
    padding: 5rem 0;
    background: var(--bg-high-color-2);
  }
  #top_recruit .recruit_btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
  }
  #top_recruit .recruit_btn .btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    width: calc((100% / 3) - 2px);
    height: 40px;
    margin-left: 3px;
    color: var(--white);
    font-size: 1.2rem;
    background: var(--main-color);
    cursor: pointer;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;    
    box-sizing: border-box;
    border: 1px solid var(--main-color);
  }
  #top_recruit .recruit_btn .btn:nth-child(3n+1) {
    margin-left: 0;
  }
  #top_recruit .recruit_btn .btn:nth-child(n+4) {
    margin-top: 6px;
  }
  #top_recruit .recruit_btn .btn.active,
  #top_recruit .recruit_btn .btn:hover {
    color: var(--main-color);
    background: var(--white);
  }
  #top_recruit .recruit_box {
    display: none;
  }
  #top_recruit .recruit_box.active {
    display: block;
  }
  #top_recruit .recruit_box dl {
  }
  #top_recruit .recruit_box dl:nth-of-type(n+2) {
    margin-top: 1.5rem;
  }
  #top_recruit .recruit_box dl dt {
    padding: 1em;
    color: var(--white);
    text-align: center;
    background: var(--sub-color);
    box-sizing: border-box;
  }
  #top_recruit .recruit_box dl dd {
    margin-top: 1rem;
    padding: 1em;
    background: var(--white);
    box-sizing: border-box;
  }
}
/******************************************************
応募フォーム
******************************************************/
@media screen and (min-width:1025px) {
  #top_entry {
    padding: 10rem 0;
    background: var(--bg-high-color);
  }
  #top_entry .no_recruit {
    font-size: 2rem;
    font-weight: var(--text-weihgt-bold);
    text-align: center;
  }
  #top_entry .entry_form {
    width: 960px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 5rem;
  }
  #top_entry .entry_form .form_table {
    margin-bottom: 5rem;
  }
  #top_entry .entry_form dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    font-size: 1.6rem;
    background: var(--white);
    box-sizing: border-box;
    box-shadow: 0 0 6px 0 rgba(0,0,0,.1);
  }
  #top_entry .entry_form dl:nth-child(n+2) {
    margin-top: 1.5rem;
  }
  #top_entry .entry_form dt {
    position: relative;
    width: 300px;
    padding: 1.5em;
    box-sizing: border-box;
  }
  #top_entry .entry_form dt.req:after {
    position: absolute;
    top: 50%;
    right: 0;
    content: "必須";
    padding: 0 1rem;
    color: var(--white);
    margin-top: -1.6rem;
    font-size: 1.4rem;
    line-height: 3.2rem;
    background: var(--sub-color);
  }
  #top_entry .entry_form dd {
    width: calc(100% - 315px);
    padding: 1.5em;
    box-sizing: border-box;
  }
  #top_entry .entry_form dd.flex {
    display: flex;
    flex-wrap: wrap;
  }
  #top_entry .entry_form dd input[type=text],
  #top_entry .entry_form dd input[type=email],
  #top_entry .entry_form dd textarea {
    width: 100%;
    padding: 1em;
    border: none;
    background: #f2f2f2;
    box-sizing: border-box;
  }
  #top_entry .entry_form dd input[type=text].number {
    width: 120px;
  }
  #top_entry .entry_form dd input.post {
    width: 240px!important;
  }
  #top_entry .entry_form dd div:nth-child(n+2) {
    margin-left: 1em;
  }
  #top_entry .entry_form .note {
    margin-bottom: 5rem;
    padding: 4rem;
    text-align: center;
    background: var(--white);
  }
  #top_entry .entry_form .check_comment {
    margin-bottom: 5rem;
    text-align: center;
  }
  #top_entry .entry_form .entry_btn {
    position: relative;
    width: 360px;
    margin: 0 auto 5rem;
    text-align: center;
  }
  #top_entry .entry_form .entry_btn input[type=submit] {
    display: inline-block;
    width: 100%;
    height: 6rem;
    color: var(--white);
    font-size: 1.8rem;
    background: var(--main-color);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #top_entry .entry_form .entry_btn input[type=submit]:hover {
    opacity: .7;
  }
  #top_entry .entry_form .entry_btn:after {
    position: absolute;
    display: block;
    content: "\f105";
    font-family: "FontAwesome";
    top: 50%;
    right: 1em;
    margin-top: -.5em;
    color: var(--white);
    line-height: 1;  
  }
  #top_entry .entry_form .privacy {
    padding: 4rem;
    border: 1px solid var(--border-color);
  }
  #top_entry .entry_form .privacy .title {
    margin-bottom: 1em;
    font-size: 2.4rem;
    text-align: center;
    font-weight: var(--text-weight-bold);
  }
  #top_entry .entry_form .privacy li {
    position: relative;
    padding-left: 1.5em;
  }
  #top_entry .entry_form .privacy li:before {
    position: absolute;
    top: 0;
    left: 0;
    content: "・";
  }
}
@media screen and (max-width:1024px) {
  #top_entry {
    padding: 5rem 0;
    background: var(--bg-high-color);    
  }
  #top_entry .no_recruit {
    font-weight: var(--text-weight-bold);
    text-align: center;
  }  
  #top_entry .entry_form {}
  #top_entry .entry_form .form_table {
    margin-bottom: 3rem;
  }
  #top_entry .entry_form dl {
    background: var(--white);
    box-sizing: border-box;
  }
  #top_entry .entry_form dl:nth-child(n+2) {
    margin-top: 1.5rem;
  }
  #top_entry .entry_form dt {
    position: relative;
    padding: 1.5em;
    padding-bottom: .5rem;
    box-sizing: border-box;
  }
  #top_entry .entry_form dt.req:after {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    content: "必須";
    padding: 0 1rem;
    color: var(--white);
    font-size: 1.4rem;
    line-height: 3.2rem;
    background: var(--sub-color);
  }
  #top_entry .entry_form dd {
    padding: 1.5em;
    padding-top: .5rem;
    box-sizing: border-box;
  }
  #top_entry .entry_form dd.flex {
    display: flex;
    flex-wrap: wrap;
  }
  #top_entry .entry_form dd input[type=text],
  #top_entry .entry_form dd input[type=email],
  #top_entry .entry_form dd textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    background: #f2f2f2;
    box-sizing: border-box;
  }
  #top_entry .entry_form dd input[type=text].number {
    width: 70px;
  }
  
  #top_entry .entry_form dd .mwform-radio-field.horizontal-item {
    display: block;
  }
  .mw_wp_form .horizontal-item + .horizontal-item {
    margin-left: 0!important;
  }
  #top_entry .entry_form dd input.post {
    width: 50%!important;
  }
  #top_entry .entry_form dd div:nth-child(n+2) {
    margin-left: 1em;
  }
  #top_entry .entry_form .note {
    margin-bottom: 3rem;
    padding: 4rem;
    text-align: center;
    background: var(--white);
  }
  #top_entry .entry_form .check_comment {
    margin-bottom: 3rem;
    text-align: center;
  }
  #top_entry .entry_form .entry_btn {
    position: relative;
    margin: 0 auto 3rem;
    text-align: center;
  }
  #top_entry .entry_form .entry_btn input[type=submit] {
    display: inline-block;
    width: 100%;
    height: 5rem;
    color: var(--white);
    background: var(--main-color);
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
  }
  #top_entry .entry_form .entry_btn input[type=submit]:hover {
    opacity: .7;
  }
  #top_entry .entry_form .entry_btn:after {
    position: absolute;
    display: block;
    content: "\f105";
    font-family: "FontAwesome";
    top: 50%;
    right: 1em;
    margin-top: -.5em;
    color: var(--white);
    line-height: 1;  
  }
  #top_entry .entry_form .privacy {
    padding: 3rem 1.5rem;
    border: 1px solid var(--border-color);
  }
  #top_entry .entry_form .privacy .title {
    margin-bottom: 1em;
    font-size: 1.8rem;
    text-align: center;
  }
  #top_entry .entry_form .privacy li {
    position: relative;
    padding-left: 1.5em;
  }
  #top_entry .entry_form .privacy li:before {
    position: absolute;
    top: 0;
    left: 0;
    content: "・";
  }
}



















































