/*
* cmn_layout.css
*
*/

body {
  font-family: 'Noto Sans JP', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, Verdana, sans-serif;
  -webkit-text-size-adjust: 100%;
  background: #fff;
  font-size: 16px;
  color: #000;
  text-align: center;
  line-height: 160%;
  word-wrap: break-word;
}

@media all and (-ms-high-contrast:none) {
  body {
    font-family: 'Noto Sans JP', "メイリオ", Meiryo, "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  }
}

#wrapper,
#contents {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

#wrapper {
  overflow: hidden;
}

a {
  color: #000;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  margin: auto;
}

/*===============================================
●画面の横幅が769px以上(タブレット・PC)
===============================================*/
@media screen and (min-width: 769px) {

  #wrapper {
    min-width: 1100px;
  }

  /* !共通
  ---------------------------------------------------------- */
  .sp-only {
    display: none !important;
  }

  a:hover {
    opacity: 0.8;
  }

  .list-flex {
    display: -webkit-box !important;
    display: -moz-box !important;
    display: -ms-box !important;
    display: -webkit-flexbox !important;
    display: -moz-flexbox !important;
    display: -ms-flexbox !important;
    display: -webkit-flex !important;
    display: -moz-flex !important;
    display: -ms-flex !important;
    display: flex !important;
    -webkit-box-lines: multiple !important;
    -moz-box-lines: multiple !important;
    -webkit-flex-wrap: wrap !important;
    -moz-flex-wrap: wrap !important;
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
  }

  /* ヘッダー
  ---------------------------------------------------------- */
  header {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color: #F7F2E4;
  }

  header > a.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    display: block;
    width: 14%;
  }

  header > h1 {
    width: 100%;
    margin: 0 auto;
  }

  header > a.kv-btn {
    position: absolute;
    bottom: 5.5%;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: block;
    width: 35.5%;
  }


  /* コンテンツ部分
  ---------------------------------------------------------- */
  #contents {
    position: relative;
    z-index: 1;
    width: 100%;

  }

  a {
    opacity: 1;
    filter: alpha(opacity=100);
    -ms-filter: "alpha(opacity=100)";
    zoom: 1;
    transition: opacity 0.5s ease;
  }

  /* box01
  ---------------------------------------------------------- */
  #box01 {
    width: 100%;
    margin: 0 auto;
    padding: 50px 0 60px 0;
    background-color: #E9F4F5;
  }

  #box01 > img {
    width: 818px;
    margin: 0 auto;
  }

  #box01 > div {
    width: 680px;
    margin: 65px auto 0 auto;
    text-align: left;
  }

  #box01 > div > a {
    display: block;
    width: 321px;
    margin: 0;
  }

  #box01 > div > a:nth-of-type(1) {
    margin-right: 38px;
  }

  /* house
  ---------------------------------------------------------- */
  .house {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 55px 0;
    background-color: #62B5B9;
  }

  #house02 {
    padding: 0 0 80px 0;
    background-color: #E6934A;
  }

  .house > div.top {
    position: relative;
    width: 920px;
    margin: 0 auto;
    padding: 80px 0 0 0;
  }

  .house > div.top > img.title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
  }

  .house > div.top > img.txt {
    width: 613px;
    margin: 0 auto;
  }

  #house02 > div.top > img.txt {
    width: 564px;
  }

  .house > ul {
    width: 920px;
    margin: 20px auto 0 auto;
  }

  .house > ul > li {
    width: 455px;
    margin: 0 0 10px 0;
  }

  .house > ul > li:nth-of-type(2n) {
    margin-left: 10px;
  }

  .house > div.btn {
    width: 400px;
    margin: 60px auto 0 auto;
  }

  .house > div.btn > img {
    width: 305px;
    margin: 0 auto;
  }

  .house > div.btn > a {
    display: block;
    width: 400px;
    margin: 15px auto 0 auto;
  }

  /* box02
  ---------------------------------------------------------- */
  #box02 {
    width: 100%;
    margin: 100px auto 0 auto;
  }

  /* present
  ---------------------------------------------------------- */
  #present {
    width: 100%;
    margin: 100px auto 0 auto;
    background-color: #E0EDEC;
  }

  #present > div {
    position: relative;
    width: 960px;
    margin: 0 auto;
    padding: 65px 0 40px 0;
  }

  #present > div > img.present {
    width: 758px;
    margin: 0 auto;
  }

  #present > div > img.sankaku {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 80px;
  }

  /* フッター
  ----------------------------------------------------------*/
  footer {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 60px 0 90px 0;
    color: #fff;
    background-color: #333333;
  }

  footer > div {
    position: relative;
    width: 90%;
    max-width: 1020px;
    margin: 0 auto;
    text-align: left;
  }

  footer > div > a.logo {
    display: block;
    width: 300px;
    margin: 0;
  }

  footer > div > p.txt {
    margin: 50px 0 0 0;
    font-size: 14px;
    line-height: 2.2;
  }

  footer > div > p > span {
    margin: 0 10px;
  }

  footer > div > p.copyright {
    position: absolute;
    bottom: -5px;
    right: 0;
    font-size: 10px;
    line-height: 1;
  }

}


/*===============================================
●画面の横幅が768px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 768px) {


  /* !共通
  ---------------------------------------------------------- */
  .pc-only {
    display: none !important;
  }

  .sp-list-flex {
    display: -webkit-box !important;
    display: -moz-box !important;
    display: -ms-box !important;
    display: -webkit-flexbox !important;
    display: -moz-flexbox !important;
    display: -ms-flexbox !important;
    display: -webkit-flex !important;
    display: -moz-flex !important;
    display: -ms-flex !important;
    display: flex !important;
    -webkit-box-lines: multiple !important;
    -moz-box-lines: multiple !important;
    -webkit-flex-wrap: wrap !important;
    -moz-flex-wrap: wrap !important;
    -ms-flex-wrap: wrap !important;
    flex-wrap: wrap !important;
  }

  .line {
    margin: 50px auto 0 auto;
  }

  /*------------------------------------
  clearfix
  --------------------------------------*/
  .clearfix-sp {
    zoom: 1;
    overflow: hidden;
  }

  .clearfix-sp:after {
    content: " ";
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    line-height: 0;
  }


  /* ヘッダー
  ---------------------------------------------------------- */
  header {
    position: relative;
    width: 100%;
    margin: 0 auto;
  }

  header>a.logo {
    position: absolute;
    top: 4%;
    left: 4%;
    display: block;
    width: 43%;
    margin: 0 auto;
  }

  header > h1 {
    width: 100%;
    margin: 0 auto;
  }

  header > a.kv-btn {
    position: absolute;
    bottom: 5%;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: block;
    width: 90%;
  }


  /* box01
  ---------------------------------------------------------- */
  #box01 {
    width: 100%;
    margin: 0 auto;
    padding: 35px 0 15% 0;
    background-color: #E9F4F5;
  }

  #box01 > img {
    width: 90%;
    margin: 0 auto;
  }

  #box01 > div {
    width: 90%;
    margin: 30px auto 0 auto;
    text-align: left;
  }

  #box01 > div > a {
    display: block;
    width: 47%;
    margin: 0;
  }

  #box01 > div > a:nth-of-type(1) {
    margin-right: 6%;
  }

  /* house
  ---------------------------------------------------------- */
  .house {
    width: 100%;
    margin: 0 auto;
    padding: 0 0 18% 0;
    background-color: #62B5B9;
  }

  #house02 {
    padding: 0 0 50px 0;
    background-color: #E6934A;
  }

  .house > div.top {
    position: relative;
    width: 90%;
    margin: 0 auto;
    padding: 16% 0 0 0;
  }

  .house > div.top > img.title {
    position: absolute;
    top: -7%;
    left: 0;
    width: 17%;
  }

  .house > div.top > img.txt {
    width: 100%;
    margin: 0 auto;
  }

  .house > ul {
    width: 90%;
    margin: 0 auto;
  }

  .house > ul > li {
    width: 100%;
    margin: 20px auto 0 auto;
  }

  .house > div.btn {
    width: 70%;
    margin: 30px auto 0 auto;
  }

  .house > div.btn > img {
    width: 80%;
    margin: 0 auto;
  }

  .house > div.btn > a {
    display: block;
    width: 100%;
    margin: 10px auto 0 auto;
  }

  /* box02
  ---------------------------------------------------------- */
  #box02 {
    width: 90%;
    margin: 70px auto 0 auto;
  }

  /* present
  ---------------------------------------------------------- */
  #present {
    position: relative;
    width: 100%;
    margin: 65px auto 0 auto;
  }

  #present > div > img.present {
    width: 100%;
    margin: 0 auto;
  }

  /* フッター
  ----------------------------------------------------------*/
  footer {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 60px 0 50px 0;
    color: #fff;
    background-color: #333333;
  }

  footer > div {
    position: relative;
    width: 90%;
    margin: 0 auto;
    text-align: left;
  }

  footer > div > a.logo {
    display: block;
    width: 240px;
    margin: 0;
  }

  footer > div > p.txt {
    margin: 36px 0 0 0;
    font-size: 12px;
    line-height: 2.5;
  }

  footer > div > p.copyright {
    margin: 34px 0 0 0;
    font-size: 12px;
    line-height: 1;
  }

}

/*===============================================
●画面の横幅が360px以下(スマホのみ)
===============================================*/
@media screen and (max-width: 360px) {}



/* 終了対応 */
.end-message {
  text-align: center;
  color: white;
  background: red;
  padding: 0.8rem;
  font-weight: bold;
}

.end-message>.sp {
  display: none;
}

@media screen and (max-width: 666px) {
  .end-message {
    padding: 0.5rem;
  }

  .end-message>.sp {
    display: block;
  }
}


