@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    height: 100vh;
    scroll-behavior: smooth;
    background-color: #EFEBE0;
}

body {
    color: #393831;
    line-height: 170%;
}

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

.josefin-sans {
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
  font-style: normal;
}

/* header style */
.header-logo {
    text-align: left;
}

.header-logo img {
    width: min(40%,70px);
}

.global-nav {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

.global-nav-box {
    margin: 0 0 0 auto;
    display: flex;
    align-items: center;
}

.global-nav__item a {
    margin-right: 0.5rem;
    margin-left: 0.5rem;
    font-size: clamp(0.875rem, 2.5vw, 1.3rem);
}

.global-nav__item a:link {
    color: #393831;
    text-decoration: none;
}

.global-nav__item a:visited {
    color: #393831;
}

.global-nav__item a:active,
.global-nav__item a:hover {
    text-decoration: underline;
}

.menu-check,
.onoff-btn {
    display: none;
}

.flex-menu {
    display: flex;
    padding: 2rem 2rem 0 2rem;
}

header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #efebe0cc;
}

/* index.css */
/* main style */
main {
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
}
.page-header {
    text-align: center;
    margin: 4rem auto;
}

.index-about,
.index-works,
.index-contact {
    border-top: solid 1px;
}

.index-contact {
    border-bottom: solid 1px;
}

.viewmore a:link {
    color: #393831;
    text-decoration: underline;
}

.viewmore a:visited {
    color: #393831;
    text-decoration: underline;
}

.viewmore a:active {
    text-decoration: underline;
}

.viewmore a:hover {
    text-decoration: none;
    font-weight: bold;
}

.index-about {
    padding: 4rem 0;
}
.index-about__flex {
    display: flex;
    flex-direction: row-reverse;
}

.index-about__flex_p {
    width: 50%;
    padding-left: 2rem;
}

.index-about__flex img {
    width: 50%;
    padding: 2rem;
}

.index-about__flex_p h2 {
    font-size: clamp(1.8rem, 5vw, 2rem);
    padding-bottom: 2rem;
}

.index-about__flex_p p {
    padding-right: 10%;
}

.index-about__flex_p p:first-of-type {
    padding-bottom: 1rem;
}

.index-about__flex_p p:last-of-type {
    padding-bottom: 2rem;
}

.index-about__flex_p .viewmore {
    text-align: right;
    padding-right: 10%;
}

.index-works {
    padding: 4rem 2rem;
}

.index-works h2 {
    font-size: clamp(1.8rem, 5vw, 2rem);
}

.index-works__flex {
    display: flex;
}

.index-works__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 2rem 0;
}

.index-works__flex_p {
    width: 80%;
    padding-right: 38%;
}

.index-works__grid-items  {
    transition-duration: 0.5s;
}

.index-works__grid-items img {
    cursor: pointer;
}

.index-works__grid-items img:hover {
    box-shadow: 10px 10px 10px rgba(0,0,0,0.5);
    transform: translateY(-10px);
    transition-duration: 0.5s;
}

.index-works__flex_btn {
    width: 20%;
    text-align: right;
}

.index-contact {
    padding: 4rem 2rem;
}

.index-contact h2 {
    font-size: clamp(1.8rem, 5vw, 2rem);
}
.index-contact__btn {
    text-align: center;
}

.index-contact__p {
    text-align: center;
}

.index-contact__btn {
    display: block;
    font-weight: bold;
    background-color: #393831;
    border-radius: 20px;
    width: 350px;
    height: 100px;
    color: #EFEBE0;
    text-align: center;
    margin: 2rem auto;
    line-height: 100px;
    letter-spacing: 0.075rem;
}

.index-contact__btn a:link {
    color: #EFEBE0;
    text-decoration: none;
}

.index-contact__btn a:visited {
    color: #EFEBE0;
}

.index-contact__btn a:active {
    display: block;
    font-weight: bold;
    background-color: #EFEBE0;
    border: solid 4px;
    border-radius: 20px;
    width: 350px;
    height: 100px;
    color: #393831;
    text-align: center;
    margin: 2rem auto;
    line-height: 96px;
    letter-spacing: 0.075rem;
}

.index-contact__btn a:hover {
    display: block;
    font-weight: bold;
    background-color: #EFEBE0;
    border: solid 4px;
    border-radius: 20px;
    width: 350px;
    height: 100px;
    color: #393831;
    text-align: center;
    margin: 2rem auto;
    line-height: 96px;
    letter-spacing: 0.075rem;
    box-shadow: 0px 2px 3px rgba(25, 25, 25, 0.50);
}

/* footer style */
footer {
    padding: 2rem 0;
}
.copy {
    text-align: center;
    font-size: clamp(0.875rem, 2.5vw, 1rem);
}

/* about.css */
.about-about,
.about-myprofile,
.about-skills {
    border-top: solid 1px;
}

.about-about {
    padding: 4rem 0;
}

.about-about__flex {
    display: flex;
    flex-direction: row-reverse;
}

.about-about__flex_p {
    width: 50%;
    padding-left: 2rem;
}

.about-about__flex img {
    width: 50%;
    padding: 2rem;
}

.about-about__flex_p h2 {
    font-size: clamp(1.8rem, 5vw, 2rem);
    letter-spacing: 0.25rem;
    line-height: 100%;
    padding-bottom: 2rem;
}

.about-myprofile {
    padding: 4rem 0;
}

.about-myprofile__flex {
    display: flex;
}

.about-myprofile__flex_p {
    width: 70%;
    padding-right: 2rem;
    padding-left: 8%;
}

.about-myprofile__flex_p p:first-of-type,
.about-myprofile__flex_p p:nth-of-type(2) {
    font-weight: bold;
}

.about-myprofile__flex_p p:not(:last-of-type)  {
    padding-bottom: 1rem;
}

.about-myprofile__flex_img {
    width: 30%;
    padding: 2rem;
}

.about-about__flex_p ul li {
    list-style-type: none;
}

.about-skills {
    padding: 4rem 0;
}

.about-skills__flex {
    display: flex;
}

.about-myprofile__flex_list {
    width: 70%;
    padding-right: 2rem;
    padding-left: 8%;
}

.about-skills__flex_img {
    width: 30%;
    padding: 2rem;
}

.flex_list__box {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.flex_list__box_img {
    width: 15%;
    align-items: center;
}

.flex_list__box_desc {
    display: flex;
    width: 85%;
    padding-left: 8%;
    align-items: center;
}

.flex_list__box_img:not(:last-of-type) {
    padding-bottom: 1.5rem;
}

.flex_list__box_desc:not(:last-of-type) {
    padding-bottom: 1.5rem;
}

/* works.css */
.works-website {
    border-top: solid 1px;
    padding-top: 4rem;
    padding-bottom: 3.5rem;    
}

.works-website,
.works-banner,
.works-others {
    padding-left: 2rem;
    padding-right: 2rem;
}

.works-website h2,
.works-banner h2,
.works-others h2 {
    padding-bottom: 4rem;
}

 .works-banner,
 .works-others {
    padding-bottom: 3.5rem;
 }

 .works-website__grid,
 .works-banner__grid,
 .works-others__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
 }

 .portfolio-top-png img {
    border: solid 1px #39383180;
 }

 .works-website__grid-items p,
 .works-banner__grid-items p,
 .works-others__grid-items p {
    text-align: center;
    padding-top: 0.3rem;
 }

 .works-website__grid-items,
 .works-banner__grid-items,
 .works-others__grid-items {
    transition-duration: 0.5s;
    padding-bottom: 0.5rem;
}

.works-website__grid-items img,
.works-banner__grid-items img,
.works-others__grid-items img {
    cursor: pointer;
}

.works-banner__grid-items {
    margin: 0 auto;
}

.works-website__grid-items img:hover,
.works-banner__grid-items img:hover,
.works-others__grid-items img:hover {
    box-shadow: 10px 10px 10px rgba(0,0,0,0.5);
    transform: translateY(-10px);
    transition-duration: 0.5s;
}

/* contact.css */
.contact-box {
    padding-bottom: 4rem;
}

.contact-contactform {
    border-top: solid 1px;
    padding: 2rem 0;
}

.contact-contactform__flex {
    display: flex;
}

.contact-contactform__flex_img {
    width: 30%;
    padding: 2rem;
}

.contact-contactform__flex_p {
    width: 70%;
    display: flex;
    align-items: center;
    padding-right: 2rem;
    padding-left: 8%;
}

.contact-contactform__flex_p p {
    font-weight: bold;
}

/* web-azarashi.css */
.web-azarashi {
    border-top: solid 1px;
    padding-top: 4rem;
}

.web-azarashi__intro {
    padding: 0 2rem;
}

.web-azarashi__desc {
    padding: 4rem 2rem;
}

.web-azarashi h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    text-decoration: underline;
}

.web-azarashi__sc,
.web-portfolio__sc {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.web-azarashi__sc a img {
    border: solid 1px #39383180;
}

.web-azarashi__desc dt {
    font-weight: bold;
}

.web-azarashi__desc dd {
    padding-left: 2rem;
    padding-bottom: 1rem;
}

.wire-frame,
.design-comp {
    padding-top: 4rem;
}

.wire-frame p,
.design-comp p {
    border-left: solid 1rem;
    line-height: 100%;
}

.design-comp__azarashi__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 2rem 0;
}

.design-comp__azarashi__grid p {
    text-align: center;
    border-left: none;
    line-height: 170%;
    padding-top: 0.5rem;
    padding-bottom: 2rem;
}

.design-comp__azarashi__grid-items img {
    border: solid 1px #39383180;
}

/* 作品ページ共通ボタン */
.btn-flex {
    display: flex;
    padding-top: 2rem;
}

.prev-btn,
.next-btn {
    display: block;
    background-color: #EFEBE0;
    border: solid 1.5px #393831;
    border-radius: 10%;
    width: 100px;
    height: 100px;
    color: #393831;
    text-align: center;
    margin: 0 auto;
    line-height: 100px;
}

.allview-btn {
    display: block;
    position: relative;
    background-color: #EFEBE0;
    border: solid 1.5px #393831;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    color: #393831;
    text-align: center;
    margin: 0 auto;
    line-height: 25px;
}

.prev-btn a,
.next-btn a {
    margin-right: 0.5rem;
    margin-left: 0.5rem;
    font-size: clamp(0.875rem, 2.5vw, 1.3rem);
}
.allview-btn a {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(0.875rem, 2.5vw, 1.3rem);
}

.prev-btn a:link,
.allview-btn a:link,
.next-btn a:link {
    color: #393831;
    text-decoration: none;
}

.prev-btn a:visited,
.allview-btn a:visited,
.next-btn a:visited {
    color: #393831;
}

.prev-btn a:active,
.allview-btn a:active,
.next-btn a:active {
    text-decoration: underline;
}

.prev-btn a:hover,
.allview-btn a:hover,
.next-btn a:hover {
    font-weight: bold;
}

.prev-btn:hover,
.allview-btn:hover,
.next-btn:hover {
    box-shadow: 0px 2px 3px rgba(25, 25, 25, 0.50);
}
/* 作品ページ共通ボタン ここまで */

/* web-portfolio.css */
.web-portfolio {
    border-top: solid 1px;
    padding-top: 4rem;
}

.web-portfolio__intro {
    padding: 0 2rem;
}

.web-portfolio__desc {
    padding: 4rem 2rem;
}

.web-portfolio h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    text-decoration: underline;
}

.web-portfolio__sc a img {
    border: solid 1px #39383180;
}

.web-portfolio__desc dt {
    font-weight: bold;
}

.web-portfolio__desc dd {
    padding-left: 2rem;
    padding-bottom: 1rem;
}

.wire-frame__portfolio,
.design-comp__portfolio {
    text-align: center;
    padding-top: 2rem;
}

.design-comp__portfolio {
    padding-bottom: 2rem;
}

/* web-snowfes.css */
.web-snowfes {
    border-top: solid 1px;
    padding-top: 4rem;
}

.web-snowfes__intro {
    padding: 0 2rem;
}

.web-snowfes__desc {
    padding: 4rem 2rem;
}

.web-snowfes h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    text-decoration: underline;
}

.web-snowfes__sc {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.web-snowfes__sc a img {
    border: solid 1px #39383180;
}

.web-snowfes__desc dt {
    font-weight: bold;
}

.web-snowfes__desc dd {
    padding-left: 2rem;
    padding-bottom: 1rem;
}

.design-comp__snowfes {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.design-comp__snowfes img {
    border: solid 1px #39383180;
}

 /* banner.css */
 .banner-blackfriday,
 .banner-mothersday,
 .banner-fathersday,
 .banner-summersale,
 .banner-wintersale {
    border-top: solid 1px;
    padding-top: 4rem;
}

.banner-blackfriday__intro,
.banner-mothersday__intro,
.banner-fathersday__intro,
.banner-summersale__intro,
.banner-wintersale__intro {
    padding: 0 2rem;
}

.banner-blackfriday__desc,
.banner-mothersday__desc,
.banner-fathersday__desc,
.banner-summersale__desc,
.banner-wintersale__desc {
    padding: 4rem 2rem;
}

.banner-blackfriday h3,
.banner-mothersday h3,
.banner-fathersday h3,
.banner-summersale h3,
.banner-wintersale h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    text-decoration: underline;
}

.banner-blackfriday__flex,
.banner-mothersday__flex,
.banner-fathersday__flex,
.banner-summersale__flex,
.banner-wintersale__flex {
    display: flex;
    padding-bottom: 2rem;
}

.banner-blackfriday__img,
.banner-mothersday__img,
.banner-fathersday__img,
.banner-summersale__img,
.banner-wintersale__img {
    width: 40%;
    padding: 2rem 0;
}

.banner-blackfriday__flex_dl,
.banner-mothersday__flex_dl,
.banner-fathersday__flex_dl,
.banner-summersale__flex_dl,
.banner-wintersale__flex_dl {
    width: 60%;
    padding-top: 2rem;
    padding-left: 2rem;
}

.banner-blackfriday__desc dt,
.banner-mothersday__desc dt,
.banner-fathersday__desc dt,
.banner-summersale__desc dt,
.banner-wintersale__desc dt {
    font-weight: bold;
}

.banner-blackfriday__desc dd,
.banner-mothersday__desc dd,
.banner-fathersday__desc dd,
.banner-summersale__desc dd,
.banner-wintersale__desc dd {
    padding-left: 2rem;
    padding-bottom: 1rem;
}

/* others.css */
.others-italian,
.others-businesscard {
    border-top: solid 1px;
    padding-top: 4rem;
}

.others-italian__intro,
.others-businesscard__intro {
    padding: 0 2rem;
}

.others-italian__desc,
.others-businesscard__desc {
    padding: 4rem 2rem;
}

.others-italian h3,
.others-businesscard h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    text-decoration: underline;
}

.others-italian__img,
.others-businesscard__img {
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.others-italian__desc dt,
.others-businesscard__desc dt {
    font-weight: bold;
}

.others-italian__desc dd,
.others-businesscard__desc dd {
    padding-left: 2rem;
    padding-bottom: 1rem;
}







   


