/*********** kyoutuu ***********/
body{
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "Meiryo UI", "メイリオ", Meiryo, sans-serif;
}
.clearfix::after {
	content: "";
	display:  block;
	clear: both;
}

#wrapper{
  overflow: hidden;
}

section {
  margin: 70px 40px 0 40px;
}

/***sction kyoutuu***/
section {
  margin: 70px 40px 0 40px;
}

.header {
  padding-bottom: 13px;
  border-bottom: solid 1px #4A65B0;
}

.header h2 {
  font-size: 20px;
  color: #4A65B0;
}

/*********** header ************/

.work-header{
  width: 100vw;
  height: 80vh;
  background-position: center;
  background-size: cover;
  /*background-image: url(../images/AdobeStock_487484333.jpeg);*/
  z-index: 999;
  position: relative;
}

.work_b {
  background-image: url(../images/bg_bn_blur.jpg);
  opacity: 0.7;
}

.work_d {
  background-image: url(../images/AdobeStock_487484333.jpeg);
}


header h1 {
  padding-top: 40px;
  margin-left: 40px;
  font-size: 21px;
  font-weight: bold;
}

.nav a {
  text-decoration: none;
  color: #122A88;
  padding-bottom: 3px;
  background-image: linear-gradient(#F6C453, #F6C453);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 0 1px;
  transition: background-size 0.3s;
  font-weight: bold;
}

.nav a:hover{
  background-position: bottom left;
  background-size: 100% 2px;
}

/*********** hamburgerMenu ************/

.menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 150px;
  height: 100%;
  color: #4A65B0;
  transition: right 0.3s ease; /* スライドインのアニメーション */
  padding: 20px 30px 20px 20px;
  box-sizing: border-box;
  z-index: 10;
  background-color: rgba(255, 255, 255, 0.9);
}

.menu.open {
  right: 0;
}

.hamburger {
  position: fixed;
  top: 40px;
  right: 40px;
  width: 30px;
  cursor: pointer;
  z-index: 20;
  display: block !important;   /* 初期から見せる：JSの display:none を無効化 */
  opacity: 1 !important;       /* 透明を無効化 */
  pointer-events: auto;   
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #122A88;
  margin: 5px 0;
  transition: 0.4s;
  border-radius: 3px;
}

/* バツ印に変化するスタイル */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.menu ul {
  list-style-type: none;
  padding: 0;
  margin-top: 80px;
}

.menu li {
  padding: 20px 0;
  border-bottom: 1px solid #122A88;
}

.menu li a {
  color: #122A88;
  text-decoration: none;
  display: block;
  position: relative;
  padding: 0 10px;
  z-index: 1;
}

.menu li a::before {
  position: absolute;
  left: 0;
  width: 0;
  height: 100%;
  content: "";
  background-color: #FFE38E;
  transition: 0.3s;
  z-index: -1; 
}

.menu li a:hover::before {
  width: 100%;
}

/*********** footer ************/

#ichiran {
  font-size: 0.875rem;
  margin-left: 1.25rem;
  margin-bottom: -1.25rem;
}


#ichiran a {
  text-decoration: none;
  color: #4A65B0;
}

#ichiran a:hover {
  color: #F6C453;
}


#pageTop {
  font-size: 0.875rem;
  text-align: right;
  margin-right: 1.25rem;
  margin-bottom: 15px;
}

#pageTop a{
  display: inline-flex;
  align-items: center; 
  text-decoration: none;
  color: #4A65B0;
}

.arrow-up {
  position: relative;
  display: inline-block;
  width: 1px;
  height: 20px;
  margin-left: 10px;
  border-radius: 9999px;
  background-color: #4A65B0;
}

.arrow-up::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 2px);
  width: 1px;
  height: 8px;
  border-radius: 9999px;
  background-color: #4A65B0;
  transform: rotate(45deg);
  transform-origin: 50% 2px;
} 

#pageTop a:hover {
  color: #F6C453;
}

#pageTop a:hover .arrow-up,
#pageTop a:hover .arrow-up::before {
  background-color: #F6C453;
}

footer {
  height: 100px;
  border-top: solid 1px #4A65B0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  color: #4A65B0;
  margin-left: 40px;
}

.copy a {
  text-decoration: none;
  color: #4A65B0;
}

.sns {
  margin-right: 40px;
}

.sns img {
  width: 30px;
  margin-left: 10px;
  filter: brightness(0) saturate(100%) invert(38%) sepia(13%) saturate(2262%) hue-rotate(186deg) brightness(99%) contrast(92%);
}



/*********** section ************/

.inner  {
    margin: 30px 0 0 40px;
    color: #3E3E45;
}

.setumei {
    margin: 30px 0 50px;
}

.setumei li {
    display: grid;
    grid-template-columns: 120px auto;
    margin-bottom: 10px;
}

.setumei h3 {
    color: #4A65B0;
}

.sakuhin-img {
  display: flex;
  flex-direction: column; 
  align-items: center; 
  gap: 20px; 
  margin-bottom: 6.25rem;
}

.sakuhinimg {
  align-items: center; 
  text-align: center;
  margin: 6.25rem 0;
}

img {
  width: 70%; 
  height: auto;
}


/*********** responsive ************/
@media screen and (max-width: 767px) {

  .work-header {
    height: 50vh;
  }
  
  .inner {
    margin: 30px 20px 0 20px;
  }

  img {
    width: 100%;
  }
}

@media screen and (max-width: 449px) {
  .text, .setumei {
    font-size: 14px;
  }

  .setumei li {
    grid-template-columns: 100px auto;
  }

    
}