@charset "utf-8";
/*================================================
比較テーブル
================================================*/
.p-tbl--comparison {
	width: 100%;
	margin: 0 auto 1rem;
  border: solid 1px #666;
  border-bottom: 0;
}
.p-tbl--comparison th {
	line-height: 1.4;
	padding: 1rem;
	background: #F3F2F1;
  border-bottom: solid 1px #666;
	color: #422715;
	font-weight: bold;
	text-align: left;
  display: block;
}
.p-tbl--comparison td {
  border-bottom: solid 1px #666;
  display: flex;
}
.p-tbl--comparison__label {
  width: 110px;
  min-height: 110px;
  border-right: solid 1px #666;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.p-tbl--comparison__label span {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  text-align: center;
}
.p-tbl--comparison__label span + span {
  border-top: solid 1px #666;
}
.p-tbl--comparison__txt {
  flex: 1;
  padding: 0.5rem;
  align-items: center;
}
.p-tbl--comparison__txt .c-text + .c-notice,
.p-tbl--comparison__txt .c-list__indent + .c-notice {
	margin-top: 1rem;
}
.p-tbl--comparison tr:nth-child(2n) {
	background: #FCF6EA;
}
@media only screen and (min-width: 769px){
  .p-tbl--comparison thead {
    display: table-header-group;
  }
  .p-tbl--comparison th,
  .p-tbl--comparison td {
    display: table-cell;
    border: solid 1px #666;
  }
  .p-tbl--comparison thead tr th {
    padding: 0;
  }
  .p-tbl--comparison thead tr th span {
    width: 100%;
    height: 78px;
    padding: 1rem 0.5rem;
    display: block;
    font-weight: bold;
    text-align: center;
  }
  .p-tbl--comparison tbody tr th {
    writing-mode: vertical-rl;
  }
  .p-tbl--comparison__label {
    display: none;
  }
  .p-tbl--comparison__txt {
    display: block;
  }
}
/*========================================
js-table.js
テーブルを途中まで表示し、ボタンで展開する
========================================*/
#js-tableWrapper {
	position: relative;
	overflow: hidden;
	transition: height 0.4s ease;
  margin-bottom: 1rem;
}
#js-tableWrapper::after {
  content: "";
  width: 100%;
  height: 140px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(0deg, #FFF, #FFF 5%, transparent);
}
#js-tableBtn {
	display: block;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: calc(100% - 2rem);
  margin: 0 auto;
  background: #FFF;
  padding: 1rem;
  color: #422715;
  border: solid 2px #422715;
  border-radius: 90px;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0 4px 0 0 rgba(0, 0, 0, 0.16);
  z-index: 10;
}
#js-tableWrapper.expanded {
	overflow: visible;
  padding-bottom: 2rem;
}
#js-tableWrapper.expanded::after {
  display: none;
}
.expanded #js-tableBtn {
	background: #FFEBBC;
  border-color: #FFC94C;
}
.expanded #js-tableBtn.c-arrow-circle2::after {
  transform: translateY(-50%) rotate(180deg);
}

/*========================================
js-accordion.js
アコーディオンを途中まで表示し、ボタンで展開する（SP時のみ）
========================================*/
.js-accordionWrapper {
	position: relative;
	overflow: hidden;
	transition: height 0.4s ease;
  margin-bottom: 1rem;
}
.js-accordionWrapper::after {
  content: "";
  width: 100%;
  height: 140px;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(0deg, #FFF, #FFF 5%, transparent);
}
.js-accordionBtn {
	display: block;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: calc(100% - 2rem);
  margin: 0 auto;
  background: #FFF;
  padding: 1rem;
  color: #422715;
  border: solid 2px #422715;
  border-radius: 90px;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0 4px 0 0 rgba(0, 0, 0, 0.16);
  z-index: 10;
}
.js-accordionWrapper.expanded {
	overflow: visible;
  padding-bottom: 2rem;
}
.js-accordionWrapper.expanded::after {
  display: none;
}
@media only screen and (min-width: 769px){
  .js-accordionWrapper.expanded {
    margin-bottom: 4rem;
  }
}
.expanded .js-accordionBtn {
	background: #FFEBBC;
  border-color: #FFC94C;
}
.expanded .js-accordionBtn.c-arrow-circle2::after {
  transform: translateY(-50%) rotate(180deg);
}

/*========================================
js-submenu.js
スクロールでアンカーボタンをサブメニューとして固定表示（PC時のみ）
========================================*/
@media only screen and (min-width: 769px){
  #js-submenuInput {
    height: 184px;
    width: 700px;
    position: relative;
  }
  #js-submenuInput #js-submenuInner {
    position: absolute;
    top: 0;
    left: 0;
    height: 184px;
    width: 700px;
  }
}
#js-submenuOutput {
  width: 340px;
  opacity: 1;
  transition: opacity 0.3s ease;
}
#js-submenuOutput.fixed {
  position: fixed;
  z-index: 1000;
  top: 1.5rem;
  right: calc(((100% - 968px) / 2) - (340 - 238));
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
#js-submenuOutput #js-submenuInner {
  flex-direction: column;
}
#js-submenuOutput .c-anchor__btn__wrapper-2 {
  width: 100%;
}