/*================
   リセット
=================*/

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style-type: none;
}

a {
    color: #036EB8;
    cursor: pointer;
}

.mobile-frame {
    display: none;
}

.blue-back {
    background: #171C65;
}

label,
input[type="checkbox"] {
    cursor: pointer;
}


#footer.absolute {
    position: absolute;
}

.absolute {
    position: absolute;
}



/*================
　　　　テキスト中央
=================*/

.center {
    text-align: center;
}



/*================
　　　　太文字
=================*/

.bold-txt {
    font-weight: bold;
}



/*================
    赤いテキスト
=================*/

.red-txt {
    color: #ba0219;
}


.blue-txt {
    color: #171CA5;
}


/*================
　　一行目のインデント
=================*/

.indent-txt {
    text-indent: -17px;
}

.indentPlus-txt {
    text-indent: 20px;
}

.indentPlusIn-txt {
    padding-left: 40px;
}



/*================
    赤いボタン
=================*/

.red-btn {
    background: #ba0219;
    margin: auto;
    color: #fff;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.6);
    transition: .4s;
    -webkit-transition: .4s;
}

.red-btn a {
    padding: 25px 0;
    display: block;
    color: #fff;
    font-size: 1.3rem;
}

.red-btn2 {
    background: linear-gradient(rgb(210, 23, 30), rgb(150, 34, 41));
}

/*================
    青いボタン
=================*/

.blue-btn {
    background: linear-gradient(#171CA5,#171C65);
    margin: auto;
    color: #fff;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.6);
    transition: .4s;
    -webkit-transition: .4s;
}

.blue-btn a {
    padding: 25px 0;
    display: block;
    color: #fff;
    font-size: 1.3rem;
}

/*================
 フェードコンテンツ初期
=================*/

.fadeUp-content,
.fade-content {
    opacity: 0;
}

.Up,
.Right {
    position: relative;
}

.Up {
    top: 30px;
}



/*================
    ブロック化 (margin-bottom10px)
=================*/

.block-con {
    display: block;
}

.i-b {
    margin: 0 0 10px 0;
}

.i-g {
    margin: 0 0 6px 0;
}



/*================
2つ目のセクションからのマージン
=================*/

.section-contents.margin-top {
    margin-top: 60px;
}




/*================
   フレックス
=================*/

.flex {
    display: flex;
}

.f-justify {
    justify-content: space-around;
    -webkit-justify-content: space-around;
}

.f-wrap {
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}


/*================
   フロート
=================*/

.f-right {
    float: right;
}

.f-left {
    float: left;
}

/*.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    font-size: 0;
    clear: both;
    visibility: hidden;
}*/
.clearfix::after{
  content: "";
  display: block;
  clear: both;
}

/*トップへ戻る*/

.page_top_box {
    position: fixed;
    bottom: 65px; 
    left: 50%; 
    width: 1150px; 
    transform: translateX(-50%);
}

#page_top {
    position: absolute;
    text-align: center;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    line-height: 40px;
    background: #ccc;
    right: -10px;
    font-size: 77%;
}

#page_top a {
    color: #eee;
    position: relative;
    top: 1px;
    font-size: 1.2rem;
}





/*================
   ヘッダー
=================*/

header {
    position: fixed;
    top: 0;
} 

header {
  width: 100%;
  height: 65px;
  background: #fff;
  border-bottom: 1px solid #E3E3E3;
  box-shadow: 1px 1px 13px #444;
  z-index: 1000;
}

.header-content {
  position: relative;
  z-index: 999;
  width: 100%;
  max-width: 1056px;
  height: 100%;
  margin: auto;
}
.header-content:after {
  content: "";
  clear: both;
  display: block;
}

#HeaderLogo {
    float: left;
    width: 218px;
}
#HeaderLogo img {
    width: 100%;
    margin-top: 12px;
}
#global-nav ul {
  list-style: none;
  position: absolute;
  top: 23px;
  right: 0;
  font-size: 17px;
}
#global-nav ul li {
  float: left;
}
#global-nav ul li a {
  color: #000;
  font-family: 'メイリオ';
  padding: 4px 15px;
}

/* Toggle Button */
#nav-toggle {
  display: none;
  position: absolute;
  right: 12px;
  top: 20px;
  width: 34px;
  height: 36px;
  cursor: pointer;
  z-index: 101;
}
#nav-toggle div {
  position: relative;
}
#nav-toggle span {
  display: block;
  position: absolute;
  height: 4px;
  width: 100%;
  background: #666;
  left: 0;
  -webkit-transition: .35s ease-in-out;
  -moz-transition: .35s ease-in-out;
  transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
  top: 0;
}
#nav-toggle span:nth-child(2) {
  top: 11px;
}
#nav-toggle span:nth-child(3) {
    top: 22px;
}

/*アクセスしているページのナビリンクー*/
.active-menu {
    background: #f1f1f1;
}



/*================
   　　　フッター
=================*/

#footer {
    background: #999999;
    position: relative;
    width: 100%;
    bottom: 0;
    z-index: 0;
}

#footer div {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.footer_content {
    padding: 46px 0 26px;
}

#footer p {
    margin: 0 11px;
    color: #fff !important;
    text-align: center;
}

#footer p a {
    color: #fff !important;
    font-size: 1rem;
}

#footer #copyRight {
    margin: 10px 0 20px;
    font-size: 1rem;
}

/*================
   　リンクメニュー
=================*/

.link-menu-content {
    position: fixed;
    z-index: 100;
}

.link-menu-content:hover {

}

.right-link-menu-content {
    right: -103px;
}

.left-link-menu-content {
    left: -103px;
}

#OtherLinkMenus {
    /*top: 175px;*/
    top: 100px;
}

#FleeLinkMenus {
    /*top: 240px;*/
    top: 165px;
}

#FootLinkMenus {
    bottom: 100px;
    right: -85px;
}

#LeftLinkMenus {
    bottom: 45%;
}
#LeftLinkMenus .linktext-box {
    width: 182px;
}

.link-menu-content img {
    width: 18px;
    position: relative;
    top: 4px;
}

.link-menu-content ul {
    padding: 10px 5px 10px 0;
}

.linktext-box {
    /*width: 182px;*/
}

#OtherLinkMenus .linktext-box:hover {
    background: #ba0219;
}

#FleeLinkMenus .linktext-box:hover {
    background: #171C65;
}

.link-menu-content ul.icon-box {
    padding: 10px;
    background: #ba0219;
    border-radius: 5px 0 0 5px;
}


#FleeLinkMenus ul.icon-box {
    background: #171C65;
}

.link-menu-content.left-link-menu-content ul.icon-box {
    border-radius: 0 5px  5px 0;
}

.link-menu-content.left-link-menu-content ul {
    text-align: right;
}

.link-menu-content li {
    line-height: 27px;
}

.link-menu-content li:hover {
    background: #ba0219;
}

#FleeLinkMenus li:hover {
    background: #171C65;
}

.link-menu-content .link-menu-box {
  /*width: 225px;*/
  cursor: pointer;
  position: relative;
  background: #8f8f8f;
  transition: all .2s;
  border-radius: 5px;
}

 .right-link-menu-content .link-menu-box {
    left: 82px;
 }

  .left-link-menu-content .link-menu-box {
    right: 82px;
 }

.right-link-menu-content .link-menu-box ul:last-child li {
    padding-left: 5px;
}

.left-link-menu-content .link-menu-box ul:first-child li {
    padding-right: 5px;
}

.right-link-menu-content .link-menu-box:hover {
    left: -100px;
}

.left-link-menu-content .link-menu-box:hover {
    right: -100px;
}

#OtherLinkMenus .link-menu-box.test,#FleeLinkMenus .link-menu-box.test {
     left: -100px;
}

#OtherLinkMenus .link-menu-box a,#FleeLinkMenus .link-menu-box a{
    font-size: 19px;
    position: relative;
    top: 2px;
}


.link-menu-content a {
    color: #fff;
    line-height: 27px;
    font-size: 14px;
    transition: all .1s;
}

.link-menu-content a:hover {
    text-shadow: 0px 0 10px;
}


/*================
    領域設定
=================*/

.section-contents {
    width: 1040px;
    margin: auto;
    padding: 105px 0 0;
}

#fullpage {
    /*margin-top: 75px;*/
}



/*================
　ページタイトルの画像表示
=================*/

.title-img {
    position: relative;
    top: 200px;
    margin: 0 auto 30px auto;
    max-width: 728px;
    text-align: center;
    opacity: 0;
    background: linear-gradient(rgb(210, 23, 30), rgb(150, 34, 41));
    border-radius: 10px;
    font-size: 3.5rem;
    color: #fff;
   font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    padding: 20px 0;
    letter-spacing: 3px;
    box-shadow: rgb(120, 120, 120) 5px 5px 9px;
    text-shadow: rgb(120, 120, 120) -2px -2px 1px;
    height: 56px;
    line-height: 56px;
}

.over-title-text {
    max-width: 795px;
}

.long-over-title {
    font-size: 3.2rem;
}

/*使い方　メニュータイトル*/

@keyframes support-sp-title-animation {
    0% {

    }

    50% {
        transform: scale(1);
        top: 200px;
    }

    100% {
        transform: scale(.4);
        top: 0px;
    }
}

.bule-title {
    background: linear-gradient(#171CA5, #171C65);
}


.title-img.finish {
    transition: .5s;
    top: 0px;
    transform: scale(.7);
}

@keyframes foa_title {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
        top: 200px;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        top: 0px;
        transform: scale(.7);
    }
}



/*================
　ページサブタイトルのデザイン
=================*/

.content-title {
    color: #393939;
    border-left: 10px solid #ba0219;
    background: #f1f1f1;
    font-size: 20px;
    padding: 5px 10px;
    margin-bottom: 3px;
    text-align: left;
    letter-spacing: 1px;
}



.content-title.blue-right,.blue-page .content-title {
    border-left: 10px solid #171C65;
}

.content-body {
    text-align: left;
    padding: 20px 0 20px 20px;
}



/*================
    表示アニメーション
=================*/

.fade-content {
    opacity: 0;
}

.fade-1,
.fade-2,
.fade-3,
.fade-4,
.fade-5,
.fade-6,
.fade-7,
.fade-8,
.fade-9,
.fade-10,
.fade-11,
.fade-12,
.fade-13,
.fade-14,
.fade-15,
.fade-16 {
    opacity: 0;
    animation: fadeIn .5s forwards;
}

.fade-1 {
    animation-delay: 1.8s;
}

.fade-2 {
    animation-delay: 1.85s;
}

.fade-3 {
    animation-delay: 1.9s;
}

.fade-4 {
    animation-delay: 1.95s;
}

.fade-5 {
    animation-delay: 2s;
}

.fade-6 {
    animation-delay: 2.05s;
}

.fade-7 {
    animation-delay: 2.1s;
}

.fade-8 {
    animation-delay: 2.15s;
}

.fade-9 {
    animation-delay: 2.2s;
}

.fade-10 {
    animation-delay: 2.25s;
}

.fade-11 {
    animation-delay: 2.3s;
}

.fade-12 {
    animation-delay: 2.35s;
}

.fade-13 {
    animation-delay: 3s;
}

.fade-14 {
    animation-delay: 3.05s;
}

.fade-15 {
    animation-delay: 6s;
}

.fade-16 {
    animation-delay: 6.05s;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}



/*=========================
        フォーム
===========================*/


/*---------入力フォーム----------*/

#Form {
    padding: 30px 0;
    margin: 0px auto 140px;
    background: #F3F3F3;
}

.input-box {
    margin: auto;
}

#Form .input-box input:first-child {
    margin: 0 18px 0 0;
}

#Form p {
    width: 72%;
    padding: 0;
    margin: 23px auto 10px;
    font-size: 1.2em;
}

#Form .destination-box {
    width: 70%;
    margin: auto;
    padding: 10px 15px;
    background: #F1F1F1;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.4) inset;
}

#Form input[type="text"],
#Form input[type="email"],
#Form input[type="tel"],
#Form input[type="url"],
#Form input[type="number"],
#Form select {
    width: 73%;
    display: block;
    margin: auto;
    padding: 10px 15px;
    font-size: 15px;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.4) inset;
    border: none;
    box-sizing: border-box;
}

#Form select {
    width: 73%;
}

#Form input[type="text"].amrge-input {}

#Form input[type="text"].ma3-1,
#Form input[type="text"].ma3-2,
#Form input[type="text"].ma3-3 {
    width: 50px;
    margin: 0;
}

#Form textarea {
    width: 70%;
    display: block;
    margin: auto;
    padding: 10px 15px;
    resize: none;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.4) inset;
    border: none;
    height: 260px;
    font-size: 15px;
    font-family: 'メイリオ';
}

#Form button,
#ApplicationForm button {
    display: block;
    padding: 25px 0;
    width: 250px;
    margin: 30px auto 15px;
    font-size: 1.3rem;
    background: #ba0219;
    color: #fff;
    text-align: center;
    border: none;
    cursor: pointer;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.6);
    transition: .4s;
    -webkit-transition: .4s;
}

#Form button.blue-back:enabled {
    background: #171C65;
}

#Form button.next {
    width: 120px;
    margin: 30px auto;
    padding: 10px 0;
    font-size: 1rem;
}

#Form button.kakunin {
    width: 150px;
}

.form-caution-text {
    font-size: .87rem;
}

.form-goannnai {
    font-size: 20px;
    text-align: center;
    margin: 35px auto;
}

.form-text-in {
    margin: auto;
    width: 600px;
}

.form-topgo {
    text-align: center;
    margin: 65px auto 0;
}

.form-topgo a {
    padding: 5px 10px;
}

/*-----------------------------*/


/*---------確認フォーム----------*/

#Form #CheckForm input[type="text"],
#Form #CheckForm textarea {
    background: #e6e6e6;
    box-shadow: none;
}

form#contactFsubmit {
    padding-top:10px;
}

form#contactFsubmit p{
    margin: 10px auto 0px;
    font-size: 1em;
    width: 55%;
}




/*アニメーション*/

.red-flash-stop {
    animation-play-state: paused;
}

.red-flash-start {
    animation: redflash 1s;
    animation-delay: 1s;
}

@keyframes redflash {
    0% {
        opacity: 1;
    }
    25% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#GmoSiteSheel {
    float: right;
    margin: -30px 20px 0 0;
}



/*-----------------------------*/


/*---------フォーム入力エラー時モーダル----------*/

#FormErrorModal li {
    color: #ba0219;
}

.back_shadow {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: rgba(0, 0, 0, 0.6);
}

.modal {
    border-radius: 3px;
    padding: 70px 50px 50px;
    z-index: 10000;
    position: fixed;
    background: #fff;
}

.form-clase,
.form-close {
    width: 150px;
    margin: 28px auto 0;
}

.form-clase a,
.form-close a {
    padding: 9px 0;
    font-size: 1rem;
}

#errors {
    color: red;
}

#check:disabled {
    background: #555;
}



/*お申し込みフォーム*/

#ApplicationForm {
    margin: 20px 0 140px 0;
}

#ApplicationForm table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

#ApplicationForm tr {
    border: 1px solid #f3f3f3;
}

#ApplicationForm th {
    background: #f3f3f3;
    padding: 10px;
}

#ApplicationForm td {
    padding: 15px 40px;
}

#ApplicationForm input[type="text"],
#ApplicationForm select {
    padding: 5px 10px;
    font-size: 15px;
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.4) inset;
    border: none;
}

.first-name {
    margin-right: 10px;
}

.duble input {
    display: block;
    width: 70%;
}

.duble input:first-child {
    margin-bottom: 10px;
}

.tel1 {
    margin-right: 3px;
    width: 3em;
}

.tel2 {
    margin: 0 3px;
    width: 4em;
}

.tel3 {
    margin-left: 3px;
    width: 4em;
}

.mail1 {
    width: 300px;
    margin-right: 3px;
}

.mail2 {
    width: 180px;
    margin-left: 3px;
}

#Form select#prefectures {
    width: 100%;
}


/*---------お問い合わせフォーム----------*/

ul#Form {
    position: relative;
    min-height: 280px;
}

.contact-form {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #f3f3f3;
}

.form-horizontal {
    display: flex;
    width: 73%;
    margin: 0 auto;
}

.form-horizontal .s-t {
    width: 49%;
    display: inline-block;
}

.form-horizontal .s-t:first-child {
    padding-right: 3%;
}

.form-horizontal p {
    width: 100% !important;
    padding-left: 7px !important;
}

#Form .form-horizontal input[type="text"],
#Form .form-horizontal input[type="tel"],
#Form .form-horizontal input[type="url"],
#Form .form-horizontal input[type="email"],
#Form .form-horizontal input[type="number"] {
    width: 100%;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 70px !important;
}

a.form-back-btn {
    display: block;
    margin: auto;
    font-size: .9em;
    position: relative;
    bottom: 15px;
}

/*モーダル*/
.back_shadow {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: rgba(0, 0, 0, 0.6);
}

.open {
    width: 630px; 
    height: 300px;
    border-radius: 3px;
    padding: 60px 50px 80px;
    z-index: 100;
    position: fixed;
    background: #fff;
}

.title_m {
    width: 200px;
    padding: 0 10px;
    text-align: right;
}

.close_btn {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}


/*その他*/
.jconfirm .jconfirm-box {
    max-width: 550px;
}
.jconfirm .jconfirm-box.jconfirm-type-red {
        border-top: solid 7px #ba0219;
        animation: none;
}