@charset "UTF-8";

body {
  margin: 0 0;
  width: 100%;
  color: #35318f;
  position: relative;
  -webkit-text-size-adjust: none;
  font-family: "Noto Sans JP", sans-serif;
  font-feature-settings: "palt" 1;
  font-weight: 400;
  line-height: 1.75;
  text-align: justify;
  font-size: 100%;
  overflow-x: hidden;
  background: #fff;
  
}
a {
  user-select: none;
  transition: 0.3s ease opacity;
}
a:hover {
  opacity: 0.6;
}
img{
  width: 100%;
  height: auto;
}
main{
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.inner{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.ib{
  display: inline-block;
}

@media screen and (max-width:680px) {
.wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0 17.5px;
    margin: 0 auto;
    position: relative;
  }
}

/* ヘッダー---------------- */
header{
  background: #fff;
  position: fixed;
  top:0;
  left: 0;
  width: 100%;
  z-index: 10;
  border-bottom: 10px solid #35318f;
}
#header-content{
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
}
#header-logo{
  width: 610px;
}
#header-nav{
  display: none;
}
#header-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 2;
}
@media screen and (max-width:1200px) {
  #header-content{
    padding: 25px 15px;
  }
}
@media screen and (max-width:1000px) {
  #header-content{
    padding: 25px 15px;
    align-items: center;
    gap: 15px;
  }
  #header-logo{
    width: fit-content;
    max-width: 610px;
    height: auto;
  }
  #header-nav{
    display: block;
    position: fixed;
    right: -100%;
    top: 120px;
    background: #fff;
    width:100%;
    max-width: 470px;
    height: 100%;
    max-height: calc(100vh - 120px);
    overflow-y: scroll;
    scrollbar-width: none;
    
  }
  #header-nav > ul{
    flex-direction: column;
  }
  #header-nav > ul > li{
    padding: 0;
  }
  #header-nav  ul li.nav > a{
    background: #ffffff;
    padding: 20px;
    display: flex;
    gap: 0 5px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #35318f;
  }
  #header-nav  ul li.nav > a .image{
    width: 2em;
    height: 2em;
    aspect-ratio: 1/1;
  }
  #header-nav > ul > li:not(:first-child){
    border-top: none;
  }

}

@media screen and (max-width:580px) {
  #header-nav{
    top: 105px;
    max-height: calc(100vh - 105px);
  }
}

@media screen and (max-width:680px) {
  #header-content{
    padding: 25px 0;
  }
}
/* スマホボタン---------------- */
#header-button {
  display: none;
  
}
@media screen and (max-width:1000px) {
  #header-button {
    display: block;
    cursor: pointer;
  }
#header-button .button{
  margin:  0 auto 0;
  width: 45px;
  text-align: center;
  position: relative;

}
#header-button .button .inner{
  height: 45px;
  position: relative;
  z-index: 2;
  display: block;
  text-decoration: none;
  user-select: none;
}

  .hnbgmenu {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 45px;
    height: 45px;
    cursor: pointer;
  }
  .menu-text{
    color: #827f7a;
    font-size: 0.96em;
    font-weight: 600;;
    display: block;
    width: 40px;
    height: auto;
    position: absolute;
    left: 0;
    top: 100%;
  }
  .menu-text::after,
  .menu-text::before {
    text-align:left;
    line-height: 1;
    white-space: nowrap;
  }
  .menu-line,
  .menu-inner::after,
  .menu-inner::before {
    position: absolute;
    display: block;
    width: 100%;
    left: 0%;
    height: 9px;
    border-radius: 2px;
    transition: .15s ease-out;
    background-color: #827f7a;
  }
  .menu-inner::after,
  .menu-inner::before {
    content: "";
  }
  .menu-text::before{
    content:"MENU";
  }
  .menu-text::after{
    content:"CLOSE";
  }
  
  .menu-line {
    top: calc(50% - 4.5px);
  }
  .menu-inner::before {
    top: calc(0% - 0px);
  }
  .menu-inner::after {
    top: calc(100% - 9px);
  }
  #header-button .menu-text::before{
    display: block;
  }
  #header-button.active .menu-text::before{
    display: none;
  }
  #header-button .menu-text::after{
    display: none;
  }
  #header-button.active .menu-text::after{
    display: block;
  }
  
  #header-button.active .menu-line{
    display: none;
  }
  #header-button.active .menu-inner::before {
    transform: translateY(18px) translateX(0px) rotate(-135deg);
  }
  #header-button.active .menu-inner::after {
    transform: translateY(-18px) translateX(0px) rotate(135deg);
  }


}

/* メイン---------------- */

main{
  margin-top: 115px;
  background: #dcdddd;
}
main .wrapper{
  padding: 30px 20px;
  background: #fff;
}

#skip {
  position: absolute;
  left: -9999em;
}

@media screen and (max-width:1200px) {
  main{
    margin-top: 95px;
  }
}

/* メインビジュアル---------------- */
#main_visual{
  position: relative;
}
#main_visual .wrapper{
  padding: 0;
}
#main_visual .image{
  position: relative;
  width: 100%;
  height: auto;
  z-index: 1;
}

.category-wrap{
  display: flex;
  flex-wrap: wrap;
}
.category-wrap > div{
  box-sizing: content-box;
  width: calc(calc(100% - 102px) / 3);
  aspect-ratio: 1/1;
  
  border-right: 1px solid #c8d0ea;
  border-top: 1px solid #c8d0ea;
  padding-top: 20px;
  padding-bottom: 20px;
}


@media screen and (min-width:1000px) {
.category-wrap > div:nth-child(3n-2){
  padding-left: 0;
  padding-right: 25px;
}
.category-wrap > div:nth-child(3n-1){
  padding-left: 25px;
  padding-right: 25px;
}
.category-wrap > div:nth-child(3n){
  padding-left: 25px;
  padding-right: 0;
}
.category-wrap > div:nth-child(3n){
  border-right: none;
}
.category-wrap > div:nth-child(-n+3){
  border-top: none;
  padding-top: 0;
}
}
@media screen and (min-width:600px) and (max-width:999px) {
.category-wrap > div{
  width: calc(calc(100% - 51px) / 2);
  aspect-ratio: unset;
}
.category-wrap > div:nth-child(2n-1){
  padding-left: 0;
  padding-right: 25px;
}
.category-wrap > div:nth-child(2n){
  padding-left: 25px;
  padding-right: 0;
}
.category-wrap > div:nth-child(2n){
  border-right: none;
}
.category-wrap > div:nth-child(-n+2){
  border-top: none;
  padding-top: 0;
}
}
@media screen and (max-width:599px) {
.category-wrap  > div{
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  border-right: none;
  aspect-ratio: unset;
}
.category-wrap .category:first-child{
  border-top: none;
  padding-top: 0;
}
}
.category-wrap .category h2{
  color: #36318f;
  font-size: 1.3em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
}

.category-wrap .category .image{
  width: 160px;
  margin: auto;
  margin-bottom: 15px;
}
.category-wrap .category .image img{
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
}
.category-wrap .category a{
  color: #333;
  text-decoration: none;
}
.category-wrap .category .link ul{
  display: flex;
  gap: 10px;
  flex-direction: column;
}
.category-wrap .category .link li{
  margin-left: 25px;
  line-height: 1.28em;
  font-size: 0.875em;
  position: relative;
}
.category-wrap .category .link li a:before{
  content:"";
  display: block;
  width :20px;
  height: 20px;
  background:url(../images/arrow-green.png) no-repeat center / contain;;
  position: absolute;
  left: -25px;
  top: 0em;
}

/* フッター---------------- */
footer {
  width: 100%;
  position: relative;
  background: #36318f;
  color: #fff;
  border-top: 50px solid #36318f;
  text-align: center;
  
}
footer a {
  text-decoration: none;
  color: #fff;
}
