@charset "utf-8";

/** ***************************************************************************
 * 全体
 * ************************************************************************* */

body {
  color: #190a02;
  font: 12px / 1.6875 'Noto Sans JP', sans-serif;/*8px*/
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}

a {
  color: inherit;
}

a:where([href]) {
  transition: color 0.3s ease-in-out 0.0s;
  color: rgba(var(--color-link-1), 1.0);
}

a:where([href]):hover {
  color: rgba(var(--color-link-1), 0.6);
  text-decoration: none;
}

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

  html, body {
    scrollbar-width: thin;
  }

  body {
    font-size: 16px;
  }

}

/**
 * レイアウト用
 */

div.body {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

  a[href*="tel:"] {
    color: inherit;
    cursor: default;
    text-decoration: none;
    pointer-events: none;
  }

}

/** ***************************************************************************
 * ヘッダー
 * ************************************************************************* */

#header {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: rgba(255, 255, 255, 0.9);
}

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

  #header {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  #header div.body {
    max-width: 1060px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

}

/**
 * ロゴ
 */

#header .logo {
  width: 35px;
}

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

  #header .logo {
    width: auto;
  }

}

/**
 * 内容
 */

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

  #header div.header {
    flex-grow: 1;
  }

}

/** ***************************************************************************
 * グローバルナビ
 * ************************************************************************* */

/** ---------------------------------------------------------------------------
 * SP表示
 */

@media screen and (max-width:767px) {

  #global-nav {
    width: 65vw;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    z-index: 1;
    top: 0;
    transition:
      visibility 0.3s ease-in-out 0.0s,
      opacity 0.3s ease-in-out 0.0s,
      right 0.0s ease-in-out 0.3s;
    visibility: hidden;
    opacity: 0;
    right: -65vw;
  }

  body.global-nav-active
  #global-nav {
    transition:
      visibility 0.3s ease-in-out 0.0s,
      opacity 0.3s ease-in-out 0.0s,
      right 0.3s ease-in-out 0.0s;
    visibility: visible;
    opacity: 1;
    right: 0;
  }

  #global-nav::after {
    content: '';
    height: 100%;
    background-color: rgb(var(--color-corporate-1));
    position: absolute;
    z-index: 1;
    top: 0;
    right: 65vw;
    transition: width 0.3s ease-in-out 0.15s;
    width: 0;
  }

  body.global-nav-active
  #global-nav::after {
    width: 35vw;
  }

  #global-nav div.contents {
    height: 100%;
    padding: 60px 15px 100px;
    font-size: 14px;
    overflow: hidden;
    overflow-y: visible;
  }

  /**
   * リスト
   */

  #global-nav ul.list li {
    border-top: 1px solid #e7e1dc;
    border-bottom: 1px solid #e7e1dc;
  }

  #global-nav ul.list li ~ li {
    border-top: none;
  }

  #global-nav ul.list li a {
    padding: 0.625em 0.5em;
    color: inherit;
    text-decoration: none;
    display: block;
  }

}

/** ---------------------------------------------------------------------------
 * PC表示
 */

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

  #global-nav div.contents {
    font-size: 15px;/*13px*/
    font-weight: 500;
  }

  /**
   * リスト
   */

  #global-nav ul.list {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
  }

  #global-nav ul.list li {
    margin-left: 1.75em;
  }

  #global-nav ul.list li a {
    height: 100%;
    padding: 0.25em;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease-in-out 0.0s;
    border-color: rgba(25, 10, 2, 0.0);
  }

  #global-nav ul.list li a:hover {
    border-color: rgba(25, 10, 2, 1.0);
  }

}

/** ***************************************************************************
 * ハンバーガー
 * ************************************************************************* */

#header div.drawer {
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 10;
  top: 12px;
  right: 12px;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: rgba(var(--color-corporate-1), 0.0);
}

body.scroll-active
#header div.drawer {
  background-color: rgba(var(--color-corporate-1), 1.0);
}

body.global-nav-active
#header div.drawer {
  background-color: rgba(var(--color-corporate-1), 0.0);
}

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

  #header div.drawer {
    display: none;
  }

}

/**
 * ライン
 */

#header div.drawer div.line {
  width: 70%;
  height: 16px;
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}

#header div.drawer i {
  width: 100%;
  border-top: solid;
  border-bottom: solid;
  transform-origin: center center;
  transition:
    border 0.3s ease-in-out 0.0s,
    transform 0.3s ease-in-out 0.0s;
  transform: rotate(0) translate(0);
  border-color: rgb(var(--color-corporate-1));
  border-width: 2px;
}

body.scroll-active
#header div.drawer i {
  border-color: #fff;
}

body.global-nav-active
#header div.drawer i {
  border-width: 1px;
  border-color: rgb(var(--color-corporate-1));
}

/* 上 */

body.global-nav-active
#header div.drawer i:nth-child(1) {
  transform: rotate(315deg) translate(-5px, 5px);
}

/* 中 */

body.global-nav-active
#header div.drawer i:nth-child(2) {
  transform: translateX(50vw);
}

/* 下 */

body.global-nav-active
#header div.drawer i:nth-child(3) {
  transform: rotate(-315deg) translate(-5px, -5px);
}

/** ***************************************************************************
 * メイン
 * ************************************************************************* */

#main {
  padding-top: 45px;
  padding-bottom: 60px;
}

#main div.body {
  max-width: 1060px;
}

/**
 * セクショニング
 */

#main :where(.section) ~ .section {
  margin-top: 60px;
}

#main :where(.column) ~ .column {
  margin-top: 40px;
}

#main :where(.block) ~ .block {
  margin-top: 25px;
}

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

  #main {
    padding-top: 90px;
    padding-bottom: 110px;
  }

  #main :where(.section) ~ .section {
    margin-top: 120px;/*026.2.26 90px*/
  }

  #main :where(.column) ~ .column {
    margin-top: 60px;
  }

  #main :where(.block) ~ .block {
    margin-top: 30px;
  }

}

/** ***************************************************************************
 * フッター
 * ************************************************************************* */

#footer {
  padding-top: 30px;
  padding-bottom: 30px;
  color: #fff;
  background-color: rgb(var(--color-accent-1));
}

#footer div.body {
  max-width: 1060px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

#footer a {
  color: inherit;
}

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

  #footer {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  #footer div.body {
    flex-direction: row;
    position: relative;
    z-index: 0;
  }

}

/**
 * ロゴ
 */

#footer .logo {
  width: 52px;
  order: 2;
}

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

  #footer .logo {
    width: unset;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: 30px;
    padding-left: 90px;
    padding-right: 90px;
    order: 3;
  }

}

/**
 * アドレス
 */

#footer div.address {
  margin-top: 20px;
  order: 3;
}

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

  #footer div.address {
    margin-top: 0;
    margin-left: 7.35%;
    padding-left: 7.35%;
    border-left: 2px solid #fff;
    font-size: 1.0em;/*0.8em 0.75em*/
    order: 2;
  }

}

/**
 * ナビ
 */

#footer ul.nav {
  margin-bottom: 20px;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  order: 1;
}

#footer ul.nav li {
  margin: 0.25em 0.5em;
  font-size:1.2em;
}

#footer ul.nav li a {
  padding: 0.25em;
  text-decoration: none;
  border-bottom: 1px dotted;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  transition: border-color 0.3s ease-in-out 0.0s;
  border-color: rgba(255, 255, 255, 0.0);
}

#footer ul.nav li a:hover {
  border-color: rgba(255, 255, 255, 1.0);
}

#footer ul.nav li a::before {
  content: '';
  height: 1em;
  margin-right: 0.5em;
  border-right: 2px solid #fff;
}

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

  #footer ul.nav {
    margin-bottom: 0;
    font-size: 0.85em;/*0.75em*/
    display: block;
  }

  #footer ul.nav li a::before {
    content: none;
  }

}

/**
 * コピーライト
 */

#footer div.copyright {
  margin-top: 25px;
  line-height: 1.2;
  font-size: 0.8em;/*0.625em*/
  order: 4;
}

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

  #footer div.copyright {
    margin-top: 0;
    position: absolute;
    z-index: 1;
    right: 20px;
    bottom: 0;
  }

}
