/* 
reset.css :reset, color, font-size, font-weight, Typography(h1, h2, h3, h4) 
*/

/* setup */
body,
header,
div,
h1,
h2,
h3,
h4,
h5,
p,
ol,
ul,
li {
  margin: 0;
  padding: 0;
}
/* layout */
html {
  scroll-behavior: smooth;
}
.inner-wrap {
  max-width: 1000px;
  margin: 0 auto;
}
/* font layout */
h3 {
  display: inline-block;
  text-align: center;
  padding: var(--padding-small) calc(var(--padding-large) * 2);
  background-image: url(images/title_deco.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom right;
}
/* header */
.header {
  position: fixed;
  width: 100%;
  background-color: var(--color-transparent-white);
  padding: var(--padding-medium) var(--padding-medium) 0;
  transition: all var(--annimation-duration) ease-in-out;
  border-bottom: 1px solid var(--color-transparent-white);
  z-index: 1;
}
.header:hover {
  background-color: var(--color-white);
}
.inner-header {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  align-items: stretch;
}
.header--down {
  background-color: var(--color-white);
  padding: 0 var(--padding-small);
  border-bottom: 1px solid var(--color-light-white);
}
.header--down .header__logo {
  width: 160px;
}
.header__logo {
  width: 180px;
  height: auto;
  padding: var(--padding-small) 0;
  transition: all var(--annimation-duration) ease-in-out;
}
.header__logo img {
  width: 100%;
}
.header__menu {
  display: flex;
  align-items: center;
}
.header__menu__item {
  font-size: var(--font-regular);
  margin: 0 var(--padding-large);
  height: 100%;
}
.header__menu__item span {
  margin: var(--padding-large) 0;
  line-height: 30px;
  display: block;
  border-bottom: 2px solid transparent;
  transition: all var(--annimation-duration) ease-in-out;
  font-weight: var(--weight-bold);
  cursor: default;
}
.header__menu__item:hover > span {
  color: var(--color-green-light);
  border-bottom: 2px solid var(--color-green-light);
}
.header__menu__item--hover .inner__menu {
  display: flex;
}
.header__menu__item--hover > span {
  color: var(--color-green-light);
  border-bottom: 2px solid var(--color-green-light);
}
.inner__menu {
  position: absolute;
  bottom: -70px;
  left: 0;
  right: 0;
  width: 100%;
  height: 70px;
  background-color: var(--color-beige);
  display: none;
  justify-content: center;
  align-items: center;
  transition: all var(--annimation-duration) ease-in-out;
  border-bottom: 1px solid var(--color-light-grey);
}
.inner__menu.open {
  display: flex;
}
.inner__menu__item {
}
.inner__menu__item a {
  padding: var(--padding-small) var(--padding-large);
  color: var(--color-dark-gray);
  font-weight: var(--weight-bold);
  line-height: 30px;
  display: block;
}
.inner__menu__item:hover a {
  color: var(--color-green-light);
}
.header__toggle-btn {
  position: absolute;
  right: 50px;
  top: 6px;
  font-size: var(--font-regular);
  display: none;
  width: 32px;
  height: 40px;
  border-radius: 3px;
}

.header__toggle-btn .bar {
  display: block;
  width: 0px;
  height: 2px;
  border-radius: 3px;
  background-color: var(--color-dark-grey);
  margin-top: 17px;
  position: relative;
}
.header__toggle-btn .bar:before {
  content: '';
  width: 32px;
  height: 2px;
  border-radius: 3px;
  background-color: var(--color-dark-grey);
  position: absolute;
  left: 0;
  bottom: 0;
  transition: transform 0.3s;
}
.header__toggle-btn .bar:after {
  content: '';
  width: 32px;
  height: 2px;
  border-radius: 3px;
  background-color: var(--color-dark-grey);
  position: absolute;
  left: 0;
  bottom: 0;
  transition: transform 0.3s;
}

.header__toggle-btn.active span:before {
  transform: rotate(45deg);
  transition: transform 0.3s 0.8s;
}

.header__toggle-btn.active span:after {
  transform: rotate(-45deg);
  transition: transform 0.3s 0.8s;
}

.header__toggle-btn:before {
  content: '';
  width: 32px;
  height: 2px;
  background-color: var(--color-dark-grey);
  border-radius: 3px;
  position: absolute;
  right: 0px;
  bottom: 0px;
  transition: width 0.3s 0.4s;
}
.header__toggle-btn:after {
  content: '';
  width: 32px;
  height: 2px;
  background-color: var(--color-dark-grey);
  border-radius: 3px;
  position: absolute;
  left: 0px;
  top: 17px;
  transition: width 0.3s 0.4s;
}

.header__toggle-btn.active:before {
  width: 0;
  right: 0px;
  bottom: 0px;
}
.header__toggle-btn.active:after {
  width: 0;
  left: 0px;
  top: 17px;
}

.pop_wrap { width: 100%; display: flex; flex-wrap:wrap; z-index:10003;  position:relative; background-color:rgba(0,0,0,.3);}
.pop_view { margin:1% 3%; max-width:28rem; width:100%;  display:flex; position: absolute;}
.pop_view img { width:100%; max-height:750px; }
.pop_view table tr:nth-child(2) td { background-color:#181818; color:#ffffff; padding:5px; font-size:15px; }
.pop_view table tr:nth-child(2) td div:nth-child(1) { float:left; cursor:pointer; }
.pop_view table tr:nth-child(2) td div:nth-child(2) { float:right; padding-top:1px; cursor:pointer; }

@media screen and (max-width: 60rem) {
  .pop_view {    
    height: 100%;
    margin: auto;
  }  
}
@media screen and (max-width: 48rem) {  
  .pop_view {    
    height: 100%;    
  }
  .pop_view img {    
    max-height: 450px;
  }
}
/* 62.5rem = 1000px */
/* @media screen and (max-width: 62.5rem) {
  .header__menu__item {
    padding: 0 var(--padding-medium);
    font-size: var(--font-small);
  }
} */
/* 48rem = 768px */
@media screen and (max-width: 48rem) {
  /* layout */
  .inner-wrap {
    width: 90%;
  }
  /* header */
  .header {
    background-color: var(--color-white);
    border-bottom: 1px solid var(--color-light-white);
  }
  .header--open {
    position: fixed;
    height: 100vh;
    z-index: 9;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .header--open::-webkit-scrollbar {
    width: 0 !important;
  }
  .header__menu {
    padding-top: var(--padding-large);
  }

  /* ---------------- */
  .header--open .header__menu {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    padding-bottom: 80px;
  }

  .header__menu__item {
    padding: 0;
    font-size: var(--font-regular);
    border-top: 1px solid var(--color-light-white);
  }
  .header__menu__item span {
    display: block;
    line-height: 50px;
    cursor: pointer;
  }
  .header__toggle-btn {
    display: block;
    top: 4px;
    right: 16px;
    font-size: var(--font-medium);
  }
  .inner-header {
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--color-white);
  }
  .header__logo {
    width: 140px;
  }
  .header__menu {
    flex-direction: column;
    text-align: center;
    width: 100%;
    display: none;
  }
  .header__menu.open {
    display: block;
  }

  .inner__menu {
    position: static;
    flex-direction: column;
    height: auto;
  }
  .inner__menu.open {
    display: flex;
  }
  .inner__menu__item {
    padding: var(--padding-large);
    width: 100%;
  }
}
