@charset "utf-8";

/* 共通部分 */
body {
    margin: 0;
    font-size: 100%;
    color: #363535;
}

h1,h2,h3,h4,h5,h6,p,ol,ul,dl {
    margin-top: 0;
}

p {
    line-height: 1.7;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

a:hover {
    opacity: 0.8;
}

/* 共通ヘッダー */
header {
    height: 4.5rem;
    border-bottom: solid 1px #6d6b6b ;
    background-color: #474242;

}
.header {
    max-width: 1000px;
    height: 4rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;

}
.header h1 {
    margin: 0;
}

.header a {
    height: 4rem;
    display: block;
}

.header-logo {
    width: 50%;
    padding-top: 0.5rem;
    align-items: center;
}

.global-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
    padding-left: 0;
    padding-top: 2rem;
    list-style-type: none;
}
.global-nav li {
    margin-left: 3rem;
    font-size: 1.5rem;
    box-sizing: border-box;
    font-family: 'American Typewriter',serif;
}

.global-nav li a {
    text-decoration: none;
    color: #a8a1a1;
}

/* プロフィール、アバウト、ワークス共通 */
h2 {
    font-family: 'American Typewriter', san-serif;
    font-weight: lighter;
    font-size: 3rem;
    padding: 3rem 1rem 0;

}

.container {
    max-width: 1000px;
    margin: 0 auto;
}
/* パンクズリスト */
.breadcrumb {
    display: flex;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    list-style-type: none;
}
.breadcrumb__item {
    font-size: 1rem;
    font-family: 'American Typewriter', san-serif;
}
.breadcrumb__item a {
    padding: 0.1rem 0.25rem;
    border-radius: 0.2rem;
    color: #a8a1a1;
}

.breadcrumb__item a:hover {
    background-color: #b8b9d0;
}
.breadcrumb__item:last-child {
    color: #3a3a41;
    padding-left: 0.25rem;
}

.breadcrumb__item::after {
    margin: 0 0.5rem;
    content: '>';
}
.breadcrumb__item:last-child::after {
    content: none;
}

/* インデックスメイン */
 .main-container {
    background-image: url(../images/bg1.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    min-height: 100vh;
    animation: img_anime 10s ease infinite;
}

.home {
    max-width: 1000px;
    height: 4.5rem;
    margin: 0 auto;
    position: relative;
    padding-top: 60vh;
}

.mainvisual {
    margin-bottom: 0;
    font-size: 3.5rem;
    font-family: 'Poppins', sans-serif;
    
    left: 0;
    text-shadow: 1px 1px 1px #bebaba;
}

/*animation*/

@keyframes img_anime {
    0% {
        background-image: url(../images/bg1.png);
    }
    25% {
        background-image: url(../images/bg1.png);
    }

    35% {
        background-image: url(../images/bg2.png);
    }
    50% {
        background-image: url(../images/bg2.png);
    }
    68% {
        background-image: url(../images/bg3.png);
    }
    85% {
        background-image: url(../images/bg3.png);
    }
    100% {
        background-image: url(../images/bg1.png);
    }
    
}


/*共通フッター*/
footer {
    text-align: center;
}

footer p {
    margin-bottom: 0;
    font-size: small;
    background-color: #333131;
    color: #ffffff;
}


/*プロフィール*/
dl {
    margin: 1.25rem;
}
.prf {
    width: fit-content;
    padding-left: 2rem;
    border-radius: 43% 87% 23% 78% / 48% 41% 46% 42%;
    background-color: #b5b7ca;
}

dl .dt_font {
     font-family: 'Indie Flower', cursive;
     font-size: 1.45rem;
}
dl .prof-contents {
    font-family: 'Zen Kurenaido', sans-serif;
    font-size: 1.25rem;
    margin-left: 20px;
}

h3 {
    margin:0 0 10px 20px;
    padding-left: 1.5rem;
    font-size: 3rem;
    font-family: 'Indie Flower', cursive;
    text-align: center;
}

.skills {
    margin: 15px 0 40px 40px;
    padding-left: 22rem;
    display: flex;
    flex-wrap: wrap;
    font-size: 1.5rem;
}
.s_mark {
    margin-left: 0;
}

.skills dt {
    width: 15rem;
}

.s_mark {
    width: calc(100% - 15rem);
}
#myself {
    overflow: hidden;
    padding-bottom: 5rem;
}

.p_img {
    width: 300px;
    float: right;
    padding-right: 3rem;
}

/* About here */
.introduction {
    display: flex;
    justify-content: space-between;
    margin: 3rem 1rem 5rem;
}

    .trimming {
        display: inline-block;
        overflow: hidden; /* はみ出る部分を隠す */
        border-radius: 70% 40% 50% 70% / 60% 50% 70% 40%; /* いびつな形 */
        width: 50%;
        height: 50%;
      }
      .trimming img {
        display: block;
        max-width: 100%;
        width: 100%;
        height: 100%;
        object-fit: cover; /* 縦横比を保持 */
}
.avt_ex {
    margin-left: 1.5rem;
}

.avt {
    margin-left: 0;
    font-family: 'Poppins','Kaisei Opti', sans-serif;
    font-size: 1.25rem;
    font-weight: nomal;
}

.avt_ex p{
    margin-bottom: 0;
    padding-left: 1.25rem;
}

.c_title {
    font-size: 2rem;
    font-family: 'Poppins','Kaisei Opti', sans-serif;
}
.curriculum {
    margin-bottom: 3rem;
    border: 1px solid #333131;
    border-collapse: collapse;
    text-align: justify;
}
.colspan {
    text-align: center;
}
.curriculum th,
.curriculum td {
    border: 1px solid #333131;
    padding: 1rem;
}

.curriculum ul {
    padding: 2rem;
    margin-bottom: 0;
}

.style {
    padding: 0.5em 1.2em;
    background-image: url(../images/rbl.png);
    background-repeat: no-repeat;
    background-size: 1em;
    background-position: left center;
    list-style-type: none;
}

.td_img {
    width: 15%;
}

.td_img img {
    padding: 5px;
    box-sizing: border-box;
}

.access_t {
    padding-left: 1rem;
    font-family: 'Kaisei Opti', serif;
    font-weight: bold;
    display: inline-block;
    border-left: 5px solid #615e5e;
}
.access {
    display: flex;
    justify-content: space-around;
}
.access address {
    padding-top: 1.5rem;
    font-style: normal;
}
.map {
    padding-bottom: 2rem;
}

/* Works */

.w_page {
    max-width: 1000px;
    margin: 0 auto;
}
.w_t {
    font-family: 'Kaisei Opti', serif;
}
.ws {
    margin: 0;
    padding: 5rem 1rem 2rem;
    font-size: 2.5rem;
    font-family: 'Poppins', sans-serif;
}

.grid_items {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    text-align: center
}

.item a {
    display: block;
}

.i2 {
    border: 1px #333131 dashed;
}

#thoughts {
    padding-top: 5rem;
}
.tg-t {
    font-family: 'Poppins','Kaisei Opti', sans-serif;
}
.tg {
    padding-left: 2rem;
    font-family: 'Zen Kurenaido', sans-serif;
    border-radius: 24% 87% 23% 77% / 56% 54% 46% 54%;
    background-color: rgba(192, 173, 173, 0.5);
    width: fit-content;
}
 



/* prof,works背景 */
#bg {
    background-image: url(../images/bg_2.png);
    min-height: 100vh;
    background-position: top;
    background-attachment: fixed;
}
/* abouthere背景 */
.bg_container {
    background-color: #ffffff;
}
/* totop */
html {
    scroll-behavior: smooth;
}
.totop {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(100,100,100,0.5);
}
.totop a {
    display: block;
    width: 100%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
    font-weight: normal;
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    text-decoration: none;
}
.totop {
    position: sticky;
    bottom: 2rem;
    margin-left: auto;
}


/*for mobaile*/
/*humburger*/
.menu-check, 
.onoff-btn {
    display: none;
}

@media only screen and (max-width:768px){
    .animate {
        animation: none;
        transform: none;
        transition: unset;
    }
}

@media screen and (max-width:768px){
    .onoff-btn {
        width: 4rem;
        height: 3rem;

        color: #c9c9d0;
        background-color: #313137;

        display: flex;
        justify-content: center;
        align-items: center;

        position: fixed;
        top: 10px;
        right: 10px;
    }
    .global-nav {
        flex-direction: column;
    }
    .global-nav-box {
        width: 100%;
        height: 100%;

        background-color: #b8b9d0;
        position: fixed;
        top: 0;
        left: 0;
    }

    .onoff-btn {
        z-index: 90;
    }
    .global-nav-box {
        z-index: 80;
    }

    .global-nav li {
        border-bottom: solid 1px #3a3a41;
        width: 100%;
    }
    .global-nav {
        padding: 4.5rem 2rem 0;
    }
    .global-nav li a {
        padding: 1.5rem 0 0.5rem;
        font-size: 1.5rem;
        text-align: left;
        color: #333131;
    }
    .global-nav-box {
        left: 100%;
    }
    #menu-switch:checked ~ .global-nav-box {
        left: 0;
    }
    .global-nav-box {
        transition: all 0.5s linear;
    }
    /*header*/
    .header {
        background-color: #bebaba;
    }
    .header h1 {
        width: 5rem;
        height: 4rem;
        padding-left: 1rem;
    }
    /*index*/
    .home {
        padding: 2rem;
        align-items: center;
    }
    .mainvisual {
        font-size: 2em;
    }

    /*profile here works*/

    h2 {
        font-size: 2rem;
        text-align: center;
    }
    h3 {
        text-align: center;
        padding-left: 0;
        margin: 0;
    }

    /* prf */
    #myself {
        padding-bottom: 5rem;
    }
    .prf {
        clear: right;
    }

    .p_img {
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    .prf {
        margin: 0 auto;
    }
    .prf dl{
        margin: 0 auto;
        text-align: center;
        align-items: center;
    }
    .skills {
        margin: 0 auto;
        padding: 0 2rem 0 2rem ;
        text-align: center;
    }


    /* ahere */
    .introduction {
        flex-direction: column;
        align-items: center;
    }
    .trimming {
        margin-bottom: 2.5rem;
    }
    .avt {
        padding: 1rem 3rem;
    }
    .avt_ex {
        margin-left: 0;
        text-align: center;
        align-items: center;
    }
    .avt_ex ul li{
        width: fit-content;
    }
    .avt_ex p {
        padding: 0 2rem;
    }

    .c_title {
        padding: 0 1.5rem;
        font-size: 1.5rem;
    }

    .curriculum {
        font-size: 0.75rem;
        text-align: center;
        align-items: center;
    }
    
   .curriculum th ul li {
        width: fit-content;
    }
    .curriculum th,
    .curriculum td {
        width: 100%;
        padding: 8px;
        display: block;
    }
 
    .td_img img {
        width: 35%;
    }

    .access_t {
        border-bottom: 3px dashed #6d6b6b;
        border-left: none;
        display: flex;
        justify-content: center;

    }
   .access {
    flex-direction: column;
    text-align: center;
   }
   iframe {
    width: 80%;
    height: 80%;
    margin: 0 auto;
   }
   
   /* works */
    .grid_items {
        margin: 0 1.25rem;
        grid-template-columns: 1fr;
    }
    .lp {
        display: block;
        align-items: centre;
        text-align: center;
    }

    .i2 {
        border: none;
    }

    .tg {
        margin: 0 1rem;
        padding: 1rem;
        border-radius: 80px;
    }


}