/*
* 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: #333333;
  text-align: center;
  line-height: 1;
  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 {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
}

a {
  color: #333333;
  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 {
    opacity: 1;
    filter: alpha(opacity=100);
    -ms-filter: "alpha(opacity=100)";
    zoom: 1;
    transition: opacity 0.5s ease;
  }

  a:hover {
    opacity: 0.8;
  }

  /* ヘッダー
  ---------------------------------------------------------- */
  header {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 1100px;
    height: 80px;
    margin: 0 auto;
    background-color: #ffffff;
  }
  header > .inner {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0 0 20px;
  }
  header > .inner > a.logo {
    display: block;
    width: 247px;
  }
  header nav {
    position: absolute;
    top: 15px;
    right: 40px;
    display: flex;
  }
  header nav > ul {
    display: flex;
    margin-top: 13px;
  }
  header nav > ul > li {
    margin-right: 30px;
  }
  header nav > ul > li > a {
    padding-bottom: 25px;
    font-size: 14px;
    font-weight: 700;
    line-height: 2.3;
  }
  header nav > ul > li > a:hover {
    border-bottom: 1px solid #468876;
  }
  header nav > a {
    display: block;
    width: 150px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 100vh;
  }
  header nav > a:nth-of-type(1) {
    margin-right: 20px;
    color: #ffffff;
    background-color: #468876;
  }
  header nav > a:nth-of-type(2) {
    position: relative;
    color: #468876;
    border: 1px solid #468876;
  }
  header nav > a:nth-of-type(2)::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 17px;
    margin: auto;
    width: 13px;
    height: 13px;
    background: url(../images/common/menu_link.webp) center center no-repeat;
    background-size: 13px;
  }

  /* kv_sub サブページ
  ---------------------------------------------------------- */
  #kv_sub {
    width: 100%;
    margin: 0 auto;
    padding-top: 170px;
  }
  #kv_sub > h1,
  #kv_sub > p.title_en {
    width: 84%;
    margin: 0 auto;
    font-size: 40px;
    font-weight: 700;
    text-align: left;
    letter-spacing: 0.1em;
  }
  #kv_sub > p.title_en {
    margin-top: 15px;
    font-size: 18px;
  }
  #kv_sub > div {
    width: 100%;
    margin: 15px auto 0;
    padding-left: 8%;
  }
  #kv_sub > p.pankuzu {
    position: absolute;
    top: 95px;
    left: 0;
    right: 0;
    width: 94%;
    margin: 0 auto;
    font-size: 14px;
    text-align: left;
  }


  /* フッター
  ----------------------------------------------------------*/
  footer {
    width: 100%;
    height: 460px;
    margin: 120px auto 0;
    background: url(../images/common/footer_bg.webp) top center no-repeat;
    background-size: cover;
  }
  footer > div {
    position: relative;
    width: 90%;
    max-width: 1040px;
    height: 460px;
    margin: 0 auto;
    padding: 90px 0 0 0;
    text-align: left;
  }
  footer > div > a.logo {
    display: block;
    width: 403px;
    margin: 0;
  }
  footer > div > p.txt {
    margin: 40px 0 0 0;
    font-size: 12px;
    line-height: 1.7;
  }
  footer > div > div {
    position: absolute;
    top: 100px;
    right: 40px;
    width: 400px;
    display: flex;
  }
  footer > div > div > ul:nth-of-type(1) {
    width: 250px;
  }
  footer > div > div > ul:nth-of-type(2) {
    width: 150px;
  }
  footer > div > div > ul > li {
    margin-bottom: 30px;
    font-size: 14px;
  }
  footer > div > div > ul > li > a {
    position: relative;
  }
  footer > div > div > ul > li > a.link::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -20px;
    margin: auto;
    width: 13px;
    height: 13px;
    background: url(../images/common/footer_icon_link.webp) center center no-repeat;
    background-size: 13px;
  }
  footer > div > p.copyright {
    position: absolute;
    bottom: 50px;
    right: 40px;
    font-size: 10px;
  }
}

@media (min-width: 768px) and (max-width: 1310px) {

  header nav {
    justify-content: space-between;
    width: 72%;
    right: 10px;
  }
  header nav > ul {
    justify-content: space-between;
    width: 95%;
    right: 10px;
  }
  header nav > ul > li {
    margin-right: 0;
  }
  header nav > a {
    width: 150px;
    font-size: 14px;
  }
  header nav > a:nth-of-type(1) {
    margin-left: 20px;
    margin-right: 10px;
  }
  header nav > a:nth-of-type(2)::before {
    right: 5px;
    width: 10px;
    height: 10px;
    background: url(../images/common/menu_link.webp) center center no-repeat;
    background-size: 10px;
  }
}

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

  #wrapper {
    background-image: url('../images/bg_sp.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
  }

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


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

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


  /* ヘッダー
  ---------------------------------------------------------- */
  header {
    position: fixed;
    z-index:99998;
    width: 100%;
    height: 50px;
    margin: 0 auto;
    padding: 10px 0 0 10px;
    background-color: #ffffff;
  }
  header a.logo {
    position: relative;
    z-index:99998;
    display: block;
    width: 195px;
    margin: 0;
  }
  header #nav-btn {
    position: absolute;
    z-index:99998;
    top: 13px;
    right: 20px;
    width: 36px;
  }
  header .nav-wrap {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width:100%;
    height: 100%;
    z-index:99997;
    padding-top: 80px;
    background-image: url(../images/common/menu_bg02_sp.webp), url(../images/common/menu_bg01_sp.webp);
    background-position: bottom center, top center;
    background-repeat: no-repeat, no-repeat;
    background-size: 100%, 100%;
    background-color: #ffffff;
  }
  header .nav-wrap > nav {
    width: 100%;
    height: 100%;
    overflow-y: auto;
  }
  header .nav-wrap > nav > ul > li {
    width: 100%;
    margin: 0 auto 15px;
  }
  header .nav-wrap > nav > ul > li > a {
    display: block;
    width: 160px;
    margin: 0 auto;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #C3BFB7;
  }
  header .nav-wrap > nav > a {
    display: block;
    width: 295px;
    height: 50px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 100vh;
  }
  header .nav-wrap > nav > a:nth-of-type(1) {
    margin-top: 30px;
    color: #ffffff;
    background-color: #468876;
  }
  header .nav-wrap > nav > a:nth-of-type(2) {
    position: relative;
    margin-top: 10px;
    color: #468876;
    border: 1px solid #468876;
  }
  header .nav-wrap > nav > a:nth-of-type(2)::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 17px;
    margin: auto;
    width: 13px;
    height: 13px;
    background: url(../images/common/menu_link.webp) center center no-repeat;
    background-size: 13px;
  }
  .nav-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0;
  }


  /* kv_sub サブページ
  ---------------------------------------------------------- */
  #kv_sub {
    width: 100%;
    margin: 0 auto;
    padding-top: 75px;
  }
  #kv_sub > h1,
  #kv_sub > p.title_en {
    width: 90%;
    margin: 0 auto;
    font-size: 22px;
    font-weight: 700;
    text-align: left;
    letter-spacing: 0.1em;
  }
  #kv_sub > p.title_en {
    margin-top: 10px;
    font-size: 12px;
  }
  #kv_sub > div {
    width: 100%;
    margin: 15px auto 0;
    padding-left: 5%;
  }
  #kv_sub > p.pankuzu {
    width: 90%;
    margin: 10px auto 0;
    font-size: 12px;
    text-align: right;
    line-height: 1.6;
  }


  /* フッター
  ----------------------------------------------------------*/
  footer {
    width: 100%;
    margin: 80px auto 0;
    background: url(../images/common/footer_bg_sp.webp) top center no-repeat;
    background-size: cover;
  }
  footer > div {
    position: relative;
    width: 90%;
    margin: 0 auto;
    padding: 50px 0;
    text-align: left;
  }
  footer > div > a.logo {
    display: block;
    width: 253px;
    margin: 0;
  }
  footer > div > p.txt {
    margin: 20px 0 0 0;
    font-size: 12px;
    line-height: 1.7;
  }
  footer > div > p.copyright {
    margin: 35px 0 0 0;
    font-size: 10px;
    color: #7B7B7B;
  }

}

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