@charset "UTF-8";
/* すべてのWebページに適用される */
body {
	margin: 0;
	font-size: 100%;
    font-family: 'IBM Plex Sans JP', sans-serif;
	color: #414141;
    background-color: #F9F2EF;
}
h1,h2,h3,h4,h5,h6,p,ul,ol,dl,table {
	margin-top: 0;
}
p {
	line-height: 1.8;
}
img {
	width: 100%;
	vertical-align: bottom;
}
a {
    text-decoration: none;
	color: inherit;
}
li{
    list-style-type: none;
}
.wrapper{
    max-width: 960px;
	margin: 0 auto;
    display: flex;
    justify-content: center;
}
.title{
    font-family:  'Amaranth', sans-serif;
    margin-bottom: 0;
    text-align: center;
    font-size: 2rem;
}

.sub-title{
    margin-bottom: 4rem;
    font-size: small;
    text-align: center;
}
section{
    margin: 5rem 0 3rem;
}
a:hover{
    transition: color 0.1s linear;
}

#nav-input{
    display: none;
}
/* ボタン */
.c-button {
    background-color: #F9F2EF;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    width: 16rem;
    border-radius: 1rem;
    color: #F29C9D;
    cursor: pointer;
    box-shadow:  20px 20px 60px #d4cecb,
             -20px -20px 60px #ffffff;
}
button:active {
    color: white;
    box-shadow: 0 0.2rem #dfd9d9;
    transform: translateY(0.2rem);
}
.c-button:hover:not(:disabled) {
    background: #F29C9D;
    color: white;
}
button:disabled {
    cursor: auto;
    color: grey;
}


/* すべてのページに適用 - ヘッダー - */
h1{
    font-family:  'Amaranth', sans-serif;
    margin: 0 2rem;
}
h1 img{
    width: 8%;
    margin-right: 0.5rem;
}
header nav{
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    position: fixed;
    top: 0;
    width: 100%;
    margin: 0;
    font-family:  'Amaranth', sans-serif;
    text-shadow: 1px 1px 2px #8c8b8b;
    color: #fff;
    background-color: #8b8b8b2b;
    z-index: 1;
}
.globalnav{
    display: flex;
    margin-bottom: 0;
    align-items: center;
}
.globalnav li{
    padding: 0 2rem;
    font-size: 1.2rem;
}
.localnav{
    display: flex;
    justify-content: space-around;
}
nav a:hover{
    opacity: 0.6;
    transition: color 0.1s linear;
}
.globalnav a:hover{
    text-decoration: underline;
}
aside a:hover{
    opacity: 0.6;
    transition: color 0.1s linear;
    text-decoration: underline;
}

/* すべてのページに適用 - お問い合わせー */
.contact{
    width: 700px;
    margin: 3rem auto;
    padding: 3rem 0;
    text-align: center;
    background-color: #ffffff;
    box-shadow:  20px 20px 60px #d9d9d9,
             -20px -20px 60px #ffffff;
    border-radius: 20px;
}
.contact p{
    margin: 3rem;
}

/* すべてのページに適用 - フッター - */
footer{
    background-color: #F9F2EF;
}
footer p{
    margin-bottom: 0;
    padding: 1.5rem;
    text-align: center;
    font-family:  'Amaranth', sans-serif;
}

/* すべてのページに適用 - totopー */
html{
    scroll-behavior: smooth;
}
.totop{
    width: 3rem;
    height: 3rem;
    position: sticky;
    bottom: 3rem;
    margin-left: 90%;
}
.totop a{
    display: block;
    width: 100%;
    height: 100%;
}
.totop:hover{
    opacity: 0.6;
}


/* 個別ページのスタイル */
/* index.html
-------------------------------- */
/* TOPメインページ */
.blur{
    animation-name:blurAnime;
    animation-duration:1s;
    animation-fill-mode:forwards;
  }
  
  @keyframes blurAnime{
    from {
    filter: blur(10px);
    transform: scale(1.02);
    opacity: 0;
    }
  
    to {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
    }
  }
   
  .blurTrigger{
      opacity: 0;
  }

.main-visual{
    height: 75vh;
    background-image: url(images/main-visual.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.main-title{
    padding-top: 20%;
    color: #ffffff;
    font-family: 'Borel', cursive;
    font-size: 3rem;
    text-align: center;
}
.main-title span{
    font-size: 1rem;
    color: #fff;
}

.grid{
    width: 800px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 6%;
    margin-bottom: 50px;
    
}
.big-box{
    grid-column: 1/3;
    grid-row: 1/3;
}
.big-box img{
    width: 60%;
    object-fit: cover;
}
.grid img:hover{
    opacity: 0.7;
}
/* viewmore ボタン */
.btnarrow4{
    /*矢印と下線の基点とするためrelativeを指定*/
	position: relative;
    /*形状*/
    display: inline-block;
	padding: 0 20px;
    color: #333;
    text-decoration: none;
    outline: none;
    font-family:  'Amaranth', sans-serif;
    font-size: 1.2rem;
    margin-left: 80%;
}

/*矢印と下線の形状*/
.btnarrow4::before{
    content: '';
    /*絶対配置で下線の位置を決める*/
	position: absolute;
    bottom:-8px;
    left:15%;
    /*下線の形状*/    
    width: 85%;
    height: 2px;
	background:#333;
    /*アニメーションの指定*/
    transition: all .3s;
}

.btnarrow4::after{
    content: '';
    /*絶対配置で矢印の位置を決める*/
	position: absolute;
    bottom:-3px;
    right:0;
    /*矢印の形状*/    
    width: 15px;
    height:2px;
	background:#333;
    transform: rotate(35deg);
    /*アニメーションの指定*/
    transition: all .3s;
}

/*hoverした際の移動*/
.btnarrow4:hover::before{
    left:20%;
}

.btnarrow4:hover::after{
    right:-5%;
}

/* about.html
-------------------------------- */
.about-me,
.about-photo,
.about-carrer,
.lead{
    padding-bottom: 5rem;
    border-bottom: 4px double #8c8b8b;
	text-align: center;
}
.about-me p{
    line-height: 2.5;
    text-align: left;
}
.profile{
    display: flex;
    justify-content: space-around;
}
.profile img{
    margin-left:4rem;
}

.about-photo ul{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.about-photo li{
    position: relative;
}

.about-photo li p{
    position: absolute;
    width: 100%;
    height: 100%;
    color: #fff;
    margin: 0;
    left: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;}
.about-photo ul li:hover p{
    opacity: 1;
}
.profile img{
    width: 70%;
}
.about-skill ul{
    margin: 0 auto;
    width: 90%;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.about-skill ul li{
    padding: 1.5rem;
    background-color: #F9F2EF;
    border-radius: 20px;
    box-shadow:  20px 20px 60px #d9d9d9,
             -10px -10px 50px #ffffff;
}
.about-skill p{
    text-align: center;
}
.about-skill img{
    width:40%;
}

.about-license ul li{
    text-align: center;
}

.about-carrer{
    margin-bottom: 10rem;
    width: 900px;
    text-align: center;
}
.about-dl{
    width: 900px;
    display: flex;
    flex-wrap: wrap;
	margin: 0 auto;
    background-color: #F9F2EF;
    border-radius: 20px;
    box-shadow:  20px 20px 60px #d9d9d9,
             -10px -10px 50px #ffffff;
}
.about-dl dt{
    width: 100px;
    padding: 1.5rem 0 1.5rem 2rem;
    text-align: center;
    border-right: 3px solid #8c8b8b;
}
.about-dl dd{
    width: 700px;
    padding: 1.5rem 0 1.5rem 2%;
    margin: 0;
    text-align: left;
}
.lead{
    display: flex;
    justify-content: right;
    padding-bottom: 0;
    margin: 3rem auto 0 auto;
}
.lead p{
    text-align: center;
    line-height: 2.3;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}
.lead img{
    width: 76%;
}
/* works.html
-------------------------------- */
.works-sidemenu{
    width: 100%;
    position: fixed;
    top: 30%;
    left: 0;
    margin: 0;
}
.works-sidemenu li{
    margin: 2rem 0;
}
.works-grid{
    width: 800px;
    display: grid;
    gap: 50px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 6%;
    margin-bottom: 50px;
    
}
.works-grid img:hover{
    opacity: 0.7;
}
.works-grid span{
	background:linear-gradient(transparent 60%, #f29c9e53 60%);
    color: black;
}
dl dd a{
    color: #ea6a6c;
}
/* ロゴ動く */
.fuwafuwa {
    animation: fuwafuwa 3s ease-in-out infinite alternate;
    background: url(images/applelogo2.png) no-repeat center center / 200px auto;
    display: inline-block;
    transition: 1.5s ease-in-out;
    width: 200px;
    height: 200px;
    vertical-align:bottom ;
    padding-bottom: 0;
  }
   
  @keyframes fuwafuwa {
    0% {
      transform:translate(0, 0) rotate(-7deg);
    }
    50% {
      transform:translate(0, -7px) rotate(0deg);
    }
    100% {
      transform:translate(0, 0) rotate(7deg);
    }
  }

/* works1~4.html
-------------------------------- */
.next-page img{
    width: 4%;
}
.next-page{
    text-align: center;
}
dl{
    margin: 2rem 0 4rem 0;
    padding: 2rem;
    background-color: #ffffff;
}
.works-web div{
    margin-bottom: 2rem;
    text-align: center;
}
/* contact.html
-------------------------------- */
.contact-form{
    margin: 5rem auto 3rem;
    width: 700px;
    padding: 3rem 0;
    text-align: center;
    background-color: #ffffff;
    box-shadow:  20px 20px 60px #d9d9d9,
             -20px -20px 60px #ffffff;
    border-radius: 20px;
}
.contact-form span{
    color: #ea6a6c;
}
form{
    margin-top: 3rem;
}
form div{
    margin-bottom: 30px;
}
label{
    font-size: 1.125rem;
    display: block;
}
input[type="text"],
input[type="e-mail"],
textarea{
    padding: 10px;
    background: rgba(255,255,2255,.5);
    border:solid 1px #d9d9d9;
    border-radius: 5px;
    font-size: 1rem;
}

input[type="text"],
input[type="e-mail"]{
    width: 100%;
    max-width: 300px;
}
textarea{
    width: 100%;
    max-width: 480px;
    height: 6rem;
}
input[type="submit"]{
    padding: 1rem 2rem;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    line-height: 1;
}
/* ステップバー */
.stepBar {
    display: flex;
    max-width: 350px;
    position: relative;
    margin:0 auto 3rem auto;
    text-align: center;
  }
  .stepBar li {
    font-size: 12px;
    list-style: none;
    position: relative;
    width: 33.333%;
  }
  .stepBar li:after {
    background: #F9F2EF;
    content: "";
    width: calc(100% - 24px);
    height: 4px;
    position: absolute;
    left: calc(-50% + 12px);
    top: 10px;
  }
  .stepBar li:first-child:after {
    display: none;
  }
  .stepBar li span {
    background: #F9F2EF;
    color: #414141;
    display: inline-block;
    height: 24px;
    margin-bottom: 5px;
    line-height: 24px;
    width: 24px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
  }
  .stepBar .visited:after {
    background: #ea6a6c;
  }
  .stepBar .visited span {
    background: #ea6a6c;
  }



  

/* モバイル */
@media screen and (max-width:600px){
    /* ページ全体 */
    body{
        font-size: 0.8rem;
    }
    .contact{
        width: 90%;
    }
    .contact-form,
    .wrapper div,
    .about-carrer{
        width: 90%;
    }
    .date p{
        padding-right: 0;
        text-align: center;
    }
    textarea{
        width: 350px;
    }

    /* TOPページ */
    .main-visual{
        height: 60vh;
    }
    .main-title{
        font-size: 2rem;
    }
    /* .grid{
        display: block;
    } */
    .grid div,.works-grid{
        margin: 1rem auto;
    }
    .works-sidemenu{
        display: flex;
        justify-content: space-around;
    }
    .grid{
        width: 90%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        margin-top: 6%;
        margin-bottom: 50px;
    }

/* ハンバーガーメニュー */
    header {
        padding:10px 0;
      }
      
      #nav-drawer {
        position: relative;
      }
      
      /*チェックボックス等は非表示に*/
      .nav-unshown {
        display:none;
      }
      
      /*アイコンのスペース*/
      #nav-open {
        display: inline-block;
        width: 60px;
        height: 22px;
        vertical-align: middle;
      }
      .globalnav{
        display: block;
      }
      .globalnav li{
        margin: 5rem;
      }
      /*ハンバーガーの形をCSSで表現*/
      #nav-open span, #nav-open span:before, #nav-open span:after {
        position: absolute;
        height: 3px;/*線の太さ*/
        width: 25px;/*長さ*/
        border-radius: 3px;
        background: #ffffff;
        display: block;
        content: '';
        cursor: pointer;
      }
      #nav-open span:before {
        bottom: -8px;
      }
      #nav-open span:after {
        bottom: -16px;
      }
      
      /*閉じる用の薄黒箇所*/
      #nav-close {
        display: none;
        position: fixed;
        z-index: 99;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: black;
        opacity: 0;
        transition: .3s ease-in-out;
      }
      
      /*メニューの中身*/
      #nav-content {
        overflow: auto;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        width: 90%;
        max-width: 350px;/*最大幅（お好みで調整を）*/
        height: 100%;
        background: #ffffff6e;
        transition: .3s ease-in-out;
        -webkit-transform: translateX(-105%);
        transform: translateX(-105%);
      }
      
      /*チェックがついたら表示させる*/
      #nav-input:checked ~ #nav-close {
        display: block;
        opacity: .5;
      }
      
      #nav-input:checked ~ #nav-content {
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
        box-shadow: 6px 0 25px rgba(0,0,0,.15);
      }
      
      .header-logo-menu{
       display: flex;
       display: -moz-flex;
       display: -o-flex;
       display: -webkit-flex;
       display: -ms-flex;
       flex-direction: row;
       -moz-flex-direction: row;
       -o-flex-direction: row;
       -webkit-flex-direction: row;
       -ms-flex-direction: row;
      }
      
      /*ロゴやサイトタイトルをセンタリング*/
      .logo-area{text-align:center;margin:auto;}

    /* about */
    .profile{
        display: block;
        margin: 0 auto;
    }

    .about-photo ul{
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
    }
    .about-photo ul li{
        margin: 5px auto;
        width: calc(40% - 10px);
    }

    .about-skill ul{
        padding: 0;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
    }
    .about-skill ul li{
        margin: 5px 0;
        width: calc(30% - 15px);
    }

    .about-dl{
        width: 95%;
    }
    .about-dl dt{
        width: 10%;
    }
    .about-dl dd{
        width: 75%;
    }
    .lead{
        display: block;
    }


 /* works */
    .works-sidemenu{
        display: none;
    }
    .works h3{
        text-align: center;
        font-size: 1.2rem;
    }
    .works-grid div{
        margin: 0 auto;
    }
    .grid{
        margin: 0 auto;
    }
    
    .works-web{
        margin: 0 auto;
    }
    .works-grid{
        width: 90%;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        margin-top: 6%;
        margin-bottom: 50px;
    }
/* contact */
    iframe{
        width: 100%;
    }

}
