* {
    padding: 0;
    margin: 0;   

    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.05em;
 }

*,
*::before,
*::after{
    box-sizing: border-box;
}

body#contact {
     background-color: #fff;
}

 /*フォントスタイル*/
 body,
 ::placeholder {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
 }

#contact h2 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

/*ALL (W)RIGHT -sake place- お問い合わせ用CSS*/

/*共通CSS*/
#contact header {
  width: 100%;
  padding: 30px 0;
  border-bottom: 1px solid #ccc;
  text-align: center;
}

#contact header img {
  width: 68px;
  height: auto;
  margin: auto;
}

#formWrap {
    width: 100%;
    max-width: 1000px;
    margin: auto;
}

#contact footer {
    padding: 50px 0;
    margin-top: 50px;
    border-top: 1px solid #ccc;
    text-align: center;
}

#contact #formWrap h2  {
    font-size: 125px;
    line-height: 1;
    text-align: center;
    letter-spacing: 0.1em;
    margin-top: 50px;
}

#contact #formWrap h3 {
    font-size: 38px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

#contact #formWrap h4 {
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    margin-top: 30px;

}

#contact #formWrap ul.contact-list {
    display: flex;
    justify-content: center;
    list-style: none;

    border-top: 1px solid #000;
    border-bottom: 1px solid #000;

    padding: 20px;
    margin: 50px 0 60px;
}


#contact #formWrap ul.contact-list li {
    position: relative;
    padding-right: 60px;
    color: #ccc;
}

#contact #formWrap ul.contact-list li.active {
    color: #000;
}

#contact #formWrap ul.contact-list li:not(:last-child)::after  {
    content: "▶";
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
}

#contact #formWrap ul.contact-list li:last-child {
    padding-right: 0;
}

.contact-form dl dt {
    position: relative;
    padding-left: 60px;
    margin-bottom: 5px;
}

.contact-form dl dt::before {
    content: "必須";
    position: absolute;
    top: 2px;
    left: 0;

    width: 50px;
    border: 1px solid #C80000;
    padding: 2px 0;    

    font-size: 12px;
    text-align: center;
    line-height: 1;
    color: #C80000;
}

.contact-form dl dt.none {
    padding-left: 0;
}

.contact-form dl dt.none::before { 
    display: none;
}

.contact-form dl dd {
    border-bottom: 1px solid #ccc;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.contact-form dl .txtc {
    text-align: center;
}

.contact-form dl .txtc.mt {
    margin-top: 100px;
}

.contact-form dl .txtc.pb {
    padding-bottom: 30px;
    border-bottom: none;
}

.contact-form dl .mtb {
    margin: 15px 0;
}

.contact-form dl dd .txt::placeholder,
.contact-form dl dd .txt2::placeholder,
.contact-form dl dd .txt3::placeholder {
    color: #aaa;
}

.contact-form dl dd .txt,
.contact-form dl dd .txt2,
.contact-form dl dd .txt3 {
    border: 1px solid #ccc;
    padding: 5px;
    background-color: #f5f5f5; 
}

.contact-form dl dd .txt {
    width: 50%;
    height: 40px;
    box-sizing: border-box;
}

.contact-form dl dd .txt2 {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
}

.contact-form dl dd .txt3 {
    width: 100%;
    height: 150px;
    box-sizing: border-box;
}

.contact-form dl dd ul li {
    list-style: none;
    padding: 5px 0;
}

.contact-form .form-btns {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
  }
  
.contact-form .form-btns li {
    margin: 0;
}

.input-note {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
    text-align: left;
}
  
/* 確認ボタン */
.contact-form .form-btns input[type="submit"] {
    width: 100%;
    padding: 25px 0;
    border: none;
    background: #333;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}
  
/* リセットボタン */
.contact-form .form-btns input[type="reset"] {
    display: block;
    margin: 15px auto 0;
    border: none;
    background: transparent;
    color: #999;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
}

.contact-form .form-btns input[type="submit"]:hover,
.contact-form .form-btns input[type="reset"]:hover {
    opacity: 0.8;
}

/* IPアドレス */
.form-note {
    font-size: 0.85rem;
    text-align: center;
    margin-top: 20px;
}

/* エラーページ */
.error-title {
    color: #C80000;
}

.error {
    border: 1px solid #ccc;
    padding: 30px 15px;
    margin-top: 30px;
}

.error .error_messe {
    padding: 5px 0;
}

.error_messe span.required {
    color: #C80000;
}

.back-btn {
    width: 100%;
    padding: 25px 0;
    display: inline-block;
    border: none;
    color: #000;
    font-size: 16px;
    cursor: pointer;
}
  
.back-btn:hover,
.submit-btn:hover{
    opacity: 0.8;
}

/*確認画面*/
h3.confirm-title {
    font-size: 36px!important;
}

p.confirm-text{
    margin-top: 10px;
}

.formTable tr {
    text-align: left;
}

.formTable tr,
.formTable th,
.formTable td {
    padding: 8px;
}

.submit-btn {
    width: 100%;
    padding: 25px 0;
    background-color: #000;
    color: #fff;
    cursor: pointer;
    margin: 50px 0 20px;
}


/*送信完了*/
.thanks-message {
    text-align: center;
}

.thanks-message a {
    display: block;
    width: 100%;
    padding: 25px 0;
    margin-top: 30px;

    text-decoration: none;

    color: #fff;
    background-color: #000;
}

.thanks-message a:hover {
    opacity: 0.8;
}

.thanks-message p span {
    font-size: 14px;
}

.thanks-message p i {
    font-size: 14px;
    text-decoration: underline;
}


.company-info {
    width: 100%;
    background-color: #F2F2F2;
    padding: 60px 20px;
    margin: 60px auto 0;
}
 
.company-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.company-info .address {
    margin-bottom: 10px;
}





/* ========================================
    スマートフォン・タブレット用 (768px未満)
======================================== */
@media (max-width: 767px){

    #formWrap{
        width: 90%;
        max-width: unset;
    }

    #contact #formWrap h2{
        font-size: clamp(56px, 16vw, 125px);
        letter-spacing: 0.05em;
    }

    #contact #formWrap h3 {
        font-size: 28px;
    }

    .contact-form dl dd .txt,
    .contact-form dl dd .txt2,
    .contact-form dl dd .txt3{
        width:100%;
    }

    .contact-form dl dd .txt,
    .contact-form dl dd .txt2{
        padding: 25px 10px;
    }

    .contact-form dl dd .txt3{
        padding: 10px;
    }

    /*確認画面用CSS*/
    .formTable,
    .formTable tbody,
    .formTable tr,
    .formTable th,
    .formTable td{
        display: block;
        width: 100%;
    }

    .formTable tr{
        border-bottom: 1px dotted #aaa;
        padding-bottom: 10px;
    }

    .formTable th{
        padding: 0;
        margin-bottom: 0;
        font-weight: 700;
    }

    .formTable td{
        padding: 0;
    }
    
    
}