@charset "utf-8";
/* ===================================
common
=================================== */
html {
  font-size: 62.5%;
}

body {
  color: #333;
  background-color: #f5f5f5;
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  line-height: 1.5;
  font-style: normal;
  font-size: 1.4rem;
}

h1,h2 {
  color: #2E5802;
  font-family: "Cinzel", serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-size: 4.2rem;
  margin-bottom: 23px;
}

h1 {
  font-weight: 700;
  font-size: 5rem;
  line-height: 1.7;
  letter-spacing: 0.09375rem;
}

h2 {
  line-height: 1;
  font-weight: 400;
}

img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
h1,h2 {
  font-size: 3rem;
  margin-bottom: 28px;
}

p {
  font-size: 1.4rem;
  line-height: 2.1;
}

figure {
  margin: 0;
  padding: 0;
 }

 figure img {
  margin: 0;
  padding: 0;
 }
}

/* =================
       topグリッド 
===================*/
.layout__grid {
  padding: 0 5.21vw;
  display: grid;
  grid-template-rows: 18.87% 11.45% 24.68% 24.60% 13.15%; 
  grid-template-columns: repeat(12, 1fr);
  grid-template-areas: 
    "top1 top1 top1 top1 . . . . . . . ."
    "top1 top1 top1 top1 top2 top2 top2 top2 top2 . title title"
    "img3 img3 img3 img3 img3 img3 img3 img4 img4 . title title"
    ". . img5 img5 img5 img6 img6 img6 img6 img6 img6 img6"
    "about about about about about img6 img6 img6 img6 img6 img6 img6";
}

@media screen and (min-width: 768px) {
  .layout__grid figure {
    padding: 0.6vw;
}

.topimage6{
  padding-bottom: 0;
}

.layout__grid .topimage1 {
    grid-area: top1;
    padding-top: 0;
  } 
  
.topimage2 {
    grid-area: top2;
    margin-right: -2.5vw;
  }
  
.header {
    grid-area: title;
    margin-left: -0.5vw;
  }
  
.topimage3 {
    grid-area: img3;
    padding-left: 0;
  }
  
.topimage4 {
    grid-area: img4;
    margin-right: -2.5vw;
  }
  
.topimage5 {
    grid-area: img5;
  }
  
.topimage6 {
    grid-area: img6;
  }
  
.about {
    grid-area: about;
  }
}

@media screen and (max-width: 768px) {
  .layout__grid {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
  }

  .header {
    width: 87.06vw;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 66px;
    order: 1;
  }

  .topimage1  {
    grid-area: top1;
    padding-top: 0;
    order: 2;
    width: 100%;
  } 

  .about {
    padding: 0;
    order: 3;
    width: 67.41%;
    }
  
    .topimage2  {
    grid-area: top2;
    margin-right: -2.5vw;
    order: 4;
    margin-right: 0;
    width: 32.59%;
    margin-top: 2.49vw;
  }
  
  .topimage3  {
    grid-area: img3;
    padding-left: 0;
    order: 5;
    width: 29.1%;
    margin-left: 3.98%;
    margin-top: 2.49vw;
  }
  
  .topimage4 {
    order: 6;
    width: 64.43%;
    margin-left: 2.49%;
    margin-top: 2.49vw;
  }
  
  .topimage5 {
    order: 7;
    display: none;
  }
  
  .topimage6  {
    order: 8;
    display: none;
  }
}


.header__logo {
  mix-blend-mode: multiply;
  width: 56%;
  margin: 0 auto;
  margin-left: 3.13vw;
  margin-top: 1.49%;
 }

.header__title {
  font-size: 3.47vw;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
 }

.header__subtitle {
  font-size: 1.88vw;
  font-weight: bold;
  margin-top: 22px;
 }



 @media screen and (max-width: 768px) {
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  color: #fff;
  cursor: pointer;
  z-index: 20;
}

.hamburger span {
  display: block;
  height: 2px;
  background-color: #333;
  border-radius: 2px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.hamburger.active span {
  background-color: #FFF; 
}

.header__nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(48, 88, 2, 0.9); 
  transform: translateX(100%); 
  transition: transform 0.6s ease, opacity 0.6s ease; 
  z-index: 10;
  padding-top: 80px;
  opacity: 0; 
}

.header__nav.open .header__nav-item {
  position: relative; 
  margin: 38px 0;
  padding-bottom: 10px;
}

.header__nav.open .header__nav-item::after {
  content: "";
  position: absolute;
  bottom: 0; 
  left: -28px;
  width: 100vw; 
  height: 1px; 
  background-color: #fff; 
}

.header__nav.open {
  transform: translateX(10%); 
  opacity: 1; 
  color: #fff;
}

.header__nav-list {
  list-style: none;
  padding: 0;
  opacity: 0; 
  position: absolute;
  left: 28px;
  width: 100%;
}

.header__nav-item {
  margin: 20px 0;
}

.sp_title {
  color: #FFF;
  font-weight: 400;
  margin: -39px 0px 0px 0px;
}
.sp_title {
  margin-bottom: 20px; 
}

.header__nav-list.open {
  margin-top: 33px; 
}

.header__nav-item a {
  font-size: 1.6rem;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
  border-bottom: #FFF;
  display: block;
  cursor: pointer;
}

.header__nav-item a:hover {
  color: #588C65;
  transition: 0.2s;
  opacity: 0.9;
}

.header__nav.show-items .header__nav-list,
.header__nav.show-items .close-button {
  opacity: 1;
  animation: slideIn 1.2s ease forwards; 
}

.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #2E5802;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%); 
  }
  to {
    opacity: 1;
    transform: translateX(0); 
  }
}
 }


@media screen and (min-width: 768px) {
  .sp_title{
    display: none;
  }
  .header__nav {
    transform: none; 
    opacity: 1; 
    position: fixed;
    top: 20px;
    right: 100px;
    display: flex;
    align-items: center;
    padding: 0;
    background: none; 
    transition: none; 
    position: fixed;
    background: none;
    z-index: 100;
    }
  
 .header__nav.open, 
 .header__nav.show-items {
   transform: none;
   opacity: 1;
   pointer-events: auto;
 }

 .close-button {
  display: none;
 }

.header__nav ul {
  opacity: 1;
  display: flex;
  position: fixed;
  z-index: 10;
  top: 20px;
  right: 100px;
  }
.header__nav ul li {
  opacity: 1;
   margin-left: 35px;
  }
.header__nav ul li a{
  opacity: 1;
   color: #2E5802;
   font-size: 1.6rem;
   font-weight: bold;
  }

.header__nav ul li a:hover{
   color: #588C65;
   transition: 0.2s;
   opacity: 0.9;
  }
}

  @media screen and (max-width: 768px) {
    .header__subtitle {
      display: none;
    }

  .hamburger {
    display: flex; 
  }

  .header__nav-item a {
    font-size: 1.8rem;
  }

  .header {
    position: relative;
    align-items: center;
  }

.header__logo {
  width: 43px;
  height: 50px;
  margin-left: 0;
  margin: 0;
}

.header__title {
  width: 100%;
  max-width: 206px;
  font-size: 2.4rem;
  letter-spacing: 0.09375rem;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
}
}

.about{
  padding-top: 0.6vw;
  padding-right: 0.6vw;
  }
  .about__txt {
  font-size: 0.97vw;
 }

main figure{
  overflow: hidden;
}

@media (max-width: 1032px) {
  .about__title {
    margin-bottom: 0.9vw; 
}
}

@media (max-width: 1140px) {
  .about__title, .about p {
    padding-left: 3.98vw;
    padding-right: 7.38vw;
    width: 84%;
  }
}

@media screen and (max-width: 768px) {
  h1, h2 {
      margin-bottom: 28px;
    } 
    .about__title {
      margin-bottom: 28px;    
    }
  }

@media screen and (max-width: 768px) {

    .about{
    padding: 48px 0 48px 3.98vw;
    flex-direction: column;
    display: flex;
    justify-content: center;
    box-sizing: border-box;    
  }
  
      
  .about__txt {    
    font-size: 1.4rem;     
  }
}

.main__profile {
  margin-top: -5.4vw;
   }

.profile__frame  {
  display: flex;
  justify-content: space-between;
 }

 .profile__image--pc {
width:  49.31%;
 }

 .profile__container {
  width: 33.64vw;
  height: auto;
  margin:  0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
 }

 @media screen and (max-width: 842px) and (min-width: 768px) {
  .profile__container--p {
    padding-bottom: 19px;
  }
}

 @media screen and (max-width: 768px) {
  .main__profile {
    margin-top: 2.49vw;
  }

  .profile__image--sp {
    padding-left: 3.98vw;
    width: 29.1vw;
  }

  .fade-in-up{
padding-left: 0;
  }
  
  .main__profile img {
    width: 100%; 
    object-fit: cover;
     }

  .profile__container {
      width: 57.21vw;
      flex-direction: column;
    display: flex;
    justify-content: center;
    }

    .profile__container h2 {
      display: inline-block;
      margin: 0;
    } 

.profile__container h2 {
  position: relative;
  padding-bottom: 10px;

}

.profile__container h2::after {
  content: "";
  display: block;
  width: 0; 
  height: 1px;
  background-color: #333;
  position: absolute;
  right: 45%;
  bottom: 5%;
  transition: width 1s ease-out; 
}

.animate-line.active::after {
  width: 55%;
}

.profile__container h2::before {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1px solid #333;
  border-left: 1px solid #333;
  position: absolute;
  right: 98%; 
  bottom: -1.5px;
  transform: rotate(-45deg);
  opacity: 0; 
  transition: opacity 1s ease-out 1s; 
}

.animate-line.active::before {
  opacity: 1; 
}

.profile__container--p{
  margin-top: 20px;
}

    .profile__container p {
      display: inline-block;
    }

    .profile__image--sp2{
      aspect-ratio: 67 / 42; 
    }

    .profile__image--sp2 {
    margin-top: 2.49vw;
    }
    }

 .main__grid {
  margin-top: 1.2vw;
  padding: 0 5.21vw;
  display: grid;
  gap: 1.6vw;
  grid-template-rows: repeat(3, 1fr);
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "lile lile skills"
    "services services skills"
    "contact contact .";
}

.main__lile {
  grid-area: lile;
  gap: 1.6vw;
}

.main__services {
  grid-area: services;
  gap: 1.6vw;
}

.main__skills {
  grid-area: skills;
  gap: 1.6vw;
}

.main__contact {
  grid-area: contact;
  gap: 1.6vw;
}

.main__services {
  display: flex;
}

.main__lile,.main__services,.main__contact {
  display: grid;
  grid-template-columns: 1fr 1fr; 
}

.main__skills {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.main__like--container,.main__like--pc,.main__skills--pc,.main__skills__container,.main__services__container,.main__contact__title,.map {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main__contact__title img {
  height: auto;
}

.arrow {
  width: 23vw;
  margin: -31px 0 0px 0px;
}

.main__services__container h2, .main__services__container p {
  padding: 0;
  padding-top: 0 0 0 0 auto;
}

.main__like--container,.main__skills__container{
padding-left: calc(3.01vw - 10px);
display: flex;
flex-direction: column; 
justify-content: center; 
}

@media screen and (max-width: 870px) and (min-width: 768px) {
  .main__like--container,.main__skills__container{
justify-content: space-around;
}
}

@media (max-width: 1140px) {
  .main__grid h2,
  .main__grid p {
    padding: 10px;
  }

  .main__contact__h2 {
    padding: 0 !important;
  }
}

@media (max-width: 1140px) {
  .main__services__container h2,
   .main__services__container p{
     padding: 10px;
    }
}

@media screen and (max-width: 768px) {
  .main__grid  {
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    align-items: center;   
    padding: 0;
    display: flex;
    align-items: stretch; 
    gap: 2.5vw;
  }
  
  .main h2, .main p {
    padding-left: 5.56vw;  
    }
  }

    @media (max-width: 1140px) {
      .main__profile h2,
      .main__profile p { 
        padding-left: 10px; 
      }
    }

@media screen and (max-width: 768px) {
  .main__lile,.main__services,.main__contact {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.main__like--container,.main__like--sp,.main__skills--sp,.main__skills__container,.main__services__container,.main__contact__title,.map {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: auto;
  height: auto;
}
.main__services,.main__skills {
  width: 44.78vw;
  overflow: hidden;
}
.main__services img,.main__skills img {
  width: 100%;
  object-fit: cover;
}

  .main__grid h2,
  .main__grid p {
    padding: 0px;
    margin-bottom: 26px;
  }

  .main__lile {
    grid-area: 0;
    gap: 0;
    order: 1;
  }

.main__like--container {
  text-align: center;
  display: flex;
  justify-content: center; 
  align-items: center;    
  text-align: center; 
}

.main__like--image {
  order: 2;
    width: 100vw;
    text-align: center;
  margin: 0 auto;
}

.main__like--image img {
  width: 43.78%;
}

.main__skills {
  display: flex;
  flex-direction: column;
  grid-template-rows: none;
  order: 3;
}
.main__skills--sp {
  max-width: 100%;
  height: 45.77vw;
}
.main__skills--sp img {
  width: 100%;
}
.main-skills__title {
  text-align: center;
  margin-top: 38px;
  margin-bottom: 42px;
}

.main-skills__txt {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}
}

.main__contact__title img {
  height: auto;
}

.arrow {
  width: 23vw;
  margin: -31px 0 0px 0px;
}

.main__services__container h2, .main__services__container p {
  padding: 0;
  padding-top: 0 0 0 0 auto;
  text-align: center;
}

.main__contact__title {
  text-align: center;
}

iframe {
  height: auto;
}

@media screen and (max-width: 768px) {
  .main__services {
    order: 2;
    display: flex;
    flex-direction: column;
  }

  .main__servies--sp {
    max-width: 100%;
  }

  .main__servies--sp img {
    height: 45.77vw;
    vertical-align: bottom;
  }
  
  .main__contact {
    order: 4;
    width: 100%;
  }

  .main__services__title {
    margin-top: 38px;
    margin-bottom: 42px;
  }
  
  .main__services__container p {
    text-align: left;
  }

  .arrow {
    display: none;
  }

.main__contact__h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  text-align: center;
}

.main__contact__h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px; 
  width: 0;
  height: 1px;
  background-color: #000; 
  transform: translateX(-50%);
  transition: width 1s ease-in-out;
}

.main__contact__h2.animated::after {
  width: 57%;
}

.map-flame {
  padding: 0 3.98%;
}
.map {
  box-sizing: border-box;
  width: 100%; 
  margin: 0 auto; 
  height: 79.35vw
}  
}

footer {
  margin-top: 72px;
  width: 100%;
  background-color: #404040;
}
footer .small {
  display: block;
  height: 98px;
    display: grid;
    place-items: center;
font-size: 1.2rem;
color: #fff;
}

@media screen and (max-width: 768px) {

  footer {
    margin-top: 36px;
    width: 100%;
    background-color: #404040;
  }
}

.typing-animation {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 0.15em solid #000;
  animation: typing 3.5s steps(30, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #000; }
}

figure img {
  transition: filter 0.3s ease; 
}

figure:hover img {
  filter: brightness(1.1); 
  opacity: 0.9;
}

.arrow {
  margin-left: 3vw;
}

.line-wrapper {
  display: inline-block;
  width: 0;
  white-space: nowrap;
  transition: width 1.5s ease-out;
}

.line-wrapper img {
  display: block;
}

.arrow.visible .line-wrapper {
  width: 23vw !important; 
}

.highlight {
  animation: glow 3s ease-out; 
}

@keyframes glow {
  0% {
      color: rgba(25, 201, 45, 0.8);
      opacity: 0.8;
  }
  100% {
      color: #2E5802;
      opacity: 1;
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 2s ease-out, transform 1s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

img {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sakura {
	position: fixed;
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
  z-index: 100;
  pointer-events: none;
}

.sakura li {
	width: 18px;
	position: absolute;
	list-style: none;
	top: -50px;
	animation: fall 4s linear infinite, rotate1 2s ease-in-out infinite alternate;
}

@keyframes fall {
	to {
		top: 120%;
	}
}
@keyframes rotate1 {
	from {
		transform: translateX(0px) rotate(0deg);
	}
	to {
		transform: translateX(200px) rotate(-80deg) rotateX(180deg);
	}
}

@keyframes rotate2 {
	from {
		transform: translateX(200px) rotate(-45deg);
	}
	to {
		transform: translateX(0px) rotate(0deg);
	}
}

.sakura li:nth-child(1) {
	left: 0;
	animation: fall 10s linear infinite, rotate1 3s ease-in-out infinite alternate;
}

.sakura li:nth-child(2) {
	left: 5vw;
	animation: fall 15s linear infinite, rotate1 2s ease-in-out infinite alternate;
}

.sakura li:nth-child(3) {
	left: 15vw;
	animation: fall 9s linear infinite, rotate1 3.5s ease-in-out infinite alternate;
}

.sakura li:nth-child(4) {
	left: 30vw;
	animation: fall 8s linear infinite, rotate2 4s ease-in-out infinite alternate;
}

.sakura li:nth-child(5) {
	left: 40vw;
	animation: fall 10s linear infinite, rotate1 4s ease-in-out infinite alternate;
}

.sakura li:nth-child(6) {
	left: 55vw;
	animation: fall 11s linear infinite, rotate2 3s ease-in-out infinite alternate;
}

.sakura li:nth-child(7) {
	left: 65vw;
	animation: fall 7s linear infinite, rotate2 3.5s ease-in-out infinite alternate;
}

.sakura li:nth-child(8) {
	left: 50vw;
	animation: fall 7s linear infinite, rotate1 3s ease-in-out infinite alternate;
}

@keyframes fall {
	to {
		top: 120%;
	}
}

@keyframes rotate1 {
	from {
		transform: translateX(0px) rotate(0deg);
	}
	to {
		transform: translateX(200px) rotate(-80deg) rotateX(180deg);
	}
}

@keyframes rotate2 {
	from {
		transform: translateX(200px) rotate(-45deg);
	}
	to {
		transform: translateX(0px) rotate(0deg);
	}
}

.images-pc {
  display: block;
}

.images-sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .images-pc {
      display: none;
  }

  .images-sp {
      display: block;
  }
  .sp-none {
    display: none;
  }

  .pc-txt {
    display: none;
  }
  .pc--br {
    display: none;
  }
}

@media screen and (min-width: 768px) {
.sp-skills--br {
  display: none;
}
}

.br-none {
  display: none;
} 

