@charset "UTF-8";



.topmenu{
 
    display: flex;
    justify-content: flex-end;
    text-align: end;
    
    margin: 4%;
    gap: 80px;
    text-decoration: none
}






a{
  text-decoration: none;
  color:black;
}

a:hover {
  color: brown; /* ホバーしたら赤に */
}





.header {
  position: relative;
  padding: 20px;
}

.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #333;
  transition: all .4s;
}

.hamburger__line:nth-of-type(1) {
  top: 14px;
}
.hamburger__line:nth-of-type(2) {
  top: 23px;
}
.hamburger__line:nth-of-type(3) {
  top: 32px;
}

/* メニューオープン時 */
.hamburger.active .hamburger__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}
.hamburger.active .hamburger__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger.active .hamburger__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background-color: #fff;
  box-shadow: 2px 0 4px rgba(0,0,0,.1);
  transform: translateX(-100%);
  transition: transform .4s;
  z-index: 90;
}

.nav.active {
  transform: translateX(0);
}

.nav__list {
  margin: 0;
  padding: 100px 0 0;
  list-style: none;
}

.nav__item {
  padding: 0 20px;
}

.nav__link {
  display: block;
  padding: 15px 0;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

/* デフォルト：PCではハンバーガー非表示、ナビ常時表示 */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger__line {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: #333;
  transition: 0.3s;
}

/* スマホサイズ（768px以下）でのみハンバーガー表示 */
@media (max-width: 768px) {
  body {
    background-color: #FBF5E7; /* 元の色に戻す */
  }
  .hamburger {
    display: block;
  }
  .topmenu {
    display: none;
  }
}

  

  /* 初期状態ではナビ非表示 */
  .nav {
    display: none;
  }

  /* 開いた状態 */
  .nav.active {
    display: block;
  }




body{
    background-color: #FBF5E7;
  font-family: "Inter", "Helvetica", sans-serif;

}



.photo img{
    position: relative;
    top: 20vw;
    left: 50vw;
    transform: translate(-50%, -50%);
    width: 42vw;
    z-index: 1;
}





.profile{
    position: absolute;
    top: 38vw;
    left: 9vw;
}





h1 {
    position: absolute;
    top: 7vw;
    left: 8vw;
    font-size: 5vw;
    letter-spacing: 0vw;
    font-weight: 700;
    color: #000;
    -webkit-text-stroke: 5px black;
    

  }

     


.name,.english{
    margin-top: 2%;
    margin-bottom: 0%;
    /* margin-left: 333px; */
    letter-spacing: 4px;
    
}

.name{
    font-size: 4vw;
    font-weight: lighter;

}

.english{
    font-size: 4vw;
    font-weight: lighter;
}

.pojisyon{
    margin-top: 30px;
    margin-bottom: 5px;
    /* margin-left: 333px; */
    font-size: 1vw;
    letter-spacing: 3px;

}



h2{
   margin-top: 500px;
   margin-bottom: 5px; 
   margin-left: 150px;
   font-size: 92px;
   letter-spacing: 20px;
    font-weight: 700;
    color: #000;
    -webkit-text-stroke: 5px black;
}


.menu{display: flex;
    justify-content: flex-end;
    justify-content: space-around;
    margin: 30px;
}


a{
  color: #000;
}

/* .main2{
    padding: 100;
} */



.pagetop-btn_03 {
      width: 60px;
    height: 60px;
    position: fixed;
    bottom: 142px;
    right: 45px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 1000;
    transition: background 0.3s;
}

/* 矢印の形（共通） */
.pagetop-btn_03::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -25%) rotate(45deg);
  transition: transform 0.3s;
}

/* 下矢印状態 */
.pagetop-btn_03.down::before {
  transform: translate(-50%, -75%) rotate(225deg);
}

/* ホバー時 */
.pagetop-btn_03:hover {
  background: #333;
}







.skill{
    margin-bottom: 270px;
}



.skill0{
  font-size: 4vw;
  font-weight: 700;
    color: #000;
    -webkit-text-stroke: 5px black;
  margin: 0%;
}




.aboutp{
    margin: 100px;
    margin-top: 100px;
    font-size: 30px;
    line-height: 2.3;
    margin-left: 150px;
    font-size: 28px;
    font-weight: lighter;
    letter-spacing: 8px;
    color: #000;
    -webkit-text-stroke: 2px black;
}






.box{
    
  flex: 1;      
  border: 3px solid #000000;
    border-radius: 15px;
    padding: 38px;
    margin: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 7px 0 #c0c0c0;
    background-color: #FFFFFF;
    text-align: center;
    width: 295px;
    /* height: 347px; */
    font-size: larger;
    font-weight: 900;
    position: relative;
    /* margin-bottom: 200px; */

    
}



.container{ 
   
  /* display: flex; 
  gap: 20px;
  align-items: center; 
  text-align: center;   
  /* height: 200px;  */
  /* display: flex;
  justify-content: space-around; */
  /* margin-right: 80px; */
  /* margin-left: 80px; */
  /* margin-top: 100px; */ 
  
  
    gap: 40px;
    align-items: center;
    text-align: center;
    /* height: 200px; */
    display: flex;
    justify-content: center;
    /* margin-right: 80px; */
    /* margin-left: 80px; */
    margin-top: 100px;
    margin: 34px;
  
}


.bigbox2{
    margin-top: 200px;
}



.container2 {
  display: flex;
  flex-wrap: wrap;       
  gap: 20px;            
  justify-content: space-around; 
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  gap: 20px;
  /* margin-right: 80px; */
  /* margin-left: 80px; */
  margin-top: 300px;
  align-items: center; 
  text-align: center;
  margin: 150px;
  
  
}


.box4 {
  position: relative;
  width: 250px;          
  height: 300px;        
  border-radius: 15px;
  overflow: hidden;
  background: #D9D9D9;      
  color: white;
  box-shadow: 0 5px 7px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;    
  align-items: center;        
  flex-direction: column;
  padding: 20px;
  /* margin-left: 80px; */
  margin: 0 auto;
}

.box5 {
  position: relative;
  width: 250px;          
  height: 300px;        
  border-radius: 15px;
  overflow: hidden;
  background: #D9D9D9;      
  color: white;
  box-shadow: 0 5px 7px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;    
  align-items: center;
  flex-direction: column;  
  padding: 20px;
  margin-top: 70px;
/* margin-left: 80px; */
  margin: 100px auto;
  
}
.box4>p ,
.box5>p {
  animation: poyoyon3 2.5s infinite;
  opacity: 1;
}
@keyframes poyoyon3 {
  0%, 40% {
    transform: skew(0deg, 0deg);
  }
  5% {
    transform: skew(5deg, 5deg);
  }
  10% {
    transform: skew(-4deg, -4deg);
  }
  15% {
    transform: skew(3deg, 3deg);
  }
  20% {
    transform: skew(-2deg, -2deg);
  }
  25% {
    transform: skew(1deg, 1deg);
  }
  30% {
    transform: skew(-0.6deg, -0.6deg);
  }
  35% {
    transform: skew(0.3deg, 0.3deg);
  }
}


.box h3, .box h4 {
  margin: 0;
  z-index: 10;
}



#modalContent .box4,
#modalContent .box5 {
  width: 500px;          /* 拡大サイズ */
  height: 600px;         /* 拡大サイズ */
  margin: 0 auto;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 15px;
  background: #D9D9D9;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  font-size: 2em;
  text-align: center;
  position: relative;
}







.border{
    width: 64;
    height: 82;
}




.container3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 200px 80px 0 80px; /* 上200px、左右80px */
  align-items: center;
  text-align: center;

}

/* カード */
.blog-card{
  width: 85%;           /* 既存ボックスに合わせる */
  /* height: 347px; */
  border-radius: 15px;
  padding: 38px;
  box-sizing: border-box;
  background-color: #fff;
  box-shadow: 0 5px 7px rgba(0,0,0,0.12);
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
  margin: 0 auto;    
  margin-bottom: 200px;     /* グリッド内中央揃え */
}

.blog-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.18);
}

/* 写真部分 */
.thumb{
  width: 100%;
  height: 60%;            /* 上段を大きめに */
  overflow: hidden;
  border-radius: 10px;
}
.thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 下段テキスト */
.card-body{
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.post-date{
  font-size: 12px;
  color: #999;
}

.post-title{
  font-size: 14px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}



.btn11 {
  position: relative;
  border: none;
  border-bottom: 1px solid #666;
  width: fit-content;
  margin: 0 auto;   /* ← 横中央寄せ */
  padding: 10px 20px; /* ← ボタンらしく余白を追加 */
  text-align: center;
}

.btn11 a::after {
  content: ">";
  margin-left: 20px;
}






/* タブレット：2列 */
/* @media (max-width: 1024px){
  .container2{
    grid-template-columns: repeat(2, 1fr);
    margin: 80px 40px 0 40px;
  }
} */

/* スマホ：1列 */
/* @media (max-width: 768px){
  .container2{
    grid-template-columns: 1fr;
    margin: 60px 20px 0 20px;
  } */

/* mobile: 1列
@media (max-width: 768px){
  :root{ --card-width: 100%; }
  .blog-section { padding: 0 16px; margin: 36px auto; }
  .thumb{ height: 200px; }
  .post-title{ font-size: 16px; text-align: center; }
  .card-body{ text-align: center; }
} */







/* .Contact{
   margin: 100px;
    
    margin-left: 150px;
    margin-bottom: 300px;
    font-size: 20px;
    font-size: 1.17em;
} */


.contact {
  margin-left: 150px;
  /* margin: 50px auto; */
  margin-top: 100px;
  padding: 30px;
  /* border-radius: 15px; */
  /* background-color: #f5f5f5;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1); */
}

.contact p {
  /* text-align: center; */
  margin-bottom: 20px;
  font-size: 28px;
  /* margin-left: 150px; */
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 15px;
  margin-bottom: 23px;
  border: 1px solid #ccc;
  /* border-radius: 10px; */
  box-sizing: border-box;
}

.contact-form textarea#message {
  width: 100%;        /* 横幅はそのまま */
  height: 300px;      /* 縦幅を広く */
  padding: 10px 15px;
  border: 1px solid #ccc;
  /* border-radius: 10px; */
  box-sizing: border-box;
  resize: vertical;   /* 縦だけリサイズ可能 */
}

.contact-form button {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #68483B;
  color: #FBF5E7;
  font-size: 16px;
  border: none;
  /* border-radius: 10px; */
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #555;
}




.contact {
  display: flex;
  flex-direction: column;
  /* max-width: 600px; */
  margin: auto;
  margin-left: 150px;
  margin-right: 150px;
}

.contact input,
.contact textarea {
  margin: 10px 0;
  padding: 15px;
  font-size: 16px;
}

.contact textarea {
  min-height: 200px; /* PCは広め */
}










/* スマホ用 */
/* @media screen and (max-width: 768px) {
  .contact input,
  .contact textarea {
    font-size: 14px;
    padding: 10px; */
    /* margin-top: 70%; */
    /* padding: 20%;
    margin: 0;
    margin-left: 10%;
    margin-right: 10%;
    width: 80%;
    align-items: center;
} */
/* .box4,.box5{
  display: block;
  margin: 0;
    margin-left: 0 */
/* } */


@media screen and (max-width: 768px) {
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .bigbox,
  .bigbox2 {
    margin-top: 40px; /* 上下の間隔を適度に */
  }

  .box {
    width: 80%; /* スマホで見やすい幅に */
    margin: 20px auto;
  }

  /* Worksセクションも縦並びにする */
  .container2 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .box4,
  .box5 {
    width: 80%;
    margin: 20px auto;
  }

  /* blogsセクションも縦並びにする */
  .container3 {
    grid-template-columns: 1fr;
    margin: 60px 20px 0 20px;
  }

  .blog-card {
    width: 100%;
    margin-bottom: 40px;
  }

}






.menu{
    margin-bottom: 100px;
}



.pagination-3 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 8px;
    list-style-type: none;
    padding: 0;
}

.pagination-3 a {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    border-bottom: 2px solid #f2f2f2;
    color: #333;
    text-decoration: none;
}

.pagination-3 .current a {
    border-bottom: 2px solid #2589d0;
    pointer-events: none;
}


.empty{
margin-top: 0;

}



/* < about > */

.about_div{
  display: flex;
  justify-content: center;
}



.pictter{
  width: 80%;
}


.day{
  margin-left: 30%;
}

.vlog{
  margin: 100px;
    margin-top: 100px;
    font-size: 30px;
    line-height: 2.3;
    margin-left: 150px;
    font-size: 28px;
    font-weight: lighter;
    letter-spacing: 8px;
    color: #000;
    -webkit-text-stroke: 2px black;
  
}


footer{
  margin-top: 300px;
  text-align: center;
}




.Blog_nextpage{
  display: flex;
  justify-content: center;
    font-size: 5vw;
    letter-spacing: 0vw;
    font-weight: 700;
    color: #000;
    -webkit-text-stroke: 5px black;
    
}
