@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
*/

/* pc */
@media screen and (min-width: 960px) {
	/* toc dlt */
	.l-mainContent .p-toc {
		display: none;
	}
}

/* sp */
@media screen and (max-width: 959px) {
	/* header */
    .l-header__logo {margin-left: 7px;}
	.l-header__customBtn{visibility: hidden;}

	/* content */
	#content.l-content.l-container {
	    padding-left: 0vw;
	    padding-right: 0vw;
	}
	.-frame-on .l-mainContent{
	    padding-left: 4vw;
	    padding-right: 4vw;
	}
	/* toc H3 dlt */
	.p-toc__childList {
    	display: none;
	}
}

/* Post */
/* category */
.c-categoryList__link{
	color: #333;
	background-color: #eee;
}
.c-categoryList:before{
	content:none;
}

/* toc */
#main_content .p-toc{
	margin: 1em 0;
}
.l-mainContent__inner>.post_content{
	margin: 2em 0;
}
a.p-toc__link{
	font-size: 90%;
}

/* accordion */
.swell-block-accordion {
  border: 1px solid #eaeaea;
  border-radius: 6px;
}

/* Others */
/* contact form */
.inquiry {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  margin: 0;
}

.inquiry th,
.inquiry td {
  border: 1px solid #ddd;
  padding: 16px;
  vertical-align: top;
}

.inquiry th {
  width: 30%;
  background: #f8f8f8;
  color: #333;
  font-weight: 700;
  text-align: left;
  line-height: 1.6;
}

.inquiry td {
  background: #fff;
}

.inquiry input[type="text"],
.inquiry select,
.inquiry textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #d9dee7;
  border-radius: 6px;
  background: #eff1f5;
  box-shadow: none;
  color: #5c6b80;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
}

.inquiry input[type="text"],
.inquiry select {
  min-height: 48px;
}

.inquiry textarea {
  min-height: 140px;
  resize: vertical;
}

.inquiry input[type="text"]:focus,
.inquiry select:focus,
.inquiry textarea:focus {
  outline: none;
  border-color: var(--color_main);
  background: #fff;
}

.inquiry ::placeholder {
  color: #8a94a6;
}

.inquiry .wpcf7-list-item {
  display: inline-block;
  margin: 0 16px 10px 0;
}

.inquiry .wpcf7-list-item label {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  line-height: 1.7;
}

.inquiry input[type="radio"] {
  width: auto;
  margin: 0;
  transform: translateY(2px);
}

.review-stars .wpcf7-list-item {
  display: block;
  margin: 0 0 12px;
}

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

.wpcf7-submit {
  display: block;
  width: min(100%, 360px);
  margin: 12px auto 0;
  padding: 16px 24px;
  border: none;
  border-radius: 999px;
  background: var(--color_main);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: var(--swl-btn_shadow);
  transition: box-shadow .25s, opacity .25s, transform .25s;
}

.wpcf7-submit:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgb(0 0 0 / 10%), 0 12px 24px -12px rgb(0 0 0 / 20%);
}

.other-input {
  margin-top: 12px;
  padding-top: 4px;
}

.other-label {
  display: block;
  margin: 12px 0 2px;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  font-weight: 700;
}

.other-input .wpcf7-form-control-wrap {
  display: block;
}

.conditional-block {
  margin-top: 8px;
}

.grade-block {
  margin-top: 20px;
}

.conditional-label {
  display: block;
  margin: 12px 0 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  font-weight: 700;
}

.turnstile-wrap {
  margin-top: 24px;
}

.inquiry select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 48px;
}

@media (max-width: 599px) {
  .inquiry,
  .inquiry tbody,
  .inquiry tr,
  .inquiry th,
  .inquiry td {
    display: block;
    width: 100%;
  }

  .inquiry th,
  .inquiry td {
    box-sizing: border-box;
  }

  .inquiry th {
    border-bottom: none;
    padding: 12px 14px;
  }

  .inquiry td {
    border-top: none;
    padding: 14px;
  }

  .inquiry tr:first-child th {
    border-top: 1px solid #ddd;
  }

  .inquiry .wpcf7-list-item {
    display: block;
    margin: 0 0 10px;
  }

  .wpcf7-submit {
    width: 100%;
    margin-top: 32px;
  }
}
