@charset "utf-8";

html {
    font-family: "Merriweather", serif;
    font-weight: 400;
    font-style: normal;
    background-color: #fff4dd;
    height: 100%;
}


main {
    margin-top: 150px;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    background-color: #fff4dd;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeOut 1.5s 2.5s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

.loading__logo {
    opacity: 0;
    animation: logo_fade 2s 0.5s forwards;
    width: 300px;
}

@keyframes logo_fade {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    60% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
    }
}

.container {
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
}

p {
    font-family: "Shippori Antique B1", sans-serif;
    font-weight: 400;
    font-style: normal;
    /* text-indent: 1em; */

}

a {
    text-decoration: none;
    color: #fff;
    text-decoration: none;
    transition: color .3s;
}

a:hover {
    color: orange;
}

.nav-wrapper {
    display: none;
}

nav ul a {
    color: #000;
}

nav ul a:hover {
    background-color: rgba(255, 170, 0, 0.668);
    padding: 0.5%;
    width: 14%;
    color: #000;
    animation-name: puyopuyo;
    animation-duration: 20.0s;
    animation-timing-function: ease;
    animation-iteration-count: infinite;
}

@keyframes puyopuyo {
    0% {
        border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
    }

    14% {
        border-radius: 40% 60% 54% 46%/49% 60% 40% 51%;
    }

    28% {
        border-radius: 54% 46% 38% 62%/49% 70% 30% 51%;
    }

    42% {
        border-radius: 61% 39% 55% 45%/61% 38% 62% 39%;
    }

    56% {
        border-radius: 61% 39% 67% 33%/70% 50% 50% 30%;
    }

    70% {
        border-radius: 50% 50% 34% 66%/56% 68% 32% 44%;
    }

    84% {
        border-radius: 46% 54% 50% 50%/35% 61% 39% 65%;
    }

    100% {
        border-radius: 63% 37% 54% 46%/55% 48% 52% 45%;
    }
}

/* ヘッダー */
header {
    position: fixed;
    /*** ← fixedで固定 ***/
    top: 0;
    width: 100%;
    height: 100px;
    background-color: rgba(255, 250, 240, 0.7);
    z-index: 99;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    list-style-type: none;
    margin: 0;
    height: 100px;
}

/* TOPページ */
/* メインエリア */
.wrap01 {
    height: 500px;
    position: relative;
}

.wrap01 p {
    text-align: center;
    margin-top: 50px;
}

h1 {
    position: absolute;
    left: 10%;
    bottom: 10%;
    width: 500px;
}

/* 自己紹介エリア */
.wrap02 {
    display: flex;
    justify-content: space-around;
    height: 700px;
    width: 100%;
    background-color: #110773;
    color: #fff;
    padding: 80px 50px;
}

h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 50px;
}

/* スキル */
.wrap03 {
    display: flex;
    justify-content: space-around;
    height: 600px;
    width: 100%;
    color: #000;
    padding: 80px 50px;
}

.wrap03 h3 {
    margin-bottom: 30px;
}

.inner01.skill {
    margin-right: 150px;
    width: 500px;
    text-align: center;
}

.inner01.skill img {
    width: 80%;
}

.inner02 {
    margin: auto 0;
}

.inner02-item {
    margin-bottom: 100px;
    text-align: center;
}

.inner02-item img {
    display: none;
}

/* 作品集 */
.pdf {
    text-align: center;
    margin: 20px auto;
}

.wrap04 {
    background-color: #110773;
    color: #fff;
    padding: 80px 50px;
}

.wrap04 h2 {
    margin-left: 150px;
}

.wrap04 h3 {
    background-color: #110773;
    color: #fff;
    text-align: center;
    margin: 50px 0;
}

h3 {
    font-size: 2rem;
    font-weight: 300;
}

.inner03 {
    background-color: #110773;
    color: #fff;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 100px;
    flex-wrap: wrap;
}

.inner03-item {
    text-align: center;
}

h4 {
    margin-bottom: 30px;
}
/* コンタクトフォーム */
.contact {
    margin-bottom: 30px;
}
.c-form {
	max-width: 600px;
	margin: 0 auto;
}
.c-form__item {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	margin-bottom: 20px;
}
.c-form__label,
.c-form__input {
	padding: 10px;
}
.c-form__label {
	width: 90%;
}
.c-form__input {
	width: 90%;
	font-size: 16px;
	border: solid 1px #333;
	border-radius: 4px;
}
.c-form__input:focus-visible {
	outline: #110773 auto 1px;
}
.c-form__required {
	color: #fff;
	background-color: #110773;
	border-radius: 4px;
	padding: 5px 5px;
	margin: 0 0 0 18px;
}
textarea.c-form__input {
	height: 160px;
}
.c-form__submit {
	text-align: center;
}
.c-form__submit button {
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	background-color: #110773;
	border: solid 1px #110773;
	border-radius: 4px;
	padding: 5px 32px;
	transition: 0.4s;
	cursor: pointer;
}
.c-form__submit button:hover {
	color: #000;
	background-color: orange;
}

/* コンタクトフォームここまで */
/* フッター */
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    background-color: #dfdfdf;
    color: #000;
}

/* about.html */
header img {
    width: 70%;
}

.wrap01.about {
    height: 100%;
}

.wrap01.about h2 {
    font-family: "Shippori Antique B1", sans-serif;
    text-align: center;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.wrap01.about p {
    margin: 30px 0;
}

.wrap02.about {
    background-color: #fff4dd;
    margin: 50px 0 100px;
    color: #000;
    display: block;
}

.wrap02.about h2 {
    font-family: "Shippori Antique B1", sans-serif;
    text-align: center;
}

.inner01.about {
    display: flex;
    justify-content: space-evenly;

}

.mobile-br {
    display: none;
}

.inner01-about-item {
    text-align: center;
    width: 400px;
}

.inner01-about-item h3 {
    font-family: "Shippori Antique B1", sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.inner01-about-item img {
    margin-bottom: 30px;
}

.pr-item {
    text-align: justify;
    font-feature-settings: "palt" 1;
    font-feature-settings: "pkna" 1;
    line-break: strict;
    overflow-wrap: break-word;
    hanging-punctuation: last allow-end;
}

.wrap03.about {
    padding: 0;
    display: block;
}

.wrap03.about h2 {
    font-family: "Shippori Antique B1", sans-serif;
    text-align: center;
}

.inner02.about {
    display: flex;
    justify-content: center;
    align-items: center;

}

.inner02-about-item {
    width: 500px;
}

.inner02-about-item img {
    width: 100%;
}

/*TOPへ戻るボタン*/
.gotop a {
    text-align: right;
    position: fixed;
    right: 20px;
    bottom: 10px;
    z-index: 99;
    width: 30%;
    z-index: 999;
    scroll-behavior: smooth;
}

#page-top {
    scroll-behavior: smooth;
}

/* work.html */
.work {
    height: 100%;
    text-align: center;
    font-family: "Shippori Antique B1", sans-serif;
}

.all {
    margin-top: 100px;
}

.work h4 {
    text-align: left;
}

table {
    margin: 30px auto;
    width: 80%;
    border-collapse: collapse;
    border: solid 1px #000;
}

table th {
    width: 20%;
    padding: 10px;
    background-color: #000;
    color: #fff;
    border: dashed 1px #fff;
    font-weight: normal;
}

table td {
    text-align: left;
    border: dashed 1px black;
    padding: 10px;
}

table td a {
    color: #000;
}

.table-explain {
    word-break: break-all;
    text-align: justify;
}

.web-explain {
    margin-bottom: 20px;
    padding: 10px;
}

.web-explain span {
    color: #578a3d;
}

.work-heading {
    position: relative;
    text-align: center;
    margin: 50px auto;
    font-family: "Shippori Antique B1", sans-serif;
    font-size: 2rem;
    font-weight: 400;
}

.work-heading span {
    position: relative;
    z-index: 2;
}

.work-heading::before {
    content: attr(data-en);
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 166, 0, 0.24);
    font-size: 80px;
    font-style: italic;
}

/* .work-heading.kobe {
    margin: 100px 0 50px;
}

.work-heading.noul {
    margin: 100px 0 50px;
} */

.visual {
    margin: 0 auto;
}

.visual img {
    width: 500px;
    margin: 0 auto;
}

.slick-dots li button:before {
    font-size: 15px !important;
}

.footer-work {
    margin-top: 150px;
}

/* work.html テスト */
/* スライダーの初期設定 */

.slick-arrow {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 1;
    width: 20px;
    height: 40px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    padding: 0;
}

.slick-prev {
    left: 0;
}

.slick-next {
    right: 0;
}


/*タブ切り替え全体のスタイル*/
.tabs {
    margin-top: 50px;
    width: 100%;
    margin: 0 auto;
}

.tabs label {
    font-family: "Shippori Antique B1", sans-serif;
    font-weight: lighter;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: none;
}


/*タブのスタイル*/
.tab_item {
    width: calc(100% / 4);
    height: 80px;
    background-color: #110773;
    line-height: 50px;
    font-size: 16px;
    text-align: center;
    color: #fff;
    display: block;
    float: left;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
    border-radius: 30px 30px 0 0;

}

.tab_item:hover {
    opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
    display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
    display: none;
    padding: 20px;
    clear: both;
    overflow: hidden;
}


/*選択されているタブのコンテンツのみを表示*/
#tab01:checked~#tab01_content,
#tab02:checked~#tab02_content,
#tab03:checked~#tab03_content,
#tab04:checked~#tab04_content {
    display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked+.tab_item {
    background-color: #fff4dd;
    color: #000;    
    border: 4px solid orange;
    border-bottom: none;
}


#tab02_content {
    background: #fff4dd;
}

#tab03_content {
    background: #fff4dd;
}

#tab04_content {
    background: #fff4dd;
}

/* work.html テストここまで */



@media screen and (max-width:768px) {
    html {
        margin: 0 auto;
        width: 100%;
    }

    .container {
        width: 100%;
    }

    header {
        width: 100vw;
    }

    /* TOPページ */
    /* メインエリア */
    .wrap01 {
        height: 90vh;
        position: relative;
    }

    .wrap01 p {
        text-align: center;
    }

    .wrap01 img {
        width: 80%;
    }

    h1 {
        left: 5%;
        bottom: 20%;
        width: 90vw;
    }

    h2 {
        text-align: center;
    }

    h3 {
        text-align: center;
    }

    /* 自己紹介エリア */
    .wrap02 {
        display: block;
        margin: 0 auto;
        width: 100%;
        padding: 50px;
    }

    .inner02.self {
        text-align: center;
    }

    .inner02.self img {
        width: 90%;
        margin-top: 30px;
    }

    .wrap03 {
        display: block;
        margin: 0 auto;
        padding: 50px 50px 0 50px;
        width: 100%;
        text-align: left;
        height: 100%;
    }

    .wrap03 h2 {
        margin-bottom: 20px;
    }

    .pc-br {
        display: none;
    }

    .inner02-item img {
        margin: -50px auto 0;
        display: block;
        width: 80%;
    }

    .explain {
        text-align: justify;
        font-feature-settings: "palt" 1;
        font-feature-settings: "pkna" 1;
        line-break: strict;
        overflow-wrap: break-word;
        hanging-punctuation: last allow-end;
    }

    .tools {
        margin-top: 30px;
    }

    .wrap04 {
        display: block;
        margin: 0 auto;
        padding: 80px 0;
    }

    .wrap04 h2 {
        margin: 0;

    }

    .inner01.skill {
        width: 100%;
        margin: 0 auto;
    }

    .gotop a {
        right: 5%;
    }

    .pc-nav {
        display: none;
    }

    /* about.html */
    .home-logo {
        text-align: center;
    }

    header img {
        width: 70%;
    }

    .wrap01.about {
        padding: 30px;

    }

    .wrap02.about {
        width: 100%;
        height: 100%;
        padding: 30px;
        margin-bottom: 10px;
    }

    .inner01.about {
        display: block;
        width: 100%;
        height: 100%;
        margin: 0 auto;
    }

    .inner01-about-item {
        text-align: center;
        width: 100%;
    }

    .pr-item {
        margin-bottom: 50px;
    }

    .mobile-br {
        display: block;
    }

    .wrap03.about {
        padding: 30px;
    }

    .wrap03.about h2 {
        font-size: 2rem;
    }

    .inner02.about {
        display: block;
    }

    .inner02-about-item {
        width: 100%;
    }

    /* work.html */
    .visual img {
        width: 90%;
        margin: 0 auto;
    }

    .work {
        height: 100%;
    }

    .work-heading {
        margin-top: 50px;
    }

    .work-heading::before {
        font-size: 60px;
        line-height: 0.75em;
        margin-top: 20px;
    }

    .pc-dn {
        display: none;
    }


    .tabs label {
        font-size: 1rem;
    }

    table {
        width: 80%;
    }

    table th,
    td {
        display: block;
        width: 100%;
        border: solid 1px #000;
    }

    table td {
        text-align: center;
        border: solid 1px #000;
    }

    .table-explain {
        text-align: left;
    }
    /* コンタクトフォーム */
    .contact {
        margin: 30px auto;
    }
    .c-form__item {
        display: block;
        text-align: center;
    }
	.c-form__label {
		width: 100%;
        margin: 10px auto;
        padding: 0;
        display: block;        
	}
    
	.c-form__input {
		width: 80%;
	}
    /* コンタクトフォームここまで */


    /* 
hamburger(ハンバーガーアイコン)
=================================== */
    .nav-wrapper {
        display: block;
    }

    .hamburger {
        position: absolute;
        right: 20px;
        top: 20px;
        width: 50px;
        height: 40px;
        cursor: pointer;
        z-index: 300;
    }

    .hamburger__line {
        position: absolute;
        width: 50px;
        height: 3px;
        right: 0;
        background-color: #110773;
        transition: all 0.5s;
    }

    .hamburger__line--1 {
        top: 1px;
    }

    .hamburger__line--2 {
        top: 18px;
    }

    .hamburger__line--3 {
        top: 36px;
    }

    /*ハンバーガーがクリックされたら*/
    .open .hamburger__line--1 {
        transform: rotate(-45deg);
        top: 11px;
    }

    .open .hamburger__line--2 {
        opacity: 0;
    }

    .open .hamburger__line--3 {
        transform: rotate(45deg);
        top: 11px;
    }

    /* 
  mobile-nav(ナビ)
  =================================== */
    .mobile-nav {
        position: fixed;
        right: -100%;
        /*ハンバーガーがクリックされる前はWindow右側に隠す*/
        top: 0;
        width: 70%;
        /* 出てくるスライドメニューの幅 */
        height: 100vh;
        background-color: rgb(255, 250, 240);
        transition: all 0.5s;
        z-index: 200;
        overflow-y: auto;
        /* メニューが多くなったらスクロールできるように */
    }

    .mobile-nav ul {
        display: block;
        margin-top: 100px;
    }

    .mobile-nav ul li {
        margin: 30px auto;
        color: black;
        text-align: center;
    }

    .mobile-nav ul li a {
        color: black;
    }

    /*ハンバーガーがクリックされたら右からスライド*/
    .open .mobile-nav {
        right: 0;
    }


    /* 
  black-bg(ハンバーガーメニュー解除用bg)
  =================================== */
    .black-bg {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        z-index: 5;
        background-color: #000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s;
        cursor: pointer;
        z-index: 100;
    }

    /*ハンバーガーメニューが開いたら表示*/
    .open .black-bg {
        opacity: 0.3;
        visibility: visible;
    }

    /* ハンバーガーメニューここまで */

}