@charset "utf-8";

/*===============================
リセット
=================================*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
margin:0;
padding:0;
border:0;
outline:0;
font-size:100%;
background:transparent;
}

a, a:hover, a:visited, a:active{
text-decoration: none;
}

img{
border:0;
max-width: 100%;
height: auto;
width :auto;
backface-visibility: hidden;
vertical-align: top;
}

/*===============================
共通
=================================*/
/* 全体 */
body {
width:100%;
margin: 0 auto;
box-sizing: border-box;
color: #333;
font-family:"Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", sans-serif;
font-size: 16px;
line-height : 1.5;
text-align: center;
background: -moz-linear-gradient(to bottom,#f8f5fc 40%,#d9d0e4 80%,#a192b7); 
background: -webkit-linear-gradient(to bottom,#f8f5fc 40%,#d9d0e4 80%,#a192b7); 
background: linear-gradient(to bottom,#f8f5fc 40%,#d9d0e4 80%,#a192b7); font-feature-settings: "palt" 1;
letter-spacing: 0.1em;
}

.all-wrap {
min-height: 100vh;
margin: 0 auto;
padding: 0;
background: url(../images/bg-top.jpg) center top 100px no-repeat;
background-size: 100% auto;
}

.content-wrap {
max-width: 1080px;
margin: 0 auto 100px;
padding: 0 20px;
}

.header {
height: 100px;
display: flex;
align-items: center;
justify-content: center;
background-color: #70529A;
padding: 0 10px;
}

.footer {
background-color: #FFF;
color: #70529A;
padding: 20px;
font-size: 12px;
font-weight: bold;
}



/*===============================
トップページ
=================================*/
.main {
margin-top: 30px;
}

.main-day {
margin-top: -70px;
}

.item-wrap {
margin: -90px 20px 0;
display: flex;
align-items: stretch;
justify-content: center;
flex-wrap: wrap;
padding: 4vw 2vw;
background-color: #FFF;
border-radius: 5px;
}

.item {
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
box-sizing: border-box;
width: 280px;
margin: 15px 15px 30px;
padding: 40px 25px;
border-radius: 15px;
border: 2px solid #EEE;
border-bottom: 6px solid #EEE;
background-color: #FFF;
}

.company-logo {
display: block;
margin-bottom: 20px;
/* border: 1px solid #eee; */
}

.company-logo img {
max-height: 80px;
}

.company-name {
margin-bottom: 25px;
font-weight: bold;
font-size: 14px;
color: #5c3593;
}

.btn a {
display: block;
background-color: #FFF;
border: 3px solid #70529A;
color: #70529A;
font-weight: bold;
border-radius: 2rem;
padding: 12px 10px;
transition: all 0.5s ease;
}

.btn a:hover, 
.btn a:active {
background-color: #70529A;
color: #FFF;
}

.top-tyui {
text-align: right;
margin: 20px;
}


/*===============================
コンタクトページ
=================================*/

.contact-wrap {
margin-top: -90px;
padding: 70px 20px 100px;
background-color: #FFF;
border-radius: 10px;
}

.contact-wrap h2 {
padding-bottom: 30px;
font-size: 2rem;
color: #70529A;
}

.contact-wrap h3 {
padding-bottom: 20px;
font-size: 1.5rem;
line-height: 1.25;
}

#formWrap {
max-width:700px;
margin:0 auto;
color:#555;
line-height:120%;
}

#formWrap p {
margin-top: 10px;
margin-bottom: 10px;
}

table.formTable{
width: 100%;
margin: 50px  auto 0;
border-collapse:collapse;
text-align: left;
}

table.formTable td,table.formTable th{
border-bottom:1px solid #ccc;
padding:20px;
}

table.formTable th{
width:35%;
text-align:left;
color: #70529A;
font-weight: bold;
}

.submit_btn input[type="submit"],
.submit_btn input[type="reset"] { 
width: 150px;
height: 50px;
margin: 20px;
font-size: 18px;
background-color: #70529A;
border: none;
border-radius: 5px;
color: #fff;
cursor: pointer;
}

.submit_btn input[type="submit"]:hover,
.submit_btn input[type="reset"]:hover {
opacity: 0.7;
}

.submit_btn input[type="reset"] {
color: #aaa;
background-color: #ddd;
}

.attention{
font-size:13px;
}


/*===============================
サンクスページ
=================================*/

.thanks-wrap {
display: flex;
align-items: flex-start;
justify-content: center;
min-height: 100vh;
background-color: #e6dff1;
}

.thanks {
display: inline-block;
margin: 100px 20px;
padding: 70px 20px;
background-color: #FFF;
border-radius: 10pxx;
}

.thanks h2 {
padding-bottom: 20px;
}

.thanks p {
line-height: 1.75;
padding-bottom: 30px;
}



@media screen and (max-width:768px) {
.all-wrap {
background: url(../images/bg-top-tab.png) center top 100px no-repeat;
background-size: 100% auto;
}
.main-day {
margin-top: -40px;
}
.main-day img {
width: 50vw;
}

/*===============================
コンタクトページ
=================================*/

table.formTable th{
padding-bottom: 0;
border-bottom: none;
}

table.formTable td,table.formTable th{
width: 100%;
display: block;
}

}



@media screen and (max-width:480px) {
.all-wrap {
background: url(../images/bg-top-sp.png) center top 100px no-repeat;
background-size: 100% auto;
}

.item-wrap {
margin: -90px 0 0;
}


/*===============================
コンタクトページ
=================================*/

.contact-wrap h2 {
font-size: 24px;
}

.contact-wrap h3 {
padding-bottom: 20px;
font-size: 20px;
line-height: 1.25;
}

}