@charset "utf-8";

/* ------------------
 reset.css
------------------ */
@charset "utf-8";*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}:where([hidden]:not([hidden='until-found'])){display:none!important}:where(html){color-scheme:normal;scroll-behavior:smooth;cursor:auto;-moz-tab-size:2;tab-size:2;-webkit-tap-highlight-color:transparent;-ms-text-size-adjust:100%;text-size-adjust:100%;-webkit-text-size-adjust:100%;word-break:break-word;font-size:62.5%;line-height:1.5;margin:0;padding:0}@supports not (min-block-size:100dvb){:where(html){block-size:100%}}@media (prefers-reduced-motion:no-preference){:where(html:focus-within){scroll-behavior:smooth}}:where(body){block-size:100%;block-size:100dvb;line-height:1.5;-webkit-font-smoothing:antialiased}:where(input,button,textarea,select){font:inherit;color:inherit}:where(textarea){resize:vertical;resize:block}:where(button,label,select,summary,[role='button'],[role='option']){cursor:pointer}:where(:disabled){cursor:not-allowed}:where(label:has(>input:disabled),label:has(+input:disabled)){cursor:not-allowed}:where(button){border:none;background:none}:where(a){text-underline-offset:.4ex;text-decoration:none}:where(ul,ol,li){list-style:none}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,picture,svg){max-inline-size:100%;block-size:auto}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(hr){border:none;border-block-start:1px solid;color:inherit;block-size:0;overflow:visible}:where(address){font-style:normal}:where(table){border-collapse:collapse}:where(:focus-visible){outline:2px solid var(--focus-color,Highlight);outline-offset:2px}:where(.visually-hidden:not(:focus,:active,:focus-within,.not-visually-hidden)){clip-path:inset(50%)!important;height:1px!important;width:1px!important;overflow:hidden!important;position:absolute!important;white-space:nowrap!important;border:0!important}

/* ------------------
 グローバル変数
------------------ */
:root {
  /* 色 */
  --main-color: #EA0000;
  --sub-color: #009CE0;
  --bg-color: #F3F3F3;
  --border-color: #BABABA;

  /* 文字サイズ */
  --font-14: 1.4rem;
  --main-txt: 1.6rem;
  --font-18: 1.8rem;
  --font-20: 2.0rem;
  --font-24: 2.4rem;
  --font-30: 3.0rem;
  --font-39: 3.9rem;

  /* 幅 */
  --contents-w: 1024px;

  /* 余白 */
  --space-65: 65px;
  --space-20: 20px;
}

*[data-color="main"] {
  --var-color: var(--main-color);
}
*[data-color="white"] {
  --var-color: #fff;
}
*[data-color="black"] {
  --var-color: #000;
}

@media screen and (max-width: 767px) {
  :root {
    /* 文字サイズ */
     --main-txt: 1.5rem;
     --font-18: 1.6rem;
     --font-20: 1.8rem;
     --font-24: 2.0rem;
     --font-39: 2.8rem;

    /* 余白 */
    --space-65: 35px;
    --space-20: 15px;
  }
}

html {
	scroll-padding-top: 80px;
  @media screen and (max-width: 767px) {
    scroll-padding-top: 75px;
  }
}

/* ------------------
 フォント
------------------ */
body {
	padding-top: 75px;
  font-family: 'Noto Sans JP','Helvetica Neue',Arial,'Hiragino Kaku Gothic ProN','Hiragino Sans',Meiryo,sans-serif;
  font-size: var(--main-txt);
	line-height: 2;
	position: relative;
  @media screen and (max-width: 767px) {
    padding-top: 70px;
  }
}

/* ------------------
 config
------------------ */
:where(a){color: #000;&:hover {opacity: 0.8;}}
:where(h1,h2,h3,h4,h5){line-height: 1.5;}

/* スマホメニュー非表示 */
.spNav_btn,.spNav_panel {display: none;}

/* スマホ閲覧時のみ表示 */
.sp_block {display: none;}

/* ------------------
 SVGスプライト
------------------ */
.fill_color {
  fill: var(--var-color, var(--main-color));
}
.products_aside--item svg {
  fill: #707070;
}

/* ------------------
 レイアウト
------------------ */
.container {
	max-width: var(--contents-w);
	width: 90%;
	margin-inline: auto;
}
.bg_section {
  width: 100%;
  padding: calc(var(--space-65) - 0.5em) 0 var(--space-65);
  background: var(--bg-color);
}
.page_section {
  max-width: var(--contents-w);
  width: 90%;
  padding: var(--space-65) 0;
  margin-inline: auto;
}
.page_section + .page_section {
  padding-top: 0;
}

/* ------------------
 各種パーツ
------------------ */
/* ボタン */
.more_btn {
  max-width: 365px;
  width: 100%;
  margin-inline: auto;
  @media screen and (max-width: 767px) {
    width: 80%;
  }
}
.more_btn a {
  width: 100%;
  padding: 0.5em 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--var-color, var(--main-color));
  color: #fff;
  font-weight: 500;
  position: relative;
  &::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
}
@media screen and (max-width: 767px) {
  .container .more_btn {
    width: 100%;
  }
}
/* 左よりボタン */
.more_btn- {
  max-width: 365px;
  width: 100%;
  background: var(--var-color, var(--main-color));
  margin-inline: auto;
}
.more_btn a {
  width: 100%;
  padding: 0.5em 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 500;
  position: relative;
  &::after {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }
}
/* アンカーボタン */
.anchor_list {
  max-width: var(--contents-w);
  width: 90%;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: var(--space-20);
  margin-inline: auto;
}
.anchor_list--item {
  max-width: calc(25% - 15px);
  width: 100%;
  @media screen and (max-width: 767px) {
    max-width: calc(50% - 7.5px);
  }
}
.anchor_list--item a {
  width: 100%;
  height: 50px;
  padding: 0 2em 0 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--main-color);
  line-height: 1.5;
  color: #fff;
  position: relative;
  &::after {
    content: "";
    display: block;
    min-width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateY(-50%) rotate(45deg);
    position: absolute;
    right: 1em;
    top: 50%;
  }
}
.anchor_btn {
  max-width: 365px;
  width: 100%;
  height: 50px;
  margin-inline: auto;
}
.anchor_btn a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--main-color);
  background: #fff;
  text-align: center;
  color: var(--main-color);
  position: relative;
  &::after {
    content: "";
    min-width: 8px;
    height: 8px;
    border-right: 2px solid var(--main-color);
    border-bottom: 2px solid var(--main-color);
    display: block;
    position: absolute;
    top: 50%;
    right: 1.5em;
    transform: rotate(45deg) translateY(-45%);
  }
}

/* ------------------
 見出し関連
------------------ */
/* 見出し */
.cmn_heading {
  padding-bottom: 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: bold;
  color: var(--var-color, #000);
}
.cmn_heading--main {
  font-size: var(--font-24);
}
.cmn_heading--en {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--var-color, var(--main-color));
}
.cmn_heading--en::before, .cmn_heading--en::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 7px;
  background: var(--var-color, var(--main-color));
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* 下層ページ用 見出し2 */
.page_heading {
  font-size: var(--font-24);
  font-weight: bold;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #C2C2C2;
  margin-bottom: 1.5em;
  position: relative;
  &::after {
    content: "";
    display: block;
    width: 67px;
    height: 2px;
    background: var(--main-color);
    position: absolute;
    left: 0;
    bottom: -2px;
    z-index: 1;
  }
}

/* ------------------
 テーブル
------------------ */
.cmn_table {
  width: 100%;
}
.cmn_table tr {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0 10px;
}
.cmn_table th {
  width: 261px;
  padding: 0.75em 1.5em;
  border-top: 2px solid var(--sub-color);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #DBF3FD;
  text-align: center;
  font-weight: bold;
  color: var(--sub-color);
  letter-spacing: 0.05em;
  @media screen and (max-width: 767px) {
    width: 100%;
  }
}
.cmn_table td {
  max-width: calc(100% - 271px);
  width: 100%;
  padding: 0.75em 1.5em;
  border-top: 2px solid #BABABA;
  @media screen and (max-width: 767px) {
    max-width: 100%;
    border-top: none;
    padding: 0.75em 1em 1em;
  }
}
@media print, screen and (min-width: 768px) {
  .cmn_table tr:last-child th {
    border-bottom: 2px solid var(--sub-color);
  }
  .cmn_table tr:last-child td {
    border-bottom: 2px solid #BABABA;
  }
}
	
/* ------------------
 テキスト関連
------------------ */
.main_txt {
  padding-bottom: 1.5em;
  color: var(--var-color, #000);
}
.bold_txt {
  font-weight: bold;
}
.center_txt {
  text-align: center;
}
.right_txt {
  text-align: end;
}

/* ------------------
 リスト、インデント関連
------------------ */
/* インデント */
.indent_txt, .indent_list li {
  text-indent: -1em;
  padding-left: 1em;
}
/* 先頭「・」のリスト */
.bullet_list li {
  width: 100%;
  display: flex;
  gap: 0 5px;
  &::before {
    content: "";
    min-width: 6px;
    height: 6px;
    margin: calc(0.5em + 6px) calc((1em - 6px) / 2) 0;
    border-radius: 50%;
    display: inline-block;
    background: var(--sub-color);
  }
}
/* 先頭「数値」のリスト */
.decimal_list {
  margin-left: 1.1em;
  li {
    list-style-type: decimal;
  }
}
/* 先頭「●」のリスト */
.disc_list {
  margin-left: 1.1em;
  li {
    list-style-type: disc;
  }
}
/* 先頭「■」*/
.square {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  &::before {
    content: "";
    display: block;
    width: 1em;
    aspect-ratio: 1 / 1;
    background: var(--main-color);
    margin-top: 0.5em;
  }
}

/* ------------------
 header
------------------ */
.header {
  width: 100%;
  height: 75px;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #fff;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  @media screen and (max-width: 767px) {
    height: 70px;
    padding: 0 10px;
  }
}
.header_logo {
  height: 100%;
  a {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  @media screen and (max-width: 767px) {
    max-width: calc(100% - 80px);
  }
}
.pc_nav {
  height: 100%;
  display: flex;
  align-items: center;
}
.pc_nav--list {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 500;
}
.pc_nav--item {
  height: 100%;
  a {
    width: 100%;
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
  }
  a:hover {
    opacity: 1;
  }
  a:hover::after {
    content: "";
    width: calc(100% - 40px);
    height: 2px;
    display: block;
    background: var(--main-color);
    position: absolute;
    left: 20px;
    bottom: 0;
  }
}

/* お問い合わせ */
.header_contact {
  width: 160px;
  height: 55px;
  margin-left: 20px;
  a {
    width: 100%;
    height: 100%;
    border: 1px solid var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--main-color);
  }
}

/* ------------------
下層ページ共通
------------------ */
/* パンくずリスト */
.breadcrumb {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  @media screen and (max-width: 767px){
    width: 100%;
    overflow: auto;
    margin-bottom: 0.5em;
  }
}
.breadcrumb_list {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 15px;
  line-height: 1.5;
  @media screen and (max-width: 767px){
    width: auto;
    flex-wrap: nowrap;
  }
}
.breadcrumb_item {
  color: #000;
  font-weight: 500;
  a {
    text-decoration: underline;
		color: #000;
    &:hover {text-decoration: none;}
  }
  &:has(a[href]) {
    display: flex;
    align-items: center;
    gap: 0 15px;
  }
  &:has(a[href])::after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
		border-top: 1px solid #BABABA;
    border-right: 1px solid #BABABA;
    transform: rotate(45deg);
  }
  @media screen and (max-width: 767px){
    white-space: nowrap;
    font-size: var(--font-14);
  }
}

/* 関連リンク（link_card）*/
.link_cards {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-20);
}
.link_cards--item {
  max-width: calc(25% - 15px);
  width: 100%;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
  position: relative;
  @media screen and (max-width: 767px) {
    max-width: calc(50% - 7.5px);
  }
}
.link_cards--img {
  width: 100%;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.link_cards--txt {
  width: 80%;
  height: 50px;
  padding: 0 1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  color: #000;
  font-weight: 500;
  line-height: 1.5;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  &::after {
    content: "";
    min-width: 10px;
    height: 10px;
    border-top: 2px solid var(--main-color);
    border-right: 2px solid var(--main-color);
    display: block;
    transform: rotate(45deg);
  }
  @media screen and (max-width: 767px) {
    height: 45px;
    font-size: 1.3rem;
    &::after {
      min-width: 8px;
      height: 8px;
    }
  }
}

/* products */
.products_aside--list {
  display: flex;
  justify-content: center;
  gap: var(--space-20);
  @media screen and (max-width: 767px) {
    width: 90%;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-inline: auto;
  }
}
.products_aside--item {
  max-width: 100px;
  width: 100%;
  @media screen and (max-width: 767px) {
    max-width: calc(100% / 3 - 10px);
  }
}
.products_aside--item a {
  max-width: 100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.products_aside--img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.products_aside--txt {
  width: 100%;
  height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  line-height: 1.5;
}

/* company */
.company_aside {
  max-width: var(--contents-w);
  width: 90%;
  margin: var(--space-65) auto;
  @media screen and (max-width: 767px) {
    height: auto!important;
    margin: 30px auto var(--space-65);
  }
}
.company_aside + .page_section {
  padding-top: 0;
}

/* ページタイトル */
.page_mv {
  width: 100%;
  height: 309px;
  margin-bottom: 30px;
  position: relative;
  @media screen and (max-width: 767px) {
    height: 200px;
  }
}
.page_mv--img {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  @media screen and (max-width: 767px) {
    height: 100%;
	opacity: 0.2;
  }
}
@media screen and (max-width: 767px) {
  .page_mv--img img {
    height: 100%;
    width: auto;
  }
  }
.page_mv--inner {
  max-width: var(--contents-w);
  width: 90%;
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.page_title {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: var(--font-39);
  font-weight: bold;
  transform: translateX(-49px);
  white-space: nowrap;
  &::before {
    content: "";
    display: block;
    width: 32px;
    aspect-ratio: 32 / 17;
    background: var(--var-color, var(--main-color));
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    @media screen and (max-width: 767px) {
      width: 25px;
    }
  }
  @media screen and (max-width: 767px) {
    gap: 10px;
    margin-left: 35px;
    transform: translateX(-35px);
  }
}

/* リード文 */
.page_lead {
  font-size: var(--font-20);
  font-weight: bold;
  text-align: center;
  padding: var(--space-65) 5%;
}

/* お知らせ */
.cmn_news--item {
	width: 100%;
	border-top: 1px solid #000;
	&:last-child {
		border-bottom: 1px solid #000;
	}
}
.cmn_news--item time {
	white-space: nowrap ;
}
.cmn_news--item a {
	width: 100%;
	padding: 1.5em 2em 1.5em 1em;
	display: flex;
	align-items: flex-start;
	gap: 0 2em;
	flex-wrap: wrap;
	position: relative;
	&::after {
		content: "";
		width: 10px;
		height: 10px;
		display: block;
		border-top: 2px solid var(--main-color);
		border-right: 2px solid var(--main-color);
		transform: translateY(-50%) rotate(45deg);
		position: absolute;
		right: 1em;
		top: 50%;
	}
  @media screen and (max-width: 767px) {
    padding: 1em 2em 1em 1em;
  }
}

/* リケンNPR商事の強み */
.cmn_strengths {
  padding-inline: 5%;
  position: relative;
  background: none;
}
.cmn_strengths--lead {
  padding-bottom: 1.5em;
  font-size: var(--font-20);
  font-weight: bold;
  text-align: center;
  color: var(--var-color, #000);
}
.cmn_strengths--img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.cmn_strengths--list {
  max-width: var(--contents-w);
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-20);
  margin: var(--space-65) auto 45px;
  counter-reset: num 0;
  @media screen and (max-width: 767px) {
    gap: 45px var(--space-20);
  }
}
.cmn_strengths--item {
  max-width: calc(20% - 16px);
  width: 100%;
  height: 180px;
  padding-top: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
  position: relative;
  &::before {
    counter-increment: num 1;
    content: '0' counter(num);
    font-family: "Advent Pro", sans-serif;
    font-style: italic;
    font-size: 6.4rem;
    font-weight: 400;
    line-height: 1;
    color: var(--main-color);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    transform: translateY(-65%);
    margin-inline: auto;
  }
  @media screen and (max-width: 767px) {
    max-width: calc(50% - 7.5px);
    height: 150px;
    &::before {
      font-size: 5.4rem;
    }
  }
}
.cmn_strengths--item span {
  font-size: var(--font-20);
  font-weight: bold;
}

/* ------------------
  お問い合わせ
------------------ */
.cmn_contact {
  width: 100%;
  padding: 45px 0 50px;
  background: url(../img/contact_bg.webp) no-repeat center / cover;
}
.contact_btns {
  max-width: var(--contents-w);
  width: 90%;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-inline: auto;
  @media screen and (max-width: 767px) {
    flex-direction: column;
  }
}
.contact_btns--tel, .contact_btns--mail {
  max-width: 415px;
  width: 100%;
  height: 100px;
  background: #fff;
  border: 2px solid var(--main-color);
  @media screen and (max-width: 767px) {
    height: 80px;
  }
}
.contact_btns--tel a , .contact_btns--mail a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: var(--font-24);
  color: var(--main-color);
  font-weight: bold;
}
.contact_btns--mail a::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--main-color);
  border-right: 2px solid var(--main-color);
  transform: rotate(45deg);
}

/* ------------------
  footer
------------------ */
.footer {
  width: 100%;
}
.footer_inner {
  max-width: 1024px;
  width: 90%;
  padding: var(--space-65) 0;
  display: flex;
  justify-content: space-between;
  gap: var(--space-65);
  margin-inline: auto;
}
.footer_left {
  max-width: calc(100% - 365px);
  width: 100%;
  @media screen and (max-width: 767px) {
    max-width: 100%;
  }
}
.footer_address {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 2em 35px;
  margin-top: 2em;
}
.footer_address--item {
  max-width: calc(50% - 35px / 2);
  width: 100%;
  @media screen and (max-width: 767px) {
    max-width: 100%;
  }
}
.footer_nav {
  padding-left: var(--space-65);
  border-left: 1px solid #ddd;
  margin-top: calc(2em + 48px);
  @media screen and (max-width: 767px) {
    display: none;
  }
}
.footer_nav a:hover {
  text-decoration: underline;
}
.footer_nav li {
  padding-left: 1.5em;
}
.footer_nav li.footer_nav--top {
  padding-left: 0;
}
.copyright {
  width: 100%;
  padding: 0 5% 0.2em;
  background: var(--main-color);
  font-size: var(--font-15);
  line-height: 1.5;
  color: #fff;
  letter-spacing: 0.05em;
  text-align: center;
}

/* ------------------
  Backtop
------------------ */
#backtop {
  position: fixed;
  display: block;
  width: 50px;
  height: 50px;
  right: 3%;
  bottom: 50px;
  border-radius: 50%;
  background: rgba(50,50,50,0.9);
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
  z-index: -10;
}
#backtop::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-25%) rotate(-45deg);
  top: 50%;
  left: 0;
  right: 0;
  margin-inline: auto;
}
#backtop.active {
  opacity: 0.6;
  visibility: visible;
  z-index: 50;
}

@media screen and (max-width: 1279px) {
/* 推奨動作環境1280pxに固定 */
  body {
    width: 1280px;
  }
}

@media screen and (min-width: 768px) {
/* PCの場合はtelリンクを無効 */
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

/* iPad調整用 */
@media screen and (orientation: portrait) and (min-width: 768px){}

@media screen and (max-width: 767px) {
  body {width: 100%;}
  .sp_block {display: block;}
  .pc_block {display: none;}

  .pc_nav {display: none;}

  /* ------------------
  スマホメニュー
  ------------------ */
  /* ボタン */
  .spNav_btn {
    display: block;position: absolute; width: 50px;height: 50px;padding-top: 25px; background: var(--main-color);top:10px;right: 10px;transition: all 0.5s;z-index: 11;color: #fff;font-size: 1.2rem;font-weight: bold;border-radius: 0;
    span {position: absolute;display: block;height: 3px;background: #fff;margin-inline: auto;}
    
    /* 閉じた状態 */
    &[aria-pressed="false"] span {width: 30px;transition: all 0.5s;}
    &[aria-pressed="false"] span:nth-child(1) {top: 8px;left: 0;right: 0;}
    &[aria-pressed="false"] span:nth-child(2) {top: 16px;left: 0;right: 0;}
    &[aria-pressed="false"] span:nth-child(3) {top: 24px;left: 0;right: 0;}
    
    /* 開いた状態 */
    &[aria-pressed="true"] span {width: 30px;transition: all 0.5s;}
    &[aria-pressed="true"] span:nth-child(1) {top: 35%;transform: translateY(-1.5px) rotate(45deg);left: 11px;}
    &[aria-pressed="true"] span:nth-child(2) {display: none;}
    &[aria-pressed="true"] span:nth-child(3) {bottom: 65%;transform: translateY(1.5px) rotate(-45deg);left: 11px;}
  }

  /* メニューパネル */
  .spNav_panel {
    display: block;
    max-width: 340px;
    width: 85%;
    height: 100vh;
    padding-top: 70px;
    position: fixed;
    top: 0;
    right: 0;
    transition: all 0.5s;
    background: var(--main-color);
    box-shadow: -8px 0px 8px -1px rgba(0, 0, 0, 0.2);
    overflow: auto;
    z-index: 9;
    
    /* パネルが閉じている状態 */
    &[aria-hidden="true"] {
      visibility: hidden;
      pointer-events: none;
      transform: translateX(100%);
    }

    /* パネルが開いている状態 */
    &[aria-hidden="false"] {
      visibility: visible;
      transform: translateX(0);
    }
  }

  /* メニューパネル内の項目 */
  .spNav_panel--contact {
    width: 90%;
    padding: 10px;
    background: #fff;
    margin: 90px auto 20px;
  }
  .spNav_panel--contact .cmn_heading {
    padding-bottom: 10px;
  }
  .spNav_panel--contact .cmn_heading--txt {
    font-size: var(--font-24);
  }
  .spNav_panel--contact .cmn_heading--txt {
    font-size: var(--font-15);
  }
  .spNav_panel--contact .cmn_contact--btns {
    gap: 10px;
    p:nth-child(1) {
      max-width: calc(27.5% - 20px / 3);
    }
    p:nth-child(2) {
      max-width: calc(45% - 20px / 3);
    }
    p:nth-child(3) {
      max-width: calc(27.5% - 20px / 3);
    }
    a {
      padding: 0.5em 0.25em 0.25em;
      flex-direction: column;
      gap: 3px;
      font-size: 1.3rem;
    }
    img {
      width: 18px;
      height: auto;
    }
    svg {
      width: 18px;
      aspect-ratio: 23 / 16;
    }
    & .icon_fill {
      fill: var(--sub-color);
    }
  }

  .spNav_list {
    width: 100%;
    padding: 0 0 150px;
    font-size: 1.5rem;
  }
  .spNav_list--item {
    border-bottom: 1px solid #fff;
    a {
      display: block;
      padding: 12px 20px;
      color: #fff;
    }
    & > a {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    & > a .arrow_icon {
      --arrow-size: 30px;
      border: 1px solid #fff;
    }
    & > a .arrow_icon::after {
      border-top: 1px solid #fff;
      border-right: 1px solid #fff;
    }
    & > a .arrow_icon::before {
      background: #fff;
      height: 1px;
    }
  }
  .spNav_accordion--title {
    width: 100%;
    padding: 12px 5% 12px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    &::after {
      display: inline-flex;
      justify-content: center;
      align-items: center;
    }
    
    /* アコーディオン開閉時の状態表示 */
    &[aria-expanded="false"]::after {content: "+";}
    &[aria-expanded="true"]::after {content: "-";}

    /* アコーディオン内の項目 */
    &[aria-expanded="false"] + .spNav_accordion {
      max-height: 0;
      height: auto;
    }
    &[aria-expanded="true"] + .spNav_accordion {
      max-height: 1800px;
    }
  }
  .spNav_accordion {
    overflow: hidden;
    background: #fff;
    transition: all 0.5s;
    a {
      padding-left: 5%;
      color: var(--main-color);
    }
    & .arrow_icon {
      --arrow-size: 30px;
    }
    a:has(> .arrow_icon) {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 10px;
    }
  }
  .spNav_accordion--item:first-child a {
    font-weight: bold;
  }
  .spNav_accordion--item:not(:first-child) a {
    padding-left: 10%;
  }
  .spNav_accordion--item:not(:last-child) > a {
    border-bottom: 1px dashed #ccc;
  }
  /* アコーディオン内のアコーディオン */
  .spNav_accordion .spNav_accordion {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 6px;
  }
  .spNav_accordion .spNav_accordion--title {
    color: var(--main-color);
    font-weight: bold;
    background: var(--bg-color);
  }
  .spNav_accordion--subItem {
    max-width: calc(50% - 3px);
    &:nth-child(1) {
      padding-top: 6px;
    }
    &:nth-child(2) {
      padding-top: 6px;
    }
    &:nth-last-child(1) {
      padding-bottom: 6px;
      border-bottom: none;
    }
    &:nth-last-child(2) {
      padding-bottom: 6px;
      border-bottom: none;
    }
  }
  .spNav_accordion--subItem a {
    width: 100%;
    height: auto;
    padding: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    border-bottom: none;
    font-size: var(--font-14);
    img {
      width: 100%;
      height: auto;
    }
  }
  /* bodyをタッチ不可に */
  #onbody {position: absolute;height: 100%;width: 100%; top: 0;left: 0;background: rgba(0, 0, 0, 0.6);z-index: 8;overflow: hidden;pointer-events: none;}
  body:has(#onbody[aria-hidden="true"]) {height: 100%; overflow: hidden;}
}

/* 印刷用設定 */
@media print {
  body {
    width:1280px!important;
    zoom: 0.68;
    -webkit-print-color-adjust: exact;
  }
  .header {
    position: absolute;
    min-width: 1280px;
  }
  #backtop {
    display: none;
  }
}
@page {
  size: A4;margin: 5px;
}