@charset "utf-8";
@import url(sanitize.css);
html {
    font-size: 100%;
    font-family: "游ゴシック体", "Yu Gothic", "Yugothic", "sans-serif";
    scroll-behavior: smooth;
    /* font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif; */
    font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝','Yu Mincho', '游明朝体', 'YuMincho','ＭＳ Ｐ明朝', 'MS PMincho', serif;
    /* box-sizing: border-box; */
    scroll-padding-top: 110px;
    font-weight: bold;
}

/* お約束で、画像が好き勝手に動かない */
img {
    max-width: 100%;
    height: auto;
  }

body {
    color: #333;
    text-align: center;
    max-width: 1920px;
    margin: auto;
}

.whole_wrapper {
    position: relative;
}

.wrapper_content {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

/* header ----------------------------------------------*/
header {
    /* border: 4px solid red; */
    width: 100%;
    height: 80px;
    top: 0;
    position: sticky;
    z-index: 10;
    background-color: rgba(255,255,255,0.7);
}

.logo {
    /* background-color: #555; */
    opacity: 0.8;
}
.logo a {
    text-decoration: none;
    color: #fff;
    padding: 5px;
}


nav {
    margin: 0 auto;
    /* border: 4px solid blue; */
}


nav .pc_menu{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    width: 100%;
    height: 80px;
}

nav .pc_menu ul {
    display: flex;
    justify-content: space-around;
    font-size: 1.2rem;
}

nav .pc_menu ul li {
    padding: 0 10px;
}

nav .pc_menu ul li a {
    position: relative;
    text-decoration: none;
}

nav .pc_menu ul li a::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 0.5px;
    background: #333;
    bottom: -3px;               /*アンダーラインがaタグの下端から現れる*/
    transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
    transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
    transition: transform 0.3s; /*変形の時間*/
}
    
nav .pc_menu ul li a:hover::after {
    transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
}

.main_visial img {
    width: 100%;
    /* 暫定的にハイトを絶対値に */
    height: auto;
    /* border: 4px solid yellow; */
}

/* .fix_nav {
     background-color: rgba(255,255,255,0.7); 
     position: fixed; 
     width: 100%;
    height: 80px;
    top: 0;
    z-index: 1000000;
    border: 4px solid violet; 
} */
/* hum--------------------------- */
.navi {

    /* display: block; */
    display: none;
    position: fixed;
    background-color: #fff;
    /* width: 220px; */
    width: 100%;
    top: 0;
    /* 画面外に追い出す */
    right: -1000px;
    bottom: 0;
    /* 要素を遅らせる */
    /* https://www.asobou.co.jp/blog/web/css-animation3 */
    transition: all 0.5s;
    z-index: 3;
    /* opacityとは要素の不透明度
    https://developer.mozilla.org/ja/docs/Web/CSS/opacity
    */
    opacity: 0;
}

.open .navi {
    /* 右の画面-1000の距離にいたものを0にして戻してあげる */
    right: 0;
    /* 不透明度100％ */
    opacity: 0.8;
}

.inner {
    padding: 25px;   
    margin: 20% auto;
}

.inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navi .inner ul li {
    margin: 0;
    border-bottom: 1px solid #333;

}

.navi .inner ul a {
    /* aタグはインライン要素 */
    display: block;
    /* アンダーライン消す */
    text-decoration: none;
    color: #333;
    padding: 1rem;
    /* どれくらい遅らせるか */
    text-decoration: 0.2s;
}

.navi .inner ul a:hover {
    background-color: #e4e4e4;
}


/* 3本線 */
.toggle_btn {
    display: none;
    /* display: block; */
    position: fixed;
    top: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    z-index: 3;
    /* カーソルを手にする */
    cursor: pointer;
}

.toggle_btn span{
    position: absolute;
    /* インラインをブロックか */
    display: block;
    /* トグルボタンを親にして左の位置の0に指定 */
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #333;
    transition:  all 0.5s;
    border-radius: 4px;
}

/* ハンバーガーメニュー */
.toggle_btn span:nth-child(1) {
    top: 4px;
}
.toggle_btn span:nth-child(2) {
    top: 14px;
}
.toggle_btn span:nth-child(3) {
    bottom: 4px;
}

/* 白バッテン */
.open .toggle_btn span{
    background-color: #333;
}

.open .toggle_btn span:nth-child(1){
    /* 10ピクセル下に下げる 315度回転させる*/
    transform: translateY(10px) rotate(-315deg);
}

.open .toggle_btn span:nth-child(2){
    opacity: 0;
}

.open .toggle_btn span:nth-child(3){
    /* 315度回転させる*/
    transform: translateY(-10px) rotate(315deg);
}


/* マスク */
#mask {
    display: none;
    transition: all 0.5s;
}

.open #mask {
    display: block;
    background-color: #000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    opacity: 0.8;
    cursor: pointer;
}

/* スマホメニューfade -------------------------- */

.fade {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s, transform 1s;
}

.fade.active {
    opacity: 1;
    transform: translateX(0px);
}
/* --------------------------- */
.sp_menu li:nth-of-type(1) {
    transition: transform 0.5s;
}
.sp_menu li:nth-of-type(2) {
    transition: transform 0.75s;
}
.sp_menu li:nth-of-type(3) {
    transition: transform 1s;
}
.sp_menu li:nth-of-type(4) {
    transition: transform 1.25s;
}
.sp_menu li:nth-of-type(5) {
    transition: transform 1.5s;
}

/* main---------------------------------------- */
main {
    /* border: 4px solid aqua; */
    position: relative;
}

main h2 {
    text-align: center;
    /* border: 4px solid violet; */
    margin: 30px 0;
}

.catch_copy {
    margin: 50px auto;
    font-size: clamp(0.9rem, 0.5rem + 2vw, 2rem);
}

.shodow {
    box-shadow: 5px 5px 10px rgba(225,225,225,.7);
}

.works_item {
    transition-timing-function: ease ;
}

.works_item:hover {
    transform: translate(0px, 0px) scale(1.02, 1.02);
    transition-duration: 200ms;
    box-shadow: none;
}

.enpty {
    position: relative;
    width: 350px;
}

.enpty::before {
    position: absolute;
    content: '';
    width: 350px;
    height: auto;
}

.wallpaper {
    background-image: url(../img/kabegami_so_white.png);
}

section {
    margin: 100px 0;
}
.sec_about {
    /* border: 4px solid greenyellow; */
}

.sec_about .plof {
    display: flex;
    justify-content: center;
    align-items: center;
}

.face_icon {
    width: 200px;
    height: 200px;
}

.sec_about .plof p {
    max-width: 800px;
    text-align: left;
    padding-left: 30px;
    line-height: 2rem;
    /* border: 4px solid darkorange; */
}

.sec_about .more_prof {
    text-align: right;
}

.sec_about a,.sec_works_detail a {
    text-decoration: none;
}

/* works---------------------------------------------------------- */
.sec_works .works_list {
    padding: 0;
    list-style: none;
    display: flex;
    /* justify-content: space-around; */
    justify-content: center;
    flex-wrap: wrap;
    /* gap: 80px 25px; */
    gap: 80px 5vw;
}

.works_list {
    /* border: 4px solid firebrick; */
    /* background-image: url(../img/craft_works.jpg); */
}

.works_item {
    /* width: calc((100% - 100px) /3);  */
    width: 350px;
    height: auto;
    /* border: 4px solid purple; */
    background-color: #fff;
    box-shadow: 5px 5px 10px rgba(225,225,225,.7);
    /* box-shadow: 0px 0px 20px 15px rgba(225,225,225,.5); */
}

.works_item .tham_img img {
    /* width: calc((100% - 100px) /3);  */
    /* height: auto; */
    height: 195px;
    width: 100%;
    /* border: 4px solid olivedrab; */
    object-fit: contain;
}

.works_item {
    text-align: left;
    padding: 15px;
    /* margin: 0; */
}

.works_item p {
    margin-bottom: 0;
}

.works_item p a {
    text-decoration: none;
}

/* .works_item .banna_squea img {
    object-fit: contain;
} */
/* skill------------------------------------------ */
.skill_list {
    /* border: 4px solid gold; */
    padding: 0;
    list-style: none;
    display: flex;
    /* justify-content: space-around; */
    justify-content: center;
    flex-wrap: wrap;
    /* gap: 50px 20px; */
    gap: 80px 5vw;
}

.skill_item {
    width: 350px;
    height: auto;
    /* border: 4px solid purple;   */
    box-shadow: 5px 5px 10px rgba(225,225,225,.7);
}

.skill_item p {
    text-align: left;
    padding: 10px;
}

.skill_icon img {
    width: 90px;
}

/* footer------------------------------- */
footer {
    /* border: 4px solid turquoise;   */
}

.footer_list {
    display: flex;
    list-style: none;
    /* border: 4px solid red;   */
    padding: 0;
    font-size: 1.2rem;
}

.footer_list li {
    padding: 0 10px;
}

.footer_list li a {
    text-decoration: none;
}

.sns_img {
    width: 50px;
    margin: 0 auto;
}

.sns a {
    text-decoration: none;
}
.top_btn {
    position: fixed;
    z-index: 5;
    bottom: 25px;
    right: 25px;
    background-color: #3558B6;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.6);
    opacity: 0.8;
    transition: all 0.5s ease-in-out;
}

.top_btn a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.top_btn:hover {
    background-color: #20B3C6;
}

.back_btn {
    position: fixed;
    z-index: 5;
    bottom: 25px;
    left: 25px;
    background-color: #3558B6;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.6);
    opacity: 0.8;
    transition: all 0.5s ease-in-out;
}

.back_btn a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.back_btn:hover {
    background-color: #20B3C6;
}

/* ふわっと------------------------------------------------------- */
.target {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s;
  }
  
  .is_active {
    opacity: 1;
    transform: translateY(0px);
  }

/* profile.htmlのデザイン------------------------------------------ */
.sec_plof {
    display: flex;
    justify-content: center;
    /* border: 4px solid green; */
    align-items: center;
}

.prof_text_box {
    /* border: 4px solid red; */
    max-width: 600px;
    padding-left: 15px;
    text-align: left;
    line-height: 2rem;

}

.cerent_skill ,.future_skills {
    list-style: none;
    max-width: 800px;
    /* border: 4px solid gold; */
    padding: 10px;
    margin: 0 auto;
}

.cerent_skill p, .future_skills p {
    text-align: left;
    line-height: 2rem;
}

/* worksのデザイン共通------------------------------------------------- */
.sec_works_detail, .work_main_visi, .work_main_visi_link {
    max-width: 1000px;
    margin: 0 auto;
}

.work_main_visi img {
    width: 100%;
}

.under_line{
    position: relative;
}

.under_line::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 0.5px;
    background: #333;
    bottom: -3px;               /*アンダーラインがaタグの下端から現れる*/
    transform: scale(0, 1);     /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
    transform-origin: left top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
    transition: transform 0.3s; /*変形の時間*/
}

.under_line:hover {
    opacity: 0.8;
}
    
.under_line:hover::after {
    transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
}

.work_main_visi_link img {
    /* cursor: pointer; */
    transition: all 0.5s;
}

.work_main_visi_link img:hover {
    opacity: 0.7;
}

.desc_text_box {
    padding: 10px;
    /* background-color: antiquewhite; */
    background-image: url(../img/kabegami_so_white.png);
    /* max-width: 800px; */
    /* margin: 0 auto */
}

.sec_works_detail .work_desc p {
    text-align: left;
    margin: 0;
}

.sec_prot {
    max-width: 1000px;
    margin: 0 auto;
}

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

.kanpu_pc  {
    max-width: 1280px;
    width: 60%;
    height: 350px;
    padding: 15px;
    margin: 50px auto;
    border: 3px solid #333;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
    overflow: scroll;
}
.kanpu_pc .scroll_area {
    width: 100%;
    padding: 20px;
    line-height: 2rem;
}

.kanpu_sp  {
    max-width: 1280px;
    width: 35%;
    height: 350px;
    padding: 15px;
    margin: 50px auto;
    border: 3px solid #333;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
    overflow: scroll;
}

.slider {
    /* border: 4px solid gold; */
    /* max-width: 70%; */
    /* width: 100%; */
    padding: 0;
    margin: 0 auto;
}

.slider li {
    width: 90%;
}

.slider li img {
    /* width: 100%; */
    height: auto;
    object-fit: contain;
    
}

/* -------------------------------------------------------------- */
.youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .youtube iframe {
    width: 100%;
    height: 100%;
  }




/* レスポンシブ：-------------------------------------------------- */
@media screen and (max-width:1000px) {
    main {
        padding: 0 10px;
    }
    .sec_about .plof,.sec_plof,.scroll_kanpu {
        flex-direction: column;
    }
    
    .sec_about .plof p {
        max-width: 600px;
        padding: 0;
        margin: 50px auto;
    }

    .prof_text_box {
        margin-top: 30px;
    }

    .kanpu_pc,.kanpu_sp {
        width: 80%;
    }
}

@media screen and (max-width:835px) {
    nav .pc_menu ul {
        display: none;
    }
    .navi,.toggle_btn {
        display: block;
    }
}

@media screen and (max-width:481px) {
    .main_visial img{
        /* height: 50vh; */
        /* object-fit: cover; */
        /* object-fit: contain; */
        /* aspect-ratio: 16/9; */
    }

    section {
        margin: 50px 0;
    }

    .footer_list {
        flex-wrap: wrap;
    }
    .footer_list li {
        width: calc(100% / 2);
        height: 50px;
        line-height: 50px;
        border: 1px solid #333;
        font-weight: bold;
    }
}







