@charset "UTF-8";

/* CSS Document */
html {
    width: 100%;
}


body {
    font-size: 16px;
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    line-height: 1.6;
    background-color: #EEB6C7;
    position: relative;
}

@media screen and (max-width:768px) {
    body {
        font-size: 14px;
    }
}

@media screen and (max-width: 767px) {
    .only-pc {
        display: none;
    }
}

@media print,
screen and (min-width: 768px) {
    .only-sp {
        display: none;
    }
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


a {
    text-decoration: none;
    transition: 0.3s;
    cursor: pointer;
}



p {
    line-height: 1.4;
    margin-block: 0;
}

img {
    width: 100%;
}

main {
    background-image: repeating-linear-gradient(45deg, #fff8e580, #fff8e580 1px, transparent 1px, transparent 31px), repeating-linear-gradient(-45deg, #fff8e580, #fff8e580 1px, transparent 1px, transparent 31px);
}

section {
    padding: 5% 0;
}

a:hover {
    opacity: 0.7;
}


#main-content {
    /* 初期は display: none; */
}


.fv {
    position: relative;
    width: 100%;
    color: #ffffff;
    font-family: "Italiana", sans-serif;
    padding: 0;
}

.fv-bg {
    padding: 10% 0;
}
@media screen and (max-width:768px) {

    .fv-bg {
    padding: 40% 0;
}
}

.fv-ttl p {
    font-size: 7em;
    text-align: center;
    font-weight: 900;
    margin-bottom: 3%;
    margin-top: -10%;
}

@media screen and (max-width:768px) {
    .fv-ttl p {
        font-size: 3.5em;
    }
}

.fv-name p {
    text-align: center;
    font-weight: 700;
    margin-bottom: 3%;
    margin-top: -5%;
    font-size: 3em;
}
@media screen and (max-width:768px) {
    .fv-name p {
    margin-top: 0;
    font-size: 2em;
}
}

.calendar-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5em;
    font-weight: 800;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 1em 2em;
    width: fit-content;
    border-radius: 0 100px 100px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width:768px) {
    .calendar-wrap {
            z-index: 10;
            bottom: 15%;
                padding: 1em;
    }
}

.western-calendar {
    font-family: "Italiana", sans-serif;
    font-size: 24px;
}
@media screen and (max-width:768px) {
    .western-calendar {
    font-size: 14px;
}
}

.western-calendar span {
    font-size: 2em;
    margin-right: 0.2em;
}

.month {
    font-size: 24px;
}
@media screen and (max-width:768px) {
.month {
    font-size: 14px;
}
}


.month span {
    font-size: 2em;
    margin-right: 0.2em;
}

.day {
    font-size: 24px;
}
@media screen and (max-width:768px) {
    .day {
    font-size: 14px;
}
    
}

.day span {
    font-size: 2em;
    margin-right: 0.2em;
}

.week {
    font-size: 24px;
}
@media screen and (max-width:768px) {
    .week {
    font-size: 14px;
}
}

.week span {
    font-size: 2em;
}

.bg_skew_dot {
    display: block;
    background-color: #BA3955;
    padding: 10% 0;
}


.profile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3% 0;
    gap: 2em;
}
@media (max-width: 768px) {
    .profile {
    display: block;
}
}

.profile-txt {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 100px 0 100px 0;
    padding: 5%;
    max-width: 500px;
    width: 45%;
}
@media screen and (max-width:768px) {
    .profile-txt {
        width: 80%;
    margin: -20% auto auto 0;
    }
}

.profile-txt-ttl {
    font-size: 1.5em;
}

.timeline {
    position: relative;
    margin: 0 2em;
    border-left: 2px solid #ccc;
    padding-left: 1rem;
        color: #ffffff;
}

.timeline-item {
    position: relative;
    margin-block: 2rem;
}

.timeline-date {
    font-weight: bold;
}

.timeline-content {
    margin-top: 0.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.2rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 2px solid #666;
    border-radius: 50%;
}

.profile-img {
position: relative;
    overflow: hidden;
    width: 400px;
    height: 500px;
    border-radius: 100%;
    border: 5px solid #FFEDA6;
    box-sizing: border-box;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width:768px) {
    .profile-img {
    margin-right: 0;
    margin-left: auto;
    width: 300px;
    height: 400px;
    z-index: 1;
}
}

.profile-img img {
    display: block;
    width: 100%;
    /* 親にフィット */
    height: 100%;
    object-fit: cover;
    filter: contrast(1.2) brightness(1.1);
}



.profile-wrap {
    position: relative;
}

@media screen and (max-width:768px) {
    .profile-wrap {
    width: 95%;
    margin: auto;
}
}

.profile-circle {
    position: absolute;
    top: 10%;
    right: 10%;
    animation: slowRotate 10s linear infinite;
    z-index: -1;
}

/* ゆっくり回転 keyframes */
@keyframes slowRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.scroll-down_09 {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-family: serif;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}

.gradient-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #ffffff);
    animation: extend 2s infinite;
    margin-inline: auto;
}

@keyframes extend {

    0%,
    100% {
        height: 0;
    }

    50% {
        height: 80px;
    }
}

.navi-wrap {
    width: 100%;
    height: fit-content;
    position: fixed;
    bottom: 1%;
    left: 50%;
  transform: translateX(-50%);
    background-color: #10152873;
    padding: 1% 3%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8em;
    justify-content: center;
    transition: opacity 0.3s;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}
@media screen and (max-width:768px) {
    .navi-wrap {
        gap: 1em;
        padding: 3% 0;
    }
}

.navi-wrap.visible {
    opacity: 1;
    pointer-events: auto;
}

.navi {
width: 200px;
height: fit-content;
    border-radius: 200px;
    text-align: center;
    font-weight: 700;
    font-size: 1em;
    background-color: rgba(102, 126, 234, 0.1);
    border: #ffffff solid 2px;
    font-family: "Italiana", sans-serif;
}

@media screen and (max-width:768px) {
    .navi {
        width: 160px;
        font-size: 1em;
    }
}

.navi a {
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 5% 3%;
    color: #ffffff;
}

.wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem;
}

.card {
    display: flex;
    flex-direction: column;
    flex-basis: 30%;
    word-wrap: break-word;
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #333;
    text-decoration: none;
    overflow: hidden;
    transition: box-shadow 0.3s ease-in-out;
}
@media screen and (max-width:768px) {
    .card {
    flex-basis: 45%;
}
}

.card-image-box {
    overflow: hidden;
}

.card-image {
    width: 100%;
    object-fit: cover;
    filter: grayscale(.7);
    transition: filter 0.3s ease-in-out;
}



.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card:hover img {
    filter: grayscale(0);
}





.history-wrap {
    width: 90%;
    margin: 5em auto 4em 0;
    background-color: #10152873;
    border-radius: 0 300px 300px 0;
    padding: 5% 0;
}
@media (max-width: 768px) {
    .history-wrap {
    width: 95%;
    border-radius: 0 100px 100px 0;
}
}

.modal-content {
    max-height: 65vh;
    /* 追加 */
    overflow-y: auto;
    /* 追加 */
    display: flex;
    /* 追加 */
    flex-direction: column;
    /* 追加 */
    align-items: center;
    /* 追加 */
}

.modal-content img {
    max-width: 100%;
    /* 追加推奨 */
    height: auto;
    /* 追加推奨 */
    margin-bottom: 20px;
    /* 追加推奨 */
}

.close-btn-container {
    width: 80%;
}

.fv-flexwrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.fv-img {
    width: 300px;
}

.about-wrap {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 1em;
margin: 3% 0;
padding: 10% 0;
background-color: #ffffff52;
color: #7A2336;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.about-ttl {
    font-size: 5em;
    font-family: "Italiana", sans-serif;
}

.about-txt {
    font-size: 1.2em;
    text-align: left;
}

.works-bg {
    margin: 0 0 5%;
    text-align: center;
}

.works ul {
  display: flex;
  justify-content: center;
  max-width: 24rem;
}

.works li:not(:last-child) {
  /* :not(:last-child) に適用することで、基本的にすべて縮めて、最後の1枚だけ幅を保持する */
  min-width: 0;
  /* 最小の重なり幅。枚数が少ないときでもこの幅は重ねる */
  margin-right: -2rem;
}


.works li {  
  /* ホバー時アニメーション */
  transition-property: flex-shrink, translate;
  transition-duration: 0.2s;
  /* ホバーしたカードが前面に出ないようにする */
  isolation: isolate;
}

.works li:hover {
  flex-shrink: 0;
  translate: 0 -1rem;
}


.works div {
  /* カードの見た目 */
  width: 10rem;
  aspect-ratio: 58/89;
  background-color: #BA3955;
  box-shadow: 0 0 6px black;
  border: 0.3rem white solid;
  border-radius: 0.5rem;

  /* アーチ状に並べる */
  --degree: calc((var(--index) - ((var(--length) - 1) / 2)) * 6deg);
  rotate: var(--degree);
  translate: 0 calc((1 - cos(var(--degree))) * 300%);
}

.works div p {
    font-size: 2em;
    font-family: "Italiana", sans-serif;
    color: #ffffff;
    text-align: center;
    font-weight: 800;
}

.works {
  display: grid;
  justify-content: center;
  gap: 4rem;
  padding: 2rem;
}

.contact {
    position: relative;
        background-image: url(../img/contact-bg.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
}

.contact::before {
    position: absolute;
    content: "";
    background-color: #ffffff80;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.inner {
    position: relative;
    max-width: 960px;
    width: 90%;
    margin: 0 auto;
    z-index: 1;
    text-align: center;
}

.title {
    font-size: 5em;
    font-family: "Italiana", sans-serif;
}

.workstitle {
    font-size: 5em;
    font-family: "Italiana", sans-serif;
    color: #ffffff;
    text-align: center;
}

.contact_btn {
    text-align: center;
}

.contact_btn a {
    border: 1px solid #AA9EC0;
    border-radius: 30px;
    padding: 10px 90px;
    display: inline-block;
    margin: 30px 0;
    color: #AA9EC0;
    text-decoration: none;
    background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.original-button {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  color: #000000;
  font-size: 18px;
  border-radius: 0px;
  width: 200px;
  height: 40px;
  position: relative;
  transition: 0.3s;
  background-color: #ffffff;
  margin-top: 2em;
}

.original-button::before, .original-button::after {
  content: "";
  display: block;
  position: absolute;
  border: 1px solid #000000;
  width: 100%;
  height: 100%;
  transition: .3s;
}

.original-button::before {
  top: -2px;
  left: -2px;
}

.original-button::after {
  top: 2px;
  left: 2px;
}

.original-button:hover::before, .original-button:hover::after {
  top: 0;
  left: 0;
}

.works-page {
    position: relative;
        background-image: url(../img/workpage-bg.jpg);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
}

.works-page::before {
    position: absolute;
    content: "";
    background-color: #66666670;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.btn-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
}

.device-content {
  display: none;
}

.device-content.active {
  display: block;
}

/* モックアップ枠 */
.mockup {
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* PC表示サイズ */
.mockup.pc {
  height: 500px;
  width: 90%;
  margin: auto;
}

/* SP表示サイズ */
.mockup.sp {
  height: 600px;
  max-width: 375px;
  margin: auto;
}

.mockup img {
  width: 100%;
  height: auto;
  display: block;
}

.device-tabs {
    width: fit-content;
    margin: 3% auto 10%;
}

.device-btn {
    width: 150px;
    padding: 0.5em 1em;
    border-radius: 100px;
    background-color: #BA3955;
    border: #ffffff solid 1px;
    color: #ffffff;
    margin: 0 0.5em;
    font-family: "Italiana", sans-serif;
    font-weight: 800;
}

.device-btn.active {
    background-color: #ffffff;
    color: #BA3955;
}

.point {
    margin: 5% auto;
    text-align: center;
    color: #ffffff;
    width: 90%;
}

.point-ttl {
    width: fit-content;
    background-color: #ffffff;
    padding: 0 1em;
    border-radius: 100px;
    color: #BA3955;
    font-size: 1.5em;
    margin: 0 auto 0.5em;
    font-family: "Italiana", sans-serif;
    font-weight: 800;
}

.point span {
    font-size: 1.5em;
    margin-bottom: 0.5em;
    display: inline-block;
}

.content-data {
    width: 90%;
    margin: 3% auto;
    padding: 2em 1em 1.2em;
    background-color: #00000040;
    color: #ffffff;
}

.content-data-wrap {
    width: fit-content;
    margin: auto;
}

.content-data p {
    margin-bottom: 0.8em;
}


.content-data span {
    background-color: #ffffff;
    padding: 0 1em;
    border-radius: 100px;
    margin-right: 0.4em;
    color: #7A2336;
    font-weight: 600;
}

.works_btn {
    text-align: center;
}

.works_btn a {
    width: 160px;
    border: 1px solid #AA9EC0;
    border-radius: 30px;
    padding: 10px 0;
    display: inline-block;
    color: #AA9EC0;
    text-decoration: none;
    background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in.show {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.uiux-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 1em;
        margin: 0 auto 3%;
    background-color: #ffffff52;
    padding: 1em;
}

.uiux-flex img {
    width: 200px;
}

.uiux-flex2 {
    margin: 0 auto 3%;
    background-color: #ffffff52;
    padding: 1em;
}

.uiux-flex2 img {
    max-width: 350px;
}

.uiux-ttl {
    font-size: 2.2em;
    width: 90%;
    margin: auto;
    text-align: center;
    color: #ffffff;
}

.paper-img {
    width: 90%;
    margin: 3% auto;
}

.profile-wrap-bg {
    max-width: 1100px;
    width: 90%;
    margin: 3% auto;
    background-color: #ffffff;
    border: #FFEDA7 solid 5px;
    border-radius: 20px;
    padding: 3em 1.5em;
    color: #430100;
}

.profile-wrap-ttl {
    font-size: 1.2em;
    font-weight: 600;
}

.skills {
        max-width: 1100px;
    width: 90%;
    margin: 3% auto;
}

.skills-ttl {
        font-size: 3.5em;
    margin: 1em auto 0.5em;
    font-family: "Italiana", sans-serif;
    font-weight: 800;
    color: #ffffff;
    text-align: center;
}

.skills-img {
    background-color: #FDFBF7;
    padding: 1em 2em;
    margin: 2em auto;
    max-width: 700px;
}

.head a {
    position: absolute;
    top: 0.5em;
    left: 0.5em;
    color: #101528;
    font-size: 2em;
    font-family: "Italiana", sans-serif;
    font-weight: 800;
    z-index: 20;
      text-shadow: 2px 3px 3px rgba(255, 255, 255, 0.4);
}