@charset "UTF-8";

/*共通部分---------------------------------------*/
* {
    margin: 0; padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
    /* font-size: 100%; */
    background-color: #F6EFDB;
    text-align: center
}
body {
    font-size: 1.8rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    line-height: 1.7;
    /* cursor: none; */
    /*もともとあるカーソルは見えなくなるようにする*/
}
a {
    text-decoration: none;
}
img {
    max-width: 100%;
}
.title{
    text-align: center;
    margin-top: 100px;
    margin-bottom: 50px;
    font-size: 5.0rem;
    font-family: 'Zen Maru Gothic', sans-serif;
}
.top-title{
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;
    font-size: 5.0rem;
    font-family: 'Zen Maru Gothic', sans-serif;
}
.clear{
    clear: left;
}
main{
    max-width: 90%;
    margin: 0 auto;
}
#cursor{
    position: fixed;
    /*丸の大きさと色の指定*/
    background: #fff;
    border-radius:20px;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;/*真ん中にくるようにマイナスマージンで調整*/
    z-index: 2;/*一番手前に来るように*/
    pointer-events: none;/*クリックできなくなるのを防ぐため。noneで対応*/
    opacity: 0;
}
.section{
    display: flex;
    align-items: center;
}
.sp{
    display: none !important;
}
.bold{
    font-weight: bold;
}

.font-14{
    font-size: 1.4rem;
}
.font-20{
    font-size: 2.0rem;
}

/*HEADER----------------------------------------*/
.header-left{
    float: left;
    display: flex; 
    align-items: center;
}
.nav_pc {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
    width: 80%;
    top: 6%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 200;
    align-items: center;
}
.logo {
    width: 50px;

}
.main-nav {
    display: flex;
    font-size: 1.4rem;
    text-transform: uppercase;
    list-style: none;
    /* margin-top: 15px; */
}
.main-nav a {
    color: black;
    position: relative; /*アンダーラインの位置を決めるための基準 */
    margin-left: 50px;
    height: 30px;
}
.main-nav a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #000000;
    bottom: -1px;
    transform: scale(0, 1);
    transform-origin: right top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
    transition: transform 0.3s;  /*変形の時間*/
}    
a:hover::after {
    transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
    transform-origin: left top; /*左から右に向かう*/
}
/* .wrapper {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 4%;
} */
.fa{
    margin-left: 10px;
}
/* label {
    display: none;
}
label .menu {
    position: absolute;
    right: -150px;
    top: -110px;
    z-index: 100;
    width: 200px;
    height: 200px;
    background: #FFF;
    border-radius: 50% 50% 50% 50%;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    box-shadow: 0 0 0 0 #FFF, 0 0 0 0 #FFF;
    cursor: pointer;
  }
  label .hamburger {
    position: absolute;
    top: 135px;
    left: 50px;
    width: 30px;
    height: 2px;
    background: black;
    display: block;
    -webkit-transform-origin: center;
    transform-origin: center;
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
  }
  
  label .hamburger:after, label .hamburger:before {
    -webkit-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background: black;
  }
  
  label .hamburger:before { top: -10px; }
  
  label .hamburger:after { bottom: -10px; }
  
  label input { display: none; }
  
  label input:checked + .menu {
    box-shadow: 0 0 0 100vw #F9E2A8, 0 0 0 100vh #F9E2A8;
    border-radius: 50% 50% 50% 50%;    
  }
  
  label input:checked + .menu .hamburger {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    
  }
  
  label input:checked + .menu .hamburger:after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    bottom: 0;
    
  }  
  label input:checked + .menu .hamburger:before {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    top: 0;
    
  }  
  label input:checked + .menu + ul { opacity: 1; }
    label ul {
    z-index: 200;
    position: absolute;
    top: 600%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    -webkit-transition: .25s 0s ease-in-out;
    transition: .25s 0s ease-in-out;
  }
    label a {
    margin-bottom: 2em;
    display: block;
    color: black;
    text-decoration: none;
  }
  label li {
    list-style:none;
  } */
.name{
    margin-bottom: 3em;
    font-size: 2.0rem;
}


/*HOME----------------------------------------------------------*/
.home-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5.0rem;
    text-align: center;
    width: 100%;
    letter-spacing: 3px;
}
#home {
    position: relative;
    min-height: 100vh;
    background-color: #F6EFDB; /* 背景色は自由に設定 */
    z-index: 1; /* 他の要素との重なりを考慮 */
    overflow: hidden; /* 擬似要素が外に出ないようにする */
}
#home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/HOME背景_rp.png);
    background-size: cover;
    background-position: center;
    opacity: 0.1; /* 背景画像を薄くする */
    z-index: -1; /* 背景画像を後ろに配置 */
}

/* ABOUTO ME */
.ABOUT-ME {
    display: flex;
    justify-content: center; /* アイテムを中央に配置 */
    /* gap: 90px; */
    /* margin-top: 150px; */
}
.about-content {
    display: flex;
    flex-direction: column; /* テキストとボタンを縦に並べる */
    align-items: center; /* 左揃えにする場合 */
    justify-content: center; /* ボタンとテキストを中央揃えにする */
}
.about-paragraph{
    font-size: 2.4rem;
    padding: 0 4%;
    display: flex;
}
.prof {
    width: 450px;
    border-radius:50%;
}
/* #about-bg {
    position: relative;
    min-height: 100vh;
    background-color: #F6EFDB; 背景色は自由に設定
    z-index: 1; 他の要素との重なりを考慮
    overflow: hidden; 擬似要素が外に出ないようにする
    padding: 50px;
}
#about-bg::before {
    content: "";
    position: absolute;
    top: 55%;
    left: 75%;
    width: 1200px;
    height: 1200px;
    background-image: url('../images/連続足跡_rp.png'); 背景に足跡画像を追加
    background-size: cover;
    background-position: center;
    opacity: 0; 初期状態では透明
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: fadeIn 3s ease-in-out forwards; フェードインアニメーションを適用
}
@keyframes fadeIn {
    0% {
        opacity: 0;透明状態
    }
    100% {
        opacity: 0.1; 徐々に表示される
    }
} */
.view-more-btn {
    width: 250px;
    height: 50px;
    display: inline-block;
    padding: 10px 20px;
    margin-top: 30px;
    background-color: #B9D0B1;
    color: black;
    border-radius: 30px;
    border: none;
    text-decoration: none;
    font-size: 1.6rem;
    transition: background-color 0.3s ease;
}

.view-more-btn:hover {
    background-color: #B9D0B1;
}
table {
    margin:auto
}
table td{
    font-size: 3.0rem;
    text-align: left;
}
.dots {
    flex-grow: 1; /* ドットをスペースで埋める */
    text-align: center;
    padding-left: 5px; /* スキル名とドットの間に少し余白を追加 */
    font-family: monospace; /* 一定幅フォントでドットを揃える */
    font-size: 3.0rem;
}
.paw-track {
    display: flex;
    gap: 5px;
}
.paw {
    width: 55px;
    height: 55px;
}

/* SKILL */
.skill-text {
    font-size: 2.4rem;
    line-height: 1.5;
    text-align: center;
    margin: 20px auto;
    width: 80%;
}

/* .SKILL-bg {
    position: relative;
    min-height: 100vh;
    background-color: #F6EFDB;
    z-index: 1;
    overflow: hidden;
}
.SKILL-bg::before {
    content: "";
    position: absolute;
    top: 0;
    right: 45%;
    width: 100%;
    height: 100%;
    background-image: url(../images/ふにゃ黄色_rp.png);
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: -1;
} */

.skill_pa{
    height: 170px;
}
.skill-list{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}
.skill-title{
    font-weight: bold;
}


/* WORK */
.work-example{
    height: 300px;
    border-radius: 10px;
}

/* CONTACT */
.CONTACT{
    line-height: 1.5;
    text-align: center;
    margin: 0 auto;
    width: 80%;
}
.contact-paragraph{
    font-size: 2.4rem; 
}
.contact-end-paragraph{
    font-size: 2.4rem; 
}
.contact-btn {
    margin-top: 50px;
    width: 250px;
    height: 50px;
    display: inline-block;
    padding: 10px 20px;
    background-color: #B9D0B1;
    color: black;
    border-radius: 30px;
    border: none;
    text-decoration: none;
    font-size: 1.6rem;
    transition: background-color 0.3s ease;
}
.contact-btn:hover {
    background-color: #87A167;
}
.contact-warning{
    font-size: 1.2rem;
    color: black;
    opacity: 0.5;
    line-height: 1.5
}

/* FOOTER */
.footer {
    margin-top: 80px;
    text-align: center;
}
.footer p{
    position: absolute;
    left: 50%;
    top: 60%;
    transform: translate(-50%,-50%);
    font-size: 1.2rem;
    font-family: 'Zen Maru Gothic', sans-serif;
}

#footer-bg {
    position: relative;
    min-height: 20vh;
    background-color: #F6EFDB; /* 背景色は自由に設定 */
    z-index: 1; /* 他の要素との重なりを考慮 */
    overflow: hidden; /* 擬似要素が外に出ないようにする */
}
#footer-bg::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/footer_.png);
    background-size: cover;
    /* background-position: center; */
    z-index: -1; /* 背景画像を後ろに配置 */
}

/* ABOUT ME　PAGE */
.about-title {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 50px;
    font-size: 5.0rem;
    font-family: 'Zen Maru Gothic', sans-serif;
}
.about-prof {
    width: 450px;
    height: 450px;
    border-radius:50%;
    background-image: url(../images/me.jpg);
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat; /* 画像が繰り返されないようにする */
    margin-top: 100px; /* 画像を下に移動 */
    margin-left: 10px; /* 画像を下に移動 */
}
/* #aboutp-bg {
    position: relative;
    min-height: 100vh;
    background-color: #F6EFDB; /* 背景色は自由に設定 */
    /* z-index: 1; /* 他の要素との重なりを考慮 */
    /* overflow: hidden; 擬似要素が外に出ないようにする  */
    /* padding: 50px;
}
#aboutp-bg::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 73%;
    width: 55%;
    height: 100%;
    background-image: url(../images/ふにゃ黄色_rp_180.png);
    background-size: cover; */
    /* opacity: 0.5; 背景画像を薄くする
    z-index: -1; 背景画像を後ろに配置
}  */

/* CAREER */
.career-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-left: 10%;
    margin-right: 10%;
}
.timeline img{
    width: 1.2%;
    position: absolute;
}

.timeline-item {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin-bottom: 40px;
    position: relative;
    justify-content: space-between;
}

.timeline-item:last-child{
    margin-bottom: 0;
}

.timeline-icon {
    width: 300px; /* アイコンのサイズを少し大きくして調整 */
    height: 60px; /* 縦のサイズも少し調整 */
    display: flex;
    /* justify-content: center; */
    align-items: center;
    position: relative;
}

.timeline-icon img{
    width: 100%;
}

.timeline-icon p{
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size:2.0rem;
    padding:0;
    margin:0;
}

.timeline-content {
    /* background-color: transparent; 背景を透明に設定して白枠を削除 */
    padding: 20px;
    /* border-radius: 8px; */
    margin-left: 30px;
    width: 100%;
    max-width: 600px;
    /* z-index: 1;
    box-shadow: none; 枠の影を削除 */
    text-align: left
}

.timeline-content p {
    font-size: 1.6rem;
    line-height: 1.6;
}

/* CONTACT */
.contact-form {
    display: flex;
    flex-direction: column; /* フォーム全体は縦並び */
    /* gap: 20px; */
    align-items: center; /* フォーム全体を中央揃えにする */
    margin-top: 30px;
}

.form-group {
    display: flex;
    flex-direction: column; /* ラベルと入力欄を縦並びに */
    /* align-items: center; ラベルと入力フィールドを垂直中央揃えにする */
    gap: 15px; /* ラベルと入力フィールドの間にスペースを作る */
    text-align: left;
    width: 100%;
    /* padding-top: 20px; */
    max-width: 700px; /* フォームの最大幅を制限 */
    font-family: 'Zen Maru Gothic', sans-serif;
}
label {
    font-weight: bold;
    font-size: 1.8rem;
    margin-top: 25px;
}

input.wide, textarea.wide {
    width: 100%; /* フォームの幅を最大限に広げる */
    padding: 10px;
    border-radius: 30px; /* 角を丸くする */
    border: none;
    background-color: #D8BE95;
    /* box-sizing: border-box; */
    opacity: 0.4; 
    margin-left: auto;
    appearance: none; /* ブラウザのデフォルトスタイルを排除 */
}
/* オートフィル時の背景色を固定 */
input.wide:-webkit-autofill,
textarea.wide:-webkit-autofill {
    background-color: #D8BE95 !important;
    -webkit-box-shadow: 0 0 0px 1000px #D8BE95 inset !important;
    color: black !important;
}

.submit-group {
    margin-top: 30px; /* 送信ボタンの上に余白を追加 */
}

.submit-btn {
    width: 250px;
    height: 50px;
    background-color: #B9D0B1;
    color: black;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.6rem;
    cursor: pointer;
    border: none;
}

.submit-btn:hover {
    background-color: #A8C3A1;
}
.worn {
    margin: 30px 0;
    font-size: 1.5rem;
    align-items: center;
}

.page_top_btn {
    height: 150px;
    width: 150px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 2;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.4s ease-out, transform 1.4s ease-out;
  }
  
  .fade-in.show {
    opacity: 1;
    transform: translateY(0);
  }
