@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=Allura&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');
/******************************************************
基本設定
******************************************************/
:root {
  --main-color: #c6ae68; /* メインカラー */
  --sub-color: #1b5785; /* サブカラー */
  --bg-color: #e60012; /* 背景色1（基本的にメインカラーと同じ） */
  --bg-high-color: #f2f2f2; /* 背景色2 */
  --text-color: #303030; /* テキストカラー（通常） */
  --text-high-color: #fff; /* テキストカラー（背景あり） */
  --text-space: 0; /* フォントの間隔 */
  --text-weight: 500; /* フォントの太さ */
  --text-weight-bold: 600; /* フォント（太字）の太さ */
  --text-weight-black: 900; /* フォント（超太字）の太さ */
  --border-color: #ccc; /* 線の色 */
  --sans: "Zen Kaku Gothic New", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "メイリオ", Meiryo, sans-serif; /* ゴシック体 */
  --serif: "Noto Serif JP", "游明朝体", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", "Hiragino Mincho ProN", "MS PMincho", "Times New Roman", serif; /* 明朝体 */
  --alphabet: "Allura", cursive; /* 英語フォント */
}
/******************************************************
リセット
******************************************************/
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: middle;
}
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: 18px;
	font-size: 1.8rem;
  line-height: 2;
  font-weight: var(--text-weight);
  font-family: var(--sans);
}
@media screen and (max-width:767px) {
  body {
    font-size: 14px;
    font-size: 1.4rem;
  }
}
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;
}
/******************************************************
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.05);
  }
  100% {
    transform: scale(1);
  }
}
/* メインビジュアル フェード */
.add-animation {
  animation: zoomUp 15s linear 0s normal both;
}
/******************************************************
iPhoneリセット
******************************************************/
.clearfix:after,
.inner:after,
.l_inner:after,
.box:after,
.s_box:after {
  content: "";
  display: block;
  height: 0;
  font-size: 0;
  line-height: 0;
  clear: both;
  visibility: hidden;
}
/******************************************************
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 {
  box-sizing: border-box;
  font-size: 1.6rem;
  font-family: var(--sans);
  outline: none;
  -webkit-appearance:none;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #ccc;
}
/******************************************************
レスポンシブ
******************************************************/
.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: 1300px;
    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);}
/******************************************************
ヘッダー
******************************************************/
@media screen and (min-width:1025px) {
  #header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
  }
  #h_cover {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
  }
  #h_logo a {
    display: block;
    padding: 2rem;
  }
  #h_logo a img {
    width: auto;
    height: 15rem;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);        
  }
  #h_information {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    align-items: center;
    padding: 2rem;
  }
  #h_tel a {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 8rem;
    color: var(--main-color);
    font-size: 2.8rem;
    font-weight: var(--text-weight-bold);
    line-height: 1;
    text-align: center;
    border-radius: 4rem;
    background: #fff;
  }
  #h_tel a:before {
    content: "";
    width: 1em;
    height: 1em;
    margin-top: .2em;
    margin-right: .5em;
    background: url(/wp-content/uploads/images/icon_tel.webp) center center no-repeat;
    background-size: contain;
  }
  #h_address {
    margin-right: 3rem;
    color: #fff;
    line-height: 1.5;
  }
}
@media screen and (max-width:1024px) {
  #header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
  }
  #h_cover {}
  #h_logo {
    width: 100%;
  }
  #h_logo a {
    display: block;
    padding: 1rem;
  }
  #h_logo a img {
    width: auto;
    height: 5rem;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);        
  }
  #h_information {
    
  }
  #h_tel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
  }
  #h_tel a {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 6rem;
    color: #fff;
    font-size: 2rem;
    font-weight: var(--text-weight-bold);
    line-height: 1;
    text-align: center;
    background: var(--main-color);
  }
  #h_tel a:before {
    content: "";
    width: 1em;
    height: 1em;
    margin-top: .2em;
    margin-right: .5em;
    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_address {
    display: none;
    margin-right: 3rem;
    color: #fff;
    line-height: 1.5;
    
  }
}
/******************************************************
フッター
******************************************************/
@media screen and (min-width:1025px) {
  #copyright {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    line-height: 1;
    height: 10rem;
    background: #8f762d;
  }
  #copyright span.text:before {
    display: inline-block;
    content: "";
    width: 1px;
    margin: 0 1em;
    height: 1em;
    background: #fff;
    vertical-align: middle;
  }
  #copyright span.logo img {
    width: auto;
    height: 4rem;
  }    
}
@media screen and (max-width:1024px) {
  #footer {
    padding-bottom: 6rem;
  }
  #copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    line-height: 1;
    padding: 3rem 1.5rem;
    background: #8f762d;
  }
  #copyright span.logo {
    margin-bottom: 1.5rem;
  }
  #copyright span.logo img {
    width: auto;
    height: 3rem;
  }    
}
/******************************************************
トップページ 共通
******************************************************/
@media screen and (min-width:1025px) {
  .main_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 6rem;
    text-align: center;
    letter-spacing: .2em;
  }
  .main_title .jap {
    color: var(--main-color);
    font-size: 4.8rem;
  }
  .main_title .eng {
    color: var(--sub-color);
    font-size: 2.4rem;
  }
  .main_title.white .jap,
  .main_title.white .eng {
    color: #fff;
  }
}
@media screen and (max-width:1024px) {
  .main_title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: .2em;
  }
  .main_title .jap {
    color: var(--main-color);
    font-size: 2.4rem;
  }
  .main_title .eng {
    color: var(--sub-color);
    font-size: 1.4rem;
  }
  .main_title.white .jap,
  .main_title.white .eng {
    color: #fff;
  }
}
/******************************************************
メインビジュアル
******************************************************/
@media screen and (min-width:1025px) {
  #top_main {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 800px;
    overflow: hidden;
    z-index: 0;
    box-sizing: border-box;
  }
  #top_main:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    z-index: 1;
  }
  #main_image .image {
    width: 100%;
    height: 100vh;
    min-height: 800px;    
    background: url(/wp-content/uploads/images/main_img001.webp) center center no-repeat;
    background-size: cover;
  }
  #main_message {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 6rem;
    color: #fff;
    font-size: 4.5rem;
    line-height: 1.35;
    letter-spacing: .2em;
    text-align: center;
    z-index: 2;
    box-sizing: border-box;
  }
  #catch_copy {
    width: 800px;
    max-width: 100%;
  }
  #catch_copy .open {
    padding: .4em;
    line-height: 1;    
    background: rgba(198,174,104,.9);
  }
  #catch_copy .date {
  }
  #catch_copy .date span {
    font-size: 1.8em;
  }
  #catch_copy .name {
    display: flex;
    flex-direction: column;
  }
  #catch_copy .name .jap {
    font-size: 2.5em;
  }
  #catch_copy .name .eng {}
  #catch_copy .preview {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 1em;
    padding: 1em;
    font-size: .6em;
    text-align: center;
    font-weight: var(--text-weight-bold);
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    box-sizing: border-box;
  }
  #catch_copy .preview span:nth-child(n+2){
    margin-left: 1em;
  }
}
@media screen and (max-width:1024px) {
  #top_main {
    position: relative;
    width: 100%;
    height: 75vh;
    overflow: hidden;
    z-index: 0;
    box-sizing: border-box;
  }
  #top_main:after {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    z-index: 1;
  }
  #main_image .image {
    width: 100%;
    height: 75vh;  
    background: url(/wp-content/uploads/images/main_img001.webp) center center no-repeat;
    background-size: cover;
  }
  #main_message {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 3rem;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1.35;
    letter-spacing: .2em;
    text-align: center;
    z-index: 2;
    box-sizing: border-box;
  }
  #catch_copy {
    width: 800px;
    max-width: 100%;
  }
  #catch_copy .open {
    padding: .4em;
    line-height: 1;    
    background: rgba(198,174,104,.9);
  }
  #catch_copy .date {
  }
  #catch_copy .date span {
    font-size: 1.8em;
  }
  #catch_copy .name {
    display: flex;
    flex-direction: column;
  }
  #catch_copy .name .jap {
    font-size: 2.5em;
  }
  #catch_copy .name .eng {}
  #catch_copy .preview {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 1em;
    padding: 1em;
    font-size: .6em;
    text-align: center;
    font-weight: var(--text-weight-bold);
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    box-sizing: border-box;
  }
  #catch_copy .preview span:nth-child(n+2){
    margin-left: 1em;
  }
}
/******************************************************
クリニック情報
******************************************************/
@media screen and (min-width:1025px) {
  #top_instagram {
    padding: 10rem 0 0;
    background: #f9f5e9;
  }
  #top_instagram .instagram_message {
    margin-bottom: 3rem;
    font-size: 2rem;
    font-weight: var(--text-weight-bold);
    text-align: center;
  }
}
@media screen and (max-width:1024px) {
  #top_instagram {
    padding: 5rem 0 0;
    background: #f9f5e9;
  }
  #top_instagram .instagram_message {
    margin-bottom: 1em;
    font-weight: var(--text-weight-bold);
    text-align: center;
  }
}

/******************************************************
医院紹介
******************************************************/
@media screen and (min-width:1025px) {
  #top_clinic {
    padding: 10rem 0;
    background: url(/wp-content/uploads/images/bg_clinic.webp) top center no-repeat;
    background-size: contain;
  }
  #top_clinic .clinic_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 8rem;
  }
  #top_clinic .clinic_data,
  #top_clinic .clinic_schedule {
    width: calc(50% - 3rem);
  }
  #top_clinic .clinic_data table {
    width: 100%;
    table-layout: fixed;
  }
  #top_clinic .clinic_data tr:nth-child(n+2) th,
  #top_clinic .clinic_data tr:nth-child(n+2) td {
    padding-top: 1em;
  }
  #top_clinic .clinic_data th,
  #top_clinic .clinic_data td {
    text-align: left;
  }
  #top_clinic .clinic_data th {
    width: 25%;
  }
  #top_clinic .clinic_schedule table {
    width: 100%;
    margin-bottom: 1em;
    border: 1px solid var(--main-color);
    background: #fff;
  }
  #top_clinic .clinic_schedule tr:nth-child(1) {
    color: #fff;
    background: var(--main-color);
  }
  #top_clinic .clinic_schedule th,
  #top_clinic .clinic_schedule td {
    padding: .8em;
    text-align: center;
  }
  #top_clinic .clinic_schedule th {
    width: 120px;
  }
  #top_clinic .clinic_schedule span {
    color: #8f762d;
  }
  #top_clinic .clinic_schedule p {
    text-align: right;
  }
  #top_clinic .clinic_map iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 2;
  }  
}
@media screen and (max-width:1024px) {
  #top_clinic {
    padding: 5rem 0;
    background: url(/wp-content/uploads/images/bg_clinic.webp) top center no-repeat;
    background-size: contain;
  }
  #top_clinic .clinic_flex {}
  #top_clinic .clinic_data,
  #top_clinic .clinic_schedule {
    margin-bottom: 3rem;
  }
  #top_clinic .clinic_data table {
    width: 100%;
    table-layout: fixed;
  }
  #top_clinic .clinic_data tr:nth-child(n+2) th,
  #top_clinic .clinic_data tr:nth-child(n+2) td {
    padding-top: 1em;
  }
  #top_clinic .clinic_data th,
  #top_clinic .clinic_data td {
    text-align: left;
  }
  #top_clinic .clinic_data th {
    width: 80px;
  }
  #top_clinic .clinic_schedule table {
    width: 100%;
    margin-bottom: 1em;
    border: 1px solid var(--main-color);
    background: #fff;
  }
  #top_clinic .clinic_schedule tr:nth-child(1) {
    color: #fff;
    background: var(--main-color);
  }
  #top_clinic .clinic_schedule th,
  #top_clinic .clinic_schedule td {
    padding: .4em;
    text-align: center;
  }
  #top_clinic .clinic_schedule th {
    width: 80px;
  }
  #top_clinic .clinic_schedule span {
    color: #8f762d;
  }
  #top_clinic .clinic_schedule p {
    text-align: right;
  }
  #top_clinic .clinic_map iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
  }  
}
/******************************************************
院長紹介
******************************************************/
@media screen and (min-width:1025px) {
  #top_doctor {
    padding: 10rem 0;
    background: url(/wp-content/uploads/images/bg_doctor.webp) bottom center no-repeat;
    background-size: contain;    
  }
  #top_doctor .doctor_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_doctor .doctor_image {
    position: relative;
    width: 40%;
  }
  #top_doctor .doctor_image .image {
    background-image: linear-gradient(0deg, rgba(240, 229, 197, 1) 85%, rgba(240, 229, 197, 0) 85%);
  }
  #top_doctor .doctor_image .title {
    position: absolute;
    top: 0;
    right: 2em;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    letter-spacing: .05em;
  }
  #top_doctor .doctor_image .title .name .jap {
    font-size: 2.4rem;
  }
  #top_doctor .doctor_image .title .name .eng {
    margin-top: 1em;
    font-size: .8em;
  }
  #top_doctor .doctor_image .title .clinic {
    border-right: 1px solid var(--text-color);
  }
  #top_doctor .doctor_comment {
    position: relative;
    width: calc(100% - 40% - 12rem)
  }  
  #top_doctor .doctor_comment h2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 6rem;
    letter-spacing: .2em;
  }
  #top_doctor .doctor_comment h2 .jap {
    color: var(--main-color);
    font-size: 4.8rem;
  }
  #top_doctor .doctor_comment h2 .eng {
    color: var(--sub-color);
    font-size: 2.4rem;
  }  
  #top_doctor .doctor_comment .comment p:nth-child(n+2) {
    margin-top: 1em;
  }
}
@media screen and (max-width:1024px) {
  #top_doctor {
    padding: 5rem 0;
    background: url(/wp-content/uploads/images/bg_doctor.webp) bottom center no-repeat;
    background-size: contain;    
  }
  #top_doctor .doctor_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_doctor .doctor_image {
    position: relative;
    width: 280px;
    margin: 0 auto 3rem;
  }
  #top_doctor .doctor_image .image {
    background-image: linear-gradient(0deg, rgba(240, 229, 197, 1) 85%, rgba(240, 229, 197, 0) 85%);
  }
  #top_doctor .doctor_image .title {
    position: absolute;
    top: 0;
    right: 0;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    letter-spacing: .05em;
  }
  #top_doctor .doctor_image .title .name .jap {
    font-size: 2rem;
  }
  #top_doctor .doctor_image .title .name .eng {
    margin-top: 1em;
    font-size: .8em;
  }
  #top_doctor .doctor_image .title .clinic {
    border-right: 1px solid var(--text-color);
  }
  #top_doctor .doctor_comment {
    position: relative;
  }  
  #top_doctor .doctor_comment h2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 3rem;
    letter-spacing: .2em;
  }
  #top_doctor .doctor_comment h2 .jap {
    color: var(--main-color);
    font-size: 2.4rem;
  }
  #top_doctor .doctor_comment h2 .eng {
    color: var(--sub-color);
  }  
  #top_doctor .doctor_comment .comment p:nth-child(n+2) {
    margin-top: 1em;
  }
}
/******************************************************
求人案内
******************************************************/
@media screen and (min-width:1025px) {
  #top_recruit {
    padding: 10rem 0;
    color: #fff;
    background: url(/wp-content/uploads/images/bg_recruit.webp) top center no-repeat;
    background-size: cover;
  }
  #top_recruit .recruit_comment {
    padding: 8rem 0;
    text-align: center;
    border-top: 1px solid #fff;    
  }
  #top_recruit .recruit_comment .message {
    margin-bottom: 1em;
    font-size: 3rem;
    line-height: 1.5;
    font-weight: var(--text-weight-bold);
  }
  #top_recruit .recruit_comment .comment {
    margin-bottom: 1em;
  }
  #top_recruit .recruit_comment .contact {
    font-size: 2.4rem;
    line-height: 1.5;
    font-weight: var(--text-weight-bold);    
  }
  #top_recruit .recruit_comment .contact span {
    font-size: 3rem;
  }
  #top_recruit .recruit_btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  #top_recruit .recruit_btn .btn {
    width: calc(50% - 1.5rem);
  }
  #top_recruit .recruit_btn .btn a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #fff;
    aspect-ratio: 4 / 1;
    object-fit: cover;
    background-image: linear-gradient(20deg, rgba(27, 87, 133, 1) 50%, rgba(47, 120, 177, 1));
  }
  #top_recruit .recruit_btn .btn .text_cover {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  #top_recruit .recruit_btn .btn .text_cover:before {
    content: "";
    width: 5rem;
    height: 5rem;
    margin-right: 2rem;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);    
  }
  #top_recruit .recruit_btn .btn a.tel .text_cover:before {
    background: url(/wp-content/uploads/images/icon_tel.webp) center center no-repeat;
    background-size: contain;
  }
  #top_recruit .recruit_btn .btn a.mail .text_cover:before {
    background: url(/wp-content/uploads/images/icon_mail.webp) center center no-repeat;
    background-size: contain;
  }
  #top_recruit .recruit_btn .btn a .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    line-height: 1.35;
  }
  #top_recruit .recruit_btn .btn a .text .number {
    font-size: 3.6rem;
    font-weight: var(--text-weight-bold);
    line-height: 1;
  }  
  #top_recruit .recruit_btn .btn a .text .title {
    font-size: 2.4rem;
    font-weight: var(--text-weight-bold);
  }
  #top_recruit .recruit_btn .btn a .memo {
    margin-top: .5em;
    font-size: 1.2rem;
  }
}
@media screen and (max-width:1024px) {
  #top_recruit {
    padding: 5rem 0;
    color: #fff;
    background: url(/wp-content/uploads/images/bg_recruit.webp) top right no-repeat;
    background-size: cover;
  }
  #top_recruit .recruit_comment {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #fff;    
  }
  #top_recruit .recruit_comment .message {
    margin-bottom: 1em;
    font-size: 2rem;
    line-height: 1.5;
    font-weight: var(--text-weight-bold);
  }
  #top_recruit .recruit_comment .comment {
    margin-bottom: 1em;
  }
  #top_recruit .recruit_comment .contact {
    line-height: 1.5;
    font-weight: var(--text-weight-bold);    
  }
  #top_recruit .recruit_comment .contact span {
    font-size: 1.6rem;
  }
  #top_recruit .recruit_btn .bg {
    width: 100%;
  }
  #top_recruit .recruit_btn .btn:nth-child(n+2) {
    margin-top: 1.5rem;
  }
  #top_recruit .recruit_btn .btn a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    color: #fff;
    aspect-ratio: 3 / 1;
    object-fit: cover;
    background-image: linear-gradient(20deg, rgba(27, 87, 133, 1) 50%, rgba(47, 120, 177, 1));
  }
  #top_recruit .recruit_btn .btn .text_cover {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  #top_recruit .recruit_btn .btn .text_cover:before {
    content: "";
    width: 3rem;
    height: 3rem;
    margin-right: 1rem;
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);    
  }
  #top_recruit .recruit_btn .btn a.tel .text_cover:before {
    background: url(/wp-content/uploads/images/icon_tel.webp) center center no-repeat;
    background-size: contain;
  }
  #top_recruit .recruit_btn .btn a.mail .text_cover:before {
    background: url(/wp-content/uploads/images/icon_mail.webp) center center no-repeat;
    background-size: contain;
  }
  #top_recruit .recruit_btn .btn a .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    line-height: 1.35;
  }
  #top_recruit .recruit_btn .btn a .text .number {
    font-size: 2.4rem;
    font-weight: var(--text-weight-bold);
    line-height: 1;
  }  
  #top_recruit .recruit_btn .btn a .text .title {
    font-size: 1.8rem;
    font-weight: var(--text-weight-bold);
  }
  #top_recruit .recruit_btn .btn a .memo {
    margin-top: .5em;
    font-size: 1rem;
    line-height: 1.5;
    text-align: center;
  }
}