/****************************************
* main.css :ベース
* タグ要素、基本全て適用するデザイン
***************************************/
@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
}

a {
  display: block;
  color: currentcolor;
  cursor: pointer;
  text-decoration: none;
}

a:hover{
  cursor: pointer;
}

ul, li{
  margin-left: 0 !important;
  list-style: none !important;
}

.p-sub_pc_on {
  display: block;
}

.p-sub_sp_on {
  display: none !important;
}

table .p-sub_sp_on {
  display: none;
}

#page_no_side {
  width: 100%;
  margin: 0;
}

h1, h2, h3, section, [id] {
  scroll-margin-top: 88px; /* ヘッダーの高さ分 */
}

/****************************************
* main.css :コンテンツ
* 役割:ボタン,カード,見出し,フォーム部品
***************************************/
/* コンテンツ */

.lp_content {
  margin: 0;
}

/* トップページ：基本デザイン */
/* コンテンツのカラーを簡易変数化　add tamashiro */
/* projectへ移植したほうがわかりやすいかもしれない。 */
:root {
  /* color */

  /* brand */
  --primary-color : #0020C3;
  --secondary-color : #42444C;
  
  /* text */
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-white: #ffffff;

  /* background */
  --color-bg: #ffffff;
  --color-bg-gray: #EDF4FD;
  --color-bg-dark: #42444C;

  /* fontsize */
  --top-head     :60px;
  --top-subhead  :36px;
  --top-text     :16px;
  --top-subtext  :16px;
}

.p-top_head{
  font-size: var(--top-head) !important;
  /* color: #E6001F; */
  color: var(--primary-color);
  font-weight: bold;
  position: relative !important;
}

.p-sub_head{
  font-size: var(--top-subhead) !important;
  color: var(--primary-color);
  font-weight: 600;
  position: relative !important;
  margin-bottom: 4rem !important;
  padding-left: 1.6rem !important;
}

.p-sub_head::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 6px;
  height: 1.2em;
  /* background-color: #E6001F; */
  background-color: var(--primary-color);
}

.p-top_text{
  font-size: var(--top-subtext);
  color: var(--primary-color);
  font-weight: normal;
  line-height: 2.2 !important;
  margin-bottom: 1rem;
}

.p-sub_text{
  font-size: var(--top-subtext);
  color: var(--sub-color);
  font-weight: normal;
  line-height: 2.2 !important;
  margin-bottom: 1rem !important;
}

/*****************************************
 * コンポーネント　再利用パーツ 
 * Coponentのテーマカラー設定 
 * mainとsubの出し分けはデザインを見て判断 add tamashiro
 ****************************************/
/* メニュー */
#c-menu {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 299;
  will-change: transform;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}

#c-menu.active {
  display: block;
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
}

.c-menu-bg {
  background: var(--color-bg);
  width: 100%;
  height: 100%;
  overflow: scroll;
}

.c-menu_inner {
  width: 90%;
  margin: 0 auto;
  padding: 80px 0;
}

.c-menu_list_wrapper {
  margin-bottom: 1.5rem;
}

.c-menu_list_item {
  border-bottom: 1px solid #ffffff63;
}

.c-menu_list_item_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem 1rem 1rem;
  border-bottom: 1px solid #cccc;
}

.c-menu_list_item_head_text {
  font-size: 16px;
  font-weight: bold;
  color: var(--primary-color);
}

.c-menu_sub_list_text{
  background-color: var(--color-bg-contact);
  padding: 15px;
  font-size: 12px;
  font-weight: 500;
  padding-left: 24px;
  border-bottom: 1px solid #ccc;

}

.c-menu_sub_list_text-title{
  background-color: var(--primary-color);
  padding: 15px;
  font-size: 12px;
  color: var(--color-text-white);
  font-weight: 500;
  border-bottom: 1px solid #ccc;
}

.c-menu_sub_list_text--facility {
    background: #f0f5ff;
}

.c-menu_sub_list_text--facility a {
    color: #1e40af;
}

.c-menu_sub_list_text-title--facility {
    background: #93c5fd;
    color: #1e40af;
}

.c-menu_sub_list_text--reform {
    background: #fbcfe8;
}

.c-menu_sub_list_text--reform-small a {
    color: #0f6e56;
}

.c-menu_sub_list_text-title--reform-small {
    background: #99f6e4;
    color: #0f6e56;
}

.c-menu_sub_list_text--reform {
    background: #f5f3ff;
}

.c-menu_sub_list_text--reform a {
    color: #9d174d;
}

.c-menu_sub_list_text-title--reform {
    background: #f9a8d4;
    color: #9d174d;
}

.c-menu_list_item_body_text {
  position: relative;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
}

.c-menu_list_item_inner:hover {
  background: #a0cfdf63;
}

.c-menu_contact_wrapper{
    width: 280px;
    margin: 0 auto 24px;
}

.c-menu_contact_contents p{
  width: 280px !important;
}

.c-menu_tel_wrapper{
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  color: var(--primary-color);
  margin-top: 24px;
}

.c-menu_under_text{
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: var( --color-text-light);
}

.c-menu_sub_list_wrapper {
  display: none;
}

.c-menu_list_item_inner {
  position: relative;
}

.c-parent .c-menu_list_item_inner::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  transform: rotate(45deg);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.c-parent.active .c-menu_list_item_inner::after {
  transform: rotate(-135deg);
}

/* ボタン */

.c-btn{
  width: 280px;
  padding: 1.8rem;
  background-color: var(--primary-color);
  color: var(--color-text-white);
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  border-radius: 50px;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  border: 1px solid transparent;
  transition: background .5s cubic-bezier(0,0,0,1),
              color .5s cubic-bezier(0,0,0,1),
              border-color .5s cubic-bezier(0,0,0,1);
}
.c-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 33px;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 7px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transition: border-color .5s cubic-bezier(0,0,0,1);
}

.c-btn:hover {
  background: var(--color-bg);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.c-btn:hover::after {
  border-left-color: currentColor;
}

.c-btn:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.c-btn.c-btn_return{
  width: 230px;
  color: var(--color-bg);
  background: var(--primary-color);
  border-color: transparent;
  padding-left: 3.2rem;
  padding-right: 1.8rem;
  position: relative;
}

.c-btn.c-btn_return::before{
  content: "";
  position: absolute;
  top: 50%;
  left: 33px;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-right: 7px solid currentColor;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  transition: border-color .5s cubic-bezier(0,0,0,1);
}

.c-btn.c-btn_return::after{ content: none; }

.c-btn.c-btn_return:hover{
  background: var(--color-bg);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.c-btn.c-btn_return:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.c-btn.c-btn_return:active{
  filter: brightness(0.96);
}

.c-btn-header{
  margin-left: auto;              /* 右寄せ */
  display: inline-block;
  background: var(--primary-color);
  color: var(--color-bg);
  padding: 1.8rem 1.4rem;
  text-decoration: none;
  font-weight: bold;
  box-sizing: border-box;
  border: 1px solid transparent;
  transition: background .3s, color .3s, border-color .3s;
}

.c-btn-header:hover{
  background: var(--color-bg);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.c-btn-header:focus-visible{
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.c-btn-header:active{
  filter: brightness(0.96);
}

.c-btn_return::after {
  top: calc(50% - 6px);
  left: 45px;
  border-top: 7px solid transparent;
  border-right: 7px solid var(--color-bg);
  border-bottom: 7px solid transparent;
  border-left: none;
}

.c-btn_associate{
  background-color: var(--color-bg);
  color: var(--primary-color) !important;
  border: none;
}

.c-btn_associate::after{
  border-left: 7px solid var(--primary-color);
}

.c-btn_associate{
  background-color: var(--color-bg);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.c-btn_associate:hover{
  background-color: var(--primary-color);
  color: var(--color-bg) !important;
  border-color: var(--primary-color);
}

.c-btn_associate:hover::after{
  border-left-color: currentColor !important;
}

/* l-innerのスタイルはlayoutへ移動
   u-はとりあえず据え置きです。tamashiro  */
.u-under_line {
  text-decoration: underline !important;
}

.u-inline{
  display: inline;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* 文字スライダー add tamashiro */
.c-loop_wrapper{
  display: flex;
  align-items: center;
  overflow: hidden;
}

.c-loop_area {
  display: flex;
  animation: loop-slide 55s infinite linear 1s both;
  list-style: none !important;
  margin: 0 !important;
  padding: 0;
  width: calc( 1740px * 2);
}

.c-loop_text {
  width: 1740px;
  flex-shrink: 0;
}

@keyframes loop-slide {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* hover add tamashiro 
 *  <ul class="c-hover-opacity p-top_business-list "> 
 *  カーソルが範囲に入るとフェードがかかる 
 *  適用例：<li class="c-hover-opacity p-top_business-list-item">
 */
.c-hover-opacity:hover {
  opacity: 0.7;
  transition: 0.3s;
}

/* main subの色反転ホバーも先にスタイル組んでおくといいかも 積み残し課題 add tamashiro */

/* セレクトボタン */
.c-category-box-container {
    display: flex;
    justify-content: space-between; 
    gap: 73px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 0 20px 0;
}

.c-category-box {
    flex: 1;                       /* すべてのボタンを同じ幅にする */
    display: flex;
    align-items: center;
    justify-content: center;       /* テキストを中央寄せ */
    
    background-color: #f0f7ff;     /* 薄い青の背景 */
    border: 1px solid #1e50a2;     /* 紺色の枠線 */
    color: #1e50a2;                /* 文字色 */
    text-decoration: none;
    font-size: 14px;
    height: 50px;                  /* 高さの指定 */
    border-radius: 50px;           /* カプセル型にする */
    
    position: relative;            /* 矢印の位置基準 */
    padding: 0 30px;
}

/* 右側の小さな下矢印（▼） */
.c-category-box::after {
    content: "▼";
    font-size: 10px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* ホバー時の演出（お好みで） */
.c-category-box:hover {
    background-color: #e0eeff;
}

/* slick  */
.c-slick-slider {
  position: relative;
  margin: 0;
  height: 100%;
}

.c-slick-list {
  height: 100%;
}

.c-slick-track {
  height: 100%;
}

.c-slick-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* table  */
.c-table{
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin: 0 0 24px 0;
}

.c-table_th{
  background: #EDF4FD;
  border: 1px solid #E9E5DE;
  padding: 17px 25px;
  line-height: 2.2;
  border-top: 1px solid #E9E5DE;
  border-right: none;
  border-left: none;
  font-weight: bold;
  color: var(--color-text);
  vertical-align: middle;
}

.c-table_td{
  color: var(--color-text);
  border-top: 1px solid #E9E5DE;
  border-right: none;
  border-left: none;
  vertical-align: middle;
  border: 1px solid #E9E5DE;
  padding: 17px 25px;
  line-height: 2.2;
  background: #fff;
}

.bg_image.pc {
    display: block;
}

.bg_image.mobile {
    display: none;
}

/* ページネーション */
.c-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 8px;
  width: 100%;
}

.c-pagination-inner {
  max-width: 210px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.page-nation {
  margin-top: 4vw;
}

.page-nation ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 1vw;
}
/* 数字ボタン */
.c-pagination-inner a.page-numbers,
.c-pagination-inner span.page-numbers {
  display: block;
  font-size: 14px;
  text-align: center;
  line-height: 40px;
  color: #333333;
  background-color: var(--color-bg-gray);
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
/* 現在のページ */
.c-pagination-inner a.page-numbers.current,
.c-pagination-inner span.page-numbers.current {
  color: var(--color-bg);
  background-color: var(--primary-color);
  font-weight: bold;
}
/* 前へ・次へ */
.c-pagination-inner a.page-numbers.prev,
.c-pagination-inner a.page-numbers.next {
  font-size: 16px;
  color: var(--primary-color);
  background: none;
  font-weight: bold;
  width: auto;
  line-height: 40px;
  border-radius: 50%;
}

/* スクロールアニメーション */
.c-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.c-fade-left.is-show {
    opacity: 1;
    transform: translateX(0);
}

.c-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.c-fade-up.is-show {
    opacity: 1;
    transform: translateY(0);
}
