@charset "utf-8";

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

html {
  container-type: inline-size;
}

body {
  color: rgb(var(--color-basic));
  font: 14px / 1.6 'Noto Serif JP', serif;
  font-style: normal;
  font-weight: 400;
  position: relative;
  z-index: 0;
}

a:not([href]) {
  color: #999;
}

:where(a[href]) {
  color: rgb(var(--color-basic));
}

:where(a[href]:hover) {
  text-decoration: none;
}

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

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

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

  div.body {
    padding-left: 30px;
    padding-right: 30px;
  }

}

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

#header {
  width: 100%;
  padding: 15px 0 10px;
  background-color: #fff;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
}

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

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

  #header {
    padding: 25px 0 15px;
  }

  #header div.body {
    align-items: center;
  }

}

/**
 * ロゴ
 */

#header .title {
  line-height: 1;
  font-size: 0.75em;
  font-weight: 500;
  text-align: right;
}
#header .title a {
  text-decoration: none;
}
#header .title img {
  width: 155px;
  margin-bottom: 8px;
  display: block;
}

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

  #header .title {
    font-size: 1.375em;
  }
  #header .title a {
    text-decoration: none;
  }

  #header .title img {
    width: 197px;
    margin-right: 10px;
    margin-bottom: unset;
    display: inline-block;
  }

}

/**
 * テキスト
 */

#header div.text {
  margin-left: auto;
  margin-right: 0;
  letter-spacing: 1px;
  line-height: 1;
  font-size: 1.375em;
  align-self: flex-end;
  display: none;
}

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

  #header div.text {
    display: block;
  }

}

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

#header div.drawer {
  width: 50px;
  height: 40px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  top: -10px;
  right: -10px;
}

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

  #header div.drawer {
    top: 0;
  }

}

/**
 * ライン
 */

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

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

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

/* 上 */

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

/* 中 */

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(-325deg) translate(-5px, -6px);
}

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

#global-nav {
  width: 100%;
  max-width: 375px;
  height: 100dvh;
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #b5b0ac;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 100%;
  transition:
    transform 0.0s ease-in-out 0.3s,
    opacity 0.3s ease-in-out 0.0s;
  transform: translateX(0);
  opacity: 0;
}

body.global-nav-active
#global-nav {
  transition:
    transform 0.4s ease-in-out 0.0s,
    opacity 0.4s ease-in-out 0.0s;
  transform: translateX(-100%);
  opacity: 1;
}

#global-nav::after {
  content: '';
  width: 64px;
  height: 100%;
  background: url("../_image/_common/logo-suncradle-2.svg") 0 0 / 100% auto no-repeat;
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
}

#global-nav div.contents {
  height: 100%;
  padding: 80px 20px;
  overflow: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/**
 * ナビ
 */

#global-nav ul.nav {
  color: #fff;
  letter-spacing: 1px;
  font-size: 1.125em;
}

#global-nav ul.nav li {
  text-align: center;
}

#global-nav ul.nav li a {
  padding: 0.5em;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease-in-out 0.0s;
  color: inherit;
}
/*リンク先無し*/
#global-nav ul.nav li a.nolink,
#global-nav ul.nav li a.nolink:hover {
  color: #938b84;
}

#global-nav ul.nav li a:hover {
  color: rgba(255, 255, 255, 0.5);
}

#global-nav ul.nav li.current a {
  color: rgb(var(--color-basic));
}

/**
 * ボタン
 */

#global-nav div.button a {
  margin: 15px 0;
}

/**
 * ロゴ
 */

#global-nav div.logo {
  width: 166px;
}

/** ***************************************************************************
 * ビジュアル
 * ************************************************************************* */

body.layout-lower
#visual div.body {
}

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

/**
 * xxxxxxx
 */

#header div.xxxxxxx {
}

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

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

#main {
  text-align: justify;
  text-justify: inter-character;
  overflow: hidden;
}

#main div.body {
  max-width: 1400px;
  padding-left: 15px;
  padding-right: 15px;
}

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

  #main div.body {
    padding-left: min(7.143vw, 100px);
    padding-right: min(7.143vw, 100px);
  }

}

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

body.layout-lower
:where(#main .section ~ .section) {
  margin-top: 80px;
}

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

body.layout-lower
:where(#main .block ~ .block) {
  margin-top: 20px;
}

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

  body.layout-lower
  :where(#main .section ~ .section) {
    margin-top: 160px;
  }

  body.layout-lower
  :where(#main .column ~ .column) {
    margin-top: 80px;
  }

  body.layout-lower
  :where(#main .block ~ .block) {
    margin-top: 40px;
  }

}

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

#footer div.body {
  max-width: 1400px;
  padding-left: 20px;
  padding-right: 20px;
}

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

  #footer div.body {
    padding-left: 50px;
    padding-right: 50px;
  }

}

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

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

:where(#footer .block ~ .block) {
  margin-top: 20px;
}

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

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

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

}

/** ---------------------------------------------------------------------------
 * コンテンツ
 */

#footer div.contents {
  padding: 40px 0;
  color: #fff;
  font-weight: 500;
  position: relative;
  z-index: 0;
}

#footer div.contents::after {
  content: '';
  width: var(--innerWidth);
  max-width: none;
  height: 100%;
  background-color: #a39c97;
  position: absolute;
  z-index: -1;
  top: 0;
  left: var(--innerCenter);
}

#footer div.contents a {
  color: inherit;
}

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

  #footer div.contents {
    padding: 60px 0;
  }

}

/**
 * バナー
 */

#footer div.contents div.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#footer div.contents div.banner > * {
  margin: 5px;
}

/**
 * ボタン
 */

#footer div.contents div.button {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#footer div.contents div.button > * {
  margin: 5px;
}

/**
 * お問い合わせ
 */

/* タイトル */

#footer div.contents div.contact .title {
  font-size: 1.125em;
  text-align: center;
}

/* 電話 */

#footer div.contents div.contact .tel {
  margin-top: 0.5em;
  text-align: center;
}

#footer div.contents div.contact .tel a {
  line-height: 1;
  font-size: 2.5em;
}

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

  #footer div.contents div.contact .tel {
    font-size: 1.25em;
  }

}

/* 営業時間 */

#footer div.contents div.contact .time {
  margin-top: 0.5em;
  text-align: center;
}

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

#footer div.footer {
  margin-top: 30px;
  padding: 25px 0 30px;
  border-top: 1px solid #c9ced1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

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

  #footer div.footer {
    margin-top: 40px;
    padding: 30px 0 50px;
  }

}

/**
 * 事業主
 */

#footer div.footer div.owner dl.list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px 0;
}

#footer div.footer div.owner dl.list div.item {
  flex-shrink: 0;
}

#footer div.footer div.owner dl.list dt {
  margin-bottom: 5px;
  font-size: 0.75em;
}

#footer div.footer div.owner dl.list dd img {
  height: 25px;
}

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

  #footer div.footer div.owner dl.list {
    flex-direction: row;
    align-items: flex-start;
    gap: 0 30px;
  }

  #footer div.footer div.owner dl.list dd img {
    height: 30px;
  }

}

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

#footer div.footer div.copyright {
  line-height: 1.4;
  font-size: 0.75em;
  text-align: right;
}

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

  #footer div.footer div.copyright {
    letter-spacing: 1px;
  }

}
