@charset "UTF-8";
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,body {
  height: 100%;
}
body {
  font-family: "Montserrat",Arial,"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,sans-serif;
  line-height: 1.8;
  color: #333;
  font-size: 15px;
}
a{
    text-decoration: none;
    display: block;
    transition: .3s;
    color: #fff;
}
ul,ol,li{
    list-style-type: none;
}
img{
    max-width: 100%;
    vertical-align: bottom;
}
.inner{
    width: 100%;
    margin: 0 auto;
}

/*--------------------------見出し-------------------------------------------*/
.heading-primary{
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #391e88;
    font-size: 39px;
    position: relative;
}
.heading-primary::after{
    position: absolute;
    letter-spacing: .03em;
    font-size: 13px;
}

/*--------------------------ボタン-------------------------------------------*/
.btn {
    position: relative;
    font-weight: bold;
    line-height: 1.4;
    display: inline-block;
    width: 200px;
    padding: 20px 0;
    transition: .3s;
    text-align: center;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 50px;
    background-image: linear-gradient(to right, #7633a4 0%, #250d65 51%, #7633a4 100%);
    background-size: 200% auto;
    font-size: 14px;
}
.btn::after {
    position: absolute;
    top: 50%;
    right: 1.5em;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0da";
    transition: .3s;
    transform: translateY(-50%);
    font-size: 14px;
    color: #fff;
}
.btn:hover {
    background-position: right;
}
.btn:hover::after {
    right: 1.2em;
}

/*--------------------------上に戻るボタン-------------------------------------------*/
.page-top{
    position: fixed;
    right: 45px;
    bottom: 45px;
    z-index: 1;
}
.page-top a{
    width: 50px;
    height: 50px;
    padding: 12px;
    text-align: center;
    border-radius: 50%;
    background-color: #391e88;
}
.page-top a:hover {
    opacity: .8;
}

@media screen and (max-width: 768px) {
  .page-top {
    right: 20px;
    bottom: 20px;
  }
}

/*-----------------------------------------------header-----------------------------------------------------------*/
header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 30px;
    transition: all .3s;
}
header.active{
    padding: 20px 30px;
    background-color: #21054d;
}
header .inner{
    display: flex;
    align-items: center;
    justify-content: space-between; 
}
header .inner h1{
    line-height: 1;
}
header .inner h1 img{
    display: block;
}

@media screen and (max-width: 768px) {
    header {
        padding: 10px 15px;
  }
    header.active{
        padding: 10px 15px;
  }
    header .inner h1 img{
        width: 120px;
    }
}

/*-----------------------------------------------nav-----------------------------------------------------------*/
nav ul{
    display: grid;
    grid-auto-flow: column;
    text-align: center;
    grid-column-gap: 30px;
}
nav ul li{
    font-weight: bold;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: 14px;
}
nav ul li a{
    position: relative;
    display: inline-block;
}
nav ul li a::after{
    width: 0;
    height: 0;
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0; 
    transition: width .3s;
    background-color: #fff;
}
nav ul li a:hover::after{
    width: 100%;
    height: 1px;
}

@media screen and (max-width: 960px) {
    nav ul li{
        font-size: 12px;
  }
}

@media screen and (max-width: 768px) {
    nav ul{
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        width: 100%;
  }
    nav ul li{
        margin-bottom: 20px;
        font-size: 16px;
    }
    nav ul li a::after{
        display: none;
  }
}

/*-----------------------------------------------ハンバーガーメニュー-----------------------------------------------------------*/
/*--------------------------ハンバーガーメニューのボタン-------------------------------------------*/
.btn-menu{
    display: none;
}
@media screen and (max-width: 768px) {
    .btn-menu {
        width: 40px;
        height: 40px;
        position: relative;
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5px;
        cursor: pointer;
        text-align: center;
        opacity: .9;
        border: none;
        outline: none;
        background: none;
        appearance: none;
        font-size: 12px;
  }
}
.btn-menu__line{
    position: relative;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    transition: all .4s;
    border-radius: 4px;
    background-color: #fff;
}
.btn-menu__line::before,
.btn-menu__line::after{
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    display: block;
    transition: inherit;
    border-radius: 4px;
    background-color: inherit;
}
.btn-menu__line::before{
    top: -8px;
}
.btn-menu__line::after{
    top: 8px;
}
.btn-menu.active .btn-menu__line{
  background-color: transparent;
}
.btn-menu.active .btn-menu__line::before, 
.btn-menu.active .btn-menu__line::after{
    top: 0;
    background-color: #fff;
}
.btn-menu.active .btn-menu__line::before{
  transform: rotate(45deg);
}
.btn-menu.active .btn-menu__line::after{
  transform: rotate(-45deg);
}
/*--------------------------ハンバーガーメニーのナビ-------------------------------------------*/
@media screen and (max-width: 768px) {
    .global-nav {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10;
        display: flex;
        visibility: hidden;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        transition: opacity .3s ease;
        opacity: 0;
        background-image: linear-gradient(135deg, #7633a4, #250d65);
  }
  .global-nav.show{
      visibility: visible;
      opacity: 1;
  }
}

/*-----------------------------------------------footer-----------------------------------------------------------*/
footer .inner > div{
    margin-top: 40px;
    padding: 80px 0;
    text-align: center;
    background-color: #f0f0f0;
}
footer .inner > div h2{
    text-align: center;
    margin-bottom: 50px;
}
footer .inner > div h2::after{
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    content: "お問い合わせ";
}
footer .inner > div p:first-of-type{
    margin-bottom: 30px;
}
footer ul{
    padding: 60px 30px 0;
    background-color: #120e19;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
footer ul li a{
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1;
    padding: 5px;
}
footer ul li a:hover{
    opacity: .8;
}
footer .inner > p{
    padding: 30px 30px 20px;
    text-align: center;
    background-color: #120e19;
}
footer .inner > p a{
    color: #a798b7;
}
footer .inner > p a:hover {
    opacity: .8;
}

@media screen and (max-width: 768px) {
    footer .inner > div{
        margin-top: 0px;
        padding: 60px 0;
    }
    footer .inner > div h2{
        font-size: 30px;
    }
    footer .inner > div h2::after{
        top: 40px;
    }
    footer .inner > div > p:first-of-type span{
        display: block;
    }
    footer ul{
        justify-content: flex-start;
        margin-bottom: -10px;
  }
    footer ul li{
        margin-bottom: 10px;
    }
}

/*-----------------------------------------------hero-----------------------------------------------------------*/
/*--------------------------homepage以外のhero-------------------------------------------*/
.sub-hero{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  color: #fff;
  background-image: url(../img/hero.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.sub-hero .inner{
  padding: 50px 40px 10px 40px;
  text-align: center;
}
.sub-hero .inner h2{
    color: #fff;
    font-size: 30px;
    text-transform: uppercase; 
    position: relative;
}
.sub-hero .inner h2::after{
    content: "お問い合わせ";
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
}
.contact-conf .sub-hero .inner h2::after{
    content: "確認画面";
    font-size: 20px;
}
.contact-error .sub-hero .inner h2::after{
    content: "エラー";
    font-size: 20px;
}
.contact-thanks .sub-hero .inner h2::after{
    content: "送信完了";
    font-size: 20px;
}
@media screen and (max-width: 768px) {
  .sub-hero {
    height: 180px;
  }
}

/*-----------------------------------------------breadcrumb-----------------------------------------------------------*/
.breadcrumb{
    width: 100%;
    padding: 8px 0;
    background-color: #f0f0f0;
}
.breadcrumb .inner{
    max-width: 1200px;
}
.breadcrumb ol{
    width: 95%;
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0 auto;
}
.breadcrumb ol li{
    text-transform: uppercase;
    font-size: 12px;
    margin-right: 30px;
    position: relative;
}
.breadcrumb ol li::after{
    content: ">";
    color: #555;
    position: absolute;
    top: 0;
    left:50px;
}
.breadcrumb ol li:last-of-type::after{
    content: "";
}
.breadcrumb ol li span{
    color: #555;
}

@media screen and (max-width: 768px) {
  .breadcrumb {
      padding: 5px 0;
  }
    .breadcrumb ol li{
        font-size: 11px;
        font-size: 0.6875rem;
  }
}

/*-----------------------------------------------contact-----------------------------------------------------------*/
.contact-contents .contact .inner h2{
    font-weight: normal;
    text-align: center;
    font-size: 1em;
    margin: 80px 0 50px;
}
.contact-contents .contact .inner h2 br{
    display: none;
}
#form-tbl{
    width: 90%;
    max-width: 920px;
    background-color: #f0f0f0;
    padding: 90px;
    margin: 0 auto;    
}
#form{
    text-align: left;    
}
#form tr{
    display: flex;
    flex-direction: column;
}
#form tr th{
    margin-bottom: 10px;
}
#form tr th span{
    font-weight: normal;
    margin-left: 10px;
    color: violet;
}
#form tr:nth-of-type(5) th span{
    color: black;
}
#form tr td{
    margin-bottom: 20px;
}
#form tr:first-of-type td ul{
    display: flex;
}
#form tr:first-of-type td ul li:first-of-type{
    
}
#form-tbl div{
    margin-top: 50px;
    padding-left: calc(50% - 100px);
}
input[type = "text"]{
    width: 300px;
    height: 50px;
    border-radius: 5px;
    padding: 10px;
    border-color: #f0f0f0;
    box-shadow: none;
}
textarea{
    width: 600px;
    max-width: 550px;
    height: 200px;
    border-radius: 5px;
    padding: 15px;
    border-color: #f0f0f0;
}
select{
    width: 300px;
    height: 50px;
    border-radius: 5px;
    padding: 10px;
    border-color: #f0f0f0;
}
input[type = "submit"]{
    color: white;
    box-shadow: none;
    border: none;
}
input[type = "button"]{
    color: white;
    box-shadow: none;
    border: none;
}
@media screen and (max-width: 768px) {
        .contact-contents .contact .inner h2{
        margin: 40px 0 30px;
    }
       .contact-contents .contact .inner h2 br{
        display: block;
    }
    #form-tbl{
        width: 95%;
        padding: 30px;
    }
    #form{
       width: 100%;
        table-layout: fixed
    }
    #form tr:first-of-type td ul{
        display: block;
    }
    input[type = "text"]{
        width: 100%;
    }      
    textarea{
        width: 100%;
        max-width: 650px;
    }
    select{
        width: 100%;
    }
}

/*-----------------------------------------------conf & error & thanks-----------------------------------------------------------*/
.contact-conf article .inner h2,
.contact-error article .inner h2,
.contact-thanks article .inner h2{
    font-weight: normal;
    text-align: center;
    font-size: 1em;
    margin: 80px 0 50px;
}
.contact-conf #form-tbl div{
    padding-left: calc(50% - 200px);
}
.contact-thanks #form-tbl{
    margin-top: 80px;
}
.contact-thanks article .inner p{
    text-align: center;    
}