@charset "utf-8";
/* CSS Document */

/* ========================================
  共通スタイル
======================================== */
:root{
  color-scheme: light;

  --bk: #333;
  --gray: #9d9d9d;
  --dark-gray: #8a8a8a;
  --light-gray: #f4f4f4;
  --blue: #1558d6;
  --blue02: #102e9e;
  --red: #c71010;
  --gold: #d6a915;
  --bg-color: #f6f6f6;
  --bd-color: #d3d3d3;
  --shadow: 0 0 8px rgb(0 0 0 / 0.15);
  --shadow-hover: 0 5px 20px 0 rgba(4, 0, 0, 0.1);
  --slider-btn-size: clamp(48px, calc(60 / 1390 * 100vw), 60px);
  --bd-radius: 3px;
  --opacity: .6;

  --size14: clamp(12px, calc(14 / 375 * 100vw), 14px);
  --size16: clamp(14px, calc(16 / 1390 * 100vw), 16px);
  --size18: clamp(16px, calc(18 / 1390 * 100vw), 18px);
  --size24: clamp(20px, calc(24 / 1390 * 100vw), 24px);
  --size32: clamp(24px, calc(32 / 1390 * 100vw), 32px);
  --size48: clamp(32px, calc(48 / 1390 * 100vw), 48px);
  --size64: clamp(40px, calc(64 / 1390 * 100vw), 64px);
  --size72: clamp(48px, calc(72 / 1390 * 100vw), 72px);
}

body{
  font-size: var(--size16);
  font-family: "Inter", "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", Osaka, verdana, "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: var(--bk);
  overflow: hidden;
}


@media screen and (max-width: 374px){
  body{
    font-size: var(--size14);
  }
}

:where(h1,h2,h3){
  text-wrap: wrap;
}

h1,h2,h3,h4,h5,h6{
  font-weight: 700;
}

a{
  display: block;
  text-decoration: none;
  color: var(--bk);
  transition: all .3s ease-in-out;
}

a:link,
a:active,
a:visited,
a:hover{
  color: unset;
}

table{
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

.container{
  max-width: 1390px;
  width: 95%;
  margin: 0 auto;
}

.s-container{
  max-width: 1120px;
  width: 95%;
  margin: 0 auto;
}

@media screen and (min-width: 768px){
  .is_pc{
    display: block!important;
  }
  .is_sp{
    display: none!important;
  }
}

@media screen and (max-width: 767px){
  .container,
  .s-container{
    width: 100%;
    padding: 0 clamp(15px, calc(20 / 768 * 100vw), 20px);
  }
  .is_pc{
    display: none!important;
  }
  .is_sp{
    display: block!important;
  }
}

@media screen and (max-width: 374px){
  .container,
  .s-container{
    padding: 0 clamp(12px, calc(14 / 375 * 100vw), 14px);
  }
}

#overlay{
  position: fixed;
  z-index: 99;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,.75);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease-in-out;
}

#overlay.active{
  opacity: 1;
  visibility: visible;
}

.section-title{
  font-size: var(--size32);
  text-align: center;
  line-height: 1.2;
  margin-bottom: clamp(28px, calc(40 / 1390 * 100vw), 40px);
}


/* ========================================
  ヘッダー
======================================== */
header{
  position: relative;
  z-index: 100;
  box-shadow: var(--shadow);
  background: #fff;
}

.header{
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo{
  width: clamp(237px, calc(365 / 1390 * 100vw), 365px);
}

.header-nav{
  background: #fff;
}

.header-nav__list{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  column-gap: 3em;
}

.header-nav__item a{
  font-weight: 700;
}

.header-nav__item a .icon{
  position: relative;
}

.header-nav__item a .icon--plus{
  padding-left: calc(clamp(20px, calc(22 / 1390 * 100vw), 22px) + 0.3em);
}

.header-nav__item a .icon--cart{
  padding-left: calc(clamp(20.5px, calc(22.5 / 1390 * 100vw), 22.5px) + 0.3em);
}

.header-nav__item a .icon::before{
  position: absolute;
  content: '';
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-position: center center;
  background-size: contain;
  background-repeat: no-repeat;
}

.header-nav__item a .icon--plus::before{
  width: clamp(20px, calc(22 / 1390 * 100vw), 22px);
  height: clamp(20px, calc(22 / 1390 * 100vw), 22px);
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkgMjBIMTNWMTZIMTVWMjJIN1YxMUg5VjIwWk0xMiA3VjlIMlYxM0g2VjE1SDBWN0gxMlpNMjIgMTVIMTBWMTNIMjBWOUgxNlY3SDIyVjE1Wk0xNSAxMUgxM1YySDlWNkg3VjBIMTVWMTFaIiBmaWxsPSIjMzMzMzMzIi8+Cjwvc3ZnPgo=');
}

.header-nav__item a .icon--cart::before{
  width: clamp(20.5px, calc(22.5 / 1390 * 100vw), 22.5px);
  height: clamp(19px, calc(21 / 1390 * 100vw), 21px);
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjMiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyMyAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTAuNSAxSDVMNyAxOEgyMCIgc3Ryb2tlPSIjMzMzMzMzIiBzdHJva2Utd2lkdGg9IjIiLz4KPGNpcmNsZSBjeD0iNiIgY3k9IjIwIiByPSIyIiBmaWxsPSIjMzMzMzMzIi8+CjxjaXJjbGUgY3g9IjIwIiBjeT0iMjAiIHI9IjIiIGZpbGw9IiMzMzMzMzMiLz4KPHBhdGggZD0iTTIwIDEzLjVMNi41IDE1TDYgNUgyM0wyMCAxMy41WiIgZmlsbD0iIzMzMzMzMyIvPgo8L3N2Zz4K');
}

@media screen and (min-width: 768px){
  .header__hamburger{
    display: none;
  }
}

@media screen and (max-width: 767px){
  header{
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
  }

  .header{
    height: 60px;
  }

  .header-nav{
    position: absolute;
    z-index: 100;
    top: 60px;
    right: 0;
    border-top: solid 1px var(--bd-color);
    width: 100%;
    /* height: calc(100vh - 60px); */
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all .3s ease-in-out;
  }

  .header-nav.active{
    opacity: 1;
    visibility: visible;
    transform: translateX(0%);
  }

  .header-nav__list{
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    background: #fff;
  }

  .header-nav__list.column2{
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); */
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border-top: solid 1px var(--bd-color);
  }

  .header-nav__item{
    width: 100%;
  }

  .header-nav__item + .header-nav__item{
    border-top: solid 1px var(--bd-color);
  }

  .header-nav__item:last-of-type{
    border-bottom: solid 1px var(--bd-color);
  }

   .header-nav__list.column2 .header-nav__item{
    border: unset;
    /* border-top: solid 1px var(--bd-color); */
    border-bottom: solid 1px var(--bd-color);
   }

  .header-nav__list.column2 .header-nav__item:first-of-type{
    /* border-top: solid 1px var(--bd-color); */
  }

  .header-nav__list.column2 .header-nav__item:nth-of-type(odd){
    border-right: solid 1px var(--bd-color);
  }

  .header-nav__item a{
    padding: 1em;
    text-align: center;
  }

  .header-nav__list.column2 .header-nav__item a{
    padding: 0.75em 0.5em;
  }

  .header-nav__products-list{
    margin-top: clamp(28px, calc(40 / 768 * 100vw), 40px);
  }

  .header-nav__title{
    font-size: clamp(17px, calc(20 / 768 * 100vw), 20px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
  }

  .header__hamburger{
    display: block;
    width: clamp(20px, calc(30 / 768 * 100vw), 30px);
    height: clamp(16px, calc(24 / 768 * 100vw), 24px);
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
  }

  .header__hamburger span{
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--bk);
    border-radius: 2px;
    transition: all .3s ease-in-out;
  }

  .header__hamburger span:nth-child(1){
    top: 0;
  }

  .header__hamburger span:nth-child(2){
    top: 50%;
    transform: translateY(-50%);
  }

  .header__hamburger span:nth-child(3){
    bottom: 0;
  }

  .header__hamburger.active span:nth-child(1){
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
  }

  .header__hamburger.active span:nth-child(2){
    opacity: 0;
  }

  .header__hamburger.active span:nth-child(3){
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
  }
}

@media (hover: hover){
  .header__logo a:hover{
    opacity: var(--opacity);
  }

  .header-nav__item a:hover{
    opacity: var(--opacity);
  }
}

@media (hover: none){
  .header__logo a:active{
    opacity: var(--opacity);
  }

  .header-nav__item a:active{
    opacity: var(--opacity);
  }
}


/* ========================================
  パンくずリスト
======================================== */
.breadcrumb{
  background: var(--bg-color);
  padding: clamp(6px, calc(10 / 1390 * 100vw), 10px);
}
.breadcrumb.wh{
  background: #fff;
}
.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--size16);
}

.breadcrumb__item:last-child {
  font-weight: 700;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "＞";
  padding: 0 1em;
  color: var(--gray);
  font-weight: 400;
}

.breadcrumb__item a {
  display: inline;
  color: var(--gray);
}

@media screen and (max-width: 767px){
  .breadcrumb__item + .breadcrumb__item::before {
    padding: 0 0.5em;
  }
}


/* ========================================
  フッター
======================================== */
.footer-top{
  padding: clamp(28px, calc(40 / 1390 * 100vw), 40px) 0 clamp(28px, calc(46 / 1390 * 100vw), 46px);
}

.footer-nav{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: clamp(24px, calc(32 / 1390 * 100vw), 32px);
}

.footer-nav__title{
  font-size: clamp(16px, calc(18 / 1390 * 100vw), 18px);
  font-weight: 700;
}

.footer-nav__list{
  margin-top: clamp(12px, calc(18 / 1390 * 100vw), 18px);
}

.footer-nav__item{
  line-height: calc(28 / 16);
}

.footer-nav__item a{
  position: relative;
  display: inline-block;
}

.footer-nav__item a::after{
  position: absolute;
  content: '';
  top: calc(100% - 3px);
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gray);
  scale: 0;
  transform-origin: left bottom;
  transition: scale .3s ease-in-out .1s;
}

.footer-bottom{
  color: #fff;
  background: #1a1a1a;
  padding: clamp(24px, calc(54 / 1390 * 100vw), 54px) 0 clamp(16px, calc(42 / 1390 * 100vw), 42px);
}

.footer-bottom__wrapper{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer__logo{
    width: clamp(280px, 45%, 390px);

}

.footer-bottom .megasoft__logo{
  width: clamp(125px, 17%, 200px);
  margin-left: auto;
}

.footer-bottom .copyright{
  font-size: clamp(11px, calc(13 / 1390 * 100vw), 13px);
  text-align: right;
  margin-top: clamp(6px, calc(8 / 1390 * 100vw), 8px);
}

@media (hover: hover){
  .footer-nav__item a:hover{
    color: var(--gray);
  }

  .footer-nav__item a:hover::after{
    scale: 1;
  }
}

@media (hover: none){
  .footer-nav__item a:active{
    color: var(--gray);
  }

  .footer-nav__item a:active::after{
    scale: 1;
  }
}

@media screen and (max-width: 767px){
  .footer-top{
    padding: 0;
  }

  .footer-nav{
    display: block;
    margin-inline: calc(clamp(15px, calc(20 / 768 * 100vw), 20px) * -1);
    border-top: solid 1px var(--gray);
  }

  .footer-nav__title{
    position: relative;
    padding: 1em;
    cursor: pointer;
    transition: color .3s ease-in-out;
  }

  .footer-nav__unit.active .footer-nav__title {
    color: var(--blue);
  }

  .footer-nav__title::before,
  .footer-nav__title::after{
    position: absolute;
    content: '';
    top: 50%;
    right: 1em;
    width: 14px;
    height: 2px;
    background-color: var(--bk);
    transition: transform .3s ease, opacity .3s ease;
  }

  .footer-nav__title::after {
    transform: translateY(-50%) rotate(90deg);
  }

  .footer-nav__unit.active .footer-nav__title::after{
    transform: translateY(-50%) rotate(0deg);
    opacity: 0;
  }

  .footer-nav__list{
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    border-top: solid 1px var(--gray);
    transition: max-height 0.3s ease;
  }

  .footer-nav__unit.active .footer-nav__list{
    max-height: 500px;
  }

  .footer-nav__item a{
    display: block;
    color: #fff;
    background: var(--bk);
    text-decoration: none;
    padding: 0.75em 2em;
  }

  .footer-nav__item a:hover{
    opacity: unset;
  }

  .footer-nav__item a::after{
    z-index: 2;
    top: 100%;
    scale: 1;
    background: #fff;
  }

  .footer-nav__item:last-of-type{
    border-bottom: solid 1px #fff;
  }

  .footer-bottom__wrapper{
    display: block;
  }

  .footer-bottom .megasoft__logo{
    margin-top: clamp(32px, calc(48 / 768 * 100vw), 48px);
  }
}