@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/



/* 共通 */
body{
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  color: #42342B;
}
body .l-article .post_content,
body .l-article .post_content p,
body .l-article .post_content li {
  font-size: 14px;
  font-weight: 400;
}
@media screen and (min-width: 959px){
  body .l-article .post_content,
  body .l-article .post_content p,
  body .l-article .post_content li {
    font-size: 16px;
  }
}
.l-article {
  max-width: 100% !important;
}
/* ===== Margin Top（SPはPCの50%）===== */
.mt-8 { margin-top: 4px !important;
}
.mt-16 { margin-top: 8px !important;
}
.mt-24 { margin-top: 12px !important;
}
.mt-32 { margin-top: 16px !important;
}
.mt-40 { margin-top: 20px !important;
}
.mt-48 { margin-top: 24px !important;
}
.mt-64 { margin-top: 32px !important;
}
.mt-80 { margin-top: 40px !important;
}
.mt-100 { margin-top: 50px !important;
}
.mt-120 { margin-top: 60px !important;
}

/* ===== Margin Bottom（SPはPCの50%）===== */
.mb-8 { margin-bottom: 4px !important;
}
.mb-16 { margin-bottom: 8px !important;
}
.mb-24 { margin-bottom: 12px !important;
}
.mb-32 { margin-bottom: 16px !important;
}
.mb-40 { margin-bottom: 20px !important;
}
.mb-48 { margin-bottom: 24px !important;
}
.mb-64 { margin-bottom: 32px !important;
}
.mb-80 { margin-bottom: 40px !important;
}
.mb-100 { margin-bottom: 50px !important;
}
.mb-120 { margin-bottom: 60px !important;
}


/* ===== PC（960px〜）で本来の値に上書き ===== */
@media (min-width: 960px) {

  .mt-8 { margin-top: 8px !important;
  }
  .mt-16 { margin-top: 16px !important;
  }
  .mt-24 { margin-top: 24px !important;
  }
  .mt-32 { margin-top: 32px !important;
  }
  .mt-40 { margin-top: 40px !important;
  }
  .mt-48 { margin-top: 48px !important;
  }
  .mt-64 { margin-top: 64px !important;
  }
  .mt-80 { margin-top: 80px !important;
  }
  .mt-100 { margin-top: 100px !important;
  }
  .mt-120 { margin-top: 120px !important;
  }

  .mb-8 { margin-bottom: 8px !important;
  }
  .mb-16 { margin-bottom: 16px !important;
  }
  .mb-24 { margin-bottom: 24px !important;
  }
  .mb-32 { margin-bottom: 32px !important;
  }
  .mb-40 { margin-bottom: 40px !important;
  }
  .mb-48 { margin-bottom: 48px !important;
  }
  .mb-64 { margin-bottom: 64px !important;
  }
  .mb-80 { margin-bottom: 80px !important;
  }
  .mb-100 { margin-bottom: 100px !important;
  }
  .mb-120 { margin-bottom: 120px !important;
  }
}
.pr-40{
  padding-right: 20px !important;
}
@media screen and (min-width: 959px){
  .pr-40 {
    padding-right: 40px !important;
  }
}
.l-content{
  margin: 0 auto !important;
}
.l-container {
  margin-left: auto;
  margin-right: auto;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.font--en{
  font-family: "Bad Script", cursive;
}
.txt--org{
  color: #9FC5A3;
  font-weight: 500 !important;
}
.txt--white{
  color: #fff;
}
.post_content > :first-child {
  margin-top: 30px !important;
  margin-top: revert !important;
}
.label--org{
  background-color: #9FC5A3;
  color: #fff;
  text-align: center;
  padding: 10px;
  width: 120px;
  border-radius: 30px;
  line-height: 1 !important;
  font-size: 14px;
  margin: 0 0 15px 0 !important;
}
@media screen and (min-width: 959px){
  .label--org {
    font-size: 18px;
    padding: 15px;
    width: 160px;
    margin: 0 0 25px 0 !important;
  }
}
.sp{
  display: block !important;
}
@media screen and (min-width: 959px){
  .sp {
   display: none !important;
  }
}
.label--gry{
  background-color: #A0A0A0;
  color: #fff;
  text-align: center;
  padding: 10px;
  width: 120px;
  border-radius: 30px;
  letter-spacing: 0.18em;
  line-height: 1 !important;
  font-size: 14px;
}
@media screen and (min-width: 959px){
  .label--gry {
    font-size: 18x;
    padding: 15px;
    width: 160px;
  }
}
.wp-block-column .label--org,
.wp-block-column .label--gry {
  margin-bottom: 15px !important;
}
#content {
  padding-top: 0 !important;
}
.post_content>* {
  clear: both;
  margin-bottom: 20px !important;
}
.swell-block-fullWide.c-sec_cta__btn + .swell-block-fullWide {
  margin-top: 0 !important;
}
/* スクロール設定 */
[id^="study-01"]::before {
  content: "";
  display: block;
  height: 100px; /* ← ヘッダーの高さ分調整 */
  margin-top: -100px; /* 同じ値をマイナスにしてズラす */
  visibility: hidden;
}
[id^="study-02"]::before {
  content: "";
  display: block;
  height: 100px; /* ← ヘッダーの高さ分調整 */
  margin-top: -100px; /* 同じ値をマイナスにしてズラす */
  visibility: hidden;
}
[id^="study-03"]::before {
  content: "";
  display: block;
  height: 100px; /* ← ヘッダーの高さ分調整 */
  margin-top: -100px; /* 同じ値をマイナスにしてズラす */
  visibility: hidden;
}

/* margin設定 */



/* inner設定 */
.alignfull > .wp-block-cover__inner-container > *,
.alignfull > .wp-block-group__inner-container > *,
.swell-block-fullWide__inner > * {
  margin-bottom: 0 !important;
}
.c-tabBody__item>*,
.cap_box_content>*,
.faq_a>*,
.swell-block-accordion__body>*,
.swell-block-dl__dd>*,
.swell-block-step__body>*,
.swl-has-mb--s>*,
.wp-block-column>*,
.wp-block-cover__inner-container>*,
.wp-block-group__inner-container>*,
.wp-block-media-text__content>*,
div[class*=is-style-]>* {
  margin-bottom: 0 !important;
}
.c-sec-inner{
  max-width: 1440px !important;
  padding: 80px 20px !important;
  margin: 0 auto;
}
@media screen and (min-width: 959px){
  .c-sec-inner {
    padding: 120px 40px !important;
  }
}
.c-sec-inner__page{
  max-width: 1440px !important;
  padding: 60px 0  60px!important;
  margin: 0 auto;
}
@media screen and (min-width: 959px){
  .c-sec-inner__page{
    padding: 100px 40px 140px!important;
  }
}


/* ボタン */
.wp-block-columns {
  justify-content: center;
}
.wp-block-column .c-sec__btn--wrap{
  flex-grow: 0 !important;
}
.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
  flex-basis: auto !important;
  flex-grow: 0 !important;
  width: 100%;
}
.c-sec-btn_01 a{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; 
  padding: 14px 56px 14px 28px; 
  background-color: #A9C3A9;
  color: #fff;
  font-size: 16px;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 220px;
  height: 50px;
  margin-top: 40px;
  margin-left: auto;
  &::after {
    content: "";
    position: absolute;
    right: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #fff;
    background-image: url("https://www.daisy.ms-design.site/wp-content/uploads/2025/11/ico_arrow.svg");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
  }
  &:hover {
    background-color: #9BB99A;
    transform: translateY(-2px);

    &::after {
      transform: translateX(3px); 
    }
  }
}
.c-sec__btn02 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #d96a1f;
  border: 2px solid #d96a1f;
  border-radius: 50px;
  background-color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 3px 3px 0 #d96a1f; 
  margin: 0 auto 10px;
  cursor: pointer;
  max-width: 300px;
}
@media screen and (min-width: 959px){
  .c-sec__btn02 {
    max-width: 340px;
  }
}
.c-sec__btn02 a {
  width: 100%;
  font-size: 14px;
  color: #9FC5A3;
  text-decoration: none;
  
  padding: 16px 40px;
}
@media screen and (min-width: 959px){
  .c-sec__btn02 a{
    font-size: 16px;
  }
}
.c-sec__btn02 ::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px; 
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #d96a1f;
  background-image: url("https://www.mentalhr.ms-design.site/wp-content/uploads/2025/10/ico_btn_arrow02.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
  transition: transform 0.2s ease;
}
.c-sec__btn02:hover {
  transform: translate(3px, 3px); 
  box-shadow: 0 0 0 #b24f12;
}
.c-sec__btn02:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 #b24f12;
}
.c-sec__btn02:hover::after {
  transform: translateY(-50%) translateX(6px);
}
.c-sec__btn03 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #fff;
  border-radius: 50px;
  background: linear-gradient(135deg, #e57028 0%, #f39b4a 100%);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 3px 3px 0 #EFA377; 
  max-width: 300px;
  margin: 0 auto 10px;
  cursor: pointer;
}
@media screen and (min-width: 959px) {
  .c-sec__btn03 {
    max-width: 340px;
    font-size: 16px;
  }
}
.c-sec__btn03 a {
  position: relative; 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  padding: 16px 40px;
  color: #fff;
  
  width: 100%;
  text-decoration: none;
}
@media screen and (min-width: 959px) {
  .c-sec__btn03 a {
    font-size: 16px;
  }
}
.c-sec__btn03 a::after {
  content: "";
  position: absolute;
  right: 27%;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #fff;
  transition: transform 0.2s ease;
}
.c-sec__btn03:hover {
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 #EFA377;
}
.c-sec__btn03:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 #EFA377;
}
.c-sec__btn03:hover a::after {
  transform: translate(3px, -50%);
}

.c-sec__btn04 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #d96a1f;
  border: 2px solid #d96a1f;
  border-radius: 50px;
  background-color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  box-shadow: 3px 3px 0 #d96a1f;
  max-width: 300px;
  cursor: pointer;
}
@media screen and (min-width: 959px){
  .c-sec__btn04 {
    max-width: 380px;
    font-size: 16px;
    margin-left: auto;
  }
}
.c-sec__btn04 a {
  width: 100%;
  padding: 16px 40px;
  font-size: 14px;
  color: #9FC5A3;
  text-decoration: none;
  
}
@media screen and (min-width: 959px){
  .c-sec__btn04 a{
    font-size: 16px;
  }
}
.c-sec__btn04::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px; 
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #d96a1f;
  background-image: url("https://www.mentalhr.ms-design.site/wp-content/uploads/2025/10/ico_btn_arrow02.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
  transition: transform 0.2s ease;
}
.c-sec__btn04:hover {
  transform: translate(3px, 3px); 
  box-shadow: 0 0 0 #b24f12;
}
.c-sec__btn04:active {
  transform: translateY(6px);
  box-shadow: 0 0 0 #b24f12;
}
.c-sec__btn04:hover::after {
  transform: translateY(-50%) translateX(6px);
}

.c-sec__btn05 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  font-size: 1.1rem;
  color: #d96a1f;
  border: 1px solid #d96a1f;
  border-radius: 12px;
  background-color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
  width: 100%;
  margin: 0 auto;
  cursor: pointer;
}
@media screen and (min-width: 959px){
  .c-sec__btn05 {
    max-width: 380px;
    font-size: 16px;
    margin-left: auto;
    width: fit-content;
  }
}
.c-sec__btn05 a{
  color: #9FC5A3;
  
}
.c-sec__btn05::after {
  content: "";
  position: relative;
  top: 1px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #d96a1f;
  transition: transform 0.2s ease;
}
.c-sec__btn05:hover {
  transform: translateY(3px);
  box-shadow: 0 0 0 #f7e6db;
  background-color: #fff8f3;
}
.c-sec__btn05:active {
  transform: translateY(5px);
  box-shadow: none;
}

.c-sec__btn06 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  font-size: 14px;
  border-radius: 50px;
  background-color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  max-width: 300px;
  color: #9FC5A3 !important;
  height: 80px;
  border: 1px solid #d96a1f;
}
.c-sec__btn06 ::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px; 
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #d96a1f;
  background-image: url("https://www.mentalhr.ms-design.site/wp-content/uploads/2025/10/ico_btn_arrow02.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80%;
  transition: transform 0.2s ease;
}
.c-sec__btn06 :hover::after {
  transform: translateY(-50%) translateX(6px);
}
/* スライダー消去 */
#post_slider .swiper {
  padding: 0 !important;
  margin: 0 !important;
}
.p-postSlider{
  padding: 0 !important;
  margin: 0 !important;
}

 /* =========================
   header
   ========================= */
 .l-header{
  vertical-align: middle;
  display: flex;
  padding: 15px;
  font-family: "Aboreto", system-ui;
  color: #fff !important;
}
@media screen and (min-width: 959px){
  .l-header {
    padding: 0 40px;
    box-shadow: none !important;
  }
}
.l-header .l-header__inner{
  padding: 0;
}
.l-fixHeader{
  padding: 15px 40px;
  background-color: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  font-family: "Aboreto", system-ui;
}
.l-fixHeader__inner{
  padding: 0;
}
.wp-block-columns.header-btn {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px !important; 
}
.wp-block-columns.header-btn > .wp-block-column {
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 1 auto;
}
.wp-block-columns.header-btn a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
/* =========================
   SPヘッダー用
   最初：透明
   スクロール後：白0.7
   ========================= */
@media (max-width: 959px){
  body:not(.is-spHeader-bg) .l-header {
    background: transparent !important;
    box-shadow: none !important;
    position: fixed !important;
  }
  body.is-spHeader-bg .l-header {
    background: rgba(255, 255, 255, 0.7) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

/* ================================
   header-btn01
   ================================ */

.header-btn01 {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 48px;
  border: 2px solid #7B5A43;
  border-radius: 9999px;
  background-color: #fff;
  color: #7B5A43 !important;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.2;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  text-align: center;
  width: 220px;
  height: 50px;
}

/* 擬似要素で右にアイコン配置 */
.header-btn01::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5%; /* 右端との距離調整 */
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-image: url("https://www.daisy.ms-design.site/wp-content/uploads/2025/11/ico_open_in_new.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: filter 0.3s ease;
}
.header-btn01:hover {
  transform: translateY(-2px);
}
@media (min-width: 768px) {
  .header-btn01 {
    padding: 10px 56px;
    font-size: 1rem;
  }
  .header-btn01::after {
    right: 28px;
    width: 12px;
    height: 12px;
  }
}
@media (min-width: 1024px) {
  .header-btn01 {
    padding: 12px 64px;
  }
  .header-btn01::after {
    right: 5%;
  }
}

/* ================================
   header-btn02
   ================================ */
.header-btn02 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #7B5A43;
  color: #fff;
  text-decoration: none;
  border-radius: 9999px;
  padding: 8px 18px;
  line-height: 1.3;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  width: 220px;
  height: 50px;
}
.header-btn02:hover {
  transform: translateY(-2px);
}
.header-btn02__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.header-btn02__icon img {
  width: 18px;
  height: auto;
}
.header-btn02__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: #fff;
}
.header-btn02__main {
  font-size: 1.2rem;
  font-weight: 600;
}
.header-btn02__sub {
  font-size: 0.8rem;
  opacity: 0.9;
}
@media (min-width: 768px) {
  .header-btn02 {
    gap: 8px;
    padding: 10px 24px;
  }
  .header-btn02__icon img {
    width: 20px;
  }
  .header-btn02__main {
    font-size: 1rem;
  }
  .header-btn02__sub {
    font-size: 0.85rem;
  }
}
@media (min-width: 1024px) {
  .header-btn02 {
    padding: 12px 28px;
  }
  .header-btn02__main {
    font-size: 1.05rem;
  }
}
.c-gnav > li:nth-child(3) > a {
  cursor: pointer;
  text-decoration: none;
}
.c-gnav>.menu-item>a .ttl {
  display: block;
  font-size: 1vw;
}
.c-gnav > .menu-item:nth-child(6) > a .ttl {
  background-color: #fff;
  border: 1px solid #7E5E49;
  border-radius: 999px;
  width: 200px;
  height: 50px;
  padding: 5px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}
.c-gnav > .menu-item:nth-child(6) > a .ttl::after {
  content: "";
  display: inline-block;
  width: 8px; 
  height: 8px;  
  margin-left: 4px;
  background: url("https://www.mentalhr.ms-design.site/wp-content/uploads/2025/09/ico_open_in_new.svg") no-repeat center;
  background-size: contain;
  vertical-align: middle;
}
.c-gnav > .menu-item:nth-child(7) > a .ttl {
  color: #fff;
  background-color: #7E5E49;
  border-radius: 999px;
  width: 200px;
  height: 50px;
  padding: 5px;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.5;
}
.l-header .c-gnav > .menu-item:nth-child(6) > a::after,
.l-header .c-gnav > .menu-item:nth-child(7) > a::after {
  content: none !important;
}
.l-header .c-gnav > .menu-item > a {
  position: relative;
  text-decoration: none;
  transition: color 0.3s ease;
  color: #fff !important;
}
.l-header .c-gnav > .menu-item > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #D97A7A;
  transition: all 0.4s ease;
  transform: translateX(-50%);
  opacity: 0;
  top: 80% !important;
}
.l-header .c-gnav > .menu-item > a:hover::after {
  width: 100%;
  opacity: 1;
}
.c-gnav>.menu-item>a:after {
  top: 80% !important;
}


/* ===================
ハンバーガーメニュー
====================== */
/* メニューアイコン（デフォルト時） */
.-menuBtn {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  background-color: #9FC5A3;

  &:hover {
    transform: scale(1.05);
  }

  .c-iconBtn__icon {
    position: relative;
    width: 24px;
    height: 2px;
    background-color: #fff;
    display: grid;
    place-items: center;
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;

    &::before,
    &::after {
      content: '';
      position: absolute;
      width: 24px;
      height: 2px;
      background-color: #fff;
      border-radius: 10px;
      transition: transform 0.3s ease, background-color 0.3s ease;
    }

    &::before {
      transform: translateY(-8px);
    }

    &::after {
      transform: translateY(8px);
    }
  }
}

/* メニューアイコン（オープン時） */
[data-spmenu=opened] {
	
	.-menuBtn .c-iconBtn__icon::before {
			transform: rotate(45deg);
	}
	
	.-menuBtn .c-iconBtn__icon {
		background-color: transparent;
	}
	
	.-menuBtn .c-iconBtn__icon::after {
		transform: rotate(-45deg);
	}
}
/* ボタンラベル */
.p-spMenu__closeBtn button{
  position: absolute;
  top: 15px;
  right: 15px;
}
/* メニュー */
.p-spMenu__inner {
  width: 100%;
  height: 100%;
  transform: translateX(0)!important;
  opacity: 0;
  transition: opacity .5s ease-out!important;
}
/* メニュー（オープン時） */
[data-spmenu="opened"] .p-spMenu__inner {
  opacity: 1;
}
/* 既存のメニューを削除 */
.c-widget__title.-spmenu,
.p-spMenu__nav {
  display:none;
}
/* =======================================
   SPメニュー全体（SWELL既存メニューを差し替え）
   ======================================= */
.p-spMenu__inner {
  width: 100%;
  height: 100%;
  transform: translateX(0) !important;
  opacity: 0;
  transition: opacity .5s ease-out !important;
}

/* メニュー（オープン時） */
[data-spmenu="opened"] .p-spMenu__inner {
  opacity: 1;
}

/* SWELL既存のSPメニューを非表示にする */
.c-widget__title.-spmenu,
.p-spMenu__nav {
  display: none;
}

/* =======================================
   スマホナビ（p-spnav）
   ======================================= */
.p-spnav {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 40px;
  overflow-y: auto;
}
.p-spnav__list {
  list-style: none;
  padding: 0 !important;
  margin: 0;
  width: 100%;
  max-width: 300px;
}
.p-spnav__list > li {
  border-bottom: 1px solid rgba(123, 90, 67, 0.2);
  text-align: center;
  padding: 14px 0;
}
.p-spnav__list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #7b5a43;
  transition: color 0.3s;
}
.p-spnav__list a:hover {
  color: #9fc5a3;
}
.p-spnav__list .en {
  font-family: "Bad Script", cursive;
  font-style: italic;
  font-size: 1.1rem;
  color: #9fc5a3;
}
.p-spnav__list li:nth-child(even) .en {
  color: #D99994;
}
.p-spnav__list .jp {
  font-size: 1.2rem;
  color: #7b5a43;
}
.p-spnav__btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

/* ================================
   Factory（事業所紹介：見出し）
   ================================ */

/* 全体のセンタリング */
.p-spnav__parent {
  padding: 0 24px;
  box-sizing: border-box;
  text-align: center; /* ← これで英字も日本語も中央揃え */
}

/* 英字 */
.p-spnav__parent .en {
  font-family: "Bad Script", cursive;
  font-style: italic;
  font-size: 1.05rem;
  color: #D99994;
  display: block; /* ← 縦並びを維持 */
  margin-bottom: 2px;
}

/* 日本語 */
.p-spnav__parent .jp {
  font-size: 1.2rem;
  color: #7b5a43;
  display: block; /* ← 縦並び */
  margin-top: 0;
}

/* ================================
   サブメニュー（中央寄せ）
   ================================ */

.p-spnav__item--factory .p-spnav__subList {
  list-style: none;
  /* padding: 12px 0;
  margin: 10px auto 0; */
  text-align: center; /* ← 全体中央寄せ */
}

/* 各項目を inline-flex で中央に */
.p-spnav__item--factory .p-spnav__subList li {
  display: inline-flex; /* ← 横幅に合わせて中央に寄る */
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  margin: 6px 0;
}

/* マーカー無効 */
.p-spnav__item--factory .p-spnav__subList li::marker {
  content: "";
}

/* 矢印 */
.p-spnav__item--factory .p-spnav__subList li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid #7b5a43;
  border-bottom: 2px solid #7b5a43;
  transform: rotate(-45deg);
  display: inline-block;
}

/* サブメニューのテキスト */
.p-spnav__item--factory .p-spnav__subList li a {
  font-size: 0.95rem;
  color: #6f5a53;
  text-decoration: none;
  transition: transform .2s ease, color .2s ease;
  cursor: pointer;
}

/* ホバー時 */
.p-spnav__item--factory .p-spnav__subList li a:hover {
  transform: translateX(3px);
  color: #5a4337;
}
/* =======================================
   下部ボタン（文字サイズ調整）
   ======================================= */
.p-spnav__btns .header-btn01 {
  font-size: 0.9rem;
  padding: 10px 18px;
  line-height: 1.3;
}
.p-spnav__btns .header-btn02 {
  padding: 10px 14px;
  line-height: 1.3;
}
.p-spnav__btns .header-btn02__main {
  font-size: 0.95rem;
}
.p-spnav__btns .header-btn02__sub {
  font-size: 0.75rem;
}
.p-spnav__btns .header-btn02__icon img {
  width: 16px;
  height: 16px;
}


/* =========================
   下層ぱんくず
   ========================= */
.p-breadcrumb{
  padding: 8px 20px;
}
@media screen and (min-width: 959px){
  .p-breadcrumb{
   padding: 8px 40px;
 }
}

/* =========================
   footer 基本
   ========================= */

.l-footer {
  background: linear-gradient(
    93.5deg,
    rgba(252, 249, 224, 0.5) 0%,
    rgba(253, 233, 226, 0.5) 52.1%,
    rgba(197, 200, 227, 0.5) 101.28%
  );
  text-align: center;
}

.l-footer__custom {
  padding: 10px 16px 10px;
  max-width: 960px;
  margin: 0 auto;
}
.l-footer__custom-logo {
  margin-bottom: 32px;
}
.l-footer__custom-logo img {
  max-width: 160px;
  height: auto;
  width: 100%;
}
.l-footer__custom-navList {
  list-style: none;
  padding: 0 !important;
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  font-size: 14px;
}

.l-footer__custom-navItem a,
.l-footer__custom-label {
  color: #6f5a53;
  text-decoration: none;
  cursor: pointer;
}

/* =========================
   事業所紹介 共通
   ========================= */

.l-footer__custom-navItem--hasChild {
  position: relative;
}

.l-footer__custom-toggle {
  display: none;
}

/* ラベル + ▼三角 */
.l-footer__custom-label {
  position: relative;
  padding-right: 14px;
}
.l-footer__custom-label::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid #6f5a53;
  transform: translateY(-50%);
  transition: transform .3s ease;
}

/* =========================
   SP（〜959px）：アコーディオン
   ========================= */

@media screen and (max-width: 958px) {
  /* サブメニュー：縦に出るシンプルなリスト */
  .l-footer__custom-subList {
    list-style: none;
    font-size: 13px;
    margin: 8px 0 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    display: block;
    transition: max-height .3s ease, opacity .3s ease;
    position: static;
    background: transparent;
  }
  .l-footer__custom-subList li {
    white-space: nowrap;
  }
  .l-footer__custom-subList li a {
    position: relative;
    display: block;
    padding: 6px 0 6px 1.8em;
    color: #6f5a53;
    text-decoration: none;
    text-align: left;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .l-footer__custom-subList li a::before {
    content: "";
    position: absolute;
    left: 0.4em;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #6f5a53;
    border-bottom: 1.5px solid #6f5a53;
    transform: translateY(-50%) rotate(-45deg);
    border-radius: 2px;
  }
  /* タップで開閉 */
  .l-footer__custom-toggle:checked ~ .l-footer__custom-subList {
    max-height: 200px;
    opacity: 1;
  }
  .l-footer__custom-toggle:checked + .l-footer__custom-label::after {
    transform: translateY(-50%) rotate(180deg);
  }
}

/* =========================
   PC（959px〜）：ホバーでポップアップ
   ========================= */

@media screen and (min-width: 959px) {

  .l-footer__custom {
    padding: 30px 20px 0px;
  }

  /* PCではサブメニューをポップアップ表示 */
  .l-footer__custom-subList {
    list-style: none;
    font-size: 12px;
    margin: 0;
    padding: 8px 0;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: transparent;
    max-height: none;
    overflow: visible;
    opacity: 0;
    display: none;
  }
  .l-footer__custom-subList li + li {
    margin-top: 4px;
  }
  /* カード風リンク */
  .l-footer__custom-subList li a {
    position: relative;
    display: block;
    padding: 6px 16px 6px 2.2em;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    color: #6f5a53;
    text-decoration: none;
    text-align: right;
    transition: transform .2s ease, color .2s ease, background-color .2s ease;
  }
  /* 左の矢印（PC） */
  .l-footer__custom-subList li a::before {
    content: "";
    position: absolute;
    left: 0.8em;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #6f5a53;
    border-bottom: 1.5px solid #6f5a53;
    transform: translateY(-50%) rotate(-45deg);
    border-radius: 2px;
  }
  /* 親liにホバーしている間は表示 */
  .l-footer__custom-navItem--hasChild:hover .l-footer__custom-subList {
    display: block;
    opacity: 1;
  }
  /* ホバー中：文字だけ少し右＋色を濃く */
  .l-footer__custom-subList li a:hover {
    transform: translateX(3px);
    color: #5a4337;
    background-color: #fdfaf6;
  }
  /* PC時：三角もホバー中だけ回転 */
  .l-footer__custom-navItem--hasChild:hover .l-footer__custom-label::after {
    transform: translateY(-50%) rotate(180deg);
  }
}
/* コピーライト */
.copyright {
  font-size: 0.8rem;
  opacity: 0.9;
  margin: 24px 0 0;
}

/* =========================
   TOPページ
   ========================= */
/* MV */
.mv_logo{
  width: 50%;
  position: absolute;
}
.mv_logo img{
  position: absolute !important;
  top: 6% !important;
  z-index: 2 !important;
  left: -16% !important;
  width: 100% !important;
  max-width: 800px !important;
}
.p-mainVisual__slide{
  padding: 0 20px;
}

/*MVタイトル*/
.p-mainVisual__slideTitle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  letter-spacing: 0.18em;
  color: #fff;
  font-family: "Aboreto", system-ui;

  /* 1366px → 約190px基準 */
  font-size: clamp(64px, 14vw, 220px);

  /* 白のドロップシャドウ */
  text-shadow:
    0 0 6px rgba(255, 255, 255, 0.9),
    0 4px 14px rgba(255, 255, 255, 0.7);
}
/* @media screen and (min-width: 959px){
  .p-mainVisual__slideTitle {
    font-size: 2.6vw;
    position: absolute;
    left: 5% !important;
    bottom: 15% !important;
  }
} */
.p-mainVisual__slideTitle  span{
  font-size: 14px;
  display: block;
  width: 77%;
  font-weight: 300;
  display: inline-block;
  margin-top: 15px;
  line-height: 2;
} 
@media screen and (min-width: 959px){
  .p-mainVisual__slideTitle  span {
    font-size: 1vw;
    width: 100%;
    margin-top: 30px;
  }
}
/* ==========================
   iPad向け メインビジュアル調整
   （横768〜1024pxあたり）
   ========================== */
@media (min-width: 768px) and (max-width: 1024px) {

  /* MV全体の高さを少し低めに */
  #top_title_area {
    min-height: 420px;   /* 好きな高さに調整してOK */
  }

  /* 背景画像系（カバー）のトリミングを中央に寄せる */
  #top_title_area .c-cover,
  #top_title_area .p-mainVisual,
  #top_title_area .p-mainVisual__img {
    background-position: center top;
    /* もともと cover ならそのままでもOK */
    background-size: cover;
  }

  /* imgタグで表示されている場合（object-fit対策） */
  #top_title_area img {
    object-position: center top;
  }
}

/* スクロールダウン */

/* work */
/* ==========================================
  HOME WORK（完成版・コピペ用）
  対象クラス：
  .p-home-work__wrap
  .p-home-work__item
  .p-home-work__txt
  .p-home-work__media
  .p-home-work__logo
  .p-home-work__mock
  .is-coming
========================================== */

/* ---------- 全体 ---------- */
.p-home-work__wrap{
  max-width: 1200px;
  margin-inline: auto;

  --gap-x: 80px;
  --gap-y: 120px;

  --txt-w: 340px;

  --logo-w: 300px;
  --meta-size: 12px;
  --mock-max: 640px;
}

/* ロゴ */
.p-home-work__wrap .p-home-work__logo img{
  width: var(--logo-w);
  height: auto;
  display: block;
}

/* ロゴ無し案件のズレ防止 */
.p-home-work__wrap .p-home-work__logo{
  min-height: 34px;
}

/* テキスト */
.p-home-work__wrap .p-home-work__txt p{
  margin: 0;
}

.p-home-work__wrap .p-home-work__txt p:first-of-type{
  font-size: 15px;
  line-height: 1.6;
}

.p-home-work__wrap .p-home-work__txt p:nth-of-type(2){
  font-size: var(--meta-size);
  letter-spacing: .08em;
  opacity: .75;
}

/* ---------- ボタン ---------- */
.p-home-work__wrap .c-sec-btn_01{
  margin-top: 10px;
  text-align: left !important;
}

.p-home-work__wrap .c-sec-btn_01 > a{
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;
  border: 1px solid rgba(223,102,32,.35);
  border-radius: 999px;

  font-size: 12px;
  letter-spacing: .06em;
  text-decoration: none;

  color: rgba(223,102,32,.75);
  background: transparent;
}

.p-home-work__wrap .c-sec-btn_01 > a::after{
  content: "→";
  display: grid;
  place-items: center;

  width: 22px;
  height: 22px;
  border-radius: 50%;

  background: rgba(223,102,32,.9);
  color: #fff;
  font-size: 12px;
}


/* ---------- SP ---------- */
@media (max-width: 782px){
  .p-home-work__wrap{
    --gap-x: 28px;
    --gap-y: 72px;
    --txt-w: 100%;
    --plate-pad: 18px;
    --plate-minh: 220px;
    --mock-max: 100%;
  }


  .p-home-work__wrap .p-home-work__txt{
    max-width: none;
  }
}

/* ABOUT */
/* =================================
  About（SWELL貼り付け用）
================================= */
.p-about__inner {
  margin-inline: auto;
}

/* 見出し */
.p-about__head {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.p-about__kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  margin: 0 0 8px;
}

.p-about__ttl {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
}

.p-about__lead {
  margin: 12px auto 0;
  max-width: 42em;
  line-height: 1.9;
  opacity: 0.9;
}

/* プロフィール */
.p-about__profile {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 18px;
  background: rgba(253, 233, 226, 0.55);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.p-about__photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
}

.p-about__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.p-about__name {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.3;
}

.p-about__name span {
  font-size: 0.8em;
  opacity: 0.75;
}

.p-about__role {
  margin: 6px 0 14px;
  font-size: 13px;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.p-about__copy {
  margin: 0 0 16px;
  line-height: 2;
}

.p-about__tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.p-about__tag {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* サブ見出し */
.p-about__subttl {
  margin: 0 0 16px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.3;
}

/* 価値観カード */
.p-about__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2.2vw, 18px);
  margin-bottom: clamp(28px, 4vw, 44px);
}

.p-about__card {
  padding: 18px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.p-about__icon {
  margin: 0 0 10px;
  font-size: 22px;
}

.p-about__cardTtl {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.3;
}

.p-about__cardTxt {
  margin: 0;
  line-height: 1.9;
  opacity: 0.9;
}

/* できること */
.p-about__list {
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(28px, 4vw, 44px);
  display: grid;
  gap: 10px;
}

.p-about__item {
  position: relative;
  padding-left: 1.2em;
  line-height: 2;
}

.p-about__item::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

/* 締め＋ボタン */
.p-about__closing {
  padding: clamp(18px, 3vw, 26px);
  border-radius: 18px;
  background: rgba(255, 235, 174, 0.35);
  text-align: center;
}

.p-about__msg {
  margin: 0 auto 16px;
  max-width: 46em;
  line-height: 2;
}

.p-about__btnWrap {
  display: flex;
  justify-content: center;
}

.p-about__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: #fff;
}

.p-about__btn:hover {
  opacity: 0.9;
}

/* SP */
@media (max-width: 768px) {
  .p-about__profile {
    grid-template-columns: 1fr;
  }
  .p-about__cards {
    grid-template-columns: 1fr;
  }
}


/* price */
/* ================================
  PRICE (SWELL)
================================ */
.p-price{
  padding: clamp(56px, 6vw, 88px) 0;
}

.p-price__inner{
  width: min(1100px, 92%);
  margin: 0 auto;
}

.p-price__head{
  text-align: center;
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.p-price__eyebrow{
  letter-spacing: .12em;
  font-size: 12px;
  opacity: .7;
  margin: 0 0 8px;
}

.p-price__ttl{
  font-size: clamp(24px, 2.8vw, 34px);
  margin: 0 0 10px;
}

.p-price__lead{
  margin: 0 auto;
  max-width: 52ch;
  line-height: 1.9;
  opacity: .9;
}

/* grid */
.p-price__grid{
  display: grid;
  gap: clamp(14px, 2vw, 20px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px){
  .p-price__grid{ grid-template-columns: 1fr; }
}

/* card */
.p-priceCard{
  position: relative;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  padding: 22px 20px 20px;
  display: grid;
  gap: 14px;
}

.p-priceCard__top{
  display: grid;
  gap: 6px;
}

.p-priceCard__name{
  font-size: 18px;
  margin: 0;
}

.p-priceCard__sub{
  margin: 0;
  font-size: 13px;
  opacity: .8;
}

.p-priceCard__price{
  margin: 6px 0 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.p-priceCard__yen{
  font-size: 14px;
  opacity: .8;
}

.p-priceCard__num{
  font-size: 34px;
  font-weight: 700;
  letter-spacing: .02em;
}

.p-priceCard__from{
  font-size: 14px;
  opacity: .8;
}

/* list */
.p-priceCard__list{
  margin: 0;
  padding-left: 1.2em;
  line-height: 1.85;
}

.p-priceCard__list li{
  margin: 0;
}

/* tag */
.p-priceCard__tag{
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 12px;
}

.p-priceCard__tagTtl{
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: .08em;
  opacity: .8;
}

.p-priceCard__tagTxt{
  margin: 0;
  line-height: 1.7;
  opacity: .9;
}

/* featured */
.p-priceCard.is-featured{
  border-color: rgba(0,0,0,.14);
  transform: translateY(-6px);
}

@media (max-width: 960px){
  .p-priceCard.is-featured{ transform: none; }
}

.p-priceCard__badge{
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
}

/* options */
.p-priceOpt{
  margin-top: clamp(28px, 4vw, 42px);
}

.p-priceOpt__ttl{
  font-size: 18px;
  margin: 0 0 14px;
  text-align: center;
}

.p-priceOpt__table{
  width: min(760px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.p-priceOpt__row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 16px;
  margin: 0;
  border-top: 1px solid rgba(0,0,0,.08);
}

.p-priceOpt__row:first-child{
  border-top: 0;
}

.p-priceOpt__row dt{
  font-weight: 600;
}

.p-priceOpt__row dd{
  margin: 0;
  opacity: .9;
}

/* notes */
.p-priceNote{
  margin-top: 16px;
}

.p-priceNote__list{
  width: min(760px, 100%);
  margin: 0 auto;
  padding-left: 1.2em;
  line-height: 1.9;
  opacity: .85;
}

/* CTA */
.p-priceCta{
  margin-top: clamp(26px, 4vw, 44px);
  text-align: center;
  padding: 22px 16px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}

.p-priceCta__txt{
  margin: 0 0 14px;
  line-height: 1.9;
}

.p-priceCta__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.14);
  text-decoration: none;
  font-weight: 600;
}

.p-priceCta__btn:hover{
  opacity: .85;
}

.p-priceCta__sub{
  margin: 10px 0 0;
  font-size: 12px;
  opacity: .75;
}

/* utility */
.u-sp-none{ display: inline; }
@media (max-width: 600px){
  .u-sp-none{ display: none; }
}


/* p-privacypolicy */
/* ============================================
   プライバシーポリシー（p-privacypolicy-list）
   ============================================ */

.p-privacypolicy-list {
  max-width: 960px;
  color: #6f5a53;
  font-size: 15px;
  line-height: 2;
}

/* 冒頭文 */
.p-privacypolicy-list__lead {
  margin-bottom: 32px;
}

/* 各項目 */
.p-privacypolicy-list__section {
  margin-bottom: 28px;
}

/* 見出し（番号付きタイトル） */
.p-privacypolicy-list__heading {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: #4a3d35;
  background: none !important;
}

/* 本文 */
.p-privacypolicy-list__section p {
  margin: 10px 0 6px;
}

/* 箇条書き */
.p-privacypolicy-list__section ul {
  margin: 0 0 6px 1.4em;
  padding: 0;
}
.p-privacypolicy-list__section li {
  margin: 0 0 4px;
}

/* SP調整 */
@media (max-width: 768px) {
  .p-privacypolicy-list {
    font-size: 14px;
    line-height: 1.9;
  }
  .p-privacypolicy-list__heading {
    font-size: 16px;
  }
}



/* ================================
   下層ページ共通見出し p-pageTtl01
   ================================ */


/* お問い合わせフォーム */
.wpcf7-list-item-label{
  color: #333333;
}
.cf7__list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.cf7__list dt:nth-of-type(n + 2),
.cf7__list dd:nth-of-type(n + 2) {
  margin-top: 30px;
}

.cf7__list dt {
  width: 35%;
  padding-top: 15px;
}

.cf7__list dd {
  width: 65%;
}

/* 必須・任意 */
.cf7__required,
.cf7__optional {
  margin-right: 15px;
  padding: 6px 14px;
  color: #fff;
  font-size: 12px;
  vertical-align: 1px;
}

.cf7 dt{
  color: #333333;

}

.cf7__required {
  background: #BE1D1D;
}

.cf7__optional {
  background: #878D8E;
}

/* input・textarea */
.cf7__list dd input[type="text"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"],
.cf7__list dd textarea {
  width: 100%;
  padding: 15px 20px;
  background: #F4F4F4;
}

/* ドロップダウンメニュー */
.cf7__select {
  position: relative;
}

.cf7__select:before {
  position: absolute;
  top: 50%;
  right: 20px;
  z-index: 10;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 8px solid #000;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  pointer-events: none;
  content: '';
}

.cf7__select select {
  width: 100%;
  padding: 19px 20px;
  background: #F4F4F4;
  color: #a5a5a5;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/* チェックボックス・ラジオボタン */
.cf7__list dd .wpcf7-checkbox,
.cf7__list dd .wpcf7-radio {
  display: block;
  padding: 15px 0 10px;
}

/* 縦並び（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item {
  display: block;
  margin: 0;
}

.cf7__list dd .wpcf7-list-item:nth-child(n + 2) {
  margin-top: 18px;
}

/* マウスカーソル（チェックボックス・ラジオボタン） */
.cf7__list dd .wpcf7-list-item label {
  cursor: pointer;
}

/* チェックボックス・ラジオボタン */
input[type="checkbox"],
input[type="radio"] {
  position: relative;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border: 1px solid #bcbcbc;
  vertical-align: -3px;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

/* チェックボックス */
input[type="checkbox"]:checked {
  border: 1px solid #000;
  background: #000;
}

input[type="checkbox"]:checked:before {
  position: absolute;
  top: 2px;
  left: 5px;
  transform: rotate(50deg);
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: '';
}

/* ラジオボタン */
input[type="radio"] {
  border-radius: 50%;
}

input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #000;
  content: '';
}

/* プレースホルダー */
/* Google Chrome / Safari / Mozilla Firefox / Opera */
.cf7__list dd input[type="text"]::placeholder,
.cf7__list dd input[type="tel"]::placeholder,
.cf7__list dd input[type="email"]::placeholder,
.cf7__list dd textarea::placeholder {
  color: #a5a5a5;
}

/* Microsoft Edge */
.cf7__list dd input[type="text"]::-ms-input-placeholder,
.cf7__list dd input[type="tel"]::-ms-input-placeholder,
.cf7__list dd input[type="email"]::-ms-input-placeholder,
.cf7__list dd textarea::-ms-input-placeholder {
  color: #a5a5a5;
}

/* Internet Explorer */
.cf7__list dd input[type="text"]:-ms-input-placeholder,
.cf7__list dd input[type="tel"]:-ms-input-placeholder,
.cf7__list dd input[type="email"]:-ms-input-placeholder,
.cf7__list dd textarea:-ms-input-placeholder {
  color: #a5a5a5;
}

/* 送信ボタン */
.cf7__button {
  padding-left: 72px;
  text-align: center;
}

input[type="submit"] {
  width: 260px;
  height: 60px;
  background: #353535;
  color: #fff;
  transition: opacity .6s;
}

input[type="submit"]:hover {
  opacity: .6;
}

/* ajax-loader */
.wpcf7-spinner {
  vertical-align: middle;
}

@media screen and (max-width: 767px) {

  .cf7__list dt {
    width: 100%;
    margin-bottom: 15px;
    padding-top: 0;
  }

  .cf7__list dd {
    width: 100%;
  }

  .cf7__list dd:nth-of-type(n + 2) {
    margin-top: 0;
  }

  .cf7__list dd .wpcf7-checkbox,
  .cf7__list dd .wpcf7-radio {
    padding: 15px 0 0;
  }

  /* 送信ボタン */
  input[type="submit"] {
    width: 180px;
    height: 56px;
  }
}



