body {
  font-family: 'Noto Sans JP', sans-serif;
}

body a:link {
  color: #363636;
  text-decoration: none;
}

body a:visited {
  color: #363636;
}

body a:hover {
  color: #0551f5;

}

body a:active {
  color: #4681ff;
}

h4 {
  background-color: lightgrey;
  padding: 0.4rem;
}


/* ヘッダをスクロールで上部固定（レイアウト崩れない） */
.site-header {
  position: sticky;
  top: 0;
  z-index: 25;
  /* drawer(40)/backdrop(30)より下にしておく */
  background: #fff;
  /* 透け防止 */
}

/* スクロール開始後にだけ影を出したい場合用 */
.site-header.is-stuck {
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  border-bottom: 1px solid #eee;
}


/* navibar上書き */
.navbar {
  min-height: 2.5rem;
}


/* まず通常表示 */
.navbar-burger {
  display: flex;
  /* ブロックでもOK。縦位置合わせでflexにしてるだけ */
  align-items: center;
}

/* Bulmaのデスクトップ非表示を上書き（幅1024px以上） */
@media screen and (min-width: 1024px) {
  .navbar-burger {
    display: flex !important;
    /* ここで確実に上書き */
    position: relative;
  }

  .navbar {
    display: flex;
  }

  /* 念のため */
  .navbar-brand {
    flex: 0 0 auto;
  }

  .navbar-menu {
    display: flex !important;
    margin-left: auto;
    /* ← これが効けば右端に張り付く */
    flex: 1 1 auto;
    /* 幅を伸ばす */
    justify-content: flex-end;
    /* 中身を右寄せ（任意だが安心） */
  }

}

/* MENUラベル用 */
.burger-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 0.75rem;
}

.burger-label {
  font-size: 0.65rem;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #7a7a7a;
  margin-top: 2px;
  position: absolute;
  bottom: 8px;
}

.navbar-logo {
  margin-inline: 1rem;
  margin-block: 0.6rem;
  display: flex;
  align-items: center;
  /* ←これで縦中央寄せ */
}

/* ナビゲーションを右寄せにする */
.navbar-menu .navbar-end {
  margin-left: auto !important;
}

.navbar-logo img {
  width: 100px
}

/* === Drawer base === */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  /* ← 左から出す */
  height: 100vh;
  width: 280px;
  max-width: 86vw;
  background: #fff;
  box-shadow: 2px 0 16px rgba(0, 0, 0, .12);
  transform: translateX(-100%);
  /* 初期は隠す */
  transition: transform .25s ease;
  z-index: 40;
  display: flex;
  flex-direction: column;
  outline: none;
  /* focusは見た目に任せる */
}

.drawer a {
  font-size: 1.8rem;
  padding-block: 0.25rem;
}

/* オーバーレイ */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 30;
  pointer-events: none;
}

/* 開いた状態（bodyにフラグ） */
.is-drawer-open .drawer {
  transform: translateX(0);
}

.is-drawer-open #drawerBackdrop {
  opacity: 1;
  pointer-events: auto;
}

.is-scroll-locked {
  overflow: hidden;
  /* 背景スクロール固定 */
}

/* 内部レイアウト */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .9rem 1rem;
  border-bottom: 1px solid #eee;
}

.drawer-body {
  display: grid;
  gap: .25rem;
  padding: .75rem;
}

.drawer-link {
  display: block;
  padding: .75rem .75rem;
  border-radius: .5rem;
  color: #363636;
}

.drawer-link:hover {
  background: #f5f5f5;
}

.footer {
  background-color: #222;
  /* 濃いグレー */
  background: linear-gradient(180deg, #333, #111);
  color: #fff;
  /* テキスト白 */
  padding: 2rem 1.5rem;
}

.footer a {
  color: #ddd;
  /* リンクは少し明るく */
}

.footer a:hover {
  color: #fff;
  /* ホバーで白 */
  text-decoration: underline;
}


/* contents */

/* contents headder */
.hero {

  background-position: center;
  background-size: cover;
}

#company {
  background-image: url("../images/bg-head-company.jpg");
}

#photo {
  background-image: url("../images/bg-head-photo.jpg");
}

#result {
  background-image: url("../images/bg-head-result.jpg");
}

#products {
  background-image: url("../images/bg-head-products.jpg");
}

#contact {
  background-image: url("../images/bg-head-contact.jpg");
}



.hero {
  text-shadow: 2px 3px 7px rgba(0, 0, 0, 0.69);
}

.company h3 {
  border-left: 2px solid #222;
  padding-inline: 1rem;
  margin-block: 2rem;
}

.company p {
  margin-inline: 6vw;
}

.company ul {
  margin-inline: 6vw;
}

.company ol {
  margin-inline: 6vw;
}

.company ul li {
  display: inline-block;
  margin-right: 2rem;
}

.top-hero {
  background-image: url("../images/index-hero.jpg");
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
  height: 574px;
}

.result table {
  font-size: 0.8rem;
}

.result h3 {
  border-bottom: 1px solid #9b9b9b;
  position: relative;
}

.result h3:after {
  position: absolute;
  bottom: 8px;
  right: 0;
  font-size: 0.6rem;
  font-weight: 400;
  content: "OPEN/CLOSE";
  display: block;
}

.products .card .card-subtitle {
  font-size: 0.8rem;
  margin-bottom: 0;
  color: #7a7a7a
}

.products .card .title {
  margin-bottom: 0.65rem;
  color: #333;
}

.products .icon {
  padding: 1rem;
  padding-right: 1.6rem;
  color: red;
}

.products .card-content img {
  padding-bottom: 1rem;
  padding-right: 1rem;
}
.altv ol {
  counter-reset:number; /*数字をリセット*/
  list-style-type: none!important; /*数字を一旦消す*/
  padding:0.5em;

}
.altv ol li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5em;
  padding: 0.5em 0.5em 0.5em 30px;

}

.chart {
    border-bottom:1px dashed #cfcfcf;
}

.altv ol li:before{
  /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: counter(number);
  /*以下数字のデザイン変える*/
  display:inline-block;
  background: orangered;
  color: white;
  font-family: 'Avenir','Arial Black','Arial',sans-serif;
  font-weight:bold;
  font-size: 15px;
  border-radius: 50%;
  left: 0;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  /*以下 上下中央寄せのため*/
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.color-chart {
  display: flex;
  flex-wrap: wrap;

}
.color-chart-item {
  text-align: center;
  background-color: #efefef;
  padding:1rem;
  margin: 0.4rem;
  border-radius: 6px;
}

.color-chat-item dl,.color-chart-item dt,.color-chart-item dd{
  margin: 0;
  padding: 0;

}

.altvinder-photo {
  display: flex;
    flex-wrap: wrap;
}

.altvinder-photo div {
    padding:1rem;
  margin: 0.4rem;
}

.altvinder-photo div img {
  width:180px;
  height: auto;
}



/* 任意：デスクトップ時もそのまま使う。ブレークポイントで幅を少し広げたいなら */
@media (min-width: 1024px) {
  .drawer {
    width: 320px;
  }

}

@media (min-width: 768px) {
}