@charset "utf-8";
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/css/all.min.css);
@import url('https://fonts.googleapis.com/css2?family=Abel&display=swap');

#wrapper {
    font-family: 'Abel', sans-serif;
}
.enbox {
    letter-spacing: normal;
}
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
header ul {
    padding: 10px 10px 0 0;
    text-align: right;
}
header ul li {
    display: inline-block;
    margin: 0 10px;
}
header ul li a {
    color: #FFF;
    position: relative;
    letter-spacing: 0.1em;
}
header ul li:first-of-type a:after {
    content: "|";
    position: absolute;
    right: -15px;
}
#main {
    position: relative;
    z-index: -1;
}
#main span {
    position: absolute;
    display: block;
    z-index: 1;
    width: 100%;
    text-align: center;
    top: 50%;
    margin-top: -125px;
}
#main span img {
    height: 250px;
    z-index: 1;
}
#contents {
    padding: 0px 0;
}
.top-sec h1 {
    font-size: 24px;
    letter-spacing: 0.2em;
    padding-bottom: 48px;
}
.top-sec h1 em {
    font-size: 30px;
    font-weight: bold;
}
.laedtxt p {
    padding-bottom: 30px;
}
.laedtxt-concept{	
    font-family: 'Meiryo', sans-serif;
	-webkit-text-size-adjust: none;
	color: #fff;
	font-size: 14px;
    letter-spacing: 0.2em;
    line-height: 3em;
}
.concept {
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}
.top-sec h2 {
    font-weight: bold;
    font-size: 40px;
    /*border-bottom: 1px solid #000;*/
    display: inline-block;
    padding: 0 20px 0px;
    margin: 100px 0 48px;
    clear: both;
    color: #E50012;
    letter-spacing: 0.6rem;
}
.top-sec h3 {
    font-weight: bold;
    font-size: 16px;
    padding: 24px 0px 0px 0px;
    text-align: left;
    width: 680px;
    margin: 0 auto;
}
.subimag01 {
    max-width: 800px;
    margin: 20px auto;
    margin-top: 48px;
    margin-bottom: 48px;
}
.subimag02 {
    max-width: 100%;
    margin: 20px auto;
    margin-top: 48px;
}
.subimag03 {
    max-width: 1000px;
    margin: 20px auto;
    margin-top: -48px;
    margin-bottom: 48px;
}
.service {
    width: 100%;
    background-image: url("../image/bg.jpg");
    background-position: center center;
    background-size: cover;
    padding: 40px 0 60px;
}
.service ul {
    width: 920px;
    margin: 0 auto;
    text-align: center;
}
.service ul li {
    width: 200px;
    height: 200px;
    margin: 0 15px 30px; 
    background: #c1272d;
    border-radius: 50%;
    font-size: 16px;
    color: #FFF;
    display: table;
    float: left;
    letter-spacing: normal;
}
.enbox .service ul li {
    line-height: 1.2em;
}
.service ul li span {
  display: table-cell; /* 子要素はテーブルセル要素にする */
  vertical-align: middle; /* 上下中央に寄せる */ 
}
.service ul li span em {
    font-weight: bold;
    display: block;
}
.attention {
    width: 680px;
    margin: 0 auto;
    padding: 40px 0;
    font-size: 14px;
    text-align: left;
}
.attention li {
    text-indent: 0em;
    padding-left: 0em;
    padding-bottom: 32px;
    letter-spacing: 0.2em;
    padding-left: 1em;
    text-indent: -1em;
}
.contact {
    padding: 80px 0 200px 0px;
}
.contact p a {
    font-weight: bold;
    letter-spacing: 0.2em;
    font-size: 18px;
    padding: 24px 88px;
    color: #fff;
    background-color: #E50012;
    border-radius: 100vh;
}
/*-------------------  mail-area -------------------*/

#mailform {
    padding-top: 30px;
}
#mailform form {
    padding: 30px 0;
    text-align: center;
}
#mailform dl {
    padding-bottom: 30px;
    text-align: left;
}
#mailform dl dt {
    width: 250px;
    display: inline-block;
    vertical-align: top;
    font-weight: normal;
    padding-top: 15px;
}
#mailform dl dt span {
    font-weight: bold;
}
#mailform dl dd {
    width: 530px;
    display: inline-block;
    vertical-align: top;
    position: relative;
}
#mailform dl dt em {
    font-size: 12px;
    color: #ff7bac;
    margin-left: 5px;
    font-weight: bold;
}
#mailform dl dd input,
#mailform dl dd textarea {
    width: 100%;
    padding: 15px 10px;
    border: 1px solid #ccc;
}
#mailform dl dd textarea {
    height: 140px;
}
#mailform dl dd.temp input {
    border: none;
}
#mailform dl dd.temp .templabel > input {
    display:none;
}
#mailform dl dd.temp .templabel {
    color: #000;
    background-color: #fff;
    padding: 10px 20px;
    border: solid 1px #ccc;
}
#mailform dl dd select {
    -webkit-appearance:none;
    appearance:none;
    width:100%;
    padding:1em 1em;
    box-sizing:border-box;
    font-size:1em;
    border:#ccc 1px solid;
    border-radius:0;
    background: #fff;
}
.selectbox::after{
  content:"";
  display:block;
  width:10px;
  height:10px;
  position:absolute;
  right:0%;
  top:35%;
  border-bottom:#333 2px solid;
  border-right:#333 2px solid;
  transform:rotate(45deg)translateY(-30%);
}
.color.selectbox select{
  background:blue;
  color:#fff;
  border-radius:2em;
}
.color.selectbox::after{
  border-bottom:#fff 5px solid;
  border-right:#fff 5px solid;
}
#mailform dl dd select {
    width: 104%;
    padding: 15px 10px;
}
#mailform dl.txtarea-space {
    padding-bottom: 0;
}
#mailform dl.txtarea-space dt {
    vertical-align: top;
    padding-top: 10px;
}

#mailform dl dd label.error {
    position: absolute;
    color: rgba(185,0,3,1.00);
    font-size: 14px;
    top: 51px;
    left: 5px;
}
.check-privacy {
    position: relative;
}
.check-privacy .error {
    color: rgba(185,0,3,1.00);
    font-size: 14px;
}
#txt-left {
    width: 90%;
    margin: 0 auto;
}
#button-box {
    text-align: center;
    padding: 30px 0 60px;
}
#button-box input {
    display: inline-block;
    width: 220px;
    padding: 15px 0;
    margin: 0 10px;
    border: none;
    font-weight: bold;
    color: #fff;
    transition: .35s ease-in-out;
}
#button-box input:hover {
    cursor: pointer;
    opacity: 0.8;
}
#button-box #reset {
    background: #999;
}
#button-box #submit {
    background: #ff7bac;
}
#confirm {
    width: 830px;
    margin: 0 auto;
    padding-top: 30px;
}
#confirm dl dt {
    vertical-align: top;
    margin: 0;
    padding: 0;
}
#confirm dl dd {
    background: rgba(235,235,235,1.00);
    vertical-align: top;
    padding: 10px 15px;
}
/*-------------------  footer -------------------*/
.footer {
    background: #333333;
}
.footer #copyright {
    width: 100%;
    font-size: 14px;
    color: #FFF;
    letter-spacing: 0.2em;
    padding-top: 60px;
}
.footer ul {
    padding: 0px 0 20px;
    color: #FFF;
}
.footer ul li {
    display: inline-block;
    margin: 0 5px;
}
.footer ul li a {
    color: #FFF;
}
.mobile {
    display: none !important;
}
#pageup {
    position: fixed;
    bottom: 30px;
    right: 15px;
}
#pageup a {
    display: block;
    line-height: 50px;
    background: rgba(0,0,0,.60);
    color: #FFF;
    border-radius: 10px;
    font-size: 24px;
    width: 50px;
    height: 50px;
}

.card-group{
    margin-left: auto;
    margin-right: auto;
    max-width: 740px;
    width: 90%;
    height: auto;
     /* ポイント１ */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  /* ポイント２ */
  .card-group > :nth-child(2n){
    margin-left: 20px;
  }
  /* ポイント３ */
  .card-group > :nth-child(n+3){
    margin-top: 20px;
  }
  .card{
    /* ポイント４ */
    width: calc((100% - 20px * 1) / 2);
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(188, 188, 188, 0.3)
  }
  .card__imgframe{
    width: 100%;
    height: auto;
    padding-top: 56.25%;
    background: #bbb;
    box-sizing: border-box;
  }
  .card__textbox{
    width: 100%;
    height: auto;
    padding: 48px 32px;
    background: #fff;
    box-sizing: border-box;
  }
  .card__textbox > * + *{
    margin-top: 16px;
  }
  .card__titletext{
    font-size: 20px;
    font-weight:  600;
    line-height: 125%;
    color: #E50012;
  }
  .card__subtitletext{
    font-size: 12px;
    font-weight:  600;
    line-height: 125%;
    color: #E50012;
  }
  .card__overviewtext{
    font-size: 16px;
    line-height: 180%;
  }

  .gray{
    margin-top: 60px;
    padding-top: 60px;
    background-color: #F7F7F7;
  }

/*---------------------------------------  smartphone ---------------------------------------*/
@media screen and (max-width : 780px ){
#wrapper {
    width: 100%;
}
header ul {
    padding: 5px 5px 0 0;
}
header ul li a {
    font-size: 14px;
}
#contents p {
    letter-spacing: 0.2em;
}
#main span {
    margin-top: -50px;
}
#main span img {
    height: 100px;
}
.laedtxt {
    width: 90%;
    margin: 0 auto;
    text-align: left;
}
.laedtxt p br {
    display: none;
}
.laedtxt p {
    padding-bottom: 30px;
    letter-spacing: 0.2em;
}
.subimag {
    max-width: auto;
    width: 90%;
    margin: 0 auto;
}
.service ul {
    width: 90%;
    text-align: center;
}
.service ul li {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    float: none;
}
.attention {
    width: 90%;
    margin: 0 auto;
}
.attention li {
    text-indent: -1em;
    padding-left: 1em;
    padding-bottom: 10px;
    letter-spacing: 0.2em;
}
.contact {
    padding: 100px 0;
}
.contact p a {
    font-weight: bold;
    letter-spacing: 0.2em;
    font-size: 24px;
    padding: 10px 40px;
    border: 1px solid #000;
}
.mobile {
    display: block;
}

.card-group{
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
  width: 90%;
  height: auto;
   /* ポイント１ */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}
/* ポイント２ */
.card-group > :nth-child(2n){
  margin-left: 20px;
}
/* ポイント３ */
.card-group > :nth-child(n+3){
  margin-top: 20px;
}
.card{
  /* ポイント４ */
  width: calc((100% - 20px * 1) / 2);
  height: auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,.2)
}
.card__imgframe{
  width: 100%;
  height: auto;
  padding-top: 56.25%;
  background: #bbb;
  box-sizing: border-box;
}
.card__textbox{
  width: 100%;
  height: auto;
  padding: 20px 18px;
  background: #fff;
  box-sizing: border-box;
}
.card__textbox > * + *{
  margin-top: 10px;
}
.card__titletext{
  font-size: 20px;
  font-weight: bold;
  line-height: 125%;
}
.card__overviewtext{
  font-size: 12px;
  line-height: 150%;
}
}