/*  import google fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}
html{
    scroll-behavior: smooth;
}
/* custom scroll bar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #eff8a6;
}

::-webkit-scrollbar-thumb:hover {
    background: #def5c1;
}
  .logo img{
    height: 14%;
    width: 14%;
    object-fit: contain;
  }
/* all similar content styling codes */
section{
    padding: 100px 0;
}
.max-width{
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}
.about .about-content,
.shyumi .shyumi-content,
.故郷 .故郷-content,
.連絡方法 .連絡方法-content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    
}
section .title{
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
}
section .title::before{
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
}
section .title::after{
    position: absolute;
    bottom: -8px;
    left: 50%;
    font-size: 20px;
    color: crimson;
    padding: 0 5px;
    background: #fff;
    transform: translateX(-50%);
}
/* navbar styling */
.navbar {
    position: fixed;
    width: 100%;
    background: rgb(217, 213, 214);
}
.navbar{
    position: fixed;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
    font-family: 'Ubuntu', sans-serif;
    transition: all 0.3s ease;
}
.navbar.sticky{
    padding: 15px 0;
    background: rgb(141, 108, 114);
}
.navbar .max-width{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .logo a{
    color: #8f2869;
    font-size: 35px;
    font-weight: 600;
}
.navbar .logo a span{
    color: rgb(14, 13, 13);
    transition: all 0.3s ease;
}
.navbar.sticky .logo a span{
    color: #fff;
}
.navbar .menu li{
    list-style: none;
    display: inline-block;
}
.navbar .menu li a{
    display: block;
    color: #380eab;
    font-size: 18px;
    font-weight: 500;
    margin-left: 25px;
    transition: color 0.3s ease;
}
.navbar .menu li a:hover{
    color: crimson;
}
.navbar.sticky .menu li a:hover{
    color: #fff;
}
/* menu btn styling */
.menu-btn{
    color: #fff;
    font-size: 23px;
    cursor: pointer;
    display: none;
}
.scroll-up-btn{
    position: fixed;
    height: 45px;
    width: 42px;
    background: rgb(236, 81, 53);
    right: 30px;
    bottom: 10px;
    text-align: center;
    line-height: 45px;
    color: #fff;
    z-index: 9999;
    font-size: 30px;
    border-radius: 6px;
    border-bottom-width: 2px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}
.scroll-up-btn.show{
    bottom: 30px;
    opacity: 1;
    pointer-events: auto;
}
.scroll-up-btn:hover{
    filter: brightness(90%);
}
/* ホーム section styling */
.ホーム{
    display: flex;
    height: 100vh;
    color: #fff;
    min-height: 500px;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Ubuntu', sans-serif;
}
.ホーム .max-width{
  width: 100%;
  display: flex;
}
.ホーム .max-width .row{
  margin-right: 0;
}
.ホーム .ホーム-content .text-1{
    font-size: 27px;
}
.ホーム .ホーム-content .text-2{
    font-size: 75px;
    font-weight: 600;
    margin-left: -3px;
}
.ホーム .ホーム-content .text-3{
    font-size: 40px;
    margin: 5px 0;
}
.ホーム .ホーム-content .text-3 span{
    color: crimson;
    font-weight: 500;
}
.ホーム .ホーム-content a{
    display: inline-block;
    background: rgb(74, 182, 240);
    color: #050505;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    font-weight: 400;
    border-radius: 6px;
    border: 2px solid #fbf76b;
    transition: all 0.3s ease;
}
.ホーム .ホーム-content a:hover{
    color: crimson;
    background: none;
}
/* about section styling */
.about .title::after{
    content: "私は";
}
.about .about-content .left{
    width: 45%;
}
.about .about-content .left img{
    height: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 6px;
}
.about .about-content .right{
    width: 55%;
}
.about .about-content .right .text{
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}
.about .about-content .right .text span{
    color: crimson;
}
.about .about-content .right p{
    text-align: justify;
}
.about .about-content .right a{
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.about .about-content .right a:hover{
    color: crimson;
    background: none;
}
/* shyumi section styling */
.shyumi, .趣味{
    color:#fff;
    padding-bottom: 250px;
    background-color: #111;}
.shyumi .title::before,
.趣味 .title::before{
    background: #fff;
}
.shyumi .title::after,
.趣味 .title::after{
    background: #111;
}
.shyumi .shyumi-content .card{
    width: calc(33% - 20px);
    background: #222;
    text-align: center;
    border-radius: 6px;
    padding: 50px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.shyumi .shyumi-content .card:hover{
    background: crimson;
}
.shyumi .shyumi-content .card .box{
    transition: all 0.3s ease;
}
.shyumi .shyumi-content .card:hover .box{
    transform: scale(1.05);
}
.shyumi .shyumi-content .card i{
    font-size: 50px;
    color: crimson;
    transition: color 0.3s ease;
}
.shyumi .shyumi-content .card:hover i{
    color: #fff;
}
.shyumi .shyumi-content .card .text{
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}
/* 故郷 section styling */
.故郷 .title::after{
    content: "美しいところ";
}
.故郷 .故郷-content .column{
    width: calc(50% - 30px);
}
.故郷 .故郷-content .left .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.故郷 .故郷-content .left p{
    text-align: justify;
}
.故郷 .故郷-content .left a{
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 16px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.故郷 .故郷-content .left a:hover{
    color: crimson;
    background: none;
}
.故郷 .故郷-content .right .line::before{
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: crimson;
}
.故郷-content .right .html::before{
    width: 90%;
}
.故郷-content .right .css::before{
    width: 60%;
}
.故郷-content .right .js::before{
    width: 80%;
}
.故郷-content .right .php::before{
    width: 50%;
}
.故郷-content .right .mysql::before{
    width: 70%;
}
.故郷{ 
    background-image: url(hinh-nen-dong-powerpoint-dep-thien-nhien-ngo-nghinh.gif);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 1300px 730px;

}
/*chinh size anh*/
.column.right img {
    width: 450px;
    height: 190px;
}
/* 趣味 section styling */
.趣味 .title::after{
    content: "はなんでしょうか？？ ";
}
.趣味 .carousel .card{
    background: #222;
    border-radius: 6px;
    padding: 25px 35px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}
.趣味 .carousel .card:hover{
    background: crimson;
}
.趣味 .carousel .card .box{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.趣味 .carousel .card:hover .box{
    transform: scale(1.05);
}
.趣味 .carousel .card .text{
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}
.趣味 .carousel .card img{
    height: 150px;
    width: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid crimson;
    transition: all 0.3s ease;
}
.趣味 .carousel .card:hover img{
    border-color: #fff;
}
.owl-dots{
    text-align: center;
    margin-top: 20px;
}
.owl-dot{
    height: 13px;
    width: 13px;
    margin: 0 5px;
    outline: none!important;
    border-radius: 50%;
    border: 2px solid crimson!important;
    transition: all 0.3s ease;
}
.owl-dot.active{
    width: 35px;
    border-radius: 14px;
}
.owl-dot.active,
.owl-dot:hover{
    background: crimson!important;
}
/* 将来の夢 section styling */
.将来の夢 .title::after{
    content: "webシステムエンジニア";
}
.将来の夢 .将来の夢-content .column{
    width: calc(50% - 30px);
    float: left; /* Thay đổi thuộc tính float thành left */
}
.将来の夢 .将来の夢-content .left .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.将来の夢 .将来の夢-content .left p{
    text-align: justify;
}
.将来の夢 .将来の夢-content .left a{
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 16px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}
.将来の夢 .将来の夢-content .left a:hover{
    color: crimson;
    background: none;
}
.将来の夢 .将来の夢-content .right{
    float: right; /* Thay đổi thuộc tính float thành right */
}
.将来の夢 .将来の夢-content .right .line::before{
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: crimson;
}
.将来の夢-content .right .html::before{
    width: 90%;
}
.将来の夢-content .right .css::before{
    width: 60%;
}
.将来の夢-content .right .js::before{
    width: 80%;
}
.将来の夢-content .right .php::before{
    width: 50%;
}
.将来の夢-content .right .mysql::before{
    width: 70%;
}
.将来の夢 {
    margin-bottom: 280px; /* Thêm margin-bottom cho phần 将来の夢 */
  }


/* 連絡方法 section styling */
.連絡方法 .title::after{
    content: "連絡方法";
}
.連絡方法 .連絡方法-content .column{
    width: calc(50% - 30px);
}
.連絡方法 .連絡方法-content .text{
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.連絡方法 .連絡方法-content .left p{
    text-align: justify;
}
.連絡方法 .連絡方法-content .left .icons{
    margin: 10px 0;
}
.連絡方法 .連絡方法-content .row{
    display: flex;
    height: 65px;
    align-items: center;
}
.連絡方法 .連絡方法-content .row .info{
    margin-left: 30px;
}
.連絡方法 .連絡方法-content .row i{
    font-size: 25px;
    color: crimson;
}
.連絡方法 .連絡方法-content .info .head{
    font-weight: 500;
}
.連絡方法 .連絡方法-content .info .sub-title{
    color: #333;
}
.連絡方法 .right form .fields{
    display: flex;
}
.連絡方法 .right form .field,
.連絡方法 .right form .fields .field{
    height: 45px;
    width: 100%;
    margin-bottom: 15px;
}
.連絡方法 .right form .textarea{
    height: 80px;
    width: 100%;
}
.連絡方法 .right form .name{
    margin-right: 10px;
}
.連絡方法 .right form .field input,
.連絡方法 .right form .textarea textarea{
    height: 100%;
    width: 100%;
    border: 1px solid lightgrey;
    border-radius: 6px;
    outline: none;
    padding: 0 15px;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}
.連絡方法 .right form .field input:focus,
.連絡方法 .right form .textarea textarea:focus{
    border-color: #b3b3b3;
}
.連絡方法 .right form .textarea textarea{
  padding-top: 10px;
  resize: none;
}
.連絡方法 .right form .button-area{
  display: flex;
  align-items: center;
}
.right form .button-area button{
  color: #fff;
  display: block;
  width: 170px!important;
  height: 45px;
  outline: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  flex-wrap: nowrap;
  background: rgb(212, 74, 74);
  border: 2px solid rgb(28, 26, 26);
  transition: all 0.3s ease;
}
.right form .button-area button:hover{
  color: rgb(20, 160, 220);
  background: none;
}
.連絡方法 {
    margin-bottom: 150px; /* Thêm margin-bottom cho phần 将来の夢 */
  }
/* footer section styling */
footer{
    background: #a8a3a3;
    padding: 15px 23px;
    color: #fff;
    text-align: center;
}
button {
    background-color: rgb(255, 249, 172); /* màu nền cho nút */
    color: rgb(14, 13, 13); /* màu chữ cho nút */
    font-size: 19px; /* kích thước font chữ */
    padding: 10px 20px; /* khoảng cách giữa nội dung và đường viền của nút */
    font-style: italic;
    font-weight: bold;
  }
  .finger {    
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('https://www.emojimeaning.com/img/img-apple-160/1f447.png');
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(0deg);
    position: relative;
    top: 5px;
    margin-left: 5px;
    animation: finger-animate 1s infinite;
  }
  @keyframes finger-animate {
    0% {
      top: 5px;
    }
    50% {
      top: 10px;
    }
    100% {
      top: 5px;
    }
  }

  button:hover .finger {
    animation-play-state: paused;
  }
  
  
footer span a:hover{
    text-decoration: underline;
}


.content .girl img{
    position: absolute;
    height: 95%;
    bottom: 0;
    right: 80px;
    position: absolute;
  }
  header .media-icons{
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 40px;
    bottom: 40px;
  }
  .media-icons a{
   margin-top: 8px;
   font-size: 20px;
   font-weight: 500;
   text-decoration: none;
   opacity: 0.7;
   color: #b4228a;
   transition: all 0.3s ease;
  }
  .media-icons a:hover{
   opacity: 1;
  }


/* responsive media query start */
@media (max-width: 1104px) {
    .about .about-content .left img{
        height: 350px;
        width: 350px;
    }
}

@media (max-width: 991px) {
    .max-width{
        padding: 0 50px;
    }
}
@media (max-width: 947px){
    .menu-btn{
        display: block;
        z-index: 999;
    }
    .menu-btn i.active:before{
        content: "\f00d";
    }
    .navbar .menu{
        position: fixed;
        height: 100vh;
        width: 100%;
        left: -100%;
        top: 0;
        background: #111;
        text-align: center;
        padding-top: 80px;
        transition: all 0.3s ease;
    }
    .navbar .menu.active{
        left: 0;
    }
    .navbar .menu li{
        display: block;
    }
    .navbar .menu li a{
        display: inline-block;
        margin: 20px 0;
        font-size: 25px;
    }
    .ホーム .ホーム-content .text-2{
        font-size: 70px;
    }
    .ホーム .ホーム-content .text-3{
        font-size: 35px;
    }
    .ホーム .ホーム-content a{
        font-size: 23px;
        padding: 10px 30px;
    }
    .max-width{
        max-width: 930px;
    }
    .about .about-content .column{
        width: 100%;
    }
    .about .about-content .left{
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }
    .about .about-content .right{
        flex: 100%;
    }
    .shyumi .shyumi-content .card{
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }
    .故郷 .故郷-content .column,
    .連絡方法 .連絡方法-content .column{
        width: 100%;
        margin-bottom: 35px;
    }
}

@media (max-width: 690px) {
    .max-width{
        padding: 0 23px;
    }
    .ホーム .ホーム-content .text-2{
        font-size: 60px;
    }
    .ホーム .ホーム-content .text-3{
        font-size: 32px;
    }
    .ホーム .ホーム-content a{
        font-size: 20px;
    }
    .shyumi .shyumi-content .card{
        width: 100%;
    }
}

@media (max-width: 500px) {
    .ホーム .ホーム-content .text-2{
        font-size: 50px;
    }
    .ホーム .ホーム-content .text-3{
        font-size: 27px;
    }
    .about .about-content .right .text,
    .故郷 .故郷-content .left .text{
        font-size: 19px;
    }
    .連絡方法 .right form .fields{
        flex-direction: column;
    }
    .連絡方法 .right form .name,
    .連絡方法 .right form .email{
        margin: 0;
    }
    .right form .error-box{
       width: 150px;
    }
    .scroll-up-btn{
        right: 15px;
        bottom: 15px;
        height: 38px;
        width: 35px;
        font-size: 23px;
        line-height: 38px;
    }
}



