@charset "utf-8";
/* 
Theme Name: Parcel Theme
Description: Parcelオリジナルテーマ
*/

/* RESET */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}   
a {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  text-decoration: none;
}

/* FONTS */
/* @font-face {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 400;
    src: local('Gotham'), url('https://fonts.cdnfonts.com/s/14898/GothamBook.woff') format('woff');
}
@font-face {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 300;
    src: local('Gotham'), url('https://fonts.cdnfonts.com/s/14898/GothamLight.woff') format('woff');
}
@font-face {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 500;
    src: local('Gotham'), url('https://fonts.cdnfonts.com/s/14898/GothamMedium.woff') format('woff');
}
@font-face {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 500;
    src: local('Gotham'), url('https://fonts.cdnfonts.com/s/14898/GothamMedium_1.woff') format('woff');
}
@font-face {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 700;
    src: local('Gotham'), url('https://fonts.cdnfonts.com/s/14898/GothamBold.woff') format('woff');
}
@font-face {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 700;
    src: local('Gotham'), url('https://fonts.cdnfonts.com/s/14898/Gotham-Bold.woff') format('woff');
} */
@font-face {
    font-family: 'Gotham Black';
    font-style: normal;
    font-weight: 500;
    src: local('Gotham Black'), url('https://fonts.cdnfonts.com/s/14898/Gotham-Black.woff') format('woff');
}
@font-face {
    font-family: 'Gotham Light';
    font-style: normal;
    font-weight: 500;
    src: local('Gotham Light'), url('https://fonts.cdnfonts.com/s/14898/Gotham-Light.woff') format('woff');
}
@font-face {
    font-family: 'Gotham Thin';
    font-style: normal;
    font-weight: 500;
    src: local('Gotham Thin'), url('https://fonts.cdnfonts.com/s/14898/Gotham-Thin.woff') format('woff');
}
@font-face {
    font-family: 'Gotham XLight';
    font-style: normal;
    font-weight: 500;
    src: local('Gotham XLight'), url('https://fonts.cdnfonts.com/s/14898/Gotham-XLight.woff') format('woff');
}
@font-face {
    font-family: 'Gotham Book';
    font-style: normal;
    font-weight: 400;
    src: local('Gotham Book'), url('./assets/fonts/Gotham-Book.woff') format('woff'), url('./assets/fonts/Gotham-Book.woff2') format('woff2');
}
@font-face {
    font-family: 'Gotham Thin';
    font-style: italic;
    font-weight: 500;
    src: local('Gotham Thin'), url('https://fonts.cdnfonts.com/s/14898/Gotham-ThinItalic.woff') format('woff');
}
@font-face {
    font-family: 'Gotham Ultra';
    font-style: italic;
    font-weight: 500;
    src: local('Gotham Ultra'), url('https://fonts.cdnfonts.com/s/14898/Gotham-UltraItalic.woff') format('woff');
}
@font-face {
    font-family: 'Gotham XLight';
    font-style: italic;
    font-weight: 500;
    src: local('Gotham XLight'), url('https://fonts.cdnfonts.com/s/14898/Gotham-XLightItalic.woff') format('woff');
}

/* COMMON */
:root {
  --color-text: #343534;
  --color-light: #FFFFFE;
  --color-theme: #499EBE;
  --color-theme2: #34637E;
  --color-theme3: #0B4062;
  --font-body: "Yu Gothic Medium", YuGothic, "Yu Gothic", yu-gothic-pr6n, sans-serif;
  --font-title: 'Gotham XLight', sans-serif;
  --font-title-weight: 400;
  --font-menu: 'Gotham Book', sans-serif;
  --font-menu-weight: 400;
  --font-size-xl: 72px;
  --font-size-l: 36px;
  --font-size-m: 16px;
  --font-size-s: 12px;
  --font-size-title: 56px;
  --font-size-gallery: 14px;
  --font-icon-size-xl: 68px;
  --font-icon-size-l: 32px;
  --font-icon-size-m: 16px;
  --font-icon-size-s: 10px;
  --font-icon-size-title: 52px;
  --font-icon-size-gallery: 18px;
  --line-height-title: 60px;
  --section-side-padding: 40px;
  --section-side-padding-gallery: 20px;
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: #fff;
  font-family: var(--font-body);
  font-weight: 400;
  font-style: normal;
  font-size: var(--font-size-m);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-theme2);
}
@media (hover: hover) and (pointer: fine) {
  a:hover {
    color: var(--color-theme);
  }
}

.project-gallery,
#header-inner,
.layout-1,
.layout-2,
.section {
  margin: auto;
  max-width: 1440px;
  /* border: 1px solid #eee; */
}

/* section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f7f7f7;
} */

.section {
  padding: 0;
}

.layout-2,
.layout-1 {
  display: flex;
  flex-direction: row;
}

.layout-1 .section-left,
.layout-1 .section-right,
.layout-2 .section-left,
.layout-2 .section-right {
  box-sizing: border-box;
}

.layout-1 .section-left {
  width: 24%;
}

.layout-1 .section-right {
  width: 76%;
}

.layout-2 .section-left {
  width: 35%;
}

.layout-2 .section-right {
  width: 65%;
}

.section-title {
  color: var(--color-theme2);
  display: block;
  font-family: var(--font-title);
  font-size: var(--font-size-title);
  line-height: var(--line-height-title);
  padding-left: var(--font-size-title);
  position: relative;
}

.section-title:before {
  background-image: url(assets/parcel-title-icon.svg);
  background-repeat: no-repeat;
  background-size: contain;
  content: ' ';
  display: inline-block;
  height: var(--font-icon-size-title);
  width: var(--font-icon-size-title);
  position: absolute;
  top: 0.05em;
  left: 0;
}

.sp-only {
  display: none;
}
@media (max-width: 1080px) { 
  :root {
    --font-size-title: 40px;
    --font-icon-size-title: 36px;
  }
  /* .section-title:before {
    top: 1em;
  } */
}
@media (max-width: 768px), (max-width: 1024px) and (orientation: portrait) { 
  .pc-only {
    display: none !important;
  }
  .sp-only {
    display: inherit !important;
  }
  
  :root {
    --font-size-xl: 40px;
    --font-size-l: 28px;
    --font-size-m: 12px;
    --font-size-s: 10px;
    --font-size-title: 36px;
    --font-size-gallery: 14px;
    --font-icon-size-xl: 68px;
    --font-icon-size-l: 26px;
    --font-icon-size-m: 12px;
    --font-icon-size-s: 10px;
    --font-icon-size-title: 36px;
    --font-icon-size-gallery: 13px;
    --line-height-title: 40px;
    --section-side-padding: 28px;
  }

  .layout-2,
  .layout-1 {
    flex-direction: column;
  }

  .layout-1 .section-left,
  .layout-1 .section-right,
  .layout-2 .section-left,
  .layout-2 .section-right {
    width: 100%;
  }
}
@media (min-width: 1920px) {
  .layout-1 .section-left {
    width: 24%;
  }

  .layout-1 .section-right {
    width: 76%;
  }

  .layout-2 .section-left {
    width: 600px;
  }

  .layout-2 .section-right {
    width: 840px;
  }
}

/*HEADER*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 9010;
  background-color: rgba(255,255,255,0.5);

  opacity: 0;
  -webkit-transform: translateY(-10%);
  transform: translateY(-10%);
  transition: opacity 1.5s ease-out 2.5s, transform 1.5s ease-out 2.5s;
}

#header.inview {
  /* -webkit-animation: fade-up 1.0s ease-out both; */
  /* animation: fade-up 1.0s ease-out both; */
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
  opacity: 1;
  /* -webkit-animation-delay: 3.0s;
  animation-delay: 3.0s; */
}

#header-inner {
  box-sizing: border-box;
  display: flex;
  padding: 0 var(--section-side-padding);
}

#logo-link {
  display: inline-block;
}

#header .menu-list {
  float: right;
  display: flex;
}

#header .menu-list a {
  color: var(--color-text);
  display: block;
  font-family: var(--font-menu);
  font-weight: var(--font-menu-weight);
  font-size: 14px;
  line-height: 24px;;
  width: 100px;
  text-align: center;
  overflow: hidden;
  position: relative;
}

/* #header .menu-list a:after {
  display: block;
  content: '';
  height: 1px;
  position: absolute;
}

#header .menu-list a:after {
  background-color: var(--color-theme);
  bottom: 0;
  -webkit-transition: -webkit-transform .6s;
  transition: transform .6s;
  transition: transform .6s,-webkit-transform .6s;
  -webkit-transform: translate3d(-100%,0,0);
  transform: translate3d(-100%,0,0);
  left: 0;
  width: 100%;
} */

@media (hover: hover) and (pointer: fine) {
  #header .menu-list a:hover {
    color: var(--color-theme);
  }

  /* #header .menu-list a:hover:after {
    bottom: 0;
    -webkit-transition: -webkit-transform .6s;
    transition: transform .6s;
    transition: transform .6s,-webkit-transform .6s;
    -webkit-transform: translate3d(0%,0,0);
    transform: translate3d(0%,0,0);
    left: 0;
    width: 100%;
  } */
}

#header #nav-check {
  display: none;
}

#header .nav-btn {
  position: absolute;
  right: 22px;
  top: 6px;
  opacity: 0;
}

#header .nav-btn > label {
  display: inline-block;
  width: 24px;
  height: 22px;
  padding: 13px;
}
#header .nav-btn > label > span {
  display: block;
  width: 25px;
  height: 1px;
  border-top: 1px solid var(--color-theme2);
}

.hamburger-icon span {
  position: relative;
  transition: transform .2s ease-in-out, top .2s ease-in-out .2s, opacity .01s linear .2s;
  top: 0;
  opacity: 1;
}
.hamburger-icon span:nth-child(1) {
  top: 2px;
}
.hamburger-icon span:nth-child(2) {
  top: 9px;
}
.hamburger-icon span:nth-child(3) {
  top: 16px;
}
.open .hamburger-icon span:nth-child(1) {
  transform: rotate(45deg);
  top: 11px;
  transition: top .2s ease-in-out, transform .2s ease-in-out .2s;
}
.open .hamburger-icon span:nth-child(3) {
  transform: rotate(-45deg);
  top: 7px;
  transition: top .2s ease-in-out, transform .2s ease-in-out .2s;
}
.open .hamburger-icon span:nth-child(2) {
  opacity: 0;
  transition: opacity .01s linear .2s;
}

#menu-bg {
  display: none;
  background-color: var(--color-light);
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s cubic-bezier(0, 0, 0.58, 1) .2s, height .2s cubic-bezier(0, 0, 0.58, 1) .2s;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9001;
  content: ' ';
  height: 100%;
  width: 100%;
}

#time-weather {
  color: var(--color-theme2);
  float: left;
  font-family: var(--font-menu);
  font-weight: bold;
  line-height: 24px;
  display: flex;
  align-items: center;
}

#local-time {
  display: inline-block;
  line-height: 24px;
}
#tokyo-name {
  margin: 0 0.5em;
}
#tokyo-weather {
  display: flex;
  align-items: center;
  height: 24px;
}

#tokyo-weather img {
  height: 22px;
}
#tokyo-weather span {
  line-height: 24px;
  display: inline-block;
}

@media (min-width: 769px) and (orientation: landscape) {
  #header .nav-btn {
    pointer-events: none;
  }
}
@media (max-width: 768px), (max-width: 1024px) and (orientation: portrait) { 
  #menu-bg {
    display: block;
  }
  #menu-bg.fadeIn { 
    height: 100%;
    opacity: 1; 
  }

  #header-inner {
    flex-direction: row;
  }
  #header-inner .section-left {
    width: auto;
    padding-right: 1em;
  }
  #header #time-weather {
    /* display: none; */
  }
  #tokyo-weather img {
    height: 12px;
    width: auto;
  }

  #header .menu-list {
    flex-direction: column;
    position: absolute;
    top: 52px;
    right: 36px;  
  }

  #header .menu-list a {
    text-align: right;
    padding: 10px 0;
  }

  .nav-outer .nav .nav-links-wrap {
    position: relative;
  }
  #header .nav-btn {
    transform: translateX(50%);
  }
  #header .nav-btn,
  #header .menu-list {
    transition: opacity .3s ease-in-out .0s, transform 0.5s ease-in-out;
  }
  #header .nav-btn {
    opacity: 1;
    transform: translateX(0);
  }

  #header .menu-list:not(.show),
  #header .menu-list.fadeout {
    pointer-events: none;
    opacity: 0;
  }

}

/*CURSOR*/
#cursor {
  position: fixed;
  z-index: 9011;
  left: 0;
  top: 0;
  pointer-events: none;
  will-change: transform;
  /* mix-blend-mode: difference; */
}

@media (hover: hover) and (pointer: fine) {
  .cursor__circle {
    background-color: var(--color-theme);
    width: 16px;
    height: 16px;
    margin-top: -50%;
    margin-left: -50%;
    border-radius: 50%;
    /* border: solid 1px rgba(227, 222, 193, 0.64); */
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      border-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
      height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  }
  
  #cursor.filter-button .cursor__circle,
  #cursor.menu-link .cursor__circle {
    width: 8px;
    height: 8px;
    background-color: var(--color-theme);
    border-color: var(--color-theme);
  }

  #cursor.menu-link-ext .cursor__circle {
    width: 6px;
    height: 6px;
    background-color: transparent;
    border-width: 2px;
    border-color: var(--color-light);
    border-style: solid;
    animation-name: cursorBorderColorPulse;
    animation-duration: 1.0s;
    animation-iteration-count: infinite;
  }

  #cursor.intro .cursor__circle {
    width: 32px;
    height: 32px;
    background-color: var(--color-light);
    border-color: var(--color-light);
  }

  #cursor.about .cursor__circle {
    width: 16px;
    height: 16px;
    background-color: var(--color-light);
    border-color: var(--color-light);
  }

  #cursor.read-more .cursor__circle {
    width: 16px;
    height: 16px;
    background-color: var(--color-light);
    border-color: var(--color-light);
    animation-name: cursorColorPulse;
    animation-duration: 1.0s;
    animation-iteration-count: infinite;
  }

  #cursor.item-link .cursor__circle {
    width: 16px;
    height: 16px;
    background-color: transparent;
    border-width: 3px;
    border-color: var(--color-light);
    border-style: solid;
    animation-name: cursorBorderColorPulse;
    animation-duration: 1.0s;
    animation-iteration-count: infinite;
  }

  #cursor.mail-link .cursor__circle {
    width: 16px;
    height: 16px;
    background-color: transparent;
    border-width: 3px;
    border-color: var(--color-light);
    border-style: solid;
    animation-name: cursorBorderColorPulse;
    animation-duration: 1.0s;
    animation-iteration-count: infinite;
  }
  
}

@keyframes cursorColorPulse {
  0% {
    background-color: var(--color-light);
  }
  50% {
    background-color: var(--color-theme);
  }
  100% {
    background-color: var(--color-light);
  }
}

@keyframes cursorBorderColorPulse {
  0% {
    border-color: var(--color-light);
  }
  50% {
    border-color: var(--color-theme);
  }
  100% {
    border-color: var(--color-light);
  }
}

/*FOOTER*/
footer {
  padding-top: 200px;
  font-size: var(--font-size-s);
}

footer .section {
  box-sizing: border-box;
  padding: 20px var(--section-side-padding);
}

@media (max-width: 768px), (max-width: 1024px) and (orientation: portrait) { 
  footer {
    padding-top: 100px;
  }
}

/**
 * ----------------------------------------
 * animation fade-up
 * ----------------------------------------
 */
 .fade-up {
  -webkit-animation: fade-up 0.5s ease-out both !important;
  animation: fade-up 0.5s ease-out both !important;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

@-webkit-keyframes fade-up {
  0% {
    -webkit-transform: translateY(10%);
    transform: translateY(10%);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-up {
  0% {
    -webkit-transform: translateY(10%);
    transform: translateY(10%);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@-webkit-keyframes fade-up-out {
  0% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateY(-10%);
    transform: translateY(-10%);
    opacity: 0;
  }
}

@keyframes fade-up-out {
  0% {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
    opacity: 1;
  }

  100% {
    -webkit-transform: translateY(-10%);
    transform: translateY(-10%);
    opacity: 0;
  }
}