@charset "UTF-8";

html {
    font-size: 100%;
}

body {
    color: #050507;
    background-color: #DBC3C3;
    margin: 0;
    font-family: "yu-gothic-pr6n", sans-serif;
    font-weight: 300;
    font-style: normal;
    cursor: default;
}

p {
    margin: 0;
    padding: 0;
}

a {
    color: #fff;
    text-decoration: none;
}

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

ul {
    padding: 0;
}

li {
    list-style: none;
}

/* h2タグ */
.h2-title {
    font-size: 2rem;
    border-left: 4px solid #C2858C;
    padding-left: 1rem;
    margin-bottom: 10px;
    font-family: "playfair-display", serif;
}

.h2-title-ja {
    font-size: 0.9rem;
    font-family: "shippori-mincho", "noto-sans", sans-serif;
    padding-left: 1rem;
}

.h2-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.title-ja {
    font-size: 0.7rem;
    padding-top: 10px;
}

/* h3タグ */
h3 {
    font-size: 1.3rem;
    margin-top: 0;
    font-family: "yu-gothic-pr6n", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.wrapper {
    max-width: 1200px;
    padding: 0 5%;
    margin: 0 auto;
}

.container {
    background: #f7f5f3;
    color: #fff;
    font-size: 0.85rem;
}

/*
ボタンデザイン
*/

.btn-area {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}

.btn-main {
    width: 100%;
    max-width: 23%;
    height: 60px;
    padding: 0 20px;
    position: relative;
    text-decoration: none;
    outline: none;
    display: flex;
    border-radius: 9999px;
    border: 1px solid #333;
    transition: all 0.3s ease, background-color 0.3s;
    overflow: hidden;
    background-size: 400%;
    margin-bottom: 1em;
}

/* 伸びてくる背景 */
.btn-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10px;
    z-index: 2;
    transform: scaleX(0);
    transform-origin: 0 50%;
    width: 110%;
    height: inherit;
    border-radius: inherit;
    background-color: #333;
    transition: all 0.3s ease;
}

/* 丸アイコン */
.btn-main::after {
    content: '';
    position: absolute;
    top: calc(50% - 4px);
    right: 20px;
    z-index: 3;
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #C2858C;
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* テキスト */
.btn-main .text {
    position: absolute;
    top: 50%;
    left: 20px;
    z-index: 3;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    color: #333;
}

/* ホバーアニメーション */
.btn-main:hover::before {
    transform: scaleX(1);
}

.btn-main:hover .text {
    color: #fff;
}

.btn-main:hover::after {
    background-color: #C2858C;
    transform-origin: center;
    transform: scale(2);
}

/*
背景画像
*/
.bg-about {
    background: url(/img/bg-about.jpg) no-repeat 0 0 / cover;
    background-position: 20%;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 10;
}

.bg-strengths,
.bg-contact {
    background: #DBC3C3;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 20;
}

.bg-works {
    background: #2f2f2f;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 24;
}

/*
フェード表示
*/
.fadein {
    opacity: 0;
    transform: translate(0, 50%);
    transition: 2s;
}

.fadein.show {
    transform: translate(0, 0);
    opacity: 1;
}

.sp-only {
    display: none;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
.logo {
    line-height: 1px;
    position: fixed;
    top: 26px;
    left: 20px;
    z-index: 600;
    display: none;
    width: 300px;
}

.logo a {
    display: block;
}

.hamburger {
    width: 42px;
    height: 42px;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 25px;
    z-index: 550;
    display: none;
}

.hamburger span {
    width: 30px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    left: 6px;
    transition: 0.5s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 11px;
}

.hamburger span:nth-child(2) {
    top: 21px;
}

.hamburger span:nth-child(3) {
    top: 31px;
}

.hamburger.active span:nth-child(1) {
    top: 21px;
    left: 6px;
    transform: rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
    top: 21px;
    transform: rotate(45deg);
}

#navi {
    width: 100%;
    background-color: #fff;
    color: #050507;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    transform: translateY(-100%);
    transition: 0.6s;
    z-index: 500;
}

#navi ul {
    width: 100%;
    background-color: #333333;
    padding: 80px 0 30px 0;
}

#navi ul li {
    padding: 10px 0;
}

#navi ul li a {
    display: block;
    font-size: 1.25em;
}

#navi ul li a:hover {
    color: #C2858C;
    opacity: 0.9;
}

#navi ul li a span {
    font-size: 0.75rem;
    padding-left: 1rem;
}

#navi.active {
    transform: translateY(0%);
}

/*-------------------------------------------
Mainvisual
-------------------------------------------*/
.mainvisual {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/main-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

h1 {
    font-size: 3.1rem;
    font-family: "p22-flw-exhibition", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: left;
    line-height: 1.2em;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

.site-title {
    letter-spacing: 0.03em;
    position: absolute;
    top: 30%;
    left: 10%;
    z-index: 2;
}

.site-title-small {
    letter-spacing: 0.12em;
    font-size: 1rem;
    display: block;
    background-color: #2f2f2f;
    padding: 0.2rem 0.5rem;
    width: fit-content;
    margin-bottom: 10px;
}

.site-address {
    position: absolute;
    bottom: 4%;
    right: 2%;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-orientation: sideways;
    font-size: 0.85rem;
    z-index: 2;
}

.circle-img {
    height: auto;
    width: 28%;
    animation: rotate 15s linear infinite;
    position: absolute;
    top: -15%;
    right: -6%;
    z-index: 2;
}

@keyframes rotate {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

.scroll {
    position: absolute;
    bottom: -50px;
    right: 57%;
    height: 24px;
}


/*-------------------------------------------
Message
-------------------------------------------*/
#message {
    color: #333;
    background: #f7f5f3;
    padding: 60px 0 80vh;
    position: relative;
}

#message h2 span {
    padding-left: 1.5rem;
}

.message-img {
    width: 45%;
}

.message-img img {
    width: 100%;
}

.message-box {
    background-color: rgb(187 148 148 / 75%);
    color: #fff;
    padding: 5% 3rem;
    max-width: 60%;
    margin-top: -200px;
    margin-left: auto;
}

.motto p {
    font-size: 1.3rem;
    font-weight: 500;
    text-align: left;
    padding-bottom: 2rem;
    margin: 0 auto;
    font-family: "shippori-mincho", serif;
    letter-spacing: .05em;
    line-height: 1.5;
}

.about-text {
    text-align: left;
}

.about-text p {
    margin-top: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/*-------------------------------------------
About
-------------------------------------------*/
#about {
    position: relative;
    z-index: 25;
    padding-bottom: 300px;
}

.timeline {
    width: 93%;
    margin-top: 80px;
}

.timeline-list-item {
    display: flex;
    line-height: 1.5;
}

.timeline-list-item .year {
    width: 12%;
    padding-right: 10px;
    font-size: 1rem;
    font-weight: bold;
    text-align: right;
    font-family: "aw-conqueror-sans", "playfair-display", serif;
}

.timeline-list-title {
    font-size: 1rem;
    font-weight: bold;
    display: block;
    padding-bottom: .5rem;
}

.timeline-list-item .content {
    position: relative;
    width: 88%;
    padding: 5px 20px 40px 20px;
    border-left: 1px solid #fff;
}

.timeline-list-item .content::before {
    content: "";
    position: absolute;
    top: 8px;
    left: -5px;
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 10px;
}

.skills-title {
    text-align: center;
    margin-top: 60px;
}

.skills {
    color: #333;
}

.tool-name {
    font-size: 1.2rem;
    font-weight: bold;
    padding-bottom: 1rem;
    text-align: center;
}

.skill-bar {
    background: #eee;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 10px;
}

.skill-fill {
    display: block;
    height: 25px;
    background: #C2858C;
    color: #fff;
    border-radius: 20px;
    width: 0%;
    /* 初期はゼロ */
    transition: width 1s ease-in-out;
    position: relative;
}

.rate-text {
    position: absolute;
    right: 22px;
    top: 0;
    height: 100%;
    line-height: 25px;
    font-weight: bold;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-bar span {
    display: block;
    height: 25px;
    text-align: right;
    padding-right: 15px;
    font-weight: bold;
    background: #C2858C;
    color: #fff;
    border-radius: 20px;
    width: 0;
    transition: width 1s ease-in-out;
}

.shadow-effect {
    background: #fff;
    padding: 20px;
    text-align: left;
    border: 1px solid #ECECEC;
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.10), 0 15px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.5s ease;
    transform: scale(1);
}

.owl-item.center .item:hover .shadow-effect {
    transform: scale(1.1);
}

.owl-item:not(.center) .item:hover .shadow-effect {
    transform: scale(1);
}

#carousel .shadow-effect p {
    font-family: inherit;
    line-height: 1.5;
    margin: 0 0 17px 0;
    font-weight: 300;
}

#carousel .item {
    text-align: center;
    padding: 50px 50px 0;
    margin-bottom: 65px;
    opacity: .2;
    -webkit-transform: scale3d(0.8, 0.8, 1);
    transform: scale3d(0.8, 0.8, 1);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#carousel .owl-item.active.center .item {
    opacity: 1;
    -webkit-transform: scale3d(1.0, 1.0, 1);
    transform: scale3d(1.0, 1.0, 1);
}

.owl-carousel .owl-item img {
    transform-style: preserve-3d;
    height: 75px;
    margin: 0 auto 17px;
}

#carousel.owl-carousel .owl-dots .owl-dot.active span,
#carousel.owl-carousel .owl-dots .owl-dot:hover span {
    background: #C2858C;
    transform: translate3d(0px, -50%, 0px) scale(0.7);
}

#carousel.owl-carousel .owl-dots {
    display: inline-block;
    width: 100%;
    text-align: center;
}

#carousel.owl-carousel .owl-dots .owl-dot {
    display: inline-block;
}

#carousel.owl-carousel .owl-dots .owl-dot span {
    background: #ddd;
    display: inline-block;
    height: 20px;
    margin: 0 2px 5px;
    transform: translate3d(0px, -50%, 0px) scale(0.3);
    transform-origin: 50% 50% 0;
    transition: all 250ms ease-out 0s;
    width: 20px;
}

/*-------------------------------------------
My Strengths
-------------------------------------------*/
#strengths {
    color: #333;
}

.profile-wrap {
    position: relative;
    z-index: 22;
}

.h2-wrap.strengths-title {
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    width: 60%;
    margin-bottom: 0;
}

.strengths-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.strengths-content {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    gap: 24px;
}

.strengths-img {
    text-align: center;
}

.strengths-img img {
    width: 80%;
}

.strengths-box {
    border: 1px solid #333;
    padding: 2.5rem 2rem;
    display: flex;
    gap: 20px;
    width: 95%;
}

.strengths-box:not(:last-child) {
    margin-bottom: 1rem;
}

.strengths-box h3 {
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
    margin: 0 0 10px;
}

.strengths-box p {
    line-height: 1.6;
    margin: 0;
}

.number {
    font-size: 1.2rem;
    font-weight: bold;
    font-family: "aw-conqueror-sans", "playfair-display", serif;
}

#strengths .btn-main {
    border: 1px solid #333;
    margin: 0 auto;
}

#strengths .btn-main .text {
    color: #333;
}

#strengths .btn-main:hover .text {
    color: #fff;
}

#strengths .btn-main:hover::before {
    background: #333;
}


/*-------------------------------------------
Works
-------------------------------------------*/
#works {
    z-index: 40;
    position: relative;
    padding-top: 300px;
    padding-bottom: 100px;
}

#works .note {
    margin-bottom: 80px;
}

.works {
    position: absolute;
    top: 0;
    left: 0;
}

#works .list li {
    margin-bottom: 100px;
    display: flex;
    justify-content: center;
}

.work-img {
    position: relative;
    width: 45%;
    overflow: hidden;
}

.work-img a {
    display: block;
    position: relative;
}

.work-img img {
    height: auto;
    transition: transform .6s ease;
}

.work-img:hover img {
    transform: scale(1.1);
}

.work-img .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-img .view-text {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.work-img:hover .overlay {
    opacity: 1;
}

.work-img:hover .view-text {
    opacity: 1;
}

#works .list li:nth-child(even) {
    flex-direction: row-reverse;
}

#works .list li:nth-child(even) .works-detail {
    margin-left: 0;
    margin-right: 30px;
}

.work-title {
    font-family: "playfair-display", "shippori-mincho", serif;
    padding: 1rem 0;
}

.works-detail {
    text-align: left;
    margin-left: 30px;
    width: 45%;
}

.work-tag {
    background-color: #666;
    color: #fff;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    display: block;
    padding: 0.1rem 1rem;
    width: fit-content;
    font-family: "aw-conqueror-sans", sans-serif;
}

/*-------------------------------------------
Profile
-------------------------------------------*/
#profile {
    margin-bottom: 100px;
    position: relative;
    z-index: 120;
    color: #333;
}

.profile-left {
    margin: auto;
    position: relative;
    max-width: 35%;
}

#profile .h2-wrap {
    margin-bottom: 40px;
    text-align: center;
}

.profile-box {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
}

.profile-img img {
    width: 280px;
    border-radius: 16px;
    object-fit: cover;
}

.profile-info {
    max-width: 65%;
    font-size: 16px;
    color: #333;
}

.profile-info table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.profile-info th {
    text-align: left;
    font-weight: bold;
    padding: 4px 8px;
    color: #666;
}

.profile-info td {
    padding: 4px 8px;
    color: #333;
}

.favorites {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    justify-content: space-between;
}

.favorite-item {
    width: 48%;
    background: #f7f5f3;
    padding: 10px;
}

.favorite-item:last-child {
    width: 100%;
}

.favorite-item .label {
    font-weight: bold;
    margin-bottom: 4px;
    color: #C2858C;
}

.my-name {
    width: 200px;
    position: absolute;
    top: -15px;
    left: -30px;
    transform: rotate(-10deg);
}

.my-name img {
    width: 100%;
}

.answer {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
}

/*-------------------------------------------
Contact
-------------------------------------------*/
#contact {
    margin-bottom: 200px;
    position: relative;
    z-index: 120;
    color: #333;
}

#contact p {
    text-align: center;
}

.mail-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 280px;
    min-width: 250px;
    margin: 40px auto 0;
    padding: .9em 2em;
    border: 1px solid #C2858C;
    background: rgb(194, 133, 140);
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2em;
    position: relative;
    cursor: pointer;
    font-family: "aw-conqueror-sans", sans-serif;
}

.mail-button::before {
    width: 1.25em;
    height: 1.25em;
    margin-right: 8px;
    background-image: url("/img/icon-mail.png");
    background-size: contain;
    content: '';
}

.mail-button:hover {
    animation: anima-button-30 1s;
}

@keyframes anima-button-30 {
    0% {
        box-shadow: 0 0 0 0 rgb(194, 133, 140, 0.5);
        ;
    }

    100% {
        box-shadow: 0 0 0 1.2em rgb(0 0 0 / 0%);
    }
}

/*-------------------------------------------
Footer
-------------------------------------------*/
#footer {
    border-top: 1px solid;
    position: relative;
    z-index: 200;
    text-align: center;
}

.copyright {
    padding: 0.5em 0;
}

.flower-img {
    width: 250px;
    margin: 0 auto;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 680px) {
    .section-title {
        font-size: 2rem;
    }

    .sp-only {
        display: block;
    }

    .pc-only {
        display: none;
    }

    .logo {
        width: 215px;
        top: 32px;
    }

    /*-------------------------------------------
  Mainvisual
  -------------------------------------------*/

    .site-title {
        letter-spacing: 0.03em;
        left: 5%;
        top: 32%;
    }

    h1 {
        font-size: 2.5rem;
    }

    .circle-img {
        width: 50%;
        top: -10%;
        right: -12%;
    }

    .site-address {
        font-size: 0.7rem;
    }

    .site-title-small {
        font-size: 0.7rem;
    }

    .catchcopy {
        font-size: 0.7rem;
    }

    /*-------------------------------------------
  Message
  -------------------------------------------*/

    .message-img {
        width: 85%;
    }

    .message-box {
        padding: 12% 1rem;
        max-width: 93%;
        margin-top: -80px;
    }

    .motto p {
        font-size: 1.1rem;
    }

    .about-text p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    #message {
        padding-bottom: 80vh;
    }

    .btn-area {
        flex-wrap: wrap;
    }

    .btn-main {
        max-width: 48%;
    }

    /*-------------------------------------------
      Experience and Skills
  -------------------------------------------*/
    #about .h2-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline {
        width: 100%;
    }

    .timeline-list-item .year {
        width: 15%;
    }

    .timeline-list-item .content {
        padding-right: 10px;
    }

    #carousel .item {
        padding: 40px 20px 0;
    }

    /*-------------------------------------------
          Experience and Skills
-------------------------------------------*/

    .strengths-title {
        display: none;
    }

    .strengths-box {
        width: 100%;
    }

    .strengths-content {
        flex-direction: column;
    }

    /*-------------------------------------------
  Works
  -------------------------------------------*/
    #works .list {
        padding-left: 0;
    }

    #works .list li {
        margin-bottom: 50px;
        flex-direction: column;
        align-items: center;
    }

    #works .list li:nth-child(even) {
        flex-direction: column;
    }

    .work-img {
        width: 90%;
    }

    .works-detail {
        width: 90%;
        margin-left: 0;
        margin-top: 1rem;
    }

    #works .list li:nth-child(even) .works-detail {
        margin-right: 0;
    }

    #works .note {
        margin-bottom: 0;
    }

    #works .note:last-of-type {
        margin-bottom: 80px;
    }

    /*-------------------------------------------
  Profile
  -------------------------------------------*/

    .favorite-item {
        width: 100%;
    }

    .profile-left,
    .profile-info {
        max-width: 100%;
    }

    /*-------------------------------------------
    Contact
  -------------------------------------------*/

    #contact .btn {
        width: 100%;
    }

    .contact-address {
        padding-top: 285px;
    }

}