@charset "UTF-8";

* {
    box-sizing: border-box;
}

/* 基本サイズになってるので、変更するときはレイアウト崩れる→検討必要 */
html  {
    font-feature-settings: "palt";
    height: 100%;
    width: 100%;
    font-size: 62.5%;
    color: #666666;
}

body {
    font-family: 'NotoSansJP',sans-serif;
    font-weight: 400;
    font-style: normal;
    width: 100%;
    height: 100%;
    min-height: 100%;
    font-size: clamp(1.2rem,1.25vw,1.6rem);
    line-height:1.5;
}
  

img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.wrapper {
    position: relative;
    height: auto !important;
    height: 100%;
    min-height: 100vh;
    padding: 0 1rem 0 1rem;
    padding-bottom: 30px;
}


/* ヘッダー下の線 */
hr {
    display: none;
    text-align: center;
    margin: auto;
    max-width: 1200px;
}

/* お問い合わせフォーム */
.contact {
    max-width: 940px;
    width: 100%;
    margin: auto;
    padding: 2rem 1rem 5rem 1rem;
}

.contact-ttl {/*タイトル（お問い合わせ）*/
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    padding-bottom: 5px;
}

.ttl-txt{/*お問い合わせ文章*/
    margin-bottom: 1rem;
    text-align: center;
}
.ttl-txt02 {/*お問い合わせ文章*/
    font-size: clamp(1rem,1.25vw,1.4rem);
    font-weight: lighter;
    margin-bottom: 40px;
    text-align: center;
}

.contact-table {/*表デザイン*/
    width: 100%;
    margin-bottom: 3rem;
    line-height: 2;
    padding: 1rem;
}

.contact-item/*項目エリア*/,.contact-body/*記述エリア*/ {
    padding: 1.5rem;
}


.contact-item {/*項目エリア*/
    text-align: left;
    vertical-align: middle;
    width: auto;
    border-top: 1px solid gainsboro;
}

.contact-item:first-child {/*項目エリア*/
    border-bottom: 1px solid gainsboro;;
}

.contact-body {/*記述エリア*/
    width: auto;
    border-bottom: 1px solid gainsboro;
}

.contact-body:last-child {
    border-top: 1px solid gainsboro;
}


.required::after {/*必須ロゴ*/
    position: relative;
    top: -2px;
    content: "必須";
    color: #ffffff;
    background: #cc0000;
    font-size: 10px;
    padding: 0.5rem;
    border-radius: 5px;
    margin-left: 7px;
    text-align: center;
    align-items: center;
    white-space: nowrap;
}
.required02::after {/*任意ロゴ*/
    position: relative;
    top: -2px;
    content: "任意";
    color: #ffffff;
    background:#666666;
    font-size: 10px;
    padding: 0.5rem;
    border-radius: 5px;
    margin-left: 7px;
    text-align: center;
    align-items: center;
    white-space: nowrap;
}

.form-text {/*文字*/
    width: 100%;
    padding: 3px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #cccccc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    max-width: 100%;
}

.contact-sex+.contact-sex {
    margin-left: 10px;
}

.contact-sex-txt {
    margin-left: 1px;
    vertical-align: middle;
}

.form-select {
    border: 1px solid #ccc;
    border-radius: 5px;
    -moz-appearance: menulist;
    -webkit-appearance: menulist;
}

.form-textarea {/*自由記述エリア*/
    width: 100%;
    padding: 3px;
    height: 200px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #cccccc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.contact-submit {
    display: block;
    width: 150px;
    text-align: center;
    background-color: #666666;
    color: #fff;
    font-weight: bold;
    margin: 0 auto;
    font-size: 14px;
    padding: 15px;
    border-radius: 100vh;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: .3s;
}

.contact-submit:hover {
    background: #cccccc;
}




/* ==============
.....汎用クラス
=============== */

.inner {
    max-width: 940px;
    width: 96%;
    margin-right: auto;
    margin-left: auto;
}

.flex {
    display: flex;
}

.is-align-flexend {
    align-items: flex-end;
}



/* ---bodyはこのフォントで　headerはヒラギノ角ゴ */
.notosans {
    font-family: 'Noto Sans JP', sans-serif;
}

/* ==============
.....ヘッダー 
================*/
.header {
    top: 0;
    height: 80px;
    display: flex;
    padding: 1.5rem 1.5rem;
    width: 100%;
    align-items: center;
    background-color: #ffffff;
    position: fixed;
    z-index: 9999;
}

#logo {
    align-items: flex-start;
    margin-right: auto;
    cursor: pointer;
}

#logo img {
    max-width:250px;
    width: 100%; 
    height: auto;
}

#logo span {
    display: none;
}

.jwu_logo {
    list-style: none;
}

.jwu_logo img{
    text-align: center;
    max-width: 20px;
    width: auto;
    height: auto;
}

.jwu_logo2 {
    list-style: none;
}

.jwu_logo2 img{
    text-align: center;
    max-width: 20px;
    width: auto;
    height: auto;
}

.gnav ul {
    display: flex;
}


.gnav-flex li {
    font-size: clamp(1.4rem,1.5vw,2rem); 
    font-weight: bold;
    margin-left: clamp(1.4rem,1.5vw,2rem);
}


/* ==============
.....フッター 
================*/

footer{
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 0 1rem 0 1rem;
    margin-top: auto;
    font-size: clamp(1rem,1.25vw,1.2rem);
    text-align: center;
    line-height:30px;
    width: 100%;
    height: 30px;
    background-color: #ffffff;
    z-index: 1;
}


/* ======================
スクロールボタン（↑）
========================= */
.back-to-top {
    display: none;
    position: fixed;
    right: 5%;
    bottom: 3%;
    color: #fff;
    padding: 2rem;
    border-radius: 50%;
    display: inline-block;
    text-decoration: none;
    opacity: 0.8;
    z-index: 3;
  }
  
  .back-to-top::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #cccccc;
    border-radius: 50%;
    z-index: -1;
  }
  




/* ======================
ナビのホバーアニメーション（にゅっと線）
========================= */


.gnav li a {
    position: relative;
    display: inline-block;
}

.gnav li a::after {/* 下線 */
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    background-color: #cccccc;
    width: 0;
    height: 1px;
    transition: .4s;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

/* ホバー */
.gnav li a:hover::after {
    width: 100%;
}

.gnav li a:hover {
    color: #cccccc;
}



/* =============
スマホ・タブレット記述01
===============*/

/*スクロールするページには必ずつける！*/
@media screen and (max-width: 428px){ /*428px以下*/
    #logo img {
        max-width:180px;
        width: 100%; 
        height: auto;
    }
}
@media screen and (max-width: 366px){ /*366px以下*/
    footer {
        height: 30px;
        line-height:15px;
    }
}

@media screen and (min-width:768px) {
    .jwu_logo2 {
        display: none;    
    }
}


@media screen and (max-width: 540px){ /*540px以下*/
.contact-item,.contact-body {/*レスポンシブ一列*/
    display: block;
  }

  .contact-table{
    border-top: 1px solid gainsboro;
  }

  .contact-item{
    border: none;
    padding-bottom: 0;
  }

  .contact-item:first-child{
    border-bottom: none;
}

  .contact-body:last-child {
    border-top: none;
}

}


@media screen and (min-width:427px) {/*427px以上は改行非表示*/
    .br-sp {
        display: none;
    }
}

/* =============
スマホ・タブレット記述02
===============*/
@media screen and (max-width:767px) {
    .gnav-flex {
        display: none;
    }

    .jwu_logo {
        display: none;
    }


/* ==============
>>スマホナビ
================ */

/* >>ハンバーガーメニュー*/
/* 背景ボックス */
.gnavbtn {
    position: fixed;
    z-index: 1;
    top: 20.5px;
    right: 26px;
    width: 40px;
    height: 40px;
    padding-top: 7px;
    border-radius: 7px;
    background-color:#cccccc;
    cursor: pointer;
}

/* ハンバーガー（三本線 */
.gnavbtn .sp {
    display: block;
    position: relative;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    margin-top: 5px;
    background: white;  
    transition: 0.6s;  
}

/* >>ハンバーガー（バツ印 */
.close .sp{
    left: 0px;        
}   
.close .sp:nth-of-type(1){
    transform: rotate(45deg);
    width: 60%;
    top: 7px;
    transition: 0.6s;
}
.close .sp:nth-of-type(2){
    opacity: 0;
}
.close .sp:nth-of-type(3){
    transform: rotate(-45deg);
    width: 60%;
    top: -7px;
    transition: 0.6s;
}


/* >>ドロワーメニュー //ハンバーガーメニューの出てきて止まる位置*/
.gnav ul {
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 80px;
    position: fixed;
    top: 0;
    right: 0;
    background:rgba(255,255,255,0.9);
    right: -767px;
    transition: 0.7s;
    overflow:hidden;
    
}

/* ハンバーがメニューを閉じる際の動きに必要クラス */
.show .gnav ul {
    right: 0;
    transition: 0.7s;
}

.gnav li {
    width: 100%;
    margin-bottom: 30px;
    margin-left: 0;
    text-align: center;
}



}