@charset "utf-8";

/** ***************************************************************************
 * フォント
 * ************************************************************************* */

@font-face {
  font-family: 'DIN 1451';
  font-style: normal;
  font-weight: 400;
  src: url('../_font/din1451alt/din1451alt.ttf') format('truetype');
}

/** ***************************************************************************
 * 全体
 * ************************************************************************* */

body {
  color: #000;
  font: 14px / 1.6 'Noto Sans JP', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:where([href]) {
  transition: color 0.3s ease-in-out 0.0s;
  color: rgba(var(--accentcolor-link-1), 1.0);
}

a:where([href]):hover {
  color: rgba(var(--accentcolor-link-1), 0.6);
}

@media screen and (min-width:768px) {

  html, body {
    scrollbar-width: thin;
  }

}

/**
 * レイアウト用
 */

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;
    pointer-events: none;
  }

}

/** ***************************************************************************
 * ヘッダー
 * ************************************************************************* */

#header {
  width: 100%;
  border-bottom: 1px solid #dcdcdc;
  background-color: rgba(255, 255, 255, 0.95);
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
}

#header div.body {
  max-width: 100%;
  padding-left: 0;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

@media screen and (min-width:768px) {

  /* グローバルナビ位置変更用 */

  #header div.body {
    padding-bottom: 3em;
    position: relative;
    z-index: 0;
  }

}

@media screen and (min-width:1121px) {

  /* グローバルナビ位置変更用 */

  #header div.body {
    padding-bottom: 0;
  }

}

/**
 * ロゴ
 */

#header .logo {
  max-width: 140px;
  padding: 20px 10px;
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
  flex-shrink: 0;
  transition: width 0.3s ease-in-out 0.0s;
  width: 35vw;
}

#header .logo a {
  height: 100%;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width:768px) {

  #header .logo {
    max-width: 100%;
    width: 180px;
    padding: 5px 10px;
  }

}

@media screen and (min-width:1121px) {

  #header .logo {
    width: 250px;
    padding: 20px 10px;
  }

  body.scroll-active
  #header .logo {
    width: 180px;
    padding: 5px 10px;
  }

}

/**
 * ヘッダー
 */

#header div.header {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}

@media screen and (min-width:1121px) {

  body.scroll-active
  #header div.header {
    padding-top: 5px;
    flex-direction: row;
  }

}

/* ナビ */

#header div.header nav.nav {
  display: none;
}

@media screen and (min-width:768px) {

  #header div.header nav.nav {
    margin-bottom: 5px;
    display: block;
  }

  #header div.header nav.nav ul.list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  #header div.header nav.nav ul.list li {
    margin-left: 1em;
  }

  #header div.header nav.nav ul.list li a[class*="button"] {
    padding-top: 0.5em;
    padding-bottom: 0.625em;
    display: block;
  }

  #header div.header nav.nav ul.list li a:not([class*="button"]) {
    padding: 0.25em;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted;
    transition: border-color 0.3s ease-in-out 0.0s;
    border-color: rgba(var(--accentcolor-marutsu-1), 0.0);
  }

  #header div.header nav.nav ul.list li a:not([class*="button"]):hover {
    border-color: rgba(var(--accentcolor-marutsu-1), 1.0);
  }

}

@media screen and (min-width:1121px) {

  #header div.header nav.nav {
    margin-bottom: 15px;
  }

  body.scroll-active
  #header div.header nav.nav {
    margin-bottom: 10px;
    order: 2;
  }

}

/** ***************************************************************************
 * グローバルナビ
 * ************************************************************************* */

/** ---------------------------------------------------------------------------
 * 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: rgba(var(--accentcolor-marutsu-1), 1.0);
    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: 0 15px 100px;
    overflow: hidden;
    overflow-y: visible;
  }

  /**
   * ロゴ
   */

  #global-nav div.site-name {
    padding: 15px 10px;
  }

  /**
   * リスト1
   */

  #global-nav ul.list-1 li {
    letter-spacing: 1px;
    border-top: 1px solid #cecece;
    border-bottom: 1px solid #cecece;
  }

  #global-nav ul.list-1 li.current {
    background-color: rgba(0, 0, 0, 0.03);
  }

  #global-nav ul.list-1 li ~ li {
    border-top: none;
  }

  #global-nav ul.list-1 li a {
    padding: 0.75em;
    color: inherit;
    text-decoration: none;
    display: block;
  }

  /**
   * リスト2
   */

  #global-nav ul.list-2 {
    margin-top: 30px;
  }

  #global-nav ul.list-2 li ~ li {
    margin-top: 15px;
  }

  #global-nav ul.list-2 li a {
    width: 100%;
  }

}

/** ---------------------------------------------------------------------------
 * PC表示
 */

@media screen and (min-width:768px) {

  #global-nav {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
  }

  /**
   * ロゴ
   */

  #global-nav div.site-name {
    display: none;
  }

  /**
   * リスト1
   */

  #global-nav ul.list-1 {
    line-height: 1.3;
    font-size: 1.143em;
    font-weight: 500;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
  }

  #global-nav ul.list-1 li {
    margin-left: 1em;
  }

  #global-nav ul.list-1 li a {
    padding: 0.25em 0.25em 0;
    color: inherit;
    text-decoration: none;
    display: block;
  }

  #global-nav ul.list-1 li a::after {
    content: '';
    height: 6px;
    margin-top: 5px;
    background: linear-gradient(to right, rgb(var(--accentcolor-marutsu-1)), #016ae4);
    display: block;
    transition:
      width 0.0s ease-in-out 0.3s,
      opacity 0.3s ease-in-out 0.0s;
    width: 0;
    opacity: 0;
  }

  #global-nav ul.list-1 li.current a::after {
    transition:
      width 0.3s ease-in-out 0.0s,
      opacity 0.3s ease-in-out 0.0s;
    width: 100%;
    opacity: 1;
  }

  #global-nav ul.list-1 li a:hover::after {
    transition:
      width 0.3s ease-in-out 0.0s,
      opacity 0.3s ease-in-out 0.0s;
    width: 100%;
    opacity: 1;
  }

  /**
   * リスト2
   */

  #global-nav ul.list-2 {
    display: none;
  }

}

@media screen and (min-width:1121px) {

  /**
   * グローバルナビ位置変更用
   */

  #global-nav {
    width: auto;
    padding-left: 0;
    padding-right: 0;
    position: static;
  }

  /**
   * リスト1
   */

  #global-nav ul.list-1 {
    justify-content: flex-end;
  }

}

/** ***************************************************************************
 * ハンバーガー
 * ************************************************************************* */

#header div.drawer {
  width: 46px;
  height: 46px;
  cursor: pointer;
  border-radius: 9999px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 10;
  top: 14px;
  right: 15px;
  transition: background-color 0.3s ease-in-out 0.0s;
  background-color: rgba(var(--accentcolor-marutsu-1), 1.0);
}

body.global-nav-active
#header div.drawer {
  background-color: transparent;
}

@media screen and (min-width:768px) {

  #header div.drawer {
    display: none;
  }

}

/**
 * タイトル
 */

#header div.drawer div.title {
  margin-top: 3px;
  color: #fff;
  line-height: 1;
  font-size: 8px;
  font-weight: 600;
}

body.global-nav-active
#header div.drawer div.title {
  display: none;
}

/**
 * ライン
 */

#header div.drawer div.line {
  width: 30%;
  height: 12px;
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}

body.global-nav-active
#header div.drawer div.line {
  width: 50%;
}

#header div.drawer i {
  width: 100%;
  border-top: 1px solid;
  border-bottom: 1px solid;
  transform-origin: center center;
  transition:
    border-color 0.3s ease-in-out 0.0s,
    transform 0.3s ease-in-out 0.0s;
  transform: rotate(0) translate(0);
  border-color: #fff;
}

body.global-nav-active
#header div.drawer i {
  border-color: #000;
}

/* 上 */

body.global-nav-active
#header div.drawer i:nth-child(1) {
  transform: rotate(315deg) translate(-4px, 4px);
}

/* 中 */

body.global-nav-active
#header div.drawer i:nth-child(2) {
  transform: translateX(50vw);
}

/* 下 */

#header div.drawer i:nth-child(3) {
  width: 80%;
  margin-left: auto;
  margin-right: 0;
}

body.global-nav-active
#header div.drawer i:nth-child(3) {
  width: 100%;
  transform: rotate(-315deg) translate(-3px, -3px);
}

/** ***************************************************************************
 * ビジュアル（下層ページ）
 * ************************************************************************* */

body.layout-lower
#visual {
  overflow: hidden;
  position: relative;
  z-index: 0;
}

/**
 * タイトル
 */

body.layout-lower
#visual div.content {
  padding: 10px 20px 20px;
}

body.layout-lower
#visual div.content .title {
  letter-spacing: 2px;
  line-height: 1.3;
  font-size: 1.426em;
  font-weight: 600;
  filter: drop-shadow(3px 3px 0 rgba(255, 255, 255, 0.5));
  position: relative;
  z-index: 0;
  transition:
    top 0.5s ease-in-out 0.2s,
    transform 0.5s ease-in-out 0.2s,
    opacity 1.0s ease-in-out 0.2s;
  top: -25px;
  transform: translate(10px, -20px) rotate(15deg) skew(-8deg, -20deg) scale(1.05);
  opacity: 0;
}

body.layout-lower.loaded
#visual div.content .title {
  top: 0;
  transform: none;
  opacity: 1;
}

body.layout-lower
#visual div.content .title::before {
  content: attr(data-en);
  margin-left: -5px;
  letter-spacing: 0;
  color: transparent;
  line-height: 1.2;
  font-family: 'DIN 1451', sans-serif;
  font-size: 3em;
  background: linear-gradient(to bottom, rgb(var(--accentcolor-marutsu-1)), rgb(var(--accentcolor-marutsu-2)));
  background-clip: text;
  display: block;
}

@media screen and (min-width:768px) {

  body.layout-lower
  #visual div.content {
    height: 100%;
    padding: min(6.452vw, 80px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
  }

  body.layout-lower
  #visual div.content .title {
    font-size: 2.143em;
  }

  body.layout-lower
  #visual div.content .title::before {
    font-size: 4em;
  }

}

/**
 * 画像
 */

body.layout-lower
#visual div.visual {
  height: clamp(160px, 53.33vw, 200px);
  overflow: hidden;
}

body.layout-lower
#visual div.image {
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
  z-index: 0;
  transition:
    transform 0.4s ease-in-out 0.6s,
    filter 0.4s ease-in-out 0.6s;
  transform: scale(1.1);
  filter: blur(10px);
}

body.layout-lower.loaded
#visual div.image {
  transform: scale(1);
  filter: blur(0);
}

@media screen and (min-width:768px) {

  body.layout-lower
  #visual div.visual {
    height: clamp(390px, 32.5vw, 500px);
    margin-left: min(40.323vw, 500px);
  }

}

/* 罫線 */

body.layout-lower
#visual div.image::before {
  content: '';
  height: 100%;
  border-left: 1px solid #fff;
  position: absolute;
  z-index: 2;
  top: 0;
  left: calc(100% / 3 * 1);
}

body.layout-lower
#visual div.image::after {
  content: '';
  height: 100%;
  border-left: 1px solid #fff;
  position: absolute;
  z-index: 2;
  top: 0;
  left: calc(100% / 3 * 2);
}

/* マスク */

body.layout-lower
#visual div.image div {
  width: calc(100% / 3 * 1);
  height: 100%;
  overflow: hidden;
  position: absolute;
  z-index: 0;
}

body.layout-lower
#visual div.image div::after {
  content: '';
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 1.0) 50%);
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  transition: width 0.8s cubic-bezier(0.19, 1, 0.22, 1) 0.0s;
  width: 200%;
}

body.layout-lower.loaded
#visual div.image div::after {
  width: 0;
}

/* 左 */

body.layout-lower
#visual div.image div:nth-child(1) {
  right: calc(100% / 3 * 2);
}

body.layout-lower
#visual div.image div:nth-child(1)::after {
  transition-delay: 0.3s;
}

/* 中 */

body.layout-lower
#visual div.image div:nth-child(2) {
  right: calc(100% / 3);
}

body.layout-lower
#visual div.image div:nth-child(2)::after {
  transition-delay: 0.5s;
}

/* 右 */

body.layout-lower
#visual div.image div:nth-child(3) {
  right: 0;
}

body.layout-lower
#visual div.image div:nth-child(3)::after {
  transition-delay: 0.7s;
}

/** ***************************************************************************
 * メイン
 * ************************************************************************* */

body.layout-lower
#main {
  padding-top: 40px;
}

body.layout-lower
#main :where(.section) ~ .section {
  margin-top: 60px;
}

body.layout-lower
#main :where(.column) ~ .column {
  margin-top: 40px;
}

body.layout-lower
#main :where(.block) ~ .block {
  margin-top: 25px;
}

@media screen and (min-width:768px) {

  #main {
    font-size: 16px;
  }

  body.layout-lower
  #main {
    padding-top: 100px;
  }

  body.layout-lower
  #main div.body {
    max-width: 1120px;
  }

  body.layout-lower
  #main :where(.section) ~ .section {
    margin-top: 80px;
  }

  body.layout-lower
  #main :where(.column) ~ .column {
    margin-top: 60px;
  }

  body.layout-lower
  #main :where(.block) ~ .block {
    margin-top: 30px;
  }

}

/** ***************************************************************************
 * フッター
 * ************************************************************************* */

#footer div.body {
  max-width: 100%;
}

/**
 * マルツオンライン
 */

#footer div.marutsu {
  padding: 40px 0;
  text-align: center;
}

#footer div.marutsu a {
  font-size: 1.125em;
}

@media screen and (min-width:768px) {

  #footer div.marutsu {
    padding: 80px 0;
  }

}

/**
 * フッター
 */

#footer div.footer {
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  position: relative;
  z-index: 0;
}

#footer div.footer a {
  color: inherit;
}

#footer div.footer::after {
  content: '';
  width: 100vw;
  height: 100%;
  background: linear-gradient(to right, rgb(var(--accentcolor-marutsu-1)), rgb(var(--accentcolor-marutsu-2)));
  position: absolute;
  z-index: -1;
  top: 0;
  left: calc(50% - 50vw);
}

@media screen and (min-width:768px) {

  #footer div.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

}

/* ロゴ */

#footer div.footer div.logo {
  margin-bottom: 15px;
}

#footer div.footer div.logo a {
  text-decoration: none;
  display: inline-block;
}

@media screen and (min-width:768px) {

  #footer div.footer div.logo {
    margin-bottom: 0;
    flex-shrink: 0;
  }

}

/* ナビ */

#footer div.footer nav.nav ul.list {
  margin-bottom: 20px;
  font-size: 0.857em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

#footer div.footer nav.nav ul.list li {
  min-width: 50%;
  padding: 3px 5px;
}

#footer div.footer nav.nav ul.list li a {
  padding: 0.25em;
  border-bottom: 1px dotted;
  display: inline-block;
  transition: border-color 0.3s ease-in-out 0.0s;
  border-color: transparent;
}

#footer div.footer nav.nav ul.list li a:hover {
  border-color: #fff;
}

@media screen and (min-width:768px) {

  #footer div.footer nav.nav {
    padding-left: 3.333%;
  }

  #footer div.footer nav.nav ul.list {
    margin-bottom: 0;
    font-size: 1em;
    justify-content: flex-end;
  }

  #footer div.footer nav.nav ul.list li {
    min-width: 0;
    margin-left: 1em;
    padding: 0;
  }

}

/* コピーライト */

#footer div.footer div.copyright {
  margin-top: 10px;
  letter-spacing: 1px;
  font-size: 0.857em;
  text-align: center;
}

@media screen and (min-width:768px) {

  #footer div.footer div.copyright {
    text-align: right;
  }

}

/* ページトップ */

#footer div.footer div.pagetop {
  width: 52px;
  position: fixed;
  z-index: 10;
  right: 12px;
  bottom: 20px;
  transition:
    visibility 0.3s ease-in-out 0.0s,
    opacity 0.3s ease-in-out 0.0s;
  visibility: hidden;
  opacity: 0;
}

body.scroll-active
#footer div.footer div.pagetop {
  visibility: visible;
  opacity: 1;
}

#footer div.footer.displayed div.pagetop {
  position: absolute;
  bottom: auto;
  top: -26px;
  right: -8px;
}

@media screen and (min-width:768px) {

  #footer div.footer div.pagetop {
    right: 20px;
  }

  #footer div.footer.displayed div.pagetop {
    top: -60px;
    right: 0;
  }

}
