@charset "UTF-8";
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

html {
  width: 100%;
}

body {
  line-height: 1;
  position: relative;
  overflow-x: hidden;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input, select {
  vertical-align: middle;
}

a {
  outline: none;
}

a:focus, *:focus {
  outline: none;
  cursor: pointer;
}

:root {
  --primary-clr: #e35e25;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "Hiragino Kaku Gothic ProN","メイリオ", sans-serif;
}

body {
  color: #333;
}

.wrap {
  overflow: hidden;
}

@media screen and (min-width: 750px) {
  .wrap {
    overflow: unset;
  }
}

.first-view {
  width: 100vw;
  height: 100vh;
  text-align: center;
  position: relative;
}

.first-view .first-desc {
  display: flex;
  align-items: center;
  justify-content: center;
}

.first-view .first-desc h1 {
  color: #fff;
  position: absolute;
  top: 33%;
  font-size: 2.1rem;
  line-height: 46px;
  letter-spacing: 5px;
  width: 100%;
  z-index: 11;
  text-shadow: 3px 1px 2px #7a790b;
}

.first-view .first-desc p {
  color: #fff;
  position: absolute;
  top: 49%;
  display: inline-block;
  width: 100%;
  z-index: 11;
  text-shadow: 2px 1px 0 #7a790b;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
}

.first-view .first-desc button {
  border: 2px solid #eee;
  background-color: rgba(204, 197, 197, 0.315);
  border-radius: 25px;
  padding: 10px 15px;
  position: absolute;
  top: 60%;
  display: block;
  z-index: 11;
  font-weight: 400;
  font-size: 15px;
  line-height: 20px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 2px 2px 1px #7a790b;
  text-shadow: 1px 2px 0 #7a790b;
  color: #fff;
}

.first-view .first-desc button:hover {
  background-color: rgba(255, 255, 255, 0.886);
  text-shadow: none;
  color: #333;
}

.first-view .first-desc button .here {
  color: #fff;
  text-decoration: none;
}

.first-view .scroll {
  padding-top: 60px;
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 2;
  display: inline-block;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  text-decoration: none;
  color: #fff;
}

.first-view .scroll span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 46px;
  height: 46px;
  margin-left: -23px;
  border: 1px solid #fff;
  border-radius: 100%;
  box-sizing: border-box;
}

.first-view .scroll span::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: '';
  width: 16px;
  height: 16px;
  margin: -12px 0 0 -8px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  box-sizing: border-box;
}

.first-view .scroll span::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  content: '';
  width: 44px;
  height: 44px;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1);
  border-radius: 100%;
  opacity: 0;
  -webkit-animation: sdb 3s infinite;
  animation: sdb 3s infinite;
  box-sizing: border-box;
}

@-webkit-keyframes sdb {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.1);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes sdb {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  60% {
    box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.1);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media (min-width: 740px) {
  .first-view .first-desc h1 {
    top: 40%;
    font-size: 50px;
    letter-spacing: 0px;
  }
  .first-view .first-desc h1 br {
    display: none;
  }
  .first-view .first-desc p {
    font-size: 22px;
    line-height: 30px;
  }
}

@media (min-width: 820px) {
  .first-view .first-desc h1 {
    display: inline-block;
    position: absolute;
    top: 39%;
    left: 50%;
    font-size: 60px;
    letter-spacing: 0px;
    transform: translate(-50%, 0);
  }
  .first-view .first-desc h1 br {
    display: none;
  }
  .first-view .first-desc p {
    display: inline-block;
    position: absolute;
    top: 52%;
    left: 50%;
    font-size: 20px;
    line-height: 30px;
    transform: translate(-50%, 0);
    font-weight: 600;
  }
  .first-view .first-desc button {
    top: 64%;
    padding: 10px 40px;
  }
}

.first-view:before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background: url(../images/third.jpg) center no-repeat;
  background-size: cover;
}

@media (max-width: 500px) {
  .first-view:before {
    display: none;
  }
}

@media (max-width: 500px) {
  .first-view:before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
    background: url(../images/third-sp.jpg) center no-repeat;
    background-size: cover;
  }
}

.bg-color {
  background-color: #fff;
}

.first-view:after {
  content: '';
  background-color: rgba(245, 229, 48, 0.66);
  z-index: 10;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  clip-path: polygon(45% 0, 100% 120%, 120% 0, 0 0%);
  width: 100%;
  height: 100%;
}

.header {
  height: 64px;
  background-color: rgba(255, 255, 255, 0.76);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #6e6c6c;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}

.header .header-list {
  width: 100%;
}

.header .header-list ul {
  width: 100%;
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  padding-right: 20px;
}

.header .header-list ul li {
  list-style: none;
  padding: 15px 30px;
}

.header .header-list ul li a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  display: inline-block;
}

.header .header-list ul li a:hover {
  color: var(--primary-clr);
  transition: .5s;
}

.header li a {
  display: flex;
  text-align: center;
}

.header li a .text-sm {
  font-size: 0.5em;
}

@media (min-width: 750px) {
  .header {
    display: block;
  }
  .header .header-list ul li a {
    font-size: 19px;
  }
  .header .header-list ul li img {
    display: block;
    width: 50px;
    height: 50px;
  }
}

.me {
  position: relative;
  display: block;
}

.me .about {
  padding: 20px;
}

.me .about .about-title {
  text-align: center;
  padding-top: 40px;
}

.me .about .about-title h1 {
  font-size: 30px;
}

.me .about .about-title p {
  padding-top: 20px;
  font-size: 14px;
}

.me .about .about-content {
  opacity: 0;
  padding-top: 50px;
  transform: translateX(-100px);
  transition: all 2s;
}

.me .about .about-content .me-right {
  opacity: 0;
  transform: translateX(200px);
  transition: all 2s;
  padding: 0 20px;
}

.me .about .about-content .me-left p {
  padding-left: 15px;
  text-align: left;
  padding-top: 20px;
  font-size: .8rem;
  line-height: 1.9;
  padding-bottom: 80px;
}

@media (min-width: 700px) {
  .me {
    margin: 40px 0;
  }
  .me .about {
    padding-top: 0;
  }
  .me .about .about-title {
    display: flex;
    align-items: flex-end;
  }
  .me .about .about-title h1 {
    padding-left: 8%;
    font-size: 35px;
  }
  .me .about .about-title p {
    padding-left: 30px;
  }
  .me .about .about-content {
    display: flex;
    flex-direction: row-reverse;
  }
  .me .about .about-content .me-right {
    width: 45%;
    padding: 0;
  }
  .me .about .about-content .me-right img {
    max-width: 1200px;
  }
  .me .about .about-content .me-left {
    width: 48%;
  }
  .me .about .about-content .me-left p {
    font-size: 13px;
    line-height: 35px;
  }
}

@media (min-width: 1100px) {
  .me .about .about-content .me-left {
    padding-top: 50px;
  }
  .me .about .about-content .me-left p {
    font-size: 16px;
    line-height: 2;
  }
}

@media (min-width: 1700px) {
  .me .about .about-content .me-left {
    padding-top: 90px;
  }
  .me .about .about-content .me-left p {
    font-size: 1.8rem;
    line-height: 2;
  }
}

.skills {
  height: 1200px;
  background-image: url(../images/oilseed-rape-5098369_1280.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.skills .skills-title {
  text-align: center;
  text-shadow: 1px 1px 1px #fff;
  padding-top: 60px;
  padding-bottom: 60px;
}

.skills .skills-title h1 {
  font-size: 30px;
}

.skills .skills-title p {
  font-size: 14px;
  padding-top: 20px;
}

@media (min-width: 750px) {
  .skills {
    height: 700px;
    padding: 30px 50px;
  }
  .skills .skills-title {
    display: flex;
    align-items: flex-end;
  }
  .skills .skills-title h1 {
    font-size: 35px;
    padding-left: 5%;
  }
  .skills .skills-title p {
    padding-left: 30px;
  }
}

@media (min-width: 1700px) {
  .skills {
    height: 800px;
    padding: 40px 100px;
  }
  .skills .skills-title h1 {
    font-size: 35px;
  }
}

.pf {
  padding: 40px 0px;
  height: 600px;
}

.pf .pf-title {
  text-align: center;
  padding-bottom: 20px;
  padding-top: 40px;
}

.pf .pf-title h1 {
  font-size: 30px;
}

.pf .pf-title p {
  font-size: 14px;
  padding-top: 20px;
}

.pf .multiple-items {
  margin: 0 auto;
  max-width: 1300px;
  padding: 0px 15px;
}

.pf .multiple-items .box-frame {
  margin: 30px;
  padding: 30px 10px;
  border-radius: 10px;
  box-shadow: 3px 4px 15px rgba(0, 0, 0, 0.2);
  width: 450px;
  height: 450px;
  text-align: center;
  position: relative;
  display: block;
}

.pf .multiple-items .box-frame a {
  color: #333;
}

.pf .multiple-items .box-frame a:hover .mask {
  display: block;
}

.pf .multiple-items .box-frame .box-image img {
  width: auto;
  max-width: 200px;
  height: auto;
  margin: 15px auto;
  border: 1px solid #7c7b7b;
}

.pf .multiple-items .box-frame .box-desc {
  display: inline-block;
  text-align: center;
  width: 95%;
  margin: 0 auto;
}

.pf .multiple-items .box-frame .box-desc h2 {
  font-size: 15px;
  font-weight: 600;
  padding-bottom: 8px;
}

.pf .multiple-items .box-frame .box-desc p {
  font-size: 13px;
  line-height: 20px;
}

.pf .multiple-items .box-frame .mask {
  display: none;
}

.pf .multiple-items .box-frame .mask:before {
  position: absolute;
  content: '';
  display: block;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.304);
  border-radius: 10px;
}

.pf .dots {
  position: relative;
  text-align: center;
  margin: 14px 0;
}

@media (min-width: 750px) {
  .pf {
    height: 720px;
  }
  .pf .pf-title {
    display: flex;
    align-items: flex-end;
  }
  .pf .pf-title h1 {
    font-size: 35px;
    padding-left: 8%;
  }
  .pf .pf-title p {
    padding-left: 30px;
  }
  .pf .multiple-items .box-frame {
    width: 350px;
    height: 420px;
  }
  .pf .multiple-items .box-frame .box-image img {
    max-width: 150px;
  }
  .pf .multiple-items .box-frame .bow.desc p {
    font-size: .9rem;
  }
}

@media (min-width: 950px) {
  .pf .multiple-items .box-frame {
    height: 470px;
  }
  .pf .multiple-items .box-frame .box-image img {
    max-width: 250px;
  }
  .pf .multiple-items .box-frame .box-desc h2 {
    font-size: 18px;
    line-height: 1.5;
  }
  .pf .multiple-items .box-frame .box-desc p {
    font-size: .9rem;
  }
}

@media (min-width: 1400px) {
  .pf {
    height: 880px;
  }
}

.contact {
  height: 650px;
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
}

.contact .contact-title {
  text-align: center;
  margin-top: 30px;
  padding: 40px 0px;
}

.contact .contact-title h1 {
  font-size: 30px;
}

.contact .contact-title p {
  font-size: 14px;
  padding-top: 20px;
}

.contact label {
  display: block;
  padding: 1rem 0 .5rem;
  text-transform: uppercase;
  font-style: 14px;
}

.contact input, .contact textarea {
  display: block;
  width: 100%;
  border: 2px solid #eee;
  padding: .3rem;
  font-size: 13px;
  border-radius: 5px;
}

.contact textarea {
  height: 120px;
}

.must {
  background: #f33;
}

.free {
  background: #999;
}

.must,
.free {
  color: #FFF;
  border-radius: 3px;
  font-size: 10px;
  margin-right: 10px;
  padding: 4px 8px;
  letter-spacing: 0.2em;
}

#sendBtn {
  border: 0;
  background-color: rgba(63, 62, 62, 0.856);
  padding: 5px 15px;
  color: #fff;
  margin: 15px 0;
  width: auto;
  text-transform: uppercase;
  font-size: 15px;
  cursor: pointer;
}

#sendBtn:hover {
  background-color: #aca4a4;
}

@media (min-width: 750px) {
  .contact .contact-title {
    display: flex;
    align-items: flex-end;
  }
  .contact .contact-title h1 {
    font-size: 35px;
    padding-left: 8%;
  }
  .contact .contact-title p {
    padding-left: 30px;
  }
}

.footer {
  height: 30px;
  background-color: rgba(51, 51, 51, 0.479);
}

.footer p {
  text-align: center;
  color: #fff;
  padding-top: 10px;
  font-size: 8px;
}

#page_top {
  width: 50px;
  height: 50px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: var(--primary-clr);
  opacity: 0.6;
  border-radius: 50%;
}

#page_top a {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  text-decoration: none;
}

#page_top a:before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -5px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

.nav-container {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: 100%;
}

.nav-container .nav {
  background: #fff;
  position: absolute;
  right: 0;
  transform: translateX(100%);
  transition: transform 300ms cubic-bezier(0.5, 0, 0.5, 1);
  z-index: 99;
  height: auto;
}

.nav-container .nav .nav__toggle {
  position: absolute;
  top: 2em;
  left: 0;
  transform: translateX(-100%);
  background: #fff;
  padding: 1em .5em;
  border: 0;
  border-radius: .25em 0 0 .25em;
}

.nav-container .nav .nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 3em 6em;
}

.nav-container .nav .nav__list .nav__item {
  margin-bottom: 3em;
}

.nav-container .nav .nav__list .nav__item a {
  text-align: center;
}

.nav-container .nav .nav__list .nav__item a .text-sm {
  font-size: 0.5em;
}

.nav-container .nav .nav__list .nav__item .nav__link {
  text-decoration: none;
  color: #333;
}

.nav-container .nav .nav__list .nav__item .nav__link:hover {
  color: var(--primary-clr);
}

.hamburger {
  display: block;
  position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  width: 2em;
  height: 3px;
  background: #333;
  transition: transform 350ms ease-in-out, opacity 200ms linear;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before {
  bottom: 6px;
}

.hamburger::after {
  top: 6px;
}

.nav-open .nav {
  transform: translateX(0);
  box-shadow: 0 0 4em rgba(0, 0, 0, 0.537);
}

.nav-open .hamburger {
  transform: rotate(45deg);
}

.nav-open .hamburger:before {
  opacity: 0;
}

.nav-open .hamburger:after {
  transform: rotate(90deg) translate(-6px);
}

@media (min-width: 750px) {
  .nav {
    display: none;
  }
}

.card-list {
  text-align: center;
  margin: 0 auto;
  max-width: 1600px;
}

.card-list .card {
  position: relative;
  width: 240px;
  height: 285px;
  perspective: 600px;
  display: inline-block;
  margin-bottom: 25px;
}

.card-list .card.flipped .one-front,
.card-list .card.flipped .two-front,
.card-list .card.flipped .three-front {
  transform: rotateY(180deg);
}

.card-list .card.flipped .one-back,
.card-list .card.flipped .two-back,
.card-list .card.flipped .three-back {
  transform: rotateY(0);
}

.card-list .card .one-front, .card-list .card .one-back,
.card-list .card .two-front, .card-list .card .two-back,
.card-list .card .three-front, .card-list .card .three-back {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 1s;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  cursor: pointer;
}

.card-list .card .one-front .card-img, .card-list .card .one-back .card-img,
.card-list .card .two-front .card-img, .card-list .card .two-back .card-img,
.card-list .card .three-front .card-img, .card-list .card .three-back .card-img {
  width: 100%;
  height: auto;
  padding: 30px 0;
  box-sizing: border-box;
  text-align: center;
}

.card-list .card .one-front .card-img .text-custom, .card-list .card .one-back .card-img .text-custom,
.card-list .card .two-front .card-img .text-custom, .card-list .card .two-back .card-img .text-custom,
.card-list .card .three-front .card-img .text-custom, .card-list .card .three-back .card-img .text-custom {
  font-size: 35px;
  color: #f5e530;
}

.card-list .card .one-front .card-textbox, .card-list .card .one-back .card-textbox,
.card-list .card .two-front .card-textbox, .card-list .card .two-back .card-textbox,
.card-list .card .three-front .card-textbox, .card-list .card .three-back .card-textbox {
  width: 100%;
  height: auto;
  background: #fff;
  box-sizing: border-box;
  text-align: center;
  padding: 0 20px;
}

.card-list .card .one-front .card-textbox .card-title h2, .card-list .card .one-back .card-textbox .card-title h2,
.card-list .card .two-front .card-textbox .card-title h2, .card-list .card .two-back .card-textbox .card-title h2,
.card-list .card .three-front .card-textbox .card-title h2, .card-list .card .three-back .card-textbox .card-title h2 {
  font-size: 18px;
  font-weight: 700;
  line-height: 125%;
  padding-bottom: 30px;
  letter-spacing: 2px;
}

.card-list .card .one-front .card-textbox .card-overtext, .card-list .card .one-back .card-textbox .card-overtext,
.card-list .card .two-front .card-textbox .card-overtext, .card-list .card .two-back .card-textbox .card-overtext,
.card-list .card .three-front .card-textbox .card-overtext, .card-list .card .three-back .card-textbox .card-overtext {
  font-size: 12px;
  line-height: 150%;
}

.card-list .card .one-front {
  background-color: #fff;
}

.card-list .card .text-custom-back {
  font-size: 35px;
  color: #fff;
}

.card-list .card .one-back {
  background-color: rgba(255, 166, 0, 0.872);
  color: #fff;
  transform: rotateY(-180deg);
}

.card-list .card .one-back dt {
  font-size: 18px;
  padding: 15px 0;
  font-weight: 700;
  line-height: 125%;
  letter-spacing: 2px;
}

.card-list .card .one-back dd {
  font-size: 15px;
  line-height: 150%;
}

.card-list .card .two-front {
  background-color: #fff;
}

.card-list .card .two-back {
  background-color: rgba(255, 166, 0, 0.872);
  color: #fff;
  transform: rotateY(-180deg);
}

.card-list .card .two-back dt {
  font-size: 18px;
  padding: 15px 0;
  font-weight: 700;
  line-height: 125%;
  letter-spacing: 2px;
}

.card-list .card .two-back dd {
  font-size: 15px;
  line-height: 150%;
}

.card-list .card .three-front {
  background-color: #fff;
}

.card-list .card .three-back {
  background-color: rgba(255, 166, 0, 0.872);
  color: #fff;
  transform: rotateY(-180deg);
}

.card-list .card .three-back dt {
  font-size: 18px;
  padding: 15px 0;
  font-weight: 700;
  line-height: 125%;
  letter-spacing: 2px;
}

.card-list .card .three-back dd {
  font-size: 1.2rem;
  line-height: 150%;
}

@media (min-width: 750px) {
  .card-list {
    display: flex;
    justify-content: space-evenly;
  }
  .card-list .card {
    width: 30%;
    height: 350px;
    margin-right: 10px;
  }
}

@media (min-width: 1000px) {
  .card-list {
    display: flex;
    justify-content: space-evenly;
  }
  .card-list .card {
    width: 25%;
    height: 320px;
    margin-right: 10px;
  }
}

@media (min-width: 1700px) {
  .card-list {
    display: flex;
    justify-content: space-evenly;
  }
  .card-list .card {
    width: 23%;
    height: 380px;
    margin-right: 10px;
  }
  .card-list .card p {
    font-size: 1.2rem;
    line-height: 1.5;
  }
}
