/* キュービクルLP本体。ヘッダー・フッター・パンくずは既存ページと同じ指定をこのファイルに持つ。 */
body {
  background: #fff;
}

#cubicle {
  color: #000;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0;
}

#cubicle *,
#cubicle *::before,
#cubicle *::after {
  box-sizing: border-box;
}

#cubicle img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* 各セクションの余白指定が勝つよう、リセットは詳細度を上げない */
:where(#cubicle) :where(h2, h3, h4, p, ul, dl, dd, figure) {
  margin: 0;
}

#cubicle h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 45px;
  text-align: center;
}

#cubicle h3 {
  color: #1c4587;
  font-size: 22px;
  font-weight: 600;
  line-height: 36px;
}

#cubicle h4 {
  font-size: 19px;
  font-weight: 600;
  line-height: 32px;
  text-align: center;
}

#cubicle .frame {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

/* パンくず。haidenban.css の #bk34281 と同じ幅 */
#bk34281 > div {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5px 30px 5px 0;
}

/* 固定ヘッダーの高さ分は既存の bind.js が #a-billboard に入れる。ここは上書きしない */

/* MV */
.mv__photo {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.mv__photo > img,
.mv__photo > picture > img {
  display: block;
  width: 100%;
}

.mv__btns {
  position: absolute;
  left: 4.1818%;
  bottom: 17.45%;
  width: 44.09%;
  display: flex;
  gap: 2.268%;
}

.mv__btns a {
  flex: 1;
  min-width: 0;
}

.mv__btns img {
  display: block;
  width: 100%;
  height: auto;
}

/* cont01 */
.cont01 {
  padding: 45px 0 120px;
}

.cont01 h2 {
  margin-bottom: 18.5px;
}

.cont01__list {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25.5px;
}

.cont01__item {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-start;
  justify-content: center;
  padding-top: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  font-size: 17px;
  font-weight: 600;
  line-height: 25px;
  text-align: center;
}

.cont01__item--01 {
  width: 270px;
  height: 122px;
  background-image: url("img/common/cont01_namami-01bg.png");
}

.cont01__item--02 {
  width: 264px;
  height: 110px;
  margin-left: 30px;
  background-image: url("img/common/cont01_namami-02bg.png");
}

.cont01__item--03 {
  width: 270px;
  height: 125px;
  margin-left: 42px;
  background-image: url("img/common/cont01_namami-03bg.png");
}

.cont01__lead {
  margin-bottom: 18px;
  font-size: 19px;
  font-weight: 600;
  line-height: 32px;
  text-align: center;
}

.cont01__close {
  text-align: center;
}

/* cont02 */
.cont02 {
  background: #ebf3fd;
  padding: 70px 0 70px;
}

.cont02__card {
  background: #fff;
  padding: 70px 70px 40px;
}

.cont02 h2 {
  margin-bottom: 40px;
}

.cont02__line {
  margin: 0 0 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid #000;
}

#cubicle .cont02__line {
  color: #0b2a4b;
}

.cont02__line + p {
  padding: 0 20px;
}

.cont02__zu {
  display: block;
  width: min(611px, 100%);
  margin: 30px auto 0;
}

.cont02__risk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 413px;
  gap: 47px;
  align-items: start;
  margin: 80px 0 38px;
  padding-right: 20px;
}

.cont02 h4 {
  margin-bottom: 20px;
}

.cont02__cards {
  display: grid;
  grid-template-columns: repeat(3, 238px);
  justify-content: center;
  gap: 25px;
  margin-bottom: 80px;
}

.cont02__carditem {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 98px;
  padding: 25px 12px 0;
  background: #f0f0f0;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  text-align: center;
}

.cont02__need {
  display: block;
  width: min(920px, 100%);
  margin: 4px auto 20px;
}

.cont02__caption {
  text-align: center;
}

/* cont03 */
.cont03 {
  padding-top: 120px;
}

#cubicle .cont03 .frame {
  width: min(960px, calc(100% - 40px));
}

.cont03 h2 {
  margin-bottom: 38px;
}

.cont03__cols {
  display: grid;
  grid-template-columns: 460px 460px;
  justify-content: center;
  gap: 40px;
}

.cont03__cols img {
  display: block;
  width: 100%;
  margin-bottom: 20px;
}

.cont03__cols h3 {
  margin-bottom: 20px;
  text-align: center;
}

#cubicle .cont03__cols h3 {
  color: #0b2a4b;
}

.cont03__list {
  width: min(920px, 100%);
  margin: 30px auto 0;
  padding: 30px 0 25px;
  background: #ebf3fd;
}

.cont03__list h4 {
  margin-bottom: 12px;
}

.cont03__list ul {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  grid-template-columns: 292px 304px;
  justify-content: center;
  column-gap: 78px;
  padding: 0;
  line-height: 32px;
  list-style: none;
}

.cont03__list li::before {
  content: "・";
}

/* 流れ。カンプは幅920のグレーカードを24px空けて並べ、番号の下から次の番号まで線が続く */
#cubicle .flow .frame {
  width: min(920px, calc(100% - 48px));
}

.flow {
  padding: 120px 0;
}

.flow h2 {
  margin-bottom: 20px;
}

.flow > .frame > .lead {
  margin-bottom: 40px;
  text-align: center;
}

.flow__item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 192px;
  gap: 28px;
  align-items: start;
  margin: 0 0 24px;
  padding: 36px 40px 32px 20px;
  background: #f0f0f0;
}

.flow__item:nth-of-type(1) { z-index: 6; }
.flow__item:nth-of-type(2) { z-index: 5; }
.flow__item:nth-of-type(3) { z-index: 4; }
.flow__item:nth-of-type(4) { z-index: 3; }
.flow__item:nth-of-type(5) { z-index: 2; }

.flow__item:last-child {
  margin-bottom: 0;
}

.flow__item::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 85px;
  bottom: -47px;
  left: 52px;
  width: 1px;
  background: #222;
}

.flow__item:last-child::before {
  display: none;
}

.flow__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.flow__num {
  flex: 0 0 64px;
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
}

.flow__body {
  margin-top: 14px;
  padding-left: 76px;
}

#cubicle .flow h3 {
  margin: 0;
  color: #000;
}

.flow__photo img {
  display: block;
  width: 192px;
  max-width: 100%;
}

.flow__box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: fit-content;
  gap: 46px;
  margin-top: 16px;
  padding: 16px 33px 16px 34px;
  background: #fff;
}

.flow__tel {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.flow__tel img {
  width: 188px;
  height: auto;
}

.flow__box .flow__contact img {
  width: 207px;
}

.flow__note {
  margin-top: 16px;
  padding: 16px 18px;
  background: #fff;
  text-align: center;
}

.flow__notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.flow__notes .flow__note {
  margin-top: 0;
}

.flow__noteTitle {
  margin-bottom: 2px;
  color: #a83617;
  font-weight: 600;
}

/* 事例 */
.works {
  padding: 65px 0 30px;
  background: #ebf3fd url("img/pc/cont05_jirei-bg.jpg") center / cover no-repeat;
}

#cubicle .works h2 {
  margin-bottom: 29px;
}

.works__stage {
  position: relative;
  overflow: hidden;
}

.works__track {
  display: flex;
  transition: transform 0.5s ease;
}

.works__slide {
  display: flex;
  flex: 0 0 100%;
}

.works__card {
  width: min(1040px, calc(100vw - 160px));
  margin: 0 auto;
  padding: 28px 40px 23px;
  background: #fff;
}

.works__slide picture {
  display: block;
  margin: 0 30px;
}

.works__slide picture img {
  display: block;
  width: 100%;
}

.works__arrows {
  position: absolute;
  top: calc((min(1040px, 100vw - 160px) - 140px) * 0.31333 - 12px);
  left: 50%;
  width: min(1040px, calc(100vw - 160px));
  transform: translateX(-50%);
}

.works__prev,
.works__next {
  position: absolute;
  top: 0;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.works__prev {
  left: -54px;
}

.works__next {
  right: -54px;
}

.works__prev img,
.works__next img {
  display: block;
  width: 100%;
  height: 100%;
}

.works__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 59px;
  margin-top: 24px;
  padding: 6px 24px 6px 52px;
  background: #f0f0f0;
  font-weight: 600;
  line-height: 1.5;
}

#cubicle .works__kind {
  color: #234479;
  font-size: 24px;
}

#cubicle .works__koki {
  font-size: 20px;
}

.works__koki small {
  font-size: 18px;
  line-height: 1;
}

#cubicle .works__body {
  margin-top: 17px;
  padding: 0 20px;
  line-height: 32px;
}

#cubicle .works__spec {
  margin-top: 11px;
  padding: 8px 20px 0;
  border-top: 1px solid #707070;
  font-size: 14px;
  line-height: 32px;
}

.works__spec div {
  display: grid;
  grid-template-columns: 145px 1fr;
}

.works__spec dt {
  font-weight: 600;
}

.works__spec dd {
  margin: 0;
}

.works__dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.works__dot {
  width: 15px;
  height: 15px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #a3a3a3;
  cursor: pointer;
}

.works__dot.is-current {
  background: #1c4587;
}

.works__modal {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 48px 16px;
  background: rgba(0, 0, 0, 0.72);
}

.works__modal[hidden] {
  display: none;
}

#cubicle .works__modal img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  max-height: calc(100dvh - 96px);
  height: auto;
  margin: 0;
}

.works__modalClose {
  position: fixed;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.works__modalClose::before,
.works__modalClose::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 8px;
  width: 20px;
  height: 2px;
  background: #000;
}

.works__modalClose::before {
  transform: rotate(45deg);
}

.works__modalClose::after {
  transform: rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .works__track {
    transition: none;
  }
}

/* FAQ */
.faq {
  padding: 120px 0 99px;
}

#cubicle .faq .frame {
  width: min(960px, calc(100% - 40px));
}

.faq h2 {
  margin-bottom: 57px;
}

.faq__item {
  padding: 41px 0 38px;
}

.faq__item + .faq__item {
  border-top: 1px solid #000;
}

.faq__item:first-child {
  padding-top: 0;
}

.faq__item:last-child {
  padding-bottom: 0;
}

.faq dd {
  display: flex;
  margin-top: 14px;
}

.faq__q {
  margin-right: 0.35em;
  color: #1c4587;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.6;
}

.faq__qtitle {
  font-size: 25px;
  font-weight: 600;
  line-height: 1.6;
}

.faq__a {
  flex: 0 0 auto;
  color: #a83617;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
}

.faq__atext {
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
}

/* contact */
.contact {
  padding: 70px 0 49px;
  background: #f0f0f0;
}

.contact h2 {
  margin-bottom: 17px;
}

.contact .lead {
  margin-bottom: 26px;
  text-align: center;
}

.contact__note {
  margin-bottom: 31px;
  text-align: center;
}

.contact__btns {
  display: flex;
  justify-content: center;
  gap: 41px;
}

#cubicle .contact__btns a,
#cubicle .contact__btns picture {
  display: block;
}

#cubicle .contact__btns img {
  display: block;
  width: 348px;
  height: auto;
}

#cubicle .mv__btns a,
#cubicle .flow__contact,
#cubicle .contact__btns a {
  opacity: 1;
  transition: opacity 0.2s ease;
}

#cubicle .mv__btns a:hover,
#cubicle .flow__contact:hover,
#cubicle .contact__btns a:hover {
  opacity: 0.8;
}

@media only screen and (max-width: 640px) {
  #cubicle {
    font-size: 13px;
    line-height: 25px;
  }

  #cubicle h2 {
    font-size: 20px;
    line-height: 35px;
  }

  #cubicle h3 {
    font-size: 17px;
    line-height: 28px;
  }

  #cubicle h4 {
    font-size: 15px;
    line-height: 24px;
  }

  #cubicle .frame {
    width: min(100% - 32px, 1100px);
  }

  .mv__btns {
    right: 12px;
    left: 12px;
    bottom: 18px;
    width: auto;
    gap: 8px;
  }

  .mv__btns a {
    flex: 1;
  }

  .mv__btns img {
    width: 100%;
  }

  .cont01 {
    padding: 57px 0 61px;
  }

  .cont01__list {
    flex-wrap: wrap;
    gap: 0 11px;
    margin-bottom: 8px;
  }

  .cont01__item {
    align-items: center;
    padding-top: 0;
    font-size: 12.5px;
    line-height: 18px;
  }

  .cont01__item--01 {
    width: 161px;
    height: 73px;
  }

  .cont01__item--02 {
    width: 171px;
    height: 71px;
    margin-left: 0;
  }

  .cont01__item--03 {
    width: 183px;
    height: 85px;
    margin-top: -5px;
    margin-left: 0;
  }

  .cont01__lead {
    font-size: 15px;
    line-height: 26px;
  }

  .cont02 {
    padding: 35px 0 33px;
  }

  #cubicle .cont02 .frame {
    width: calc(100% - 26px);
  }

  .cont02__card {
    padding: 32px 12px 34px;
  }

  .cont02 h2 {
    margin-bottom: 25px;
  }

  .cont02__small {
    font-size: 18px;
  }

  .cont02__line {
    margin-bottom: 18px;
    padding-bottom: 0;
  }

  .cont02__line + p {
    padding: 0 12px;
  }

  .cont02__zu {
    margin-top: 20px;
  }

  .cont02__risk {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 49px 0 30px;
    padding-right: 0;
  }

  .cont02 h4 {
    margin-bottom: 9px;
  }

  .cont02__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 50px;
  }

  .cont02__carditem {
    align-items: center;
    height: auto;
    min-height: 87px;
    padding: 4px;
    font-size: 11px;
    line-height: 15px;
  }

  .cont02__need {
    margin: 2px auto 17px;
  }

  .cont02__caption {
    padding: 0 12px;
    text-align: left;
  }

  .cont03__cols,
  .flow__notes {
    grid-template-columns: 1fr;
  }

  .cont03 {
    padding: 57px 0 0;
  }

  #cubicle .cont03 .frame {
    width: min(335px, calc(100% - 40px));
  }

  .cont03 h2 {
    margin-bottom: 26px;
  }

  .cont03__cols {
    gap: 39px;
  }

  .cont03__cols img {
    margin-bottom: 18px;
  }

  .cont03__cols h3 {
    margin-bottom: 7px;
  }

  .cont03__list {
    width: min(325px, 100%);
    margin-top: 24px;
    padding: 29px 0 27px;
  }

  .cont03__list h4 {
    margin-bottom: 6px;
  }

  .cont03__list ul {
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-template-columns: max-content;
    line-height: 25px;
  }

  .flow {
    padding: 57px 0 61px;
  }

  #cubicle .flow .frame {
    width: 100%;
  }

  .flow h2 {
    margin-bottom: 12px;
    padding: 0 16px;
  }

  .flow > .frame > .lead {
    margin-bottom: 28px;
    padding: 0 16px;
  }

  .flow__item {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    margin-bottom: 21px;
    padding: 25px 37px 30px 8px;
  }

  .flow__item::before {
    top: 62px;
    bottom: -41px;
    left: 24px;
  }

  .flow__head {
    gap: 10px;
  }

  .flow__num {
    flex-basis: 34px;
    font-size: 20px;
  }

  .flow__body {
    margin-top: 7px;
    padding-left: 41px;
  }

  /* カンプは本文だけ写真の右端より少しはみ出して1行を長く取っている */
  .flow__body > p {
    margin-right: -12px;
    font-size: 12px;
    line-height: 22px;
    letter-spacing: -0.04em;
  }

  #cubicle .flow__photo {
    margin-left: 41px;
  }

  .flow__photo img {
    width: 100%;
  }

  .flow__box {
    justify-content: space-between;
    width: auto;
    margin-top: 12px;
    gap: 8px;
    padding: 9px 13px;
  }

  .flow__tel {
    flex: 0 0 auto;
    width: auto;
  }

  .flow__tel img {
    width: 124px;
  }

  .flow__box .flow__contact img {
    width: 131px;
  }

  .flow__notes {
    gap: 13px;
    margin-top: 12px;
  }

  .flow__note {
    margin-top: 12px;
    padding: 10px 18px 8px 19px;
    text-align: left;
  }

  .flow__note p {
    font-size: 12px;
    line-height: 22px;
  }

  .flow__note .flow__noteTitle {
    margin-bottom: 6px;
    font-size: 14px;
    text-align: center;
  }

  .works {
    padding: 33px 0 25px;
  }

  #cubicle .works h2 {
    margin-bottom: 20px;
  }

  .works__card {
    width: min(350px, calc(100% - 25px));
    padding: 26px 12.5px;
  }

  .works__slide picture {
    width: min(325px, 100%);
    margin: 0 auto;
    cursor: pointer;
  }

  .works__zoom {
    display: block;
    width: 259px;
    height: auto;
    margin: 0 auto 20px;
  }

  .works__arrows {
    top: calc(26px + 30px + 20px + 101px + 10px + 27px - 17.5px);
    width: min(350px, calc(100% - 25px));
  }

  .works__prev,
  .works__next {
    width: 35px;
    height: 35px;
  }

  .works__prev {
    left: 2px;
  }

  .works__next {
    right: 2px;
  }

  .works__meta {
    display: block;
    min-height: 0;
    margin-top: 10px;
    padding: 11px 0;
    line-height: 1;
    text-align: center;
  }

  #cubicle .works__kind {
    margin-bottom: 4px;
    color: #1c4587;
    font-size: 14px;
    font-weight: 600;
  }

  #cubicle .works__koki {
    font-size: 14px;
    font-weight: 600;
  }

  .works__koki small {
    font-size: 12px;
  }

  #cubicle .works__body {
    margin-top: 10px;
    padding: 0;
    font-size: 12px;
    line-height: 22px;
  }

  #cubicle .works__spec {
    margin: 10px 0 0;
    padding: 10px 0 0;
    font-size: 12px;
    line-height: 22px;
  }

  .works__spec div {
    grid-template-columns: 104px 1fr;
  }

  .works__dots {
    gap: 15px;
    margin-top: 15px;
  }

  .works__dot {
    width: 11px;
    height: 11px;
  }

  .faq {
    padding: 57px 0 60px;
  }

  #cubicle .faq .frame {
    width: calc(100% - 32px);
  }

  .faq h2 {
    margin-bottom: 24px;
  }

  .faq__item {
    padding: 17px 0 20px;
  }

  .faq dd {
    margin-top: 2px;
  }

  .faq__q,
  .faq__qtitle {
    font-size: 14px;
  }

  .faq__q {
    margin-right: 3px;
  }

  .faq__a {
    margin-right: 8px;
    font-size: 13px;
    line-height: 25px;
  }

  .faq__atext {
    font-size: 13px;
    line-height: 25px;
  }

  .contact {
    padding: 30px 0 33px;
  }

  #cubicle .contact .frame {
    width: calc(100% - 50px);
  }

  .contact h2 {
    margin-bottom: 24px;
  }

  .contact .lead {
    text-align: left;
  }

  .contact__note {
    margin-bottom: 13px;
    text-align: left;
  }

  .contact__btns {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  #cubicle .contact__btns img {
    width: 100%;
  }
}

/* フッター。配電盤ページ haidenban.css と同じブロック指定 */
.bd-no-webp #bk31573,
.bd-webp #bk31573 {
  background-color: rgba(246, 246, 246, 0.6);
}

#bk31573 > div {
  max-width: 900px;
  margin: 0 auto;
  padding: 65px 30px 60px;
}

.bd-no-webp #bk31573 .column:nth-child(odd),
.bd-webp #bk31573 .column:nth-child(odd) {
  padding: 5px 0 0 30px;
}

#bk31572 > div {
  max-width: 900px;
  margin: 0 auto;
}

.bd-no-webp #bk31574,
.bd-webp #bk31574 {
  background-color: #f6f6f6;
}

#bk32083 > div {
  max-width: 220px;
  margin: 0 auto;
  padding: 15px 0;
}

.bd-no-webp #bk31575,
.bd-webp #bk31575 {
  background-color: #6d7d8a;
}

#bk31575 > div {
  padding: 10px 30px;
}

@media only screen and (max-width: 641px) {
  #bk31573 > div,
  #bk31574 > div,
  #bk32083 > div {
    padding: 15px;
  }

  #bk31574 > div {
    padding-top: 40px;
    padding-bottom: 30px;
  }

  .bd-no-webp #bk31573 .column:nth-child(odd),
  .bd-webp #bk31573 .column:nth-child(odd),
  .bd-no-webp #bk31573 .column:nth-child(even),
  .bd-webp #bk31573 .column:nth-child(even) {
    padding: 10px;
  }

  #bk32083 > div {
    max-width: 80%;
  }

  #bk31575 > div {
    padding: 0 15px 15px;
  }
}

/* ヘッダー。haidenban.css と同じ。IDの max-width が無いとロゴが列幅いっぱいに伸び、ナビの位置がずれる */
#a-header,
#a-ghost_header,
#a-billboard,
#a-site_contents,
#a-footer {
  max-width: 100%;
}

.a-header .b-plain > .column,
.a-header .b-plain > .g-column,
.a-header .b-both_diff > .column,
.a-header .b-both_diff > .g-column,
.a-header .b-headlines > .column,
.a-header .b-headlines > .g-column,
.a-header .b-album > .column,
.a-header .b-album > .g-column,
.a-header .b-tab > .column,
.a-header .b-tab > .g-column,
.a-header .b-accordion > .column,
.a-header .b-accordion > .g-column,
.a-header .b-megamenu > nav,
.a-header .b-carousel > .column,
.a-header .b-carousel > .g-column,
.a-ghost_header .b-plain > .column,
.a-ghost_header .b-plain > .g-column,
.a-ghost_header .b-both_diff > .column,
.a-ghost_header .b-both_diff > .g-column,
.a-ghost_header .b-headlines > .column,
.a-ghost_header .b-headlines > .g-column,
.a-ghost_header .b-album > .column,
.a-ghost_header .b-album > .g-column,
.a-ghost_header .b-tab > .column,
.a-ghost_header .b-tab > .g-column,
.a-ghost_header .b-accordion > .column,
.a-ghost_header .b-accordion > .g-column,
.a-ghost_header .b-megamenu > nav,
.a-ghost_header .b-carousel > .column,
.a-ghost_header .b-carousel > .g-column {
  max-width: 1170px;
  margin: 0 auto;
}

.bd-no-webp #bk31553,
.bd-webp #bk31553,
.bd-no-webp #bk31554,
.bd-webp #bk31554,
.bd-no-webp #bk36187,
.bd-webp #bk36187,
.bd-no-webp #bk36680,
.bd-webp #bk36680 {
  background-color: #fff;
}

#bk31553 > nav {
  max-width: 70%;
  margin: 0 auto;
  padding: 5px 0 5px 100px;
}

#bk31554 > div {
  max-width: 90%;
  margin: 0 auto;
  padding: 25px 0 10px;
}

#bk36187 > div {
  max-width: 1400px;
  margin: 0 auto;
  padding: 7px 0 3px;
}

.bd-no-webp #bk36187 .column:nth-child(odd),
.bd-webp #bk36187 .column:nth-child(odd) {
  padding-top: 5px;
}

#bk36680 > div {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 3px;
}

#imgsrc35601_1 {
  width: 250px;
}

#imgsrc27727_1 {
  width: 300px;
}

#imgsrc31801_1 {
  width: 400px;
}

#imgsrc29624_1 {
  width: 350px;
}

#imgsrc36351_1,
#imgsrc36353_1,
#imgsrc36355_1 {
  width: 35px;
}

@media only screen and (max-width: 641px) {
  .bd-no-webp #a-header,
  .bd-webp #a-header,
  .bd-no-webp #a-ghost_header,
  .bd-webp #a-ghost_header {
    padding: 0;
  }

  .a-header .b-plain > .column,
  .a-header .b-plain > .g-column,
  .a-header .b-both_diff > .column,
  .a-header .b-both_diff > .g-column,
  .a-header .b-megamenu > nav,
  .a-ghost_header .b-plain > .column,
  .a-ghost_header .b-plain > .g-column,
  .a-ghost_header .b-both_diff > .column,
  .a-ghost_header .b-both_diff > .g-column,
  .a-ghost_header .b-megamenu > nav {
    max-width: 100%;
  }

  #bk31553.b-plain > .column,
  #bk31553.b-plain > .g-column,
  #bk31553.b-both_diff > .column,
  #bk31553.b-both_diff > .g-column,
  #bk31554.b-plain > .column,
  #bk31554.b-plain > .g-column,
  #bk31554.b-both_diff > .column,
  #bk31554.b-both_diff > .g-column,
  #bk31554 > nav,
  #bk36187.b-plain > .column,
  #bk36187.b-plain > .g-column,
  #bk36187.b-both_diff > .column,
  #bk36187.b-both_diff > .g-column,
  #bk36680.b-plain > .column,
  #bk36680.b-plain > .g-column,
  #bk36680.b-both_diff > .column,
  #bk36680.b-both_diff > .g-column {
    max-width: 100%;
    margin: 0 auto;
  }

  #bk31553 > nav {
    padding: 0;
  }

  .bd-no-webp #bk31554,
  .bd-webp #bk31554 {
    background-color: #fff !important;
  }

  #bk31554 > div {
    padding: 5px 0 5px 15px;
  }

  #bk36187 > div {
    padding: 4px 0 6px 10px;
  }

  #bk36680 > div {
    padding: 15px;
  }

  #imgsrc27727_1 {
    width: 250px;
  }

  #imgsrc29624_1,
  #imgsrc31801_1 {
    width: 350px;
  }
}

/* 左SNSと右下の上へ戻る。index.css と同じ */
#w-middle-left {
  max-width: 5%;
  margin: 0 auto;
}

#bk28297 > div {
  padding: 30px 30px 30px 10px;
}

#w-bottom-right {
  max-width: 20%;
  margin: 0 auto;
}

#imgsrc27645_1,
#imgsrc27647_1,
#imgsrc27649_1 {
  width: 60px;
}

@media only screen and (max-width: 641px) {
  #w-middle-left {
    max-width: 100%;
  }

  #bk28297 > div {
    padding: 15px;
  }

  #w-bottom-right {
    max-width: 20%;
  }

  #imgsrc27645_1,
  #imgsrc27647_1,
  #imgsrc27649_1 {
    width: 30px;
  }
}
