:root{
  --main-color: #E21A0F;
  --bg-color: #F7F7F7;
  --border-color: #ececec;
  --font-color: #172335;
  --footer-font-color: #a6adb6;
  --base-font: "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Arial, Meiryo, sans-serif;
  --english-font: "Ubuntu", sans-serif;
}

/*-------------------------
  基本設定
-------------------------*/

:where(html) {
  font-family: var(--base-font);
  font-weight: 500;
  color: var(--font-color);
  line-height: 1.5;
}

:where(h1, h2, h3, a){
  letter-spacing: .04em;
}

:where(p){
  line-height: 2;
}

:where(img){
  object-fit: cover;
}

/*-------------------------
  レイアウト調整
-------------------------*/
.l-inner {
  max-width: 1200px;
  padding-right: 6%;
  padding-left: 6%;
  margin: 0 auto;
}

.l-block{
  margin: 40px 0;
  scroll-margin-top: 80px;
}

@media (min-width: 1024px){
  .l-block{
    margin: 80px 0;
    scroll-margin-top: 120px;
  }
}

.l-block__container{
  max-width: 800px;
  margin-inline: auto;
}

.l-banner img{
  height: 200px;
  width: 100%;
  object-fit: cover;
}

@media (min-width: 1024px){
  .l-banner img{
  height: 360px;

}
}

.u-center{
  text-align: center;
}



/*-------------------------
  ボタン
-------------------------*/
.c-button {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  margin-inline: auto;
  margin-top: 40px;
}

.c-button__link {
  border: 2px solid var(--main-color);
  color: #fff;
  text-align: center;
  padding: 12px 16px;
  border-radius: 40px;
  display: block;
  transition: .4s;
  position: relative;
  width: 80%;
  margin: 0 auto;
  font-weight: bold;
  font-size: 14px;
  width: 240px;
  background-color: var(--main-color);
}

.c-button__link:after{
  content: '';
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  background: url('../images/icon/arrow-white.svg') no-repeat;
  background-size:contain;   
  height:24px;
  width: 24px;
}

.c-button__link:hover{
  transform: scale(1.05);
  color: var(--main-color);
  background: #fff;
}

@media (min-width: 768px){
  .c-button--left{
    margin-left: 0;
  }
}


/*-------------------------
  テキスト
-------------------------*/

.c-heading h2{
  text-align: center;
  font-size: clamp(1.375rem, 0.92rem + 2.27vw, 2.625rem);
}

.c-heading-top span{
  color: #808080;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: var(--english-font);
  font-feature-settings: "palt";
}

.c-heading-top h2{
  font-size: clamp(24.88px, 0.778vw + 22.392px, 37.32px);
  margin-top: 16px;
}

.c-textarea{
  margin: 20px 0;
}

.c-textarea p{
  margin-bottom: 20px;
  line-height: 2;
  text-align: justify;
}
/*-------------------------
  ヘッダー
-------------------------*/
.l-header {
  height: 60px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  border-bottom: solid 1px #e6e6e6;
  z-index: 100;
  background: #fff;
  }

.l-header__wrap{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0 0 16px;
  height: 100%;
}

.l-header__logo img{
  width: 240px;
}

@media (min-width: 1024px){
  .l-header__logo img{
    width: 300px;
  }
}

.l-header__menu li {
  text-transform: uppercase;
  color: var(--font-color);
  position: relative;
}


/* ハンバーガーメニューが表示されている場合 */
@media not all and (min-width: 1024px) {
  
  .l-header__nav {
    position: fixed;
    top: 60px;
    right: -100%; /* メニューの位置マイナス指定で画面外に */
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: 0.3s;
  }

  .l-header__menu {
    display: flex;
    flex-direction: column;
    z-index: 100;
  }

  .l-header__menu li {
    display: flex;
    align-items: center;
    padding: 24px;
    letter-spacing: 0.1em;
    position: relative;
  }

  .l-header__menu li:not(:last-child){
    border-bottom: 1px solid var(--border-color);
  }

  .l-header__menu li a{
    position: relative;
  }

  .l-header__menu li:not(:last-child)::after{
    position: absolute;
    content: "";
    width: 20px;
    height: 20px;
    background: url(../images/icon/arrow.svg) no-repeat center center/contain;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
  }

  .l-header__link {
    position: relative;
    padding-left: 30px;
  }

  .l-header__link:before {
    position: absolute;
    content: "";
    width: 20px;
    height: 20px;
    background: url(../images/icon/arrow.svg) no-repeat center center/contain;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .l-header__nav.open {
    position: absolute;
    right: 0; /* メニューオープン時位置0にして画面内に */
    z-index: 100;
    top: 60px;
  }
}

.l-header__button a{
  padding: 10px 40px 10px 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  inline-size: min(100%, 400px);
  border-radius: 50px;
  background: var(--main-color);
  color: #fff;
  border: 1px solid var(--main-color);
  transition: 0.2s;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.l-header__button a::before {
  background: none;
}

.l-header__button a::after {
  position: absolute;
  content: "";
  width: 20px;
  height: 20px;
  background: url(../images/icon/arrow-white.svg) no-repeat center
    center/contain;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.l-header__button a:hover {
  color: var(--main-color);
}

.l-header__button a:hover{
  color: var(--main-color);
  background: #fff;
}

/* 1024px以上のスタイリング */
@media (min-width: 1024px) {
  .l-header {
    padding: 0 40px;
    height: 76px;
    background: transparent;
    transition: background-color 0.3s ease;
  }

  .l-header__menu {
    /* メニューを横に */
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .l-header__menu li{
    font-weight: bold;
  }

  .l-header__menu li:hover{
    color: var(--main-color);
  }

  .l-header__button a{
    margin: 0;
    font-size: 14px;
    padding-right: 32px;
    letter-spacing: .2em;
  }

  .l-header__button a::after{
    display: none;
    
  }
}



/*-------------------------
  ハンバーガーメニュー
-------------------------*/
.c-hamburger {
  background: var(--main-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border: none;
  cursor: pointer;
}

/* ハンバーガーメニューの基準線 */
.c-hamburger__line {
  display: block;
  position: relative;
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: 0.2s;
  margin: 0 auto;
}

/* ハンバーガーメニューの上下線 */
.c-hamburger__line::before,
.c-hamburger__line::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: 0.5s;
  left: 0;
}

.c-hamburger__line::before {
  transform: translateY(-10px); /* 上の線の位置 */
}

.c-hamburger__line::after {
  transform: translateY(10px); /* 下の線の位置 */
}

/* メニューオープン時 */
.c-hamburger__line.open {
  background-color: transparent; /* 真ん中の線を透明に */
}

.c-hamburger__line.open::before,
.c-hamburger__line.open::after {
  content: "";
  background-color: #fff;
  transition: 0.2s;
}

.c-hamburger__line.open::before {
  transform: rotate(45deg); /* 上の線を傾ける */
}

.c-hamburger__line.open::after {
  transform: rotate(-45deg); /* したの線を傾ける */
}

@media (min-width: 1024px) {
  .c-hamburger {
    display: none;
  }
}

/*================================
	main-visual
=================================*/
.p-main-visual{
  background: url(../images/top/mv-sp.jpg) no-repeat center center/cover;
  height: 64vh;
  display: flex;
  align-items: center;
  margin-top: 60px;
}

@media (min-width: 1024px){
  .p-main-visual{
    height: 88vh;
    background: url(../images/top/mv.jpg) no-repeat center center/cover;
    background-position: top;
    margin-top: 0;
  }
}

.p-main-visual__wrap{
  margin-left: 6%;
}

.p-main-visual__copy{
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 0, 0, .8);
}

.p-main-visual h1{
  font-size: clamp(1.875rem, 1.239rem + 3.18vw, 3.625rem);
  line-height: 1.4;
}

.p-main-visual p{
  margin-top: 16px;
  font-weight: bold;
}

/*================================
	top-recruit
=================================*/

.p-top-recruit{
  padding: 40px 0;
  position: relative;
}

.p-top-recruit__wrap{
  display: flex;
  flex-direction: column;
}

.p-top-recruit__contents{
  display: contents;
}

.p-top-recruit__texts{
  order: 1;
}

.p-top-recruit__image{
  margin: 20px calc(50% - 50vw) 0;
  width: 100vw;
}

@media (min-width: 768px){
  .p-top-recruit__wrap{
    flex-direction: row;
    flex-direction: row-reverse;
    column-gap: 4vw;
  }

  .p-top-recruit__contents{
    display: block;
    padding: 40px 0;
    width: 100%;
  }

  .p-top-recruit__image{
    margin: 0 0 0 calc(50% - 50vw);
  }

  .p-top-recruit__image img{
    height: 100%;
    width: 100%;
  }

}

@media (min-width: 1024px){
  .p-top-recruit{
    padding: 120px 0;
  }

}


/*-------------------------
  top-company-list
-------------------------*/
.p-about-panels{
  background: var(--bg-color);
  padding: 40px 0;
}

@media (min-width: 1024px){
  .p-about-panels{
    padding: 120px 0;
  }
}

.p-about-panels__wrap{
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

@media (min-width: 768px){
  .p-about-panels__wrap{
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 64px;
  }
}

.p-about-panels__panel{
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}

@media (min-width: 768px){
  .p-about-panels__panel{
    padding: 40px;
  }
}

.p-about-panels__panel h3{
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  margin-bottom: 16px;
  font-size: clamp(19.94px, 0.374vw + 18.744px, 25.92px);
}

.p-about-panels__panel p{
  padding-right: 4px;
}

.p-about-panels__button{
  margin-top: 28px;
  text-align: right;
}

.p-about-panels__button:hover{
  opacity: .8;
}

.p-about-panels__button a{
  position: relative;
  display: inline-block;
  padding-right: 40px;
  font-weight: bold;
  font-size: clamp(13.64px, 0.085vw + 13.368px, 15px);
}

.p-about-panels__button a::before {
  position: absolute;
  content: "";
  width: 24px;
  height: 24px;
  background: url(../images/icon/arrow.svg) no-repeat center center/contain;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.p-about-panels__button a::after{
  position: absolute;
  left: 0;
  bottom: -4px;
  content: '';
  width: 64%;
  height: 1px;
  background: #555;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
}

.p-about-panels__button a:hover::after{
  transform: scale(1, 1);
}

/*================================
	スタッフインタビュー
=================================*/

.p-archive{
  padding: 40px 0;
}

@media (min-width: 1024px){
  .p-archive{
    padding: 120px 0;
  }
}

.p-archive__items{
  margin: 30px 0;
}

@media (min-width: 1024px){
  .p-archive__items{
    margin: 40px 0 6px;
  }
}

.c-cards{
  display: grid;
  gap: 30px;
}

@media (min-width: 768px){
  .c-cards{
  grid-template-columns: repeat(3, 1fr);
   gap: 40px;
}
}

.c-card__image img{
  border-radius: 8px;
}

.c-card__body{
  margin-top: 8px;
}

.c-card__category{
  font-size: 13px;
  background: var(--main-color);
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
}

.c-card__title{
  margin-top: 8px;
  width: fit-content;
  position: relative;
}

.c-card__title::after{
  position: absolute;
  left: 0;
  bottom: -4px;
  content: '';
  width: 100%;
  height: 1px;
  background: #555;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.3s;
}

@media (min-width: 1024px){
  .c-card__title:hover::after{
    transform: scale(1, 1);
  }
}

.c-card__meta{
  display: flex;
  font-size: 14px;
  color: #6E6B6B;
  margin-top: 8px;
} 

.c-card__name{
  position: relative;
  padding-right: 24px;
  margin-right: 20px;
}

.c-card__name::after{
  content: '|';
  position: absolute;
  top: 0;
  right: 0;
}

/*================================
	cta
=================================*/

.p-cta{
  background: var(--bg-color);
  padding: 40px 0;
  text-align: center;
}

@media (min-width: 1024px){
  .p-cta{
    padding: 80px 0;
  }
}

.p-cta__heading {
  font-size: clamp(1.5rem, 1.318rem + 0.91vw, 2rem);
}

.p-cta__lead {
  font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
  margin-top: 16px;
}


 /*================================
	フッター
=================================*/
.l-footer {
  padding: 40px 6% 24px;
  background: #283037;
  color: #d9d9d9;
  position: relative;
}

.l-footer__inner {
  max-width: 1440px;
  margin: 0 auto;
}

.l-footer__contents {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.l-footer__logo {
  font-size: clamp(18.75px, 0.234vw + 18.000px, 22.5px);
}

.l-footer__address {
  font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem) /* 14-16px */;
  margin-top: 8px;
}

.l-footer__menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.l-footer__menu li {
  color: #d9d9d9;
  position: relative;
}

.l-footer__menu li:after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #d9d9d9;
  bottom: -8px;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform 0.2s;
}

@media (min-width: 1024px){
  .l-footer__menu li:hover::after{
    transform: scale(1,-1);
  }
}


.l-footer__copy {
  font-size: 12px;
  color: #555;
  margin-top: 64px;
  display: block;
  font-family: "Jost", sans-serif;
}

@media (min-width: 1024px) {
  .l-footer {
    padding: 64px 40px 40px;
  }

  .l-footer__contents {
    flex-direction: row;
    justify-content: space-between;
  }

  .l-footer__menu {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
  }

  .l-footer__copy {
    text-align: right;
  }
}

/*================================
	breadcrumb
=================================*/

.c-breadcrumb {
  padding: 12px 0;
  margin-top: 60px;
}
@media (min-width: 1024px) {
  .c-breadcrumb {
    padding: 24px 0;
    margin-top: 76px;
  }
}

.c-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.c-breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.c-breadcrumb__list li{
  position: relative;
  
  margin-right: 10px;
  font-size: 14px;
  color: #767676;
}

.c-breadcrumb__list li:not(:last-child){
  padding-right: 20px;
}

.c-breadcrumb__list li a {
  text-decoration: underline;
}

.c-breadcrumb__list li:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: url(../images/icon/arrow-menu.svg) no-repeat center center/contain;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/*================================
	table
=================================*/

.c-table{
  max-width: 800px;
  margin: 30px auto 0;
}

.c-table__list dt{
  font-weight: bold;
  padding: 18px 0 13px 0;
  border-top: solid 1px #e6e6e6;
  font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem) /* 16-18px */;

}



.c-table__list dd{
  font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem) /* 14-16px */;
  color: #585858;
  padding: 0px 0 19px 0;
  line-height: 2;
}

.c-table__list dd:last-of-type{
  border-bottom: solid 1px #e6e6e6;
}

.c-table__list a{
  text-decoration: underline;
  color: #1839b1;
}

@media (min-width: 768px){
  .c-table__list{
    display: grid;
    grid-template-columns: 220px 1fr;
  }

  .c-table__list dt{
  padding: 32px;
}

.c-table__list dt:last-of-type{
  border-bottom: solid 1px #e6e6e6;
}

.c-table__list dd{
  padding: 32px;
  border-top: solid 1px #e6e6e6;
}
}

/*================================
	text-box
=================================*/
.p-text-box{
  margin: 40px 0;
}

.p-text-box__title{
  position: relative;
  padding-left: 16px;
  font-size: clamp(19.94px, 0.374vw + 18.744px, 25.92px);
}

.p-text-box__title::before{
  content: '';
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%);
  height: 20px;
  width: 4px;
  background: var(--main-color);
  z-index: 2;
}

.p-text-box__container{
  background: var(--bg-color);
  padding: 16px;
  display: grid;
  gap: 30px;
  margin-top: 10px;
}

@media (min-width: 1024px){
  .p-text-box__container{
    padding: 40px 30px;
  }
}

.p-text-box__heading{
  font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem) /* 16-18px */;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.p-text-box__desc{
  font-size: clamp(0.875rem, 0.83rem + 0.23vw, 1rem) /* 14-16px */;
}

/*================================
	代表挨拶
=================================*/
.p-message{
  margin-top: 30px;
}

@media (min-width: 1024px){
  .p-message{
    margin-top: 60px;
  }
}
/*================================
	記事
=================================*/
.p-article{
  max-width: 720px;
  margin-inline: auto;
  padding-bottom: 40px;
}

@media (min-width: 768px){
  .p-article{
    padding: 48px 0;
  }
}
.p-article__eyecatch{
  margin: 0 calc(50% - 50vw);
width: 100vw;
}

@media (min-width: 768px){
  .p-article__eyecatch{
    margin: 0 auto;
    width: 100%;
  }

}

.p-article__eyecatch img{
  height: 200px;
  width: 100%;
  object-fit: cover;
}

@media (min-width: 768px){
  .p-article__eyecatch img{
  height: 320px;
}
}

.p-article__title{
  font-size: clamp(1.25rem, 0.977rem + 1.36vw, 2rem);
  margin: 30px 0 15px;
}


.p-article__meta{
  display: flex;
  font-size: 14px;
  color: #6E6B6B;
} 

.p-article__name{
  position: relative;
  padding-right: 24px;
  margin-right: 20px;
}

.p-article__name::after{
  content: '|';
  position: absolute;
  top: 0;
  right: 0;
}

.p-article__body h2{
  font-size: clamp(1.25rem, 1.068rem + 0.91vw, 1.75rem);
  margin-top: 45px;
}

.p-article__body p{
  line-height: 2;
  margin: 30px 0;
  font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem) /* 16-18px */;
}

@media (min-width: 768px){
  .p-article__body p{
  
  margin: 36px 0;
}

}



.p-contact__form {
  background: #fafafa;
  padding: 0 12px;
        margin-top: 40px;
}

@media (min-width: 1024px){
  .p-contact__form{
    padding: 20px 32px 60px;
  }
}

.p-contact__body{
  max-width: 620px;
  margin: 40px auto;
}

.p-contact__lead p{
  margin-bottom: 16px;
}

.p-contact__note p{
  font-size: 14px;
  margin-bottom: 0;
}

.p-contact__note a{
  text-decoration: underline;
}

.contactTable {
  width: 100%;
}

.contactTable tr {
  height: 100px; /*表組みのheightはmin-heightとして動作します（min-heightは無効）*/
}

.contactTable th {
  width: 32.4%;
  padding: 20px 40px 20px 0;
  vertical-align: middle;
}

.contactTable td {
  padding: 20px 0;
  vertical-align: middle;
}

.contactTable,
.contactTable tbody,
.contactTable tr,
.contactTable th,
.contactTable td {
  display: block;
}

.contactTable tr {
  height: auto;
}

.contactTable th {
  width: 100%;
  padding: 20px 0 0 0;
}

.contactTable td {
  padding: 10px 0 20px 0;
}

/*----------------------------------------
	Form Parts
----------------------------------------*/
/*各フォーム部品の基本スタイルを上書きします*/
.inputField input[type=text],
input[type=email],
input[type=tel],
input[type=url],
input[type=search],
textarea,
select {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none; /*ブラウザ標準スタイルを無効にする*/
  width: 100%;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

input[type=number],
input[type=password] {
  width: 100%;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #707070;
  border-radius: 4px;
}

/*フォーカス時*/
input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
input[type=url]:focus,
input[type=search]:focus,
textarea:focus,
select:focus,
input[type=number],
input[type=password] {
  outline: none;
  box-shadow: 0 0 5px rgba(55, 149, 47, 0.7);
}

/*エラー時*/
.is-error input[type=text],
.is-error input[type=email],
.is-error input[type=tel],
.is-error input[type=url],
.is-error input[type=number],
.is-error input[type=password],
.is-error textarea,
.is-error select,
.is-error .selectWrap {
  color: #df5656;
  border-color: #df5656;
}

/*select
--------------------------*/
.selectWrap {
  position: relative;
}

.selectWrap::after {
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: rotate(45deg);
}

select::-ms-expand {
  /*IEでもselectの矢印を消す*/
  display: none;
}

/*radio, checkbox
------------------------------------*/
input[type=radio],
input[type=checkbox] {
  opacity: 0; /*透明にして見えなくする*/
  position: absolute; /*本来の配置から切り離す*/
}

/*クリック範囲*/
input[type=radio] + span,
input[type=checkbox] + span {
  display: inline-block;
  position: relative;
  margin: 0 2em 0 0;
  padding: 0.3em 0.3em 0.3em 2em;
  line-height: 1;
  vertical-align: middle;
  cursor: pointer;
}

/*フォーカス時*/
input[type=radio]:focus + span,
input[type=checkbox]:focus + span {
  outline: none;
  box-shadow: 0 0 5px rgba(55, 149, 47, 0.7);
}

/*ラジオボタンスタイル*/
input[type=radio] + span:before {
  content: "";
  position: absolute;
  top: 0.25em;
  left: 0;
  width: 1.375em;
  height: 1.375em;
  border: 1px solid #ccc;
  border-radius: 50%;
  line-height: 1;
  background: #fff;
}

/*ラジオボタンチェック印（未選択）*/
input[type=radio] + span:after {
  content: "";
  display: none;
}

/*ラジオボタンチェック印（選択）*/
input[type=radio]:checked + span:after {
  display: block;
  position: absolute;
  top: 0.45em;
  left: 0.2em;
  width: 1em;
  height: 1em;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  line-height: 1;
}

/*チェックボックススタイル*/
input[type=checkbox] + span:before {
  position: absolute;
  top: 0.3em;
  left: 0;
  content: "";
  width: 1.25em;
  height: 1.25em;
  border: 1px solid #ccc;
  background: #fff;
  line-height: 1;
  vertical-align: middle;
}

/*チェックボックス未チェック時*/
input[type=checkbox] + span:after {
  content: "";
  display: none;
}

/*チェックボックスチェック時*/
input[type=checkbox]:checked + span:after {
  display: block;
  position: absolute;
  top: 0.3em;
  left: 0.4em;
  width: 0.5em;
  height: 1em;
  content: "";
  border-bottom: 3px solid #37952f;
  border-right: 3px solid #37952f;
  transform: rotate(45deg);
}

caption,
th {
  text-align: left;
}

/*----------------------------------------
	Form Layout
----------------------------------------*/
/*サブラベル*/
.inputSubLabel {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

/*必須ラベル*/
.require {
  padding-left: 2px;
  color: red;
}

/*注意書き*/
.inputNote {
  margin-top: 10px;
  color: #707070;
  font-size: 12px;
}

/*名前・フリガナ*/
.nameLayout > * + * {
  margin-top: 10px;
}

@media screen and (min-width: 768px), print {
  .nameLayout {
    display: flex;
    justify-content: space-between;
  }
  .nameLayout > * {
    width: 48.68%;
  }
  .nameLayout > * + * {
    margin-top: 0;
  }
}
/*法人・個人*/
.radioList_hr {
  display: flex;
}

/*エラーメッセージ*/
.errorText {
  display: none;
  align-items: center;
  margin-top: 16px;
  color: #df5656;
  font-weight: bold;
}

.inputField.is-error .errorText {
  display: block;
}

.errorText::before {
  content: "";
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  margin-right: 0.2em;
  background: url(../img/icon_attention.svg) center center/contain no-repeat;
  vertical-align: middle;
}

/*----------------------------------------
	個人情報保護方針チェック
----------------------------------------*/
.privacyBox {
  margin: 0 0 24px;
}
.privacyBox a {
  text-decoration: underline;
  color: #337ab7;
}

.privacyBox__check {
  margin-top: 20px;
  text-align: center;
}

@media screen and (min-width: 768px), print {
  .privacyBox {
    padding: 20px;
    text-align: center;
  }
  .privacyBox__check {
    margin-top: 50px;
  }
}
/*----------------------------------------
	送信ボタン
----------------------------------------*/
.formBtns {
  display: flex;
  justify-content: center;
}

.buttonAction {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  display: block;
  margin: 0;
  padding: 12px;
  width: 100%;
  max-width: 400px;
  border: 2px solid var(--main-color);
  background: var(--main-color);
  color: #fff;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.1em;
  transition: opacity 0.3s, color 0.3s;
  cursor: pointer;
}

.buttonAction:hover {
  opacity: 0.7;
}

div.wpcf7 .wpcf7-spinner {
  display: none !important;
}

.selectbox-3 {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.selectbox-3::after {
  position: absolute;
  right: 15px;
  width: 10px;
  height: 7px;
  background-color: #535353;
  -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
          clip-path: polygon(0 0, 100% 0, 50% 100%);
  content: "";
  pointer-events: none;
}

.selectbox-3 select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  min-width: 230px;
  height: 2.8em;
  padding: 0.4em calc(0.8em + 30px) 0.4em 0.8em;
  border: 1px solid #d0d0d0;
  border-radius: 3px;
  background-color: #fff;
  color: #333333;
  font-size: 1em;
  cursor: pointer;
}

.p-policy {
  padding: 40px 0;
  max-width: 800px;
  margin: 0 auto;
}

.p-policy-main h2 {
  font-size: clamp(1.125rem, 0.989rem + 0.68vw, 1.5rem);
  margin-top: 44px;
  margin-bottom: -18px;
}
.p-policy-main p {
  font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
  line-height: 2.25;
  margin: 30px 0;
}
.p-policy-main ul {
  margin: 30px 0;
}
.p-policy-main li {
  margin: 6px 0;
  padding-left: 24px;
  line-height: 2;
  font-size: clamp(1rem, 0.955rem + 0.23vw, 1.125rem);
  position: relative;
}
.p-policy-main li:before {
  display: block;
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 6px;
  height: 6px;
  background-color: #333;
  border-radius: 100%;
}

@media (min-width: 1024px) {
  .p-policy {
    padding: 64px 0;
  }
  .p-policy-main h2 {
    margin-top: 54px;
  }
  .p-policy-main p {
    margin: 36px 0;
  }
  .p-policy-main ul {
    margin: 36px 0;
  }
}

.p-thanks {
  padding: 40px 0;
  max-width: 720px;
  margin: 0 auto;
}

.p-thanks__heading {
  font-size: 24px;
}

.p-thanks__texts {
  margin-top: 20px;
}

.p-thanks__texts p {
  margin-bottom: 16px;
}

@media not all and (min-width: 767px) {
  .p-thanks__texts br {
    display: none;
  }
}

.p-thanks__alert p {
  color: #cb0808;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .p-thanks__heading {
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .p-thanks {
    padding: 64px 0;
  }

  .p-thanks__heading {
    font-size: 32px;
  }

  .p-thanks__texts {
    margin-top: 28px;
    font-size: 18px;
  }

  .p-thanks__alert {
    font-size: 18px;
  }
}


/*================================
	404
=================================*/

.p-error__contents{
  background: var(--bg-color);
  padding: 20px 16px;
  margin: 0 auto;
  max-width: 800px;
}

.p-error__contents h2{
  color: var(--main-color);
  margin-bottom: 12px;
  font-size: 18px;  
}

@media (min-width: 768px){

  .p-error__contents{
    padding: 40px 40px 24px;
  }

  .p-error__contents h2{
    font-size: 22px;
  }
}