@charset "utf-8";
/*=========================================================*/

/* アニメーション */

/*=========================================================*/
.anime-scroll--hidden-x{
    overflow-x:hidden;
}
.anime-scroll--hidden-y{
    overflow-y:hidden;
}

/* 基本設定 */
.si{
	opacity: 0;
	transition:
	transform .8s var(--easeOutSine),
	opacity .8s var(--easeOutSine)
	;
}
/* 解除 */
.si.show{
	will-change: transform;
	opacity: 1;
	transform: none;
	filter: none;
}

/* --------------------- */
/* アニメーション */
/* ジワっと出現 */
.si--blur{
	opacity: 0;
	filter: blur(10px);
	transition:
    transform .8s var(--easeOutSine),
    opacity  .8s var(--easeOutSine),
    filter   .8s var(--easeOutSine);
}
/* ボーダーを伸ばす */
.si--border{
	opacity: 1;
}
span.si--border:nth-of-type(2)::after{
	transform: scaleX(0);
	transition: transform .6s var(--linear);
	transform-origin: left top;
	transition-delay: .4s;
}
span.si.show.si--border:nth-of-type(2)::after{
	transform: scaleX(1);
}
/* 縦ボーダーを伸ばす */
.si--v-border{
	opacity: 1;
}
.sub-heading__wrapper.si--v-border::after{
	transform: scaleY(0);
	transition: transform .4s var(--linear);
	transform-origin: left top;
}
.sub-heading__wrapper.si.show.si--v-border::after{
	transform: scaleY(1);
}
/* ワイプ */
@keyframes slideReveal {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}
.si--wipe {
  clip-path: inset(0 50% 0 50%);
  opacity: 0;
  transition: none;
}
.si.show.si--wipe {
  animation: slideReveal 1.6s var(--easeOutSine) forwards;
}


/* --------------------- */
/* ディレイ--.si基準 */
@media(min-width: 560px){
	.si--delay_short{
		transition-delay: .1s;
	}
	.si--delay_mid{
		transition-delay: .2s;
	}
	.si--delay_mid-long{
		transition-delay: .3s;
	}
	.si--delay_long{
		transition-delay: .4s;
	}
	.si--delay_very-long{
		transition-delay: .5s;
	}
	.si--delay_longest{
		transition-delay: .6s;
	}
}




/*=========================================================*/

/* terms */

/*=========================================================*/

/* terms template//
counter-reset ==>
decimal = 数字（初期値）
decimal-leading-zero = 0つき数字（例：01、02、03）
lower-roman = ローマ数字（小文字）（例：ⅰ、ⅱ、ⅲ）
upper-roman = ローマ数字（大文字）（例：Ⅰ、Ⅱ、Ⅲ）
lower-alpha = アルファベット（小文字）（例：a、b、c）
upper-alpha = アルファベット（大文字）（例：A、B、C）
cjk-ideographic = 漢数字（例：一、二、三）
hiragana = ひらがな（例：あ、い、う）
katakana = カタカナ（例：ア、イ、ウ）
katakana-iroha = イロハ順（例：イ、ロ、ハ）
*/
/*------------------------------*/
/* root */
:root{
    --termsHeadline: var(--txt-lg);
}
/*------------------------------*/
/* コンテナ */
#terms__container.content__fx-wrapper{
    margin-top: var(--mp-tb-2xl);
}
.termsHeadline{
    font-size: var(--txt-lg);
    font-weight: 700;
    font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
}
.hero-heading span:first-of-type.si.show.si--wipe{
    animation: heroReveal 1.1s var(--easeOutSine) forwards;
}
@keyframes heroReveal {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}
/* 基礎設定 */
/* 連番//headline */
ol#termsList{
	counter-reset: headline;
}
ol#termsList > li.box > h3{
    padding-bottom: 0.3em;
    margin-bottom: 0.3em;
    border-bottom: 2px solid var(--c-main);

	list-style-type: decimal;

    display: flex;
    align-items: flex-start;
}
ol#termsList > li.box > h3::before{
	counter-increment: headline;
	content: "第"counter(headline) "章";
    display: table-cell;
    padding-right: 1em;
    text-align: right;
    min-width: 3.6em;
}
/* //その他の連番// */
/* 数字 */
#termsList ol.list{
    counter-reset: list-ol;
}
#termsList ol.list > li{
	list-style-type: decimal;
	margin: 0;
    padding: 0;
    line-height: 1.7;
    display: table-row;
}
#termsList ol.list > li::before{
    counter-increment: list-ol;
    content: counter(list-ol) ".";
    display: table-cell;
    padding-right: 0.5em;
    text-align: right;
}
/* 数字//鉤括弧 */
#termsList ol.list.brackets > li::before{
    content: "("counter(list-ol) ")";
}
#termsList ol.list.halfBrackets > li::before{
    content: counter(list-ol) " ）";
    padding-right: 0;
}
/* アルファベット */
#termsList ol.list.alphabet{
    counter-reset: list-lower-alpha;
}
#termsList ol.list.alphabet > li::before{
    counter-increment: list-lower-alpha;
    content: counter(list-lower-alpha,lower-alpha) ".";
}
/* ひらがな */
#termsList ol.list.hiragana{
    counter-reset: list-hiragana;
}
#termsList ol.list.hiragana > li::before{
    counter-increment: list-hiragana;
    content: counter(list-hiragana,hiragana) "、";
    padding-right: 0;
}
/* カタカナ */
#termsList ol.list.kana{
    counter-reset: list-kana;
}
#termsList ol.list.kana > li::before{
    counter-increment: list-kana;
    content: counter(list-kana,katakana) "、";
    padding-right: 0;
}
/* カタカナ//イロハ */
#termsList ol.list.iroha{
    counter-reset: list-iroha;
}
#termsList ol.list.iroha > li::before{
    counter-increment: list-iroha;
    content: counter(list-iroha,katakana-iroha) "、";
    padding-right: 0;
}
/*------------------------------*/
/* マージン設定 */
/* リード */
#termsHello p{
    margin-top: 1em;
}
/* リスト */
#termsList{
    margin-top: 4em;
}
#termsList .box + .box{
    margin-top: 3em;
}
#termsList .list,
#termsList .txt,
#termsList table
{
    margin-top: 1em;
}
#termsList .listMargin{
    margin-top: 2em;
    display: block;
}
#termsList .list.brackets,
#termsList .list.halfBrackets,
#termsList .list.alphabet,
#termsList .list.hiragana,
#termsList .list.kan,
#termsList .list.iroha
{
    margin-top: 0.3em;
}
/*------------------------------*/
/* テーブル*/
#termsList table{
    border: 1px solid #dedede;
}
#termsList table tr th,
#termsList table tr td
{
	vertical-align: top;
	font-size: var(--txt);
	font-weight: var(--normal);
	padding: 0.2em 1em;
}
#termsList table tr:first-child th,
#termsList table tr:first-child td
{
    padding-top: 1em;
}
#termsList table tr:last-child th,
#termsList table tr:last-child td
{
    padding-bottom: 1em;
}
/*------------------------------*/
/* リンク */
#termsList a{
    text-decoration: underline;
    color: var(--c-link);

    transition:
    color .2s var(--easeInSine);
}
#termsList a:hover{
    color: var(--c-link--hover);
}
/*------------------------------*/
/* 日付 */
#termsList .termsDate{
    text-align: right;
}




/*-------------------------------*/
/* Tablet */
/*------------------------------*/
@media(max-width:959px){
}/*Tablet END*/



/*-------------------------------*/
/* Smartphone */
/*------------------------------*/
@media(max-width:559px){
/*------------------------------*/
/* マージン設定 */
/* リスト */
#termsList{
    margin-top: 3em;
}
#termsList .listMargin{
    margin-top: 1.5em;
}
/*------------------------------*/
/* テーブル*/
#termsList table{
    border: 1px solid #dedede;
    text-align: left;
}
#termsList table tr{
    display: flex;
    flex-direction: column;
    padding: 0.5em 0;
}
#termsList table tr th,
#termsList table tr td
{
    padding: 0 1em;
}
#termsList table tr:first-child th,
#termsList table tr:first-child td
{
    padding: 0 1em;
}
#termsList table tr th{
    font-weight: var(--bold);
}
#termsList table tr:first-child th{
    padding-top: 1em;
}
#termsList table tr:last-child th,
#termsList table tr:last-child td
{
    padding: 0 1em;
}
#termsList table tr:last-child td{
    padding: 0 1em;
    padding-bottom: 1em;
}

}/*Smartphone END*/



/*=========================================================*/

/* form */

/*=========================================================*/

/* simple-form template//

inputの属性
<input 〇〇="ここに指定">

autocomplete ==>
name : 姓名
family-name : 姓
given-name : 名
email : メールアドレス
postal-code : 郵便番号
address-level1 : 都道府県
address-level2 : 市区町村
address-line1 : 番地・マンション名（1行目）
address-line2 : 番地・マンション名（2行目）
organization : 会社名
off : 自動入力を無効にする

inputmode ==>
【iOSで下部のキーが変化】
text : 規定値
email : メール
search : サーチ
url : URL
【左下キーが変化】
decimal : .（ドット）が左下に表示
numeric : 表示なし
tel : 電話番号に必要なキーが表示

*/
/*------------------------------*/
/* reCAPTCHA */
/*------------------------------*/
.g-recaptcha{
    margin-top: 2em;
}

/*------------------------------*/
/* コンテナ */
/*------------------------------*/
.home-contact__inner{
    width: calc(800rem/16);
    max-width: 100%;
    padding: 0 var(--mp-lr-reg);
    margin-left: auto;
    margin-right: auto;
}
/* リード */
#form-item__headline{
    margin-top: var(--mp-tb-lg);
    font-size: var(--txt-lg);
    text-align: center;
    margin-bottom: var(--mp-tb-reg);
    font-family: "Noto Serif JP", serif;
	font-optical-sizing: auto;
    font-weight: 700;
}
.form__lead-wrapeer > .txt{
    text-align: center;
    margin-bottom: var(--mp-tb-reg);
}
@media(max-width: 959px){
    #form-item__headline{
        font-size: var(--txt-md);
    }
}
/*------------------------------*/
/* スタイリング */
/*------------------------------*/
:root{
    --input-c-valid: #e9f7f2;
    --input-c-invalid: #fdebeb;
    --input-c-invalid-focus: #fed2d2;
    --input-c-complete: #e9f7f2;
    --label-c-required: #eb3737;
    --label-c-optional: #dedede;
    --error-message: #f72222;
    --accept-message: #2eb44b;
}
/* ---------------------
フォームグループ */
.form-item__group{
    width: 100%;
    border: none;
}
.form-item__group + .form-item__group{
    margin-top: 2em;
}
/* フォームグループタイトル */
.form-item__group-ttl{
    font-size: var(--txt-reg);
    width: 100%;
}
.form-item__group-ttl--name{
    vertical-align: middle;
    font-size: var(--txt-reg);
}
/* ---------------------
アイテムラッパー */
.form-item__wrapper{
    width: 100%;
}
.form-item__wrapper + .form-item__wrapper{
    margin-top: 1.5em;
}
@media(max-width: 559px){
    .form-item__wrapper + .form-item__wrapper{
        margin-top: 1em;
    }
}
/* ラベル */
.form-item__label{
    width: 100%;
}
.form-item__name{
    vertical-align: middle;
}
/* 必須マーク */
.form-item__required{
    font-size: var(--txt-sm);
    color: var(--c-white);
    padding: 0.2em 0.5em;
    border-radius: 2px;
    background-color: var(--label-c-required);
    vertical-align: middle;

    margin-right: 0.8em;
}
.form-item__required.-optional{
    color: var(--c-bk);
    background-color: var(--label-c-optional);
}
/* 入力欄 */
.form-item__input{
    display: block;
    width: 100%;
    padding: calc(8rem/16);
    border-radius: 3px;
    background-color: var(--c-gray-pale);
    margin-top: calc(8rem/16);
}
textarea.form-item__input{
    white-space: pre-wrap;
}
.form-item__input::placeholder{
    color: transparent;
}
#name,
#furigana,
#organization,
#email,
#tel,
#your-message
{
    width: 100%;
    max-width: 100%;
}
#tel,
#address-first,
#address-second
{
    width: calc(240rem/16);
    max-width: 100%;
}
/* アクセシビリティ対応 */
.form-item__describe{
    font-size: calc(14rem / 16);
    line-height: 1.4;
    margin-top: calc(4rem/16);

    display: inline-flex;
}
.form-item__describe::before{
    content: "※";
    display: inline-block;
    vertical-align: middle;
    font-size: calc(14rem / 16);
    line-height: calc(calc(14rem / 16)/0.85);
    line-height: calc(calc(14rem / 16)/0.85);
    margin-right: 0.15em;
}
.form-item__input:focus{
    outline: 3px solid var(--c-main-light);
    outline-offset: 4px;
}
@media(max-width: 559px){
    .form-item__describe{
        font-size: calc(12rem / 16);
    }
    .form-item__describe::before{
        font-size: calc(12rem / 16);
        line-height: calc(calc(12rem / 16)/0.85);
        line-height: calc(calc(12rem / 16)/0.85);
    }
}
/* -------------------
ラジオボタン */
.radio__container{
    margin-top: 1em;
}
.radio__wrapper{
    display: inline-flex;
    flex-direction: column;
}
.radio__label{
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0 0.5em;
    position: relative;
}
.radio__label + .radio__label{
    margin-top: 0.3em;
}
.radio__input{
    margin: 0;
    opacity: 0;
	position: absolute;
	top: 50%;
	left: 50%;
    transform: translate(-50%,-50%);
}
.radio__check-mark{
    content: "";
    display: block;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 2px solid #dedede;

    transition: border-color .1s var(--easeInSine);
}
.radio__check-mark::before{
    content: "";
    display: block;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background-color: transparent;

    position: absolute;
    top: 50%;
    left: 4px;

    transform: translateY(-50%);
    transition: background-color .1s var(--easeInSine);
}
/* チェック時の挙動 */
.radio__input:checked + .radio__check-mark{
    border-color: var(--c-main);
}
.radio__input:checked + .radio__check-mark::before{
    background-color: var(--c-main);
}
@media(any-hover : hover){
    /* focus-visible polyfill / javascript */
    .radio__input:focus:not(.focus-visible) + .radio__check-mark + .radio__name{
        outline: none;
    }
    .radio__input.focus-visible + .radio__check-mark + .radio__name{
        outline: 2px solid var(--c-focus);
    }
}
/*------------------------------*/
/* エラーメッセージ//アクセプトメッセージ */
/* セッティング */
.input-message{
    margin-top: calc(4rem/16);
}
.mess-txt{
    display: block;
    font-size: var(--txt-sm);
    line-height: var(--txt-md);
}
.mess-icon{
    display: block;
    width: var(--txt-md);
    height: var(--txt-md);
    margin-right: 0.2em;
}
.mess-icon > svg{
    fill: currentColor;
    width: 100%;
    height: 100%;
    vertical-align: top;
}
/* エラーメッセージ */
.error-message{
    display: flex;
    align-items: flex-start;
}
.error-message .mess-icon{
    flex-shrink: 0;
    color: var(--error-message);
}
.error-message .mess-txt{
    color: var(--error-message);
}
/* アクセプトメッセージ */
.accept-message{
    display: flex;
    align-items: center;
}
.accept-message .mess-icon{
    color: var(--accept-message);
}
.accept-message .mess-txt{
    color: var(--accept-message);
}
/*------------------------------*/
/* フォームフッター */
#form__footer{
    margin-top: 3em;
}
#form__footer .input-message{
    margin-bottom: 1em;
    justify-content: center;
}
#form__footer .accept-message .mess-txt{
    color: var(--c-bk);
}
/* 送信ボタン */
#submit-button{
    font-size: var(--txt-reg);
	color: var(--c-white);

	display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 1em;

	width: 280px;
    max-width: 100%;
	padding: 1.4em min(5.5vw,1em);
    background-color: var(--c-main);

    margin-right: auto;
    margin-left: auto;

	position: relative;
    box-sizing: border-box;
}
#submit-button > svg{
    width: var(--txt-reg);

    position: absolute;
    right: min(5.5vw,1em);
}
#submit-button[aria-disabled="true"]{
    color: #a7a7a7;
    background-color: #dedede;
    cursor: not-allowed;
}

/* hover設定 */
@media(any-hover:hover){
    #submit-button{
        transition:
        color .6s var(--easeInSine),
        background-color .6s  var(--easeInSine)
        ;
    }

    #submit-button[aria-disabled="false"]:hover,
    #submit-button[aria-disabled="false"]:focus
    {
        color: var(--c-main);
	    background-color: var(--c-gray-pale);
    }
}
/*------------------------------*/
/* 制御 */
/*
:valid = 入力中
:invalid = 正規表現判定以外の入力
:placeholder = プレースホルダーテキスト
:placeholder-shown = プレースホルダーが表示されてる時
:focus-within = 子要素にフォーカスがあたっている時に有効
:focus-visible = フォーカスがされている時有効
:disabled = 入力できない状態
*/
/*------------------------------*/
/* 入力なし */
.input-message[aria-hidden=true] {
    display: none;
}
.form-item__input:placeholder-shown + span .accept-message{
    display: none;
}
/* 任意設定のinputは一度入力した内容を消した状態でフォーカスを外したらaccept-messageなどを非表示にする */
.form-item__input:placeholder-shown + #organization-describe + span .accept-message{
    display: none;
}
/* アクセプト */
.form-item__input[data-form-changeValidate='false']:valid:not(:focus-visible){
    background-color: var(--input-c-complete);
}
/* アクセプト時のディスクリプションの挙動 */
.form-item__input[data-form-changeValidate='false']:valid:not(:focus-visible) + .form-item__describe{
    display: none;
}
.form-item__input[data-form-changeValidate='false']:valid:placeholder-shown:not(:focus-visible) + .form-item__describe{
    display: inline-flex;
}
/* エラー */
.form-item__input[data-form-changeValidate='true']{
    background-color: var(--input-c-invalid);
    border-color: var(--label-c-required);
}
.form-item__input[data-form-changeValidate='true']:focus{
    outline-color: var(--input-c-invalid-focus);
}
/* エラー時のシェイクアニメーション */
.form-item__input[data-form-changeValidate='true']:not(:focus){
    animation-name: error-shake;
    animation-duration: .1s;
    animation-timing-function: ease;
    animation-fill-mode: forwards;
    animation-iteration-count: 4;
}
@keyframes error-shake{
    0%{
        outline: 3px solid var(--input-c-invalid-focus);
        outline-offset: 3px;
    }
    50%{
        transform: translateX(-4px);
        outline: 3px solid var(--input-c-invalid-focus);
        outline-offset: 3px;
    }
    100%{
        outline: 3px solid var(--input-c-invalid-focus);
        outline-offset: 3px;
    }
}




/*=========================================================*/

/*
リザルトページ
＊ リザルト
＊ サンクスページ
*/

/*=========================================================*/
/* =======================

リザルト

======================= */
/*------------------------------*/
/* コンテナ */
/*------------------------------*/
/* --c-focusの色を設定すること */
/* ------------------
コンテンツ */
#formWrap{
	margin: 0 auto;
	margin-top: calc(120rem/16);

    width: calc(800rem/16);
    max-width: var(--fx-width);
    padding: 0 var(--space-lr-reg);

	font-size: var(--txt-reg);
	color: var(--c-bk);
}
#formWrap h3{
	font-size: var(--txt-lg);
	font-weight: bold;
	color: var(--c-bk);

	text-align: center;
	margin-bottom: 1em;
}
#formWrap h3 + p{
	margin-bottom: 3em;
}
/* ------------------
テーブル */
table.formTable{
	width:100%;
	margin:0 auto;
	margin-top: 2em;
	border-collapse:collapse;
}
table.formTable tr{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	border: 1px solid var(--c-main-soft);
}
table.formTable tr + tr{
	margin-top: 1.5em;
}
table.formTable th,
table.formTable td{
	font-size: var(--txt-reg);
	color: var(--c-bk);
	font-weight: normal;
	text-align:left;

	width:100%;
	padding: 1em min(5.5vw,1em);
}
table.formTable th{
	padding-bottom: 0;
	font-weight: 700;
}
p.error_messe{
	margin:0.5em 0;
	color:red;
}
/* ------------------
エラー */
#formWrap .error__wrapper{
	height: calc(30vh + var(--header-height));
	margin-bottom: 2em;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
/* 前のページに戻るボタン */
#formWrap .error__wrapper input{
	padding: 0.5em min(5.5vw,1em);
	background-color: #dedede;
	margin-top: 2rem;

	transition:
	color .6s var(--easeInSine),
	background-color .6s  var(--easeInSine)
	;
}
@media(any-hover : hover){
	#formWrap .error__wrapper input:focus{
		outline: 2px solid var(--c-focus);
		outline-offset: 3px;
	}
	#formWrap .error__wrapper input:hover{
		color: var(--c-white);
		background-color: var(--c-bk);
	}
}
/* ------------------
送信ボタン / 戻るボタン */
#result__submit{
    font-size: var(--txt-reg);
	color: var(--c-white);

	display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 1em;

	width: 280px;
	max-width: 100%;
	padding: 1.4em min(5.5vw,1em);
    background-color: var(--c-main);
	border: solid 1px var(--c-main);

    margin-right: auto;
	margin-left: auto;
	margin-top: 3em;

	box-sizing: border-box;
}
#result__back{
	font-size: var(--txt-sm);
	color: var(--c-main);
	padding: 0.3em min(5.5vw,1em);
	border: 1px solid transparent;
	background-color: transparent;
	margin-top: 2rem;
}
@media(any-hover:hover){
    #result__submit{
		transition:
        color .6s var(--easeInSine),
        background-color .6s var(--easeInSine)
        ;
    }
    #result__back{
        transition: border .6s var(--easeInSine);
    }
    #result__submit:hover,
    #result__submit:focus{
        color: var(--c-main);
	    background-color: var(--c-white);
    }
    #result__back:hover,
    #result__back:focus{
		border: 1px solid var(--c-main-soft);
    }
    /* focus-visible polyfill / javascript */
	#result__submit:focus:not(.focus-visible),
	#result__back:focus:not(.focus-visible){
        outline: none;
    }
    #result__submit.focus-visible,
    #result__back.focus-visible{
		outline: 2px solid var(--c-main);
		outline-offset: 3px;
    }
}



/* =======================

サンクスページ

======================= */
#thanks{
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
}
#thanks #layout{
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: center;
	margin-top: var(--header-height);
}
#thanks #footer{
	margin-top: 0;
}
/* --------------------
コンテナ */
#result-thanks{
	width: var(--flexible-width);
	margin-right: auto;
	margin-left: auto;
	text-align: center;

	margin-top: 4em;
}
/* リード */
.result__txt-wrapper{
	margin-top: 2em;
}
.result-thanks__lead{
	font-size: var(--txt-reg);
	color: var(--c-bk);
	line-height: 1.8;
	text-align: center;
}
.result-thanks__lead strong{
	color: var(--c-bk);
	margin-right: 0.3em;
	margin-left: 0.3em;
}
#result__home-back{
	margin-right: auto;
	margin-left: auto;
}

@media(max-width: 559px){
	.result-thanks__lead{
		text-align: justify;
	}
}