@charset "utf-8";

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * メイン
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
/* -------------------------------------------------------------------------------------------------
   * セクショニング
/* ---------------------------------------------------------------------------------------------- */

#main {}

#main .layout-body {
  overflow: hidden;
  background: #f5fafc;
}

#main .layout-body > .body {
  display: flex;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding: 70px 20px;
}

#main div.body {
  max-width: 1240px;
  padding:0 20px;
  margin: 0 auto;
}

#main .column ~ .column {
  margin-top: 40px;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:1100px) {
  /*ブラウザの幅が736px以下の時*/
  #main .layout-body > .body {
    display: block;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding: 70px 20px;
  }

 #main div.body {
   max-width: 100%;
   padding:0 20px;
   margin: 0 auto;
   }
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {

  #main .layout-body > .body {
    display: block;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px 20px;
  }

#main > .section {
  padding-top: 30px;
  padding-bottom: 30px;
}

#main .column ~ .column {
  margin-top: 20px;
}

}

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * メインコンテンツ
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * お問い合わせ
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */


/* ****************************************************************************************************
   * お問い合わせ一覧
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 共通
/* ------------------------------------------------------------------------------------------------- */

.contact {
  position: relative;
}

.contact .body {
  padding: 0;
}

/* ----------------------------------------------------------------------------------------------------
   * 内容
/* ------------------------------------------------------------------------------------------------- */

.contact .detail {
  position: relative;
  padding: 40px;
  border-radius: 20px;
  background: #fff;
  margin-top: 25px;
  box-shadow: 0px 0px 16px -6px rgba(0,0,0,0.6);
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  .contact .detail {
    position: relative;
    padding: 20px;
    border-radius: 20px;
    background: #fff;
    margin-top: 25px;
    box-shadow: 0px 0px 16px -6px rgba(0,0,0,0.6);
  }
}

/* ****************************************************************************************************
   * お電話でのお問い合わせ
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 電話番号
/* ------------------------------------------------------------------------------------------------- */

.contact .detail .contact-tel {
  text-align: center;
  margin-top: 20px;
}

.contact .detail .contact-tel span {
  position: relative;
}
.contact .detail .contact-tel span.js-tel {
  position: relative;
  color: #009fe8;
  font-size: 4.6rem;
  padding-left: 0.8em;
  line-height: 1.4;
  font-weight: bold;
}
.contact .detail .contact-tel span::before {
  content: "";
  display: block;
  background: url("../../_images/contact/tel-icon.png") no-repeat;
  width: 26px;
  height: 35px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:1100px) {
  /*ブラウザの幅が1100px以下の時*/
  .contact .detail .contact-tel span.js-tel {
    display: inline-block;
    font-size: 3.2rem;
  }
  .contact .detail .contact-tel span::before {
    content: "";
    display: block;
    background: url("../../_images/contact/tel-icon.png") no-repeat;
    width: 13px;
    height: 17px;
    background-size: 13px 17px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  .contact .detail .contact-tel span.js-tel {
    display: inline-block;
    font-size: 2.2rem;
  }
  .contact .detail .contact-tel span.js-tel a {
    color:#009fe8;
    text-decoration: underline;
  }
  .contact .detail .contact-tel span::before {
    content: "";
    display: block;
    background: url("../../_images/contact/tel-icon.png") no-repeat;
    width: 13px;
    height: 17px;
    background-size: 13px 17px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
}

/* ****************************************************************************************************
   * メールでのお問い合わせ
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * セクション
/* ------------------------------------------------------------------------------------------------- */

#contact-form {
  padding-top: 60px;
}

#contact-form .inner {
  position: relative;
  border-radius: 20px;
  background: #fff;
  margin-top: 25px;
  box-shadow: 0px 0px 16px -6px rgba(0,0,0,0.6);
}


/* ----------------------------------------------------------------------------------------------------
   * テキスト
/* ------------------------------------------------------------------------------------------------- */

/* プライバシーポリシー*/
.contact .message a {
  color: #009fe8;
  text-decoration: underline;
}

/* ----------------------------------------------------------------------------------------------------
   * 入力　確認　完了
/* ------------------------------------------------------------------------------------------------- */

#main *[class*="mwblock-"],
#main *[class*="mwinline-"] {
  display: none;
}

#main .mw_wp_form_preview .mwblock-preview {
  display: block;
  margin-top: 40px;
}

#main .mw_wp_form_input .mwblock-input {
  display: block;
  margin-top: 40px;
}

#main .mw_wp_form_input .mwblock-input .align-c a {
  text-decoration: underline;
  color: #bc2828;
}
#main .mw_wp_form_input .mwblock-input .align-c a:hover {
  text-decoration: none;
  color: #bc2828;
}

/* 必須*/
#main .mw_wp_form_input .mwblock-input span {
  display: inline-block;
  background: #bc2828;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1;
  padding: .25em 0.8em .3em;
}
/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:900px) {
  /*ブラウザの幅が736px以下の時*/
  /* 必須*/
  #main .mw_wp_form_input .mwblock-input span {
    display: inline-block;
    background: #bc2828;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1;
    padding: .25em 0.5em .3em;
  }
}


/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {

#main .mw_wp_form_preview .mwblock-preview {
  display: block;
}
#main .mw_wp_form_input .mwblock-input {
  display: block;
}

}

#main .mw_wp_form_preview .mwinline-preview {
  display: inline;
}

#main .mw_wp_form_input .mwinline-input {
  display: inline;
}


#main .mw_wp_form_input .mwblock-message a {
  color: #fe0002;
}
#main .mw_wp_form_input .mwblock-message a:hover {
  color: #fe0002;
  text-decoration: underline;
}

/* ----------------------------------------------------------------------------------------------------
   * 項目
/* ------------------------------------------------------------------------------------------------- */

#main input {
  max-width: 100%;
  border: 0;
  background: #f2f2f2;
  padding: 0.5em;
}

#main input[name="age"] {
  width: 8em;
}
#main input[name="zip"],
#main input[name="pref"],
#main input[name="year"] {
  width: 10em;
}

#main input[name="calendar1"],
#main input[name="calendar2"] {
  width: 15em;
}


#main input[name="tel"],
#main input[name="mtel"]{
  width: 60%;
}

#main input[name="namae"],
#main input[name="kana"] {
  width: 50%;
}

#main input[name="fax"],
#main input[name="type"] {
  width: /*15em*/80%;
}

#main input[name="email"],
#main input[name="email2"],
#main input[name="addr"],
#main input[name="addr1"],
#main input[name="addr2"],
#main input[name="company"],
#main input[name="busyo"] {
  width: /*25em*/80%;
}

#main select {
  appearance:auto;
  border: 0;
  padding: 0.8em;
  background: #f2f2f2;
  font-family: 'NotoSansCJKjp', "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
}
#main select[name="signature_year"],
#main select[name="signature_month"],
#main select[name="signature_day"] {
  width: 9em;
  margin-bottom: 0.5em;
  font-size: 1.6rem;
}

#main textarea {
  width: 100%;
  height: auto;
  border: 0;
  background: #f2f2f2;
}

#main table.default > tbody > tr > th[scope="row"] {
  text-align: left;
  padding: 20px 30px;
}

#main table.default tr[require] th {
  text-align: left;
  position: relative;
  vertical-align: middle;
}

#main .mw_wp_form_input [require] th::after {
  content: '必須';
  position: absolute;
  top: 50%;
  right: 20px;
  display: block;
  float: right;
  font-size: 1.4rem;
  font-weight: bold;
  width: 2.3em;
  text-align: center;
  text-indent: 0;
  line-height: 1;
  padding: .25em 10px;
  color: #fff;
  background: #bc2828;
  transform: translateY(-50%);
}

#main table.default tr.require th {
  text-align: left;
  position: relative;
  vertical-align: middle;
}

#main .mw_wp_form_input tr.require th::after {
  content: '必須';
  position: absolute;
  top: 50%;
  right: 20px;
  display: block;
  float: right;
  font-size: 1.4rem;
  font-weight: bold;
  width: 2.3em;
  text-align: center;
  text-indent: 0;
  line-height: 1;
  padding: .25em 10px;
  color: #fff;
  background: #bc2828;
  transform: translateY(-50%);
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:900px) {

table.default:not(.no-responsive),
table.default:not(.no-responsive) tbody,
table.default:not(.no-responsive) tr,
table.default:not(.no-responsive) tr > * {
  width: 100%;
  display: block;
}

#main input[name="zip"],
#main input[name="age"] {
  width: 90%;
}


#main input[name="year"] {
  width: 60%;
}

#main input[name="namae"],
#main input[name="kana"],
#main input[name="fax"] {
  width: 100%;
}
#main input[name="email"],
#main input[name="email2"],
#main input[name="addr"],
#main input[name="addr1"],
#main input[name="addr2"]
#main input[name="addr2"],
#main input[name="company"],
#main input[name="busyo"] {
  width: 100%;
}

#main textarea {
  width: 100%;
}

#main table.default > tbody > tr > th[scope="row"] {
  text-align: left;
  padding: 10px;
}

.mwform-checkbox-field label, .mwform-radio-field label {
  display: block;
}
.mw_wp_form .horizontal-item + .horizontal-item {
  margin-left: 0 !important;
  display: block;
}

#main .mw_wp_form_input [require] th::after {
  content: '必須';
  position: absolute;
  top: 50%;
  right: 10px;
  display: block;
  float: right;
  font-size: 1.2rem;
  font-weight: bold;
  width: 2.3em;
  text-align: center;
  text-indent: 0;
  line-height: 1;
  padding: .25em 5px;
  color: #fff;
  background: #bc2828;
  transform: translateY(-50%);
}

#main .mw_wp_form_input tr.require th::after {
  content: '必須';
  position: absolute;
  top: 50%;
  right: 10px;
  display: block;
  float: right;
  font-size: 1.2rem;
  font-weight: bold;
  width: 2.3em;
  text-align: center;
  text-indent: 0;
  line-height: 1;
  padding: .25em 5px;
  color: #fff;
  background: #bc2828;
  transform: translateY(-50%);
}

}

/* ****************************************************************************************************
   * フォームボタン
**************************************************************************************************** */
/* ----------------------------------------------------------------------------------------------------
   * 確認画面へ進む / 送信する
/* ------------------------------------------------------------------------------------------------- */

#main .form-button {
  margin-top: 40px;
  text-align: center;
}
#main .form-button > * {
  display: inline-block;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

#contact-form .form {
  position: relative;
  width: 280px;
  transform: rotate(0.05deg);
  background: #8dc21f;
  text-align: center;
  border-radius: 5px;
  color:#fff;
  font-weight: bold;
  display: block;
  padding:20px;
  transition: 0.3s;
}
#contact-form .form:hover {
  opacity: 0.7;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:1100px) {

#contact-form .form-button {
  display: block;
  padding: 0;
}
#contact-form .form {
  width: auto;
  padding: 10px 2em;
}
}


/* ----------------------------------------------------------------------------------------------------
   * 戻る
/* ------------------------------------------------------------------------------------------------- */

#main .form-button .form.back {
  background: none;
  padding: 20px;
  color: #111;
  text-decoration: underline;
}

#main .form-button .form.back:hover {
  text-decoration: none;
}


/* ----------------------------------------------------------------------------------------------------
   * ホームへ戻る
/* ------------------------------------------------------------------------------------------------- */

#contact-form .btn {
  position: relative;
  width: 280px;
  background: #ea5714;
  color:#fff;
  display: block;
  padding:20px;
  margin: 0 auto;
}
#contact-form .btn::after {
  content: '';
  width: 7px;
  height: 7px;
  border: 0px;
  border-top: solid 3px #fff;
  border-right: solid 3px #fff;
  -ms-transform: rotate(225deg);
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
  position: absolute;
  top: 50%;
  left: 30px;
  margin-top: -5px;
  transition: 0.2s left;
}
#contact-form .btn:hover:after {
  left: 1.0em;
}

/* ----------------------------------------------------------------------------------------------------
   * テーブル
/* ------------------------------------------------------------------------------------------------- */

table.radius {
  width: 100%;
  border-collapse: separate;
  border-radius: 20px;
  box-shadow: 0px 0px 16px -6px rgba(0,0,0,0.6);
}
table.radius th {}
table.radius td {}

table.radius tbody tr:first-child th {
  border-radius:20px 0 0 0;
}
table.radius tbody tr:first-child td {
  border-radius:0 20px 0 0;
}

table.radius tbody tr:last-child th {
  border-radius:0 0 0 20px; 
}
table.radius tbody tr:last-child td:last-child {
  border-radius:0 0 20px 0; 
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:736px) {
  /*ブラウザの幅が736px以下の時*/
  table.radius tbody tr:first-child th {
    border-radius:20px 20px 0 0;
  }
  table.radius tbody tr:first-child td {
    border-radius:0 0 0 0;
  }
  
  table.radius tbody tr:last-child th {
    border-radius:0 0 0 0; 
  }
  table.radius tbody tr:last-child td:last-child {
    border-radius:0 0 20px 20px; 
  }
}
