@charset "utf-8";
body {
  font-family: "Ryumin Regular KL","Yu Mincho","YuMincho","Hiragino Mincho Pro",serif;
}
header {
  width: 100%;
  position: fixed;
  z-index: +1;
  background: #ffffffee;
  backdrop-filter: blur(4px);
  font-size: 16px;
  letter-spacing: 1px;
  font-family: "Shimanami JIS2004",serif;
  border-bottom: 1px solid;
  border-image: linear-gradient(90deg,#b66b00 0%,#daad00 48%,#ffcc00 60%,#daad00 72%,#b66b00 100%);
  border-image-slice: 1;
}
header img {
  width: 270px;
  height: 60px;
  display: block;
  transition: 600ms;
}
header img:hover {
  opacity: 0.6;
}
header nav {
  width: 96%;
  max-width: 1200px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 8px;
  margin-right: auto;
  margin-left: auto;
}
header nav ul {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  padding-top: 14px;
  padding-right: 24px;
}
header nav ul li {
  width: 120px;
  line-height: 3.2em;
}
header nav ul li a {
  display: inline-block;
  position: relative;
}
header nav ul li a:after {
  width: 0%;
  position: absolute;
  top: 40px;
  left: 50%;
  content: '';
  border-bottom: 1px solid;
  border-image: linear-gradient(90deg,#b66b00 0%,#daad00 48%,#ffcc00 60%,#daad00 72%,#b66b00 100%);
  border-image-slice: 1;
  transform: translateX(-50%);
  transition: 600ms;
}
header nav ul li a:hover {
  color: #000099;
}
header nav ul li a:hover:after {
  width: 160%;
}
header nav ul li h1 {
  background: #ffffff;
  background-image: url(../img/bg3.jpg);
  font-size: 20px;
  margin-bottom: -1px;
  border-width: 1px 1px 0px 1px;
  border-image: linear-gradient(135deg,#b66b00 0%,#feef00 48%,#ffcc00 72%,#b66b00 100%);
  border-image-slice: 1;
}
header nav ul li h1 a:hover {
  transform: rotateX(360deg);
  transition: 1200ms;
}
header nav ul li h1 a:hover:after {
  width: 0%;
}
main {
  width: 100%;
  font-size: 18px;
  line-height: 1.6em;
  letter-spacing: 1px;
  background-image: url(../img/bg3.jpg);
  box-shadow: 0px 0px 64px rgba(200,180,160,0.8)inset;
}
article {
  width: 96%;
  max-width: 1200px;
  color: #1a1a1a;
  padding-top: 110px;
  padding-bottom: 60px;
  margin-right: auto;
  margin-left: auto;
}
article p {
  text-indent: 1em;
}
article h2 {
  font-size: 24px;
  font-family: "Ryumin Medium KL",serif;
}
article img {
  display: block;
  border-radius: 2px;
  box-shadow: 0px 0px 24px rgba(200,180,160,0.8);
}
article aside {
  display: inline;
}
article section {
  opacity: 0;
  transform: translate(0px,60px);
  transition: 900ms;
}
article section.visible {
  opacity: 1;
  transform: translate(0px,0px);
}
#life1 {
  min-height: 360px;
}
#life1 img {
  width: 285px;
  height: 342px;
  float: left;
  margin-right: 24px;
  margin-bottom: 8px;
}
#life1 p:first-of-type:first-letter {
  float: left;
  color: #000066;
  font-size: 54px;
  margin-right: -14px;
  margin-left: -4px;
  line-height: 0.96em;
}
#life2 {
  clear: left;
  margin-top: 6px;
  margin-bottom: 16px;
}
#life2 em {
  font-style: normal;
  background: linear-gradient(#ffffffff 60%,#ff336699 80%);
}
#life3 {
  min-height: 360px;
}
#life3 img {
  width: 300px;
  height: 360px;
  float: right;
  margin-left: 24px;
  margin-bottom: 16px;
}
#line1 h2:before {
  width: 40px;
  position: absolute;
  top: 38px;
  left: 236px;
  content: '';
  border-bottom: 1px solid #000066;
}
#line1 h2:after {
  width: 60px;
  height: 10px;
  position: absolute;
  top: 12px;
  left: 334px;
  content: '';
  border-bottom: 1px solid;
  border-right: 1px solid;
  border-image: linear-gradient(90deg,#000066 0%,#3300cc 20%,#ff3366 80%);
  border-image-slice: 1;
  transform: skew(45deg);
}
#line1 img {
  width: 144px;
  height: 96px;
  position: absolute;
  top: 118px;
  left: 996px;
  opacity: 0.8;
}
#line1 dl:before {
  border-image: linear-gradient(180deg,#000066 0%,#3300cc 80%);
  border-image-slice: 1;
}
#line2 img {
  width: 144px;
  height: 96px;
  position: absolute;
  top: 204px;
  left: 996px;
  opacity: 0.8;
}
#line2 dl:before {
  border-image: linear-gradient(180deg,#3300cc 20%,#daad00 100%);
  border-image-slice: 1;
}
#line3 img {
  width: 144px;
  height: 96px;
  position: absolute;
  top: 346px;
  left: 1006px;
  opacity: 0.8;
}
#line3 dl:before {
  border-image: linear-gradient(180deg,#daad00 0%,#ffcc00 40%,#daad00 80%,#b66b00 100%);
  border-image-slice: 1;
}
#line4 img {
  width: 120px;
  height: 120px;
  position: absolute;
  top: 62px;
  left: 1040px;
}
#line4 dl:before {
  border-image: linear-gradient(180deg,#b66b00 0%,#3300cc 20%,#ff3366 60%,#ffffff 100%);
  border-image-slice: 1;
}
#line1 dl,#line2 dl,#line3 dl {
  margin-bottom: 6px;
}
#line2 h2:before,#line3 h2:before,#line4 h2:before {
  width: calc(172px + 4vw);
  position: absolute;
  top: 20px;
  left: -4vw;
  content: '';
  border-bottom: 1px solid #ccccff;
}
#line2 h2:after,#line3 h2:after,#line4 h2:after {
  width: calc(100% - 338px + 4vw);
  position: absolute;
  top: 20px;
  left: 338px;
  content: '';
  border-bottom: 1px solid #ccccff;
}
[id^="line"] h2 {
  padding-left: 182px;
}
[id^="line"] h2 i {
  font-size: 12px;
  font-weight: bold;
  font-family: "times",sans-serif;
  margin-right: 4px;
  margin-left: 4px;
}
[id^="line"] dl {
  display: flex;
  flex-wrap: wrap;
  padding-top: 16px;
  padding-bottom: 24px;
}
[id^="line"] dl:before {
  height: calc(100% - 40px);
  position: absolute;
  top: 38px;
  left: 255px;
  content: '';
  border-left: 1px solid;
}
[id^="line"] dl dt {
  width: 255px;
  font-family: "Talking",serif;
}
[id^="line"] dl dd {
  width: calc(100% - 255px);
  padding-left: 40px;
}
[id^="line"] img {
  box-shadow: 2px 2px 12px rgba(200,180,160,0.8);
}
#work1 {
  min-height: 400px;
}
#work2 {
  min-height: 400px;
}
#work2 blockquote {
  text-indent: 1em;
  font-family: "A1 Mincho",serif;
}
#work2 cite {
  display: block;
  font-size: 16px;
  font-style: normal;
  text-align: center;
  margin-top: 2px;
  margin-bottom: 24px;
}
#work3 {
  clear: left;
}
#work4 ul {
  padding-left: 20px;
  margin-top: 16px;
  margin-bottom: 16px;
  margin-left: 74px;
  border-left: 1px solid #3300cc;
}
#work1,#work3,#work4 {
  padding-bottom: 30px;
}
#work2,#work4,#work5 {
  margin-top: 30px;
}
#work1 p:last-of-type:before,#work3 p:last-of-type:before,#work4 p:last-of-type:before {
  width: calc(100% + 8vw);
  position: absolute;
  bottom: -1px;
  right: -4vw;
  content: '';
  border-bottom: 1px solid #ccccff;
}
[id^="work"] h2 {
  width: 100%;
  padding-top: 6px;
  padding-bottom: 2px;
  padding-left: 12px;
  margin-bottom: 16px;
  margin-left: 2px;
  border-left: 4px solid #3300cc;
}
[id^="work"] img {
  width: 280px;
  height: 400px;
  float: left;
  margin-right: 24px;
  margin-bottom: 16px;
}
[id^="work"] aside {
  font-size: 18px;
}
[id^="work"] small {
  font-size: 12px;
}
footer {
  width: 100%;
  background: #000066;
  color: #ffffff;
  font-size: 12px;
  text-align: center;
  letter-spacing: 1px;
  font-family: "Yu Gothic Medium","YuGothic","Hiragino Kaku Gothic Pro",sans-serif;
  padding-top: 40px;
  padding-bottom: 40px;
}
footer nav {
  display: none;
  position: fixed;
  bottom: 16px;
  right: 16px;
}
footer nav a {
  width: 60px;
  display: block;
  background: #ffffff;
  color: #000066;
  font-size: 30px;
  font-family: "Verdana",sans-serif;
  padding-top: 12px;
  padding-bottom: 12px;
  border: 1px solid #000066;
  border-radius: 60px;
  opacity: 0.8;
  transition: 600ms;
}
footer nav a:hover {
  background: #000066;
  color: #ffffff;
}

@media (max-width:1440px) {
  #line2 h2:before,#line3 h2:before,#line4 h2:before {
    width: 172px;
    left: 0px;
  }
  #line2 h2:after,#line3 h2:after,#line4 h2:after {
    width: calc(100% - 338px);
    left: 338px;
  }
  #work1 p:last-of-type:before,#work3 p:last-of-type:before,#work4 p:last-of-type:before {
    width: 100%;
    left: 0px;
  }
}
@media (max-width:1280px) {
  [id^="line"] img {
    display: none;
  }
}
@media (max-width:1200px) {
  #life2 {
    margin-top: 16px;
  }
}
@media (max-width:960px) {
  main {
    box-shadow: 0px 0px 64px rgba(200,180,160,0.6)inset;
  }
  #work4 aside {
    display: block;
  }
  footer p:first-letter {
    font-family: "Arial",sans-serif;
  }
}
@media (max-width:720px) {
  header {
    font-size: 14px;
  }
  header nav {
    padding-top: 6px;
  }
  header nav img {
    width: 216px;
    height: 48px;
  }
  header nav ul {
    padding-top: 12px;
    padding-right: 12px;
  }
  header nav ul li {
    width: 72px;
    line-height: 2.8em;
  }
  header nav ul li a:after {
    top: 30px;
  }
  header nav ul li a:hover:after {
    width: 140%;
  }
  header nav ul li h1 {
    font-size: 16px;
  }
  main {
    font-size: 16px;
    box-shadow: 0px 0px 32px rgba(200,180,160,0.6)inset;
  }
  article {
    padding-top: 89px;
  }
  article p {
    margin-bottom: 8px;
  }
  #life1 p:first-of-type:first-letter {
    float: none;
    font-size: 32px;
    margin-right: 0px;
    margin-left: 0px;
  }
  #life1 img {
    width: 270px;
    height: 324px;
  }
  #life2 {
    margin-top: 24px;
    margin-bottom: 24px;
  }
  #life3 img {
    width: 270px;
    height: 324px;
  }
  #line1 h2:before {
    left: 80px;
  }
  #line1 h2:after {
    width: 50px;
    top: 10px;
    left: 176px;
  }
  #line2 h2:before,#line3 h2:before,#line4 h2:before {
    width: 20px;
    top: 18px;
    left: 0px;
  }
  #line2 h2:after,#line3 h2:after,#line4 h2:after {
    width: calc(100% - 180px);
    top: 18px;
    left: 180px;
  }
  [id^="line"] h2 {
    padding-left: 25.8px;
  }
  [id^="line"] dl dt {
    width: 99px;
  }
  [id^="line"] dl dd {
    width: calc(100% - 99px);
    padding-left: 41.4px;
  }
  [id^="line"] dl:before {
    left: 99px;
  }
  [id^="line"] aside {
    display: none;
  }
  #work2 aside {
    display: block;
  }
  #work2 cite {
    font-size: 14px;
    margin-bottom: 8px;
  }
  #work4 ul {
    padding-left: 12px;
    margin-left: 24px;
  }
  #work1,#work2,#work3,#work4 {
    padding-bottom: 16px;
  }
  [id^="work"] img {
    width: 252px;
    height: 360px;
  }
  [id^="work"] aside {
    font-size: 16px;
  }
  [id^="work"] small {
    font-size: 10px;
  }
}
@media (max-width:480px) {
  header {
    font-size: 12px;
    font-family: "Ryumin Medium KL",serif;
  }
  header nav {
    padding-top: 4px;
  }
  header nav img {
    width: 162px;
    height: 36px;
  }
  header nav ul {
    padding-top: 10px;
    padding-right: 9px;
  }
  header nav ul li {
    width: 60px;
    line-height: 2.4em;
  }
  header nav ul li a:after {
    top: 22px;
  }
  header nav ul li a:hover:after {
    width: 120%;
  }
  header nav ul li h1 {
    font-size: 14px;
  }
  main {
    box-shadow: none;
  }
  article {
    padding-top: 73.4px;
    padding-right: 8px;
    padding-left: 8px;
  }
  #life1 img {
    width: 240px;
    height: 288px;
    float: none;
    margin-bottom: 16px;
    margin-right: auto;
    margin-left: auto;
  }
  #life3 img {
    width: 240px;
    height: 288px;
    float: none;
    margin-top: 36px;
    margin-bottom: 24px;
    margin-right: auto;
    margin-left: auto;
  }
  #life1,#life2 {
    padding-bottom: 16px;
    border-bottom: 1px solid #ccccff;
  }
  #line1 h2:after {
    width: 28px;
  }
  [id^="line"] dl dd {
    padding-left: 18px;
  }
  [id^="work"] img {
    width: 224px;
    height: 320px;
    float: none;
    margin-bottom: 24px;
    margin-right: auto;
    margin-left: auto;
  }
}

/* legacy */
@media (max-width:360px) {
  header nav ul li h1 {
    font-size: 12px;
    background-image: none;
    border-width: 0px;
  }
  header nav ul li {
    width: 40px;
  }
}
@media all and (-ms-high-contrast: none) {
  header {
    background: #ffffff;
  }
  #life1 p:first-of-type:first-letter {
    margin-left: -40px;
  }
}