@charset "UTF-8";
/* ==========================================================================
   変数
========================================================================== */
/* ==========================================================================
   リセット
 ========================================================================== */
* {
  box-sizing: border-box;
}

html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
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,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  list-style: none;
}

img {
  border-style: none;
  vertical-align: bottom;
  max-width: 100%;
}

svg:not(:root) {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: #1a1a1a;
  transition: 0.5s;
}

/**************************
頻出MIXIN
***************************/
/*明朝*/
/*文字数制限（折り返し）*/
/*文字数制限（行）*/
.ellipsis {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
      font-size
========================================================================== */
html {
  font-size: 62.5%;
}

span,
a,
p,
th,
td,
ul,
ol,
li,
dl,
dt,
dd,
b,
i,
div {
  font-size: clamp(1.4rem, 1vw + 0.5rem, 1.8rem);
}

h1 {
  font-size: clamp(3rem, 5vw + 1rem, 6rem);
  line-height: 1.4;
  font-weight: bold;
  font-feature-settings: "palt";
}

h2 {
  font-size: clamp(2rem, 3vw + 1rem, 4rem);
  font-weight: bold;
  line-height: 1.4;
}

h3 {
  font-size: clamp(1.5rem, 2vw + 0.8rem, 2.5rem);
  line-height: 1.5;
  font-weight: 600;
}

h4 {
  font-size: clamp(1.4rem, 1.1vw + 1rem, 2rem);
  line-height: 1.5;
  font-weight: 600;
}

h5 {
  font-size: clamp(1.4rem, 1vw + 0.5rem, 1.8rem);
  line-height: 1.6;
}

.big-text {
  font-size: clamp(1.4rem, 1vw + 0.5rem, 1.8rem);
}

.text {
  font-size: clamp(1.2rem, 0.8vw + 0.5rem, 1.6rem);
}

/* ==========================================================================
      common
========================================================================== */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans JP", "Yu Gothic", "游ゴシック体", "メイリオ", Meiryo, sans-serif;
  font-size: clamp(1.2rem, 0.8vw + 0.5rem, 1.6rem);
  color: #1a1a1a;
  background: #fff;
  letter-spacing: 0;
  line-height: 1.6;
  font-weight: 600;
  overflow-wrap: break-word;
  word-break: normal;
  overflow-x: hidden;
  max-width: 100vw;
  word-wrap: break-word;
}

section {
  padding: clamp(3rem, 3vw, 6rem) 0;
}

.ap_inner {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.ap_tb_visible {
  display: none;
}

.ap_sm_visible {
  display: none;
}

@media screen and (max-width: 1024px) {
  .ap_tb_visible {
    display: block;
  }
  .ap_tb_hidden {
    display: none !important;
  }
}
@media screen and (max-width: 599px) {
  .ap_sm_hidden {
    display: none !important;
  }
  .ap_sm_visible {
    display: block;
  }
}
/* ==========================================================================
margin_style
========================================================================== */
.mb0 {
  margin-bottom: clamp(0rem, 0vw, 0rem) !important;
}

.mt0 {
  margin-top: clamp(0rem, 0vw, 0rem) !important;
}

.mb5 {
  margin-bottom: clamp(0.25rem, 0.5vw, 0.5rem) !important;
}

.mt5 {
  margin-top: clamp(0.25rem, 0.5vw, 0.5rem) !important;
}

.mb10 {
  margin-bottom: clamp(0.5rem, 1vw, 1rem) !important;
}

.mt10 {
  margin-top: clamp(0.5rem, 1vw, 1rem) !important;
}

.mb15 {
  margin-bottom: clamp(0.75rem, 1.2vw, 1.5rem) !important;
}

.mt15 {
  margin-top: clamp(0.75rem, 1.2vw, 1.5rem) !important;
}

.mb20 {
  margin-bottom: clamp(1rem, 1.5vw, 2rem) !important;
}

.mt20 {
  margin-top: clamp(1rem, 1.5vw, 2rem) !important;
}

.mb25 {
  margin-bottom: clamp(1.25rem, 2vw, 2.5rem) !important;
}

.mt25 {
  margin-top: clamp(1.25rem, 2vw, 2.5rem) !important;
}

.mb30 {
  margin-bottom: clamp(1.5rem, 2.5vw, 3rem) !important;
}

.mt30 {
  margin-top: clamp(1.5rem, 2.5vw, 3rem) !important;
}

.mb35 {
  margin-bottom: clamp(1.75rem, 3vw, 3.5rem) !important;
}

.mt35 {
  margin-top: clamp(1.75rem, 3vw, 3.5rem) !important;
}

.mb40 {
  margin-bottom: clamp(2rem, 3.5vw, 4rem) !important;
}

.mt40 {
  margin-top: clamp(2rem, 3.5vw, 4rem) !important;
}

.mb45 {
  margin-bottom: clamp(2.25rem, 4vw, 4.5rem) !important;
}

.mt45 {
  margin-top: clamp(2.25rem, 4vw, 4.5rem) !important;
}

.mb50 {
  margin-bottom: clamp(2.5rem, 4.5vw, 5rem) !important;
}

.mt50 {
  margin-top: clamp(2.5rem, 4.5vw, 5rem) !important;
}

.mb55 {
  margin-bottom: clamp(2.75rem, 5vw, 5.5rem) !important;
}

.mt55 {
  margin-top: clamp(2.75rem, 5vw, 5.5rem) !important;
}

.mb60 {
  margin-bottom: clamp(3rem, 5.5vw, 6rem) !important;
}

.mt60 {
  margin-top: clamp(3rem, 5.5vw, 6rem) !important;
}

.mb65 {
  margin-bottom: clamp(3.25rem, 6vw, 6.5rem) !important;
}

.mt65 {
  margin-top: clamp(3.25rem, 6vw, 6.5rem) !important;
}

.mb70 {
  margin-bottom: clamp(3.5rem, 6.5vw, 7rem) !important;
}

.mt70 {
  margin-top: clamp(3.5rem, 6.5vw, 7rem) !important;
}

.mb75 {
  margin-bottom: clamp(3.75rem, 7vw, 7.5rem) !important;
}

.mt75 {
  margin-top: clamp(3.75rem, 7vw, 7.5rem) !important;
}

.mb80 {
  margin-bottom: clamp(4rem, 7.5vw, 8rem) !important;
}

.mt80 {
  margin-top: clamp(4rem, 7.5vw, 8rem) !important;
}

.mb85 {
  margin-bottom: clamp(4.25rem, 8vw, 8.5rem) !important;
}

.mt85 {
  margin-top: clamp(4.25rem, 8vw, 8.5rem) !important;
}

.mb90 {
  margin-bottom: clamp(4.5rem, 8.5vw, 9rem) !important;
}

.mt90 {
  margin-top: clamp(4.5rem, 8.5vw, 9rem) !important;
}

.mb95 {
  margin-bottom: clamp(4.75rem, 9vw, 9.5rem) !important;
}

.mt95 {
  margin-top: clamp(4.75rem, 9vw, 9.5rem) !important;
}

.mb100 {
  margin-bottom: clamp(5rem, 9.5vw, 10rem) !important;
}

.mt100 {
  margin-top: clamp(5rem, 9.5vw, 10rem) !important;
}

/* ==========================================================================
padding_style
========================================================================== */
.pr0 {
  padding-right: clamp(0rem, 0vw, 0rem) !important;
}

.pr5 {
  padding-right: clamp(0.25rem, 0.5vw, 0.5rem) !important;
}

.pr10 {
  padding-right: clamp(0.5rem, 1vw, 1rem) !important;
}

.pr15 {
  padding-right: clamp(0.75rem, 1.2vw, 1.5rem) !important;
}

.pr20 {
  padding-right: clamp(1rem, 1.5vw, 2rem) !important;
}

.pr25 {
  padding-right: clamp(1.25rem, 2vw, 2.5rem) !important;
}

.pr30 {
  padding-right: clamp(1.5rem, 2.5vw, 3rem) !important;
}

.pr35 {
  padding-right: clamp(1.75rem, 3vw, 3.5rem) !important;
}

.pr40 {
  padding-right: clamp(2rem, 3.5vw, 4rem) !important;
}

.pr45 {
  padding-right: clamp(2.25rem, 4vw, 4.5rem) !important;
}

.pr50 {
  padding-right: clamp(2.5rem, 4.5vw, 5rem) !important;
}

.pr55 {
  padding-right: clamp(2.75rem, 5vw, 5.5rem) !important;
}

.pr60 {
  padding-right: clamp(3rem, 5.5vw, 6rem) !important;
}

.pr65 {
  padding-right: clamp(3.25rem, 6vw, 6.5rem) !important;
}

.pr70 {
  padding-right: clamp(3.5rem, 6.5vw, 7rem) !important;
}

.pr75 {
  padding-right: clamp(3.75rem, 7vw, 7.5rem) !important;
}

.pr80 {
  padding-right: clamp(4rem, 7.5vw, 8rem) !important;
}

.pr85 {
  padding-right: clamp(4.25rem, 8vw, 8.5rem) !important;
}

.pr90 {
  padding-right: clamp(4.5rem, 8.5vw, 9rem) !important;
}

.pr95 {
  padding-right: clamp(4.75rem, 9vw, 9.5rem) !important;
}

.pr100 {
  padding-right: clamp(5rem, 9.5vw, 10rem) !important;
}

/* ==========================================================================
      font_style
========================================================================== */
.ap_center_text {
  text-align: center !important;
}

.ap_right_text {
  text-align: right !important;
}

.ap_left_text {
  text-align: left !important;
}

.ap_primary,
.ap_primary a,
a.ap_primary {
  color: #CA0C2D;
}

.ap_secondary,
.ap_secondary a,
a.ap_secondary {
  color: #9D0D15;
}

.ap_thirdly,
.ap_thirdly a,
a.ap_thirdly {
  color: #E59D1C;
}

.ap_bg_primary {
  background: #CA0C2D;
}

.ap_bg_secondary {
  background: #9D0D15;
}

.ap_bg_thirdly {
  background: #E59D1C;
}

/* ==========================================================================
   button_style
========================================================================== */
#header {
  position: relative;
}

.ap_menu_btn_trigger {
  position: relative;
  width: 35px;
  height: 30px;
  cursor: pointer;
}

.ap_menu_btn_trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #000;
  border-radius: 50px;
}

.ap_menu_btn_trigger,
.ap_menu_btn_trigger span {
  display: inline-block;
  transition: all 0.5s;
  box-sizing: border-box;
}

.ap_menu_btn_trigger span:nth-of-type(1) {
  top: 0;
}

.ap_menu_btn_trigger span:nth-of-type(2) {
  top: 13.5px;
}

.ap_menu_btn_trigger span:nth-of-type(3) {
  bottom: 0;
}

.ap_menu_btn_trigger.active span:nth-of-type(1) {
  transform: translateY(13.5px) rotate(-45deg);
}

.ap_menu_btn_trigger.active span:nth-of-type(2) {
  left: 50%;
  opacity: 0;
  animation: active-btn05-bar02 0.8s forwards;
}
@keyframes active-btn05-bar02 {
  100% {
    height: 0;
  }
}
.ap_menu_btn_trigger.active span:nth-of-type(3) {
  transform: translateY(-13.5px) rotate(45deg);
}

/* ==========================================================================
      input_style
========================================================================== */
input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea,
select {
  color: #333;
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  display: block;
  padding: 1rem 1.5rem;
  border: 1px solid #666;
  width: 100%;
  transition: 0.25s;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: #fff;
}

input[type=text]:hover,
input[type=email]:hover,
input[type=password]:hover,
input[type=date]:hover,
input[type=tel]:hover,
textarea:hover,
textarea:focus,
select:hover,
select:focus,
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=tel]:focus,
input[type=date]:focus {
  transition: 0.25s;
  box-shadow: 0px 0px 10px 0.2px #CA0C2D;
  outline: 0;
}
input[type=text]:hover::-moz-placeholder, input[type=email]:hover::-moz-placeholder, input[type=password]:hover::-moz-placeholder, input[type=date]:hover::-moz-placeholder, input[type=tel]:hover::-moz-placeholder, textarea:hover::-moz-placeholder, textarea:focus::-moz-placeholder, select:hover::-moz-placeholder, select:focus::-moz-placeholder, input[type=text]:focus::-moz-placeholder, input[type=email]:focus::-moz-placeholder, input[type=password]:focus::-moz-placeholder, input[type=tel]:focus::-moz-placeholder, input[type=date]:focus::-moz-placeholder {
  font-size: 0;
  color: #fff;
}
input[type=text]:hover::placeholder,
input[type=email]:hover::placeholder,
input[type=password]:hover::placeholder,
input[type=date]:hover::placeholder,
input[type=tel]:hover::placeholder,
textarea:hover::placeholder,
textarea:focus::placeholder,
select:hover::placeholder,
select:focus::placeholder,
input[type=text]:focus::placeholder,
input[type=email]:focus::placeholder,
input[type=password]:focus::placeholder,
input[type=tel]:focus::placeholder,
input[type=date]:focus::placeholder {
  font-size: 0;
  color: #fff;
}

/*チェックボックスのCSS*/
input[type=checkbox] {
  position: absolute;
  opacity: 0;
}

input[type=radio] {
  position: absolute;
  opacity: 0;
}

.wpcf7-list-item {
  position: relative;
  display: block;
  margin: 0 0 1rem 0;
}

/*チェックボックスの枠*/
.wpcf7-list-item-label:before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  position: relative;
  top: -3px;
  margin-right: 1rem;
  vertical-align: middle;
  cursor: pointer;
  text-align: center;
  background: #fff;
  border: 1px solid #666;
}

/* ==========================================================================
  電話番号
========================================================================== */
@media screen and (min-width: 599px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}
.ap_flex {
  display: flex;
}

/* ==========================================================================
      border style 追加
========================================================================== */
.ap_border_none {
  border: none !important;
}

/***********************************/
/*お問い合わせ
/*オリジナルデザインがある場合は適宜変更してください
/************************************/
.ap_contact_form_wrap input[type=submit] {
  background: #CA0C2D;
  border: 2px solid #CA0C2D;
  color: #fff;
  padding: 2rem 2rem;
  margin: 2rem 0;
  font-size: 2rem;
  min-width: 30rem;
  transition: 0.5s;
  cursor: pointer;
}
.ap_contact_form_wrap input[type=submit]:hover {
  color: #CA0C2D;
  background: #fff;
}

.ap_height_center {
  align-items: center;
  border-bottom: 1px dotted #CA0C2D;
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
}
.ap_height_center .ap_contact_left {
  width: 30%;
}
.ap_height_center .ap_contact_left p {
  font-weight: bold;
}
.ap_height_center .ap_contact_right {
  width: 70%;
}

.ap_required {
  background: #CA0C2D;
  color: #fff;
  font-size: 10px;
  border-radius: 3px;
  padding: 0.5rem;
  margin-left: 1rem;
  white-space: nowrap;
}

.address_wrap p > span {
  font-size: 14px;
  min-width: 100px;
  text-align: left;
  flex-shrink: 0;
}

.address_wrap > p, .address_wrap label {
  width: 100%;
}

.address_wrap > p {
  margin-bottom: 10px;
}

.wpcf7-spinner {
  display: none;
}

/*チェックアイコン URLは適宜変更*/
input[type=checkbox]:checked + .wpcf7-list-item-label:after {
  content: "";
  display: block;
  position: absolute;
  top: 0.3rem;
  left: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background: url("/img/check.png") no-repeat center;
  background-size: contain;
}

input[type=radio]:checked + .wpcf7-list-item-label:after {
  content: "";
  display: block;
  position: absolute;
  top: 0.3rem;
  left: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background: url("/img/check.png") no-repeat center;
  background-size: contain;
}

@media screen and (max-width: 1024px) {
  .ap_height_center {
    display: block;
  }
  .ap_height_center .ap_contact_left {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  .ap_height_center .ap_contact_right {
    width: 100%;
  }
}
/***********************************/
/*初期ページャ*/
/*オリジナルデザインがある場合は適宜変更してください*/
/************************************/
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links a, .nav-links span {
  min-width: 3rem;
  min-height: 3rem;
  color: #c3c3c3;
  display: block;
  text-align: center;
  margin: 0 0.8rem;
  padding: 0 1rem;
}

.nav-links span {
  color: #CA0C2D;
}

.prev.page-numbers, .next.page-numbers {
  min-width: 5rem;
  min-height: 5rem;
  border-radius: 5px;
  background: #F6F6F6;
  color: #CA0C2D;
  border: 1px solid #c3c3c3;
  line-height: 5rem;
  padding: 0;
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none !important;
}

/*お知らせシングルのページャー*/
.news_pager > div {
  width: 30%;
}

.news_pager > a {
  width: 30%;
}

.news_pager > p {
  width: 30%;
}

.news_pager .end {
  text-align: right;
}

.news_pager {
  justify-content: space-between;
}
.news_pager .ap_flex, .news_pager a, .news_pager p {
  color: #CA0C2D;
  text-decoration: underline;
}
.news_pager a {
  text-align: center;
}
.news_pager .end {
  justify-content: flex-end;
}

/***********************************/
/*初期メニュー*/
/*オリジナルデザインがある場合は適宜変更してください*/
/************************************/
/*トグルメニューの位置*/
.ap_menu {
  display: none;
  transition: 0.5s;
  position: fixed;
  z-index: 99999;
  right: 0;
  top: 0;
  background: #CA0C2D;
  padding: 1.5rem;
}

.ap_menu_btn_trigger span {
  background: #fff;
}

/*トグルメニューの中身*/
.ap_menu_box {
  position: fixed;
  width: 100vw;
  transition: 0.5s;
  height: 0;
  overflow: auto;
  top: 0;
  opacity: 0;
  display: none;
  z-index: -1;
  background: #FFF; /*適宜変更*/
  padding: 3rem 3rem 10rem 3rem; /*適宜変更*/
}

.ap_menu_box ul {
  overflow: auto;
}

/*トグルメニューの初期レイアウト*/
.ap_menu_box ul li {
  text-align: left;
}

.ap_menu_box ul li a {
  display: inline-block;
  padding: 0.5rem 0;
  text-align: left;
  position: relative;
  font-size: 14px;
}

@media screen and (max-width: 1024px) {
  .ap_menu_box {
    display: block;
  }
  .ap_menu {
    display: block;
  }
}
.ap_menu_box.opacity {
  opacity: 1;
}

.ap_menu_box.open {
  height: 100vh;
  z-index: 99999;
}

/***********************************/
/*初期アニメーション*/
/*オリジナルデザインがある場合は適宜変更してください*/
/************************************/
/*スクロールでフェードイン*/
.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/*ロード時にフェードイン　上の方の要素に*/
.top_fadein_auto {
  opacity: 0;
  animation-name: fadeInAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes fadeInAnime {
  0% {
    opacity: 0;
    transform: translatey(20px);
  }
  100% {
    opacity: 1;
    transform: translatey(0);
  }
}
/*hoverで画像ズーム*/
.zoom {
  position: relative;
  overflow: hidden;
  display: block;
  width: 50%; /*各画像のdivクラスでサイズは変更すること*/
}

.zoom img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  transition: 0.5s;
}

.zoom:hover img {
  transform: scale(1.1);
}

/* ドキドキしたアニメーション効果用css */
.dokidoki {
  animation-name: dokidoki;
  animation-delay: 0s;
  animation-duration: 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes dokidoki {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  60% {
    transform: scale(1);
  }
  100% {
    transform: scale(1);
  }
}
/*******************
pankuzu
*********************/
.top_pankuzu {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
  padding: 1rem 0;
  font-size: 12px;
}
.top_pankuzu span {
  font-size: 12px;
  color: #fff;
}
.top_pankuzu a span {
  font-size: 12px;
  color: #fff;
  text-decoration: underline;
}

@media screen and (max-width: 599px) {
  .top_pankuzu {
    width: 100%;
    white-space: nowrap;
    overflow: auto;
    font-size: 10px;
    left: 1rem;
  }
  .top_pankuzu span {
    font-size: 10px;
  }
  .top_pankuzu a span {
    font-size: 10px;
  }
}
/**********************
初期ニュースアーカイブ
***********************/
/*お知らせコンテンツ（共通)*/
.ap_news_flex {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #959595;
  padding: 1.5rem 0;
}
.ap_news_flex a {
  color: #CA0C2D;
  text-decoration: underline;
}

.ap_news_flex_data {
  display: flex;
  align-items: center;
}

.cat-item {
  width: 180px;
  padding: 0.5rem 1rem;
  color: #fff;
  margin: 0 1.5rem;
  text-align: center;
  border-radius: 50px;
  background: #666;
}

.cat-item.cat01 {
  background: #CA0C2D;
}

.cat-item.cat02 {
  background: #ff3300;
}

.cat-item.cat03 {
  background: #ff9900;
}

.cat-item.cat04 {
  background: #99ff00;
}

.cat-item.cat05 {
  background: #00cccc;
}

.cat-item.cat06 {
  background: #0033ff;
}

.ap_news_flex a {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

@media screen and (max-width: 1024px) {
  .ap_news_flex {
    display: block;
  }
  .ap_news_flex_data {
    margin-bottom: 0.5rem;
  }
  .cat-item {
    width: 120px;
  }
}
/************************
GMAP
***********************/
.gmap {
  aspect-ratio: 16/9;
  position: relative;
}

.gmap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/*************************
common
************************/
.ap_common_title_h2 {
  font-size: clamp(2rem, 3vw + 1rem, 4rem);
  position: relative;
  margin-bottom: clamp(2.5rem, 2.5vw, 5rem);
}
.ap_common_title_h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 8px;
  margin: 1rem auto 0 auto;
  background: #CA0C2D;
}
.ap_common_title_h2.center {
  text-align: center;
}
.ap_common_title_h2.left {
  text-align: left;
}
.ap_common_title_h2.left::after {
  margin: 1rem auto 0 0;
}

.ap_common_title_h2.white {
  color: #fff;
}
.ap_common_title_h2.white::after {
  content: "";
  display: block;
  width: 60px;
  height: 8px;
  margin: 1rem auto 0 auto;
  background: #FFF;
}
.ap_common_title_h2.border_none::after {
  display: none;
}
.ap_common_title_h2.flex {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media screen and (max-width: 599px) {
  .ap_licence .ap_common_title_h2.white.border_none.flex {
    color: #CA0C2D;
    display: block;
    text-align: center;
  }
  .ap_licence .ap_common_title_h2.white.border_none.flex::after {
    display: block;
  }
  .ap_licence .ap_common_title_h2.white.border_none.flex img {
    display: none;
  }
}
.ap_common_arrow {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #CA0C2D;
}

.ap_common_arrow.right {
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid #CA0C2D;
  margin-left: 2rem;
}
.ap_common_arrow.right.white {
  border-left: 7px solid #fff;
}

.ap_common_arrow.left {
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 7px solid #CA0C2D;
  margin-right: 2rem;
}
.ap_common_arrow.left.white {
  border-right: 7px solid #fff;
}

.ap_common_btn {
  background: #CA0C2D;
  color: #fff;
  font-size: clamp(1.4rem, 1.1vw + 1rem, 2rem);
  padding: 1rem 2rem;
  display: inline-block;
  border: 2px solid #CA0C2D;
  transition: 0.3s;
  cursor: pointer;
}
.ap_common_btn span {
  color: #fff;
  font-size: clamp(1.4rem, 1.1vw + 1rem, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ap_common_btn span::after {
  content: "";
  display: block;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid #fff;
  margin-left: 2rem;
}
.ap_common_btn b {
  font-size: clamp(1.5rem, 2vw + 0.8rem, 2.5rem);
}
.ap_common_btn:hover {
  transform: scale(0.98);
}

.ap_common_btn.small {
  padding: 0.25rem 1rem;
}
.ap_common_btn.small span {
  font-size: clamp(1.2rem, 0.8vw + 0.5rem, 1.6rem);
}

.ap_common_btn.white {
  background-color: #fff;
}
.ap_common_btn.white span {
  color: #CA0C2D;
}
.ap_common_btn.white span::after {
  content: "";
  border-left: 7px solid #CA0C2D;
}

.ap_common_btn.black {
  background-color: #1a1a1a;
  border: 2px solid #1a1a1a;
}
.ap_common_btn.black span {
  color: #FFF;
}
.ap_common_btn.black span::after {
  content: "";
  border-left: 7px solid #FFF;
}

.ap_common_btn.yellow {
  background-color: #E59D1C;
  border: 2px solid #E59D1C;
}

.ap_contact .ap_common_btn.yellow span::after {
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid #fff;
}
.ap_contact .ap_common_btn.white span::after {
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 7px solid #CA0C2D;
}

.ap_plan_btn_flex {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 2.5vw, 5rem);
  flex-wrap: wrap;
  justify-content: center;
}

/**********************
header
***********************/
/*ロゴ周り*/
.ap_pc_menu_left {
  display: flex;
  align-items: center;
}
.ap_pc_menu_left img {
  margin-right: 1rem;
}

.ap_pc_menu_title_wrap p {
  font-size: clamp(1.2rem, 0.8vw + 0.5rem, 1.4rem);
  white-space: nowrap;
}
.ap_pc_menu_title_wrap p span {
  font-size: clamp(1.2rem, 0.8vw + 0.5rem, 1.4rem);
  white-space: nowrap;
}
.ap_pc_menu_title_wrap h1 {
  font-size: clamp(1.5rem, 2vw + 0.8rem, 2.5rem);
}

/*header全体*/
.ap_pc_menu {
  width: 100%;
  height: 10rem;
  position: fixed;
  border-bottom: 1px solid #CCC;
  top: 0;
  background: #fff;
  z-index: 999;
  font-size: clamp(1.4rem, 1vw + 0.5rem, 1.8rem);
  display: flex;
  align-items: center;
  padding: 0 3rem;
}

.ap_pc_menu_left {
  font-size: 0;
  min-width: 150px;
}

.ap_pc_menu_right {
  width: 70%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(2rem, 2vw, 4rem);
}

.ap_pc_menu_right > ul {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
  gap: 4%;
}
.ap_pc_menu_right > ul li p, .ap_pc_menu_right > ul li a {
  display: flex;
  align-items: center;
}
.ap_pc_menu_right > ul li p span, .ap_pc_menu_right > ul li a span {
  margin-left: 0.5rem;
}
.ap_pc_menu_right > ul li > a:hover {
  color: #CA0C2D;
}

.ap_pc_menu_right .logo_img {
  max-width: 130px;
}

.ap-navigation {
  width: 75%;
  max-width: 810px;
}

.ap-navigation li {
  padding: 5px 4px;
}

.ap-navigation li a {
  width: 100%;
  display: flex;
  justify-content: center;
}

/*トグルメニュー*/
.ap_pc_menu_right_parent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.ap_pc_menu_right_child {
  position: absolute;
  background: #fff;
  top: 9.5rem;
  padding: 5rem;
  width: 100%;
  margin: 0 auto;
  left: 0%;
  right: 0%;
  opacity: 0;
  transition: 0.3s;
  visibility: hidden;
  box-shadow: 0 4px 5px -2px #ccc;
  cursor: default;
}

.ap_pc_menu_right_parent.open .ap_pc_menu_right_child {
  opacity: 1;
  top: 10rem;
  visibility: visible;
  border-top: 1px solid #ccc;
}

.ap_pc_menu_right_child_ul {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  max-width: 960px;
  margin: 0 auto;
}
.ap_pc_menu_right_child_ul a {
  display: inline-block !important;
}
.ap_pc_menu_right_child_ul li a span {
  display: flex;
  align-items: center;
}
.ap_pc_menu_right_child_ul a:hover span {
  color: #CA0C2D;
}

.ap_pc_menu_right_child .ap_pc_menu_right_child_ul li {
  width: auto;
  display: inline-block;
  padding: 0 8px;
}

/*問い合わせとログイン*/
.ap_header_btn_flex {
  display: flex;
  align-items: stretch;
}
.ap_header_btn_flex a {
  padding: 1rem 2rem;
  background: #CA0C2D;
  color: #fff;
  text-align: center;
  min-width: 150px;
  border: 1px solid #CA0C2D;
}
.ap_header_btn_flex a:hover {
  background: #fff;
  color: #CA0C2D;
}
.ap_header_btn_flex a:last-child {
  background-color: #1a1a1a;
  border: 1px solid #1a1a1a;
}
.ap_header_btn_flex a:last-child:hover {
  background: #fff;
  color: #1a1a1a;
}

@media screen and (max-width: 1700px) {
  .ap_header_btn_flex {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
  }
  .ap_header_btn_flex a {
    min-width: inherit;
    min-height: 150px;
  }
}
@media screen and (max-width: 1024px) {
  .ap_pc_menu_right {
    display: none;
  }
  .ap_pc_menu_left img {
    max-height: 4rem;
  }
  .ap_pc_menu {
    position: absolute;
    background: transparent;
    border-bottom: none;
  }
}
@media screen and (max-width: 1480px) {
  .ap_pc_menu_title_wrap p {
    font-size: 12px;
  }
  .ap_pc_menu_title_wrap p span {
    visibility: hidden;
    display: none;
  }
  .ap_pc_menu_title_wrap h1 {
    font-size: clamp(0.5rem, 1vw + 0.7rem, 2.5rem);
  }
}
@media screen and (max-width: 599px) {
  .ap_pc_menu_title_wrap p {
    white-space: inherit;
    font-size: 10px;
  }
  .ap_pc_menu {
    padding: 0 0.5rem;
  }
}
.ap_pc_menu_right_child_ul_sp li a {
  display: flex !important;
  align-items: center;
  font-size: clamp(1.4rem, 1vw + 0.5rem, 1.8rem);
}

.ap_pc_menu_right_parent_sp > p,
.ap_pc_menu_right_parent_sp > a {
  font-size: clamp(1.4rem, 1.1vw + 1rem, 2rem) !important;
  color: #CA0C2D;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 1rem;
  display: flex !important;
  align-items: center;
  margin-top: 3rem;
}

/**********************
childheader
***********************/
.ap_child_header {
  background: linear-gradient(to right, #CA0C2D, #9D0D15);
  padding: clamp(5rem, 3vw, 6rem) 0;
  position: relative;
  overflow: hidden;
  margin-top: 10rem;
}
.ap_child_header .ap_child_title {
  font-weight: 600;
  color: #fff;
  font-size: clamp(2rem, 3vw + 1rem, 4rem);
  padding-right: 30%;
}

/***************************
footer
****************************/
.ap_contact {
  background-color: #CA0C2D;
  text-align: center;
  position: relative;
  padding: clamp(5rem, 5vw, 10rem);
}
.ap_contact h2, .ap_contact p {
  color: #fff;
}
.ap_contact > img {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  width: clamp(250px, 35vw, 600px);
}

.ap_contact_text {
  font-size: clamp(1.4rem, 1.1vw + 1rem, 2rem);
  margin-bottom: 2.5rem;
}
.ap_contact_text .yellow {
  color: #fffb00;
  font-size: clamp(1.4rem, 1.1vw + 1rem, 2rem);
}

.ap_contact_btn_flex {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2.5rem;
}

@media screen and (max-width: 1360px) {
  .ap_contact > img {
    right: -10rem;
  }
  .ap_contact {
    overflow: hidden;
  }
}
@media screen and (max-width: 1024px) {
  .ap_contact {
    overflow: hidden;
  }
  .ap_contact .ap_inner {
    text-align: left;
  }
  .ap_contact_btn_flex {
    display: flex;
    flex-direction: column;
    gap: 0rem;
  }
  .ap_contact_btn_flex .ap_common_btn {
    width: 100%;
    max-width: 300px;
    margin-bottom: 1rem;
  }
  .ap_contact > img {
    width: clamp(250px, 50vw, 600px);
  }
}
@media screen and (max-width: 599px) {
  .ap_contact {
    padding: clamp(2.5rem, 2.5vw, 5rem);
  }
  .ap_contact .ap_inner {
    text-align: center;
  }
  .ap_contact > img {
    display: none;
  }
  .ap_contact_btn_flex {
    justify-content: center;
    align-items: center;
  }
}
/*フッター*/
.site-footer {
  display: flex;
  justify-content: space-between;
  padding: clamp(5rem, 5vw, 10rem);
  gap: clamp(2.5rem, 2.5vw, 5rem);
}

.ap_footer_left {
  flex: 3;
}
.ap_footer_left > img {
  margin-bottom: 2.5rem;
}
.ap_footer_left > a {
  display: block;
  margin: 2.5rem 0;
}
.ap_footer_left .copy {
  color: #666;
  font-size: clamp(1.2rem, 0.8vw + 0.5rem, 1.4rem);
}

.ap_footer_right {
  flex: 7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ap_footer_right_menu_top {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.ap_footer_right_menu_top ul {
  border-right: 1px solid #ccc;
}
.ap_footer_right_menu_top ul:last-child {
  border-right: none;
  padding-right: 0;
}
.ap_footer_right_menu_top ul li {
  margin-bottom: 1rem;
}

.ap_footer_right_parent {
  color: #CA0C2D;
  margin-bottom: 2rem;
}
.ap_footer_right_parent a {
  color: #CA0C2D;
}

.ap_footer_right_menu_bottom ul {
  display: flex;
  align-items: center;
  gap: 0.5rem 3rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ap_footer_right_menu_bottom ul a:hover {
  color: #CA0C2D;
}
.ap_footer_right_menu_bottom .policy a {
  color: #666;
  font-size: clamp(1.2rem, 0.8vw + 0.5rem, 1.4rem);
}

@media screen and (max-width: 1024px) {
  .site-footer {
    flex-direction: column-reverse;
    padding: clamp(2.5rem, 2.5vw, 5rem);
  }
  .ap_footer_right_menu_top {
    justify-content: space-around;
    margin-bottom: clamp(2.5rem, 2.5vw, 5rem);
  }
  .ap_footer_right_menu_bottom ul {
    justify-content: start;
  }
}
@media screen and (max-width: 599px) {
  .ap_footer_right_menu_top ul {
    border-right: none;
    padding-right: 0;
  }
  .ap_footer_right_menu_top {
    gap: clamp(2.5rem, 2.5vw, 5rem);
  }
  .ap_footer_right_menu_bottom ul {
    flex-direction: column;
    align-items: start;
    margin-bottom: 1rem;
  }
}
/******************************
検索フォーム
******************************/
.ap_search_title {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  position: relative;
}
.ap_search_title div {
  flex: 2;
}

.ap_search_title h2 {
  flex: 8.5;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 2rem;
  font-weight: normal;
  margin-bottom: 1.5rem;
  font-size: clamp(1.4rem, 1.1vw + 1rem, 2rem);
  font-weight: 700;
}

.ap_search_title h2::before,
.ap_search_title h2::after {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 0;
  border-top: 3px solid #fff;
  transform: rotate(45deg);
}

.ap_search_title h2::after {
  transform: rotate(-45deg);
}

.ap_search.red {
  background: linear-gradient(to bottom, #CA0C2D, #9D0D15);
}
.ap_search.red .ap_search_title_h2 {
  color: #fff;
}
.ap_search.white {
  background-color: transparent;
}
.ap_search.white .ap_search_title_h2 {
  color: #CA0C2D;
}
.ap_search.white .ap_search_title h2::before,
.ap_search.white .ap_search_title h2::after {
  border-top: 3px solid #CA0C2D;
}
.ap_search.grad {
  background: linear-gradient(to right, #FFF, #FBDDE4);
  padding: clamp(2rem, 2.5vw, 5rem) 0;
}
.ap_search.grad .ap_search_title_h2 {
  color: #CA0C2D;
}
.ap_search.grad .ap_search_title h2::before,
.ap_search.grad .ap_search_title h2::after {
  border-top: 3px solid #CA0C2D;
}

.ap_search_foam {
  background: #fff;
  box-shadow: 0 0 5px #ccc;
  padding: clamp(2.5rem, 2.5vw, 5rem) clamp(3rem, 3vw, 6rem);
}

.ap_search_flex {
  display: flex;
  align-items: center;
  border-bottom: 1px dotted #ccc;
  padding: clamp(1rem, 1vw, 2rem) 0;
}
.ap_search_flex *:first-child {
  flex: 2.2;
}
.ap_search_flex *:last-child {
  flex: 7.8;
}

.ap_search_license_flex {
  display: flex;
  align-items: center;
  gap: 1rem 2rem;
  flex-wrap: wrap;
}

.ap_search_license_flex label {
  position: relative;
  display: block;
  margin: 0 0 1rem 0;
  white-space: nowrap;
}

.ap_search_license_flex label:before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  position: relative;
  top: -3px;
  margin-right: 1rem;
  vertical-align: middle;
  cursor: pointer;
  text-align: center;
  background: #fff;
  border: 1px solid #666;
}

.ap_search_license_flex input[type=radio]:checked + label::after {
  content: "";
  position: absolute;
  top: 0.4rem;
  left: 0;
  width: 1.5rem;
  height: 1.5rem;
  background: url("/img/check.png") no-repeat center;
  background-size: contain;
}

.ap_search_btn_flex {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin-top: clamp(2rem, 2vw, 3rem);
  gap: clamp(1.5rem, 1.5vw, 3rem);
  flex-wrap: wrap;
}

.ap_search_label_title {
  display: flex;
  align-items: flex-start;
  margin: 0.5rem 0;
  white-space: nowrap;
}

.ap_search_label_title::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: #CA0C2D;
  border-radius: 50px;
  margin-right: clamp(0.5rem, 0.5vw, 1rem);
  flex-shrink: 0;
  margin-top: clamp(0.8rem, 0.5vw, 1rem);
}

.ap_search input[type=text],
.ap_search input[type=email],
.ap_search input[type=url],
.ap_search input[type=password],
.ap_search input[type=search],
.ap_search input[type=number],
.ap_search input[type=tel],
.ap_search input[type=range],
.ap_search input[type=date],
.ap_search input[type=month],
.ap_search input[type=week],
.ap_search input[type=time],
.ap_search input[type=datetime],
.ap_search input[type=datetime-local],
.ap_search input[type=color],
.ap_search textarea,
.ap_search select {
  min-height: 4rem;
  padding: 1rem;
}

@media screen and (max-width: 1024px) {
  .ap_search_flex {
    display: block;
  }
  .ap_search_label_title {
    margin-bottom: 1rem;
  }
  .ap_search_btn_flex .ap_common_btn {
    max-width: 400px;
    width: 100%;
  }
  .ap_search_title h2 {
    justify-content: center;
    text-align: center;
  }
  .ap_search_title div {
    display: none;
  }
}
.wp-block-image img {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  height: auto;
}

/***************************
プラン検索　アーカイブ・シングル
****************************/
.ap_plan_archive_talbe {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: sans-serif;
}

.ap_plan_archive_talbe thead th {
  background-color: #FBDDE4;
  color: #666666;
  padding: 1rem;
  border: 1px solid #cccccc;
  text-align: center;
  font-weight: 700;
}

.ap_plan_archive_talbe tbody td {
  border: 1px solid #cccccc;
  padding: 1rem;
  text-align: center;
  vertical-align: middle;
  word-break: break-word;
}

.ap_plan_archive_box_request {
  color: #39B24A;
  border: 1px solid;
  padding: 0.25rem;
  display: block;
  max-width: 150px;
  margin: 0 auto;
  font-size: clamp(1.2rem, 0.8vw + 0.5rem, 1.6rem);
}
.ap_plan_archive_box_request.request {
  color: #EA6E7D;
}
.ap_plan_archive_box_request.few-left {
  color: #F99B39;
}

.ap_plan_archive_result {
  border: 1px solid #666;
  display: inline-block;
  margin: 0 auto;
  padding: 1rem;
  margin-bottom: 2.5rem;
}

.ap_plan_archive_result_flex {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap_plan_archive_link_day {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 5rem;
}
.ap_plan_archive_link_day .status_before a, .ap_plan_archive_link_day .status_after a {
  background: #CA0C2D;
  padding: 0.25rem 2rem;
  color: #fff;
  display: flex;
  align-items: center;
}
.ap_plan_archive_link_day .status_now a {
  background: #EFEFEF;
  padding: 0.25rem 2rem;
  display: block;
  min-width: 200px;
  text-align: center;
}

/*********************************
フロントページFV
*********************************/
.ap_fv {
  margin-top: 10rem;
  position: relative;
  padding: 0;
  justify-content: space-between;
  background: url(/img/bg01.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left;
}
.ap_fv .ap_fv_title {
  padding: 10rem 0 10rem 0;
  padding-left: clamp(5rem, 10vw, 20rem);
  min-width: 700px;
  position: relative;
  z-index: 1;
}
.ap_fv .ap_fv_img {
  position: absolute;
  right: 0;
  height: 100%;
  width: 60%;
  top: 0;
}
.ap_fv .ap_fv_img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: left;
     object-position: left;
}

/*実績*/
.ap_fv_proof {
  position: absolute;
  right: 5rem;
  bottom: -2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1;
}

/*タイトル*/
.ap_fv_title_h1 {
  font-size: clamp(5rem, 6vw + 1rem, 8rem);
  color: #fff;
  background: linear-gradient(to right, #CA0C2D, #9D0D15);
  display: inline-block;
  padding: 0.5rem 2rem;
  margin-bottom: 1rem;
  letter-spacing: 0.025em;
}

.ap_fv_title_h1_flex {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ap_fv_title_h1_flex span {
  background: transparent;
  color: #1a1a1a;
  font-size: clamp(3.2rem, 4vw + 0.8rem, 5rem);
}

.ap_fv_title_h2 {
  font-size: clamp(3.2rem, 4vw + 0.8rem, 4.8rem);
  color: #9D0D15;
  margin-top: -1.5rem;
}

.ap_fv_title_h3 {
  font-size: clamp(3rem, 3vw + 0.8rem, 3.2rem);
}

.ap_fv_title_p {
  font-size: clamp(2rem, 2.5vw + 0.5rem, 2rem);
}

.headline-container {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
  font-weight: bold;
  margin-bottom: 3rem;
}

.headline-container::before,
.headline-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  background-color: #000;
  width: 45%;
}

.headline-container::before {
  left: 0;
}

.headline-container::after {
  right: 0;
}

.headline-container .diagonal-line {
  position: absolute;
  bottom: -6px;
  left: 46%;
  width: 15px;
  height: 10px;
  background-color: white;
  transform: translateX(-50%) rotate(45deg);
  border-bottom: 2px solid #000;
}

@media screen and (max-width: 1366px) {
  .ap_fv .ap_fv_img {
    width: 50%;
  }
  .ap_fv .ap_fv_title {
    padding: 10rem 0;
    padding-left: clamp(5rem, 5vw, 20rem);
  }
  .ap_fv_proof {
    display: none;
  }
}
@media screen and (max-width: 1024px) {
  .ap_fv {
    background-position: top;
    background-size: auto 55%;
  }
  .ap_fv .ap_fv_img {
    position: relative;
    width: 100%;
  }
  .ap_fv .ap_fv_title {
    min-width: inherit;
    padding: 2.5rem;
    text-align: center;
  }
  .ap_fv_title_h1_flex {
    justify-content: center;
    margin-left: 1.75rem;
  }
}
@media screen and (max-width: 599px) {
  .ap_fv_title_p {
    font-size: 1.8rem;
  }
}
@media screen and (max-width: 400px) {
  .ap_fv_title_h1 {
    font-size: 3rem;
  }
  .ap_fv_title_p {
    font-size: 1.4rem;
  }
  .ap_fv_title_h2 {
    font-size: 2rem;
  }
  .ap_fv_title_h1_flex span {
    font-size: 2rem;
  }
}
/*************************
フロントコンテンツ
************************/
/*フロント検索（うえ）*/
.ap_search.red .ap_search_title {
  margin-top: -8rem;
}

@media screen and (max-width: 1360px) {
  .ap_search.red .ap_search_title {
    margin: 0;
  }
}
@media screen and (max-width: 1024px) {
  .ap_fv_search {
    padding: clamp(5rem, 5vw, 10rem) 0;
  }
}
/*取得条件コンテンツ*/
.ap_top_conditions {
  background: #CA0C2D;
}
.ap_top_conditions .ap_top_conditions_inner {
  max-width: 1000px;
  margin: 0 auto;
}
.ap_top_conditions .ap_inner.white {
  max-width: 1200px;
  background: #fff;
  padding-top: clamp(2.5rem, 2.5vw, 5rem);
  padding-bottom: clamp(2.5rem, 2.5vw, 5rem);
}
.ap_top_conditions .ap_default_page {
  padding: 0;
}

.ap_default_page.ap_top_conditions_inner {
  padding: 0 10px;
}

/*アバウトコンテンツ*/
.ap_top_content {
  background: url(/img/bg02.png), url(/img/bg03.webp);
  background-repeat: no-repeat, repeat;
  background-position: top left;
  background-size: contain;
}

.ap_top_about {
  display: flex;
  justify-content: space-between;
  padding: 5rem 0;
  margin-bottom: 5rem;
  gap: 2.5rem;
}

.ap_top_about_text {
  width: 42%;
  max-width: 790px;
  padding-left: clamp(5rem, 5vw, 10rem);
}
.ap_top_about_text p {
  font-size: clamp(1.5rem, 2vw + 0.8rem, 2.5rem);
  font-weight: 700;
  margin-top: 5rem;
}
.ap_top_about_text p span {
  color: #CA0C2D;
  font-size: clamp(1.5rem, 2vw + 0.8rem, 2.5rem);
  font-weight: 700;
}

.ap_top_about_text_content {
  max-width: 600px;
  margin-left: auto;
}

.ap_top_about_img {
  text-align: right;
}

.ap_top_about_text_title {
  display: inline;
  background: linear-gradient(transparent 60%, #E59D1C 60%);
  line-height: 1.5;
  font-weight: bold;
}

@media screen and (max-width: 1024px) {
  .ap_top_about {
    display: block;
    padding: 0;
  }
  .ap_top_about_text {
    width: 100%;
    max-width: none;
    margin-bottom: 5rem;
    padding: 0 5%;
  }
  .ap_top_about_text_content {
    margin-left: 0;
  }
}
/*おすすめする理由*/
.ap_top_recommend_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 2.5vw, 5rem);
  background-color: #fff;
  padding: clamp(2.5rem, 2.5vw, 5rem);
}

.ap_top_recommend_box h3 {
  font-size: clamp(1.4rem, 1.1vw + 1rem, 2rem);
  color: #CA0C2D;
  margin-bottom: 1rem;
  margin-top: 1rem;
  text-align: center;
  font-weight: 700;
}
.ap_top_recommend_box img {
  aspect-ratio: 1.618/1;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

@media screen and (max-width: 599px) {
  .ap_top_recommend_grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
    text-align: center;
  }
}
/*登録支援機関の皆さまへ*/
.ap_top_info {
  margin: 5rem 0 10rem;
}

.ap_common_title_h3 {
  border-bottom: 2px solid #CA0C2D;
  margin-bottom: clamp(2.5rem, 2.5vw, 5rem);
  padding-bottom: 2rem;
  font-weight: 700;
}

.ap_top_info_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 2.5rem) clamp(2.5rem, 2.5vw, 5rem);
}
.ap_top_info_grid a {
  background: #fff;
  color: PRIMARY_COLOR;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
}
.ap_top_info_grid a img {
  margin-right: 1rem;
}
.ap_top_info_grid a:hover {
  transform: scale(0.98);
}

@media screen and (max-width: 599px) {
  .ap_top_info_grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
/*取得可能な免許*/
.ap_licence {
  background: url(/img/bg04.webp);
  background-position: top left;
  background-repeat: no-repeat;
  background-size: contain;
  padding: 6rem 0 6rem 0;
  padding-top: clamp(12.5rem, 12.5vw, 25rem);
}
.ap_licence .ap_common_title_h2 {
  margin-bottom: clamp(5rem, 5vw, 10rem);
}

.ap_license_flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7rem 5rem;
}
.ap_license_flex h3 {
  font-size: clamp(1.4rem, 1.1vw + 1rem, 2rem);
  color: #CA0C2D;
  margin-bottom: 1rem;
  margin-top: 1rem;
  text-align: center;
  font-weight: 700;
}

.ap_license_flex_box .ap_license_flex_box_text {
  overflow: hidden;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.ap_license_flex_box .ap_license_flex_box_flex {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}
.ap_license_flex_box .ap_license_flex_box_flex a {
  flex: 2.5;
}
.ap_license_flex_box .ap_license_flex_box_flex_price {
  background: #EFEFEF;
  padding: 0.5rem 1rem;
  font-weight: 600;
  flex: 7.5;
}
.ap_license_flex_box .ap_license_flex_box_flex_price b {
  margin-right: 1rem;
  font-weight: 600;
}
.ap_license_flex_box .ap_license_flex_box_flex_price span {
  font-size: clamp(1.2rem, 0.8vw + 0.5rem, 1.4rem);
  color: #666;
  margin-left: 1rem;
}
.ap_license_flex_box img {
  aspect-ratio: 1.618/1;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

@media screen and (max-width: 1024px) {
  .ap_license_flex {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 599px) {
  .ap_license_flex {
    grid-template-columns: repeat(1, 1fr);
  }
}
/*ご利用の流れ*/
.ap_flow .ap_inner {
  max-width: 1000px;
}

.ap_flow_flex {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.ap_flow_flex_img {
  flex: 1.5;
}

.ap_flow_flex_content {
  flex: 8.5;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 4rem;
}
.ap_flow_flex_content h3 {
  color: #CA0C2D;
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 1.1vw + 1rem, 2rem);
}

@media screen and (max-width: 599px) {
  .ap_flow_flex {
    flex-direction: column;
    justify-content: center;
  }
  .ap_flow_flex_img {
    margin-bottom: 2.5rem;
  }
  .ap_flow_flex_content h3 {
    text-align: center;
  }
}
/*よくある質問*/
.ap_question .ap_inner {
  max-width: 1000px;
}

.ap_question_flex_box {
  margin-bottom: 3rem;
}
.ap_question_flex_box .question {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}
.ap_question_flex_box .question span {
  color: #CA0C2D;
  font-weight: bold;
}
.ap_question_flex_box .answer {
  padding-left: 2rem;
}

/*お勧め教習所*/
.ap_school {
  background: url(/img/bg05.webp);
  background-size: cover;
  background-repeat: no-repeat;
  padding: clamp(17.5rem, 17.5vw, 35rem) 0;
}

.ap_school_flex_box {
  display: flex;
  align-items: stretch;
  background: #fff;
  margin-bottom: 5rem;
}

.ap_school_flex_box_img {
  flex: 4;
  width: 100%;
  position: relative;
}
.ap_school_flex_box_img img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.ap_school_flex_box_content {
  padding: clamp(2.5rem, 2.5vw, 5rem);
  flex: 5;
}
.ap_school_flex_box_content h3 {
  color: #CA0C2D;
  font-weight: bold;
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 1.1vw + 1rem, 2rem);
}

.ap_school_flex_box_content_ad {
  display: flex;
  align-items: center;
  color: #666;
  margin: 1rem 0;
}
.ap_school_flex_box_content_ad p {
  font-size: clamp(1.2rem, 0.8vw + 0.5rem, 1.4rem);
}
.ap_school_flex_box_content_ad img {
  margin-right: 1rem;
}

@media screen and (max-width: 599px) {
  .ap_school_flex_box {
    display: block;
  }
  .ap_school {
    padding: clamp(5rem, 5vw, 10rem) 0;
  }
}
/*column*/
.ap_common_title_flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ap_link {
  color: #CA0C2D;
  border-bottom: 1px solid;
}

.ap_column_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2.5rem, 2.5vw, 5rem);
}

.ap_column_box_img img {
  aspect-ratio: 1.618/1;
  -o-object-fit: cover;
     object-fit: cover;
}

.ap_column_box_text {
  overflow: hidden;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  margin: 1rem 0 2rem;
}

@media screen and (max-width: 599px) {
  .ap_column_grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
/*お知らせ*/
.ap_news .ap_inner {
  display: flex;
  gap: 5rem;
}

.ap_news_title {
  flex: 2;
}

.ap_news_content {
  flex: 8;
}

.ap_news_flex {
  display: block;
}
.ap_news_flex a {
  text-decoration: none;
  color: #1a1a1a;
}
.ap_news_flex a:hover {
  color: #CA0C2D;
}

.ap_news_flex_data {
  margin-bottom: 1rem;
}
.ap_news_flex_data .data {
  font-size: clamp(1.2rem, 0.8vw + 0.5rem, 1.6rem);
  margin-right: 1rem;
}
.ap_news_flex_data .cat {
  color: #CA0C2D;
  font-size: clamp(1.2rem, 0.8vw + 0.5rem, 1.6rem);
}

@media screen and (max-width: 1024px) {
  .ap_news .ap_inner {
    display: block;
  }
  .ap_news_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
/*support*/
.ap_support_flex {
  border-top: 2px solid #CA0C2D;
  margin-top: clamp(2.5rem, 2.5vw, 5rem);
  padding: clamp(2.5rem, 2.5vw, 5rem) 0;
  display: flex;
  align-items: stretch;
}
.ap_support_flex a {
  flex: 5;
}
.ap_support_flex img {
  transition: 0.3s;
}
.ap_support_flex a:hover img {
  transform: scale(0.98);
}

@media screen and (max-width: 599px) {
  .ap_support_flex {
    display: block;
  }
}
/*tel*/
.tel {
  font-size: clamp(2rem, 3vw + 1rem, 4rem);
  color: #CA0C2D;
}
.tel span {
  font-size: clamp(1.5rem, 2vw + 0.8rem, 2.5rem);
}

/* parts */
.ap-text-indent, .ap-text-indent p {
  padding-left: 1em;
  text-indent: -1em;
}

.ap-unso-cost th {
  width: 200px;
}

.ap-unso-cost th:nth-of-type(2) {
  width: 40%;
  max-width: 400px;
}

.ap-unso-cost td.ap-grad-color {
  background-color: #FBDDE4;
}

.ap-text-center {
  text-align: center !important;
}

.ap-top-support {
  width: 58%;
  display: flex;
  flex-wrap: wrap;
}

.ap-top-support a {
  width: 33.3333333333%;
  padding-left: 10px;
}

.ap-top-support a:hover {
  opacity: 0.7;
}

.ap-top-support img {
  width: 100%;
}

.ap-list-numbers {
  text-indent: -1me;
  padding-left: 1em;
}

@media screen and (max-width: 1024px) {
  .ap-top-support {
    width: 100%;
    max-width: none;
  }
}
/* hrader */
.ap-contact-area {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  -moz-column-gap: 9%;
       column-gap: 9%;
  margin-left: 3rem;
}

@media screen and (max-width: 599px) {
  .ap-unso-cost th {
    width: 130px;
  }
  .ap-unso-cost th:nth-of-type(2) {
    width: 35%;
  }
  .ap-top-support {
    flex-direction: column;
  }
  .ap-top-support a {
    width: 70%;
    padding-left: 0;
    margin: 0 auto 20px;
  }
}
/* 会社概要 */
.ap-company dl {
  display: flex;
  border-bottom: 1px dotted #ccc;
  padding: 20px 0;
}

.ap-company dt {
  width: 24%;
}

.ap-company dd {
  width: 76%;
}

.ap-company dd a:hover {
  color: #CA0C2D;
}

@media screen and (max-width: 1024px) {
  .ap-company dl {
    flex-direction: column;
  }
  .ap-company dt {
    margin-bottom: 5px;
  }
}
/* footer */
.ap-footer-menu-left {
  padding-right: 4%;
}

.ap-footer-menu-right {
  padding-left: 4%;
}

@media screen and (max-width: 1024px) {
  .ap_footer_right_menu_top {
    -moz-column-gap: 4%;
         column-gap: 4%;
  }
  .site-footer {
    width: 80%;
    margin: 0 auto;
  }
  .ap_footer_right_menu_top ul {
    border-right: none;
  }
  .ap-footer-menu-left, .ap-footer-menu-right {
    width: 48%;
    padding-right: 0;
    padding-left: 0;
  }
  .ap_footer_right_menu_bottom {
    margin-bottom: 3rem;
  }
}
@media screen and (max-width: 767px) {
  .site-footer {
    width: 100%;
    margin: 0 auto;
  }
  .ap-footer-menu-left, .ap-footer-menu-right {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
  }
}
@media screen and (max-width: 599px) {
  .ap_footer_right_menu_top {
    flex-direction: column;
  }
}
/* よくある質問
------------------------------ */
.ap_question_item {
  border-bottom: 1px solid #ddd;
  padding: 0.5em 0;
}

.ap_question_title_outer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  padding: 1em 0;
}

.ap_question_title {
  width: calc(100% - 80px);
  padding-right: 20px;
  text-align: left;
  font-weight: bold;
  font-family: "Noto Sans JP", "Yu Gothic", "游ゴシック体", "メイリオ", Meiryo, sans-serif;
  color: #1a1a1a;
}

.ap_q_icon {
  width: 40px;
  color: #0073aa;
  font-family: "Noto Sans JP", "Yu Gothic", "游ゴシック体", "メイリオ", Meiryo, sans-serif;
  font-weight: bold;
}

.ap_a_icon {
  width: 40px;
  color: #CA0C2D;
  font-weight: bold;
}

.ap_question_title_outer span {
  width: 40px;
}

/* トグルアイコン */
.ap_toggle_icon {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
}

.ap_toggle_icon::before,
.ap_toggle_icon::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: calc(50% - 1px);
  width: 2px;
  height: 10px;
  border-radius: 2px;
  background-color: #000;
  transform-origin: bottom center;
  transition: all 0.3s ease;
}

/* 通常 */
.ap_toggle_icon::before {
  transform: rotate(45deg);
}

.ap_toggle_icon::after {
  transform: rotate(-45deg);
}

/* 開いたとき */
.ap_question_item.open .ap_toggle_icon::before {
  left: 25px;
  transform: rotate(-45deg);
}

.ap_question_item.open .ap_toggle_icon::after {
  transform: rotate(45deg);
  left: 11px;
}

.ap_question_answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  display: flex;
  align-items: flex-start;
}

.ap_answer_text {
  width: calc(100% - 80px);
  padding-right: 20px;
  margin-bottom: 2rem;
}

/* 開いたとき */
.ap_question_item.open .ap_question_answer {
  max-height: 600px; /* 内容に応じて調整 */
}

/* フォーム */
.ap_field_box .ap_height_center:not(:last-of-type) {
  border-bottom: none;
}

/* 外国人ドライバーを採用したい企業様へ */
.ap-accept-notice-outer {
  text-align: center;
}

.ap-accept-notice {
  position: relative;
  display: inline-block;
  text-align: center;
  margin: 0 auto;
}

.ap-accept-notice a {
  display: inline-block;
  font-weight: normal;
  color: #fff;
  background-color: #004c74;
  padding: 24px 42px 24px 24px;
  border-radius: 6px;
}

.ap-accept-notice a:hover {
  opacity: 0.7;
}

.ap-accept-notice::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #fff;
}

@media screen and (max-width: 599px) {
  .ap-accept-notice a {
    text-align: left;
  }
}
.ap_default_page {
  padding: 10rem 0;
}

.ap_default_page .ap_inner {
  max-width: 1000px;
  margin: 0 auto;
}

.ap_default_page p > a {
  color: #CA0C2D;
  text-decoration: underline;
}

.ap_default_page .box a {
  color: #CA0C2D;
  text-decoration: underline;
}

.ap_default_page strong {
  background: linear-gradient(to bottom, transparent 60%, #FBDDE4 60%);
  display: inline;
  font-weight: 700;
}

/*タイトル*/
.ap_default_page h1 {
  font-size: clamp(2rem, 3vw + 1rem, 4rem);
  color: #CA0C2D;
  margin-bottom: clamp(1rem, 2vw, 4rem);
  border-top: 5px solid #CA0C2D;
  padding-top: 2rem;
}

.ap_default_page h2 {
  font-size: clamp(1.5rem, 2vw + 0.8rem, 2.5rem);
  color: #CA0C2D;
  margin-bottom: clamp(0.5rem, 1.5vw, 1.5rem);
  border-left: 5px solid #CA0C2D;
  padding-left: 1rem;
}

.ap_default_page h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #CCC;
  font-size: clamp(1.4rem, 1.1vw + 1rem, 2rem);
}

.ap_default_page h4 {
  font-weight: 600;
  color: #CA0C2D;
  margin: 1rem 0;
  font-size: clamp(1.4rem, 1vw + 0.5rem, 1.8rem);
}

.ap_default_page h5 {
  font-size: clamp(1.4rem, 1vw + 0.5rem, 1.8rem);
}

/*リスト*/
.ap_default_page li {
  display: flex;
  align-items: flex-start;
  margin: 0.5rem 0;
}

.ap_default_page li::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background: #CA0C2D;
  border-radius: 50px;
  margin-right: 0.5rem;
  flex-shrink: 0;
  margin-top: 0.8rem;
}

/*テーブル*/
.ap_default_page table {
  border-collapse: collapse;
  width: 100%;
  line-height: 2em;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.ap_default_page th {
  font-weight: bold;
  padding: 1rem;
  border: 1px solid #ccc;
  text-align: center;
  background: #FBDDE4;
}

.ap_default_page td {
  padding: 1rem;
  border: 1px solid #ccc;
  text-align: center;
  background: #fff;
}

.ap_default_page table p, .ap_default_page table span, .ap_default_page table a, .ap_default_page table th, .ap_default_page table td {
  font-size: clamp(1.2rem, 0.8vw + 0.5rem, 1.6rem);
  line-height: 1.4;
}

.table_ex th, .table_ex td {
  text-align: left;
  vertical-align: middle;
}
.table_ex th {
  text-align: center;
}

.table_2column th, .table_2column td {
  text-align: left;
}
.table_2column th {
  width: 25%;
  text-align: center;
}
.table_2column td {
  width: 75%;
}

/*box*/
.box {
  background-color: #f0f0f0;
  padding: clamp(1rem, 1vw + 1rem, 3rem);
  margin: clamp(2rem, 2vw + 1rem, 5rem) 0;
}

@media (max-width: 599px) {
  .ap_default_page th {
    display: block;
    width: 100%;
    padding: 0.5rem;
  }
  .ap_default_page td {
    display: block;
    width: 100%;
    padding: 0.5rem;
  }
  .table_wrap {
    max-width: 599px;
    overflow-x: auto;
  }
  .table_wrap .table_ex {
    width: 599px;
    border-collapse: collapse;
  }
  .table_ex th, .table_ex td {
    display: table-cell;
    width: auto;
  }
  /*スペース*/
  .wp-block-spacer[style*="height:100px"] {
    height: 50px !important;
  }
  .wp-block-spacer[style*="height:50px"] {
    height: 25px !important;
  }
  .wp-block-spacer[style*="height:30px"] {
    height: 15px !important;
  }
  /* img*/
  .wp-block-image {
    text-align: center;
  }
}
.just_center {
  justify-content: center;
}

.column_text {
  color: #666;
  font-size: clamp(1.2rem, 0.8vw + 0.5rem, 1.4rem);
}

/********************************
免許種別（plan,lisense）
********************************/
.ap_default_page .ap_license_requirement_table {
  margin-bottom: 1rem;
}

.ap_license_requirement_text {
  font-size: clamp(1.2rem, 0.8vw + 0.5rem, 1.6rem);
}

/********************************
wp基準のCSS（使うもの）
********************************/
.has-text-align-center {
  text-align: center;
}/*# sourceMappingURL=style.css.map */