@charset "UTF-8";


/* --------------------
共通
-------------------- */
html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: #f5f5f5;
    font-family: "M PLUS 1p", serif;
    color: #7b7c7d;
    line-height: 1.7;
    font-size: 14px;
}

a {
    color: #7b7c7d;
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
}

li {
    list-style: none;
}

h2 {
    font-size: 24px;
    font-family: "Zen Maru Gothic", serif;
    text-align: center;
    margin-bottom: 20px;
}

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

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

.flex {
    display: flex;
    align-items: center;
}

.btn {
    width: 100%;
    max-width: 180px;
    display: block;
    background-color: #7b7c7d;
    color: #fff;
    padding: 10px 20px;
    position: relative;
    text-align: center;
}

.btn::before {
    content: "";
    width: 25px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 22px;
    right: 15px;

    transition: all 0.25s;
}

.btn::after {
    content: "";
    width: 8px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 20px;
    right: 14px;
    transform: rotate(35deg);

    transition: all 0.25s;
}

.btn:hover {
    opacity: 0.8;
}

.btn:hover:after {
  right: -1px;
}

.btn:hover::before {
  right: -1px;
}


dl {
    display: flex;
    margin-bottom: 30px;
}

dt {
    width: 150px;
    color: #c0c0c0;
    
}

dd {
    width: calc(100% - 150px);
    text-align: justify;
}

/* --------------------
header
-------------------- */
#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 40px;
    margin-bottom: 80px;
}

#header img {
    width: 150px;
}

#header .navi {
    display: flex;
    align-items: center;
}

#header .navi li {
    font-size: 14px;
    margin-left: 40px;
}



/* --------------------
About（index.html）
-------------------- */
.profile {
    margin-bottom: 120px;
}

.profile img {
    max-width: 400px;
    width: 50%;
}

.profile .detail {
    width: 100%;
    padding-left: 80px;
    justify-content: space-between;
}

.profile .detail p {
    margin-bottom: 30px;
}


/* --------------------
works（index.html）
-------------------- */
.works {
    margin-bottom: 120px;
}

.works p {
    text-align: center;
    margin-bottom: 30px;
}

.works .works-item {
    display: flex;
    flex-wrap: wrap;
}

.works .works-item li {
    max-width: 400px;
    width: 32%;
    margin: 0 2% 2% 0;
    overflow:hidden; /* マウスオーバー時拡大の際に画像を枠内に収める */
}

.works .works-item li:nth-child(3n) {
    margin-right: 0;
}

/* マウスオーバー時画像を拡大する */
.works .works-item img{
 transition:1s all;
}

.works .works-item img:hover{
  transform:scale(1.1,1.1);
  transition: 0.7s all;
  transition:1s all;
}

/* マウスオーバー時にキャプションを表示 */
/* .sample1 {
	overflow:		hidden;
	margin:			10px 8px 10px 16px;
	position:		relative;
}

.sample1 .caption {
	font-size:		130%;
	text-align: 	center;
	padding-top:	110px;
	color:			#fff;
}

.sample1 .mask {
	width:			90%;
	height:			90%;
	position:		absolute;
	top:			13px;
	left:			18px; */
	/* opacity:		0;	マスクを表示しない */
	/* background-color:	rgba(0,0,0,0.3);
	-webkit-transition:	all 0.3s ease;
	transition:		all 0.3s ease;
}
.sample1:hover .mask { */
	/* opacity:		1;	マスクを表示する */
/* } */
/* 
.sample1 a:hover {
    opacity: 0.9;
} */


/* --------------------
Contact（index.html）
-------------------- */
.contact {
    width: 100%;
    align-items: center;
    justify-content: center;
    background-color: #dad891;
    padding: 60px;
    margin-bottom: 80px;
}

.contact .box {
    width: 100%;
    /* max-width: 500px; */
    text-align: center;
}

.contact .box p {
    margin-bottom: 20px;
}

.contact-btn {
    background-color: #7b7c7d;
    color: #fff;
    display: inline-block;
    padding: 15px 50px;
}


/* --------------------
footer
-------------------- */
#footer {
    font-size: 12px;
    text-align: center;
    padding-bottom: 20px;
}


/* --------------------
About（about.html）
-------------------- */
/* .profile-img  {
    text-align: center;
    margin-bottom: 40px;
}

.detail {
    max-width: 600px;
    margin: 0 auto;
} */

.skills {
    margin-bottom: 120px;
}

.skills-flex {
    display: flex;
    flex-wrap: wrap;
}

.skills img {
    width: 120px;
}

.skills-detail {
    max-width: 400px;
    width: 30%;
    margin: 0 5% 5% 0;
}

.skills-detail:nth-child(4),.skills-detail:nth-child(5),.skills-detail:nth-child(6) {
    margin-bottom: 0;
}

.skills-detail:nth-child(3n) {
    margin-right: 0;
}

.skills-detail  div {
    margin-bottom: 20px;
    text-align: center;    
}

.timeline {
  list-style: none;
  margin-bottom: 120px;
}
.timeline > li {
  margin-bottom: 60px;
}

/* for Desktop */
@media ( min-width : 767px ){
  .timeline > li {
    overflow: hidden;
    margin: 0;
    position: relative;
  }
  .timeline-date {
    width: 110px;
    float: left;
    margin-top: 20px;
  }
  .timeline-content {
    width: 75%;
    float: left;
    border-left: 2px #dcdcdc solid;
    padding-left: 30px;
    padding-bottom: 30px;
  }

  .timeline-content:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #e3e548;
    position: absolute;
    left: 105.5px;
    top: 24px;
    border-radius: 100%;
  }
}


/* --------------------
works(全体ページ)
-------------------- */
.works-sub {
    max-width: 600px;
    height: auto;
}

.works-index {
    display: flex;
    justify-content: center;
    column-gap: 40px;
    margin-bottom: 40px;
}

/* .works-index p {
    border-right: 1px solid #7b7c7d;
} */

.works-announce {
    margin-bottom: 120px;
}

.works-announce div {
    overflow: hidden;
}

.works-announce img {
    width: 100%;
    object-fit: cover;
    transition:1s all;
}

.works-announce img:hover {
  transform:scale(1.1,1.1);
  transition: 0.7s all;
  transition:1s all;
}

.subtitle {
    font-size: 14px;
    padding-left: 20px;
}

.works-margin {
    margin-bottom: 20px;
}

.works .btn {
    margin: 0 auto;
}


/* --------------------
works(個別ページ)
-------------------- */
.works-description {
    max-width: 700px;
    margin-bottom: 120px;
}

.works-description img {
    display: block;
    margin: 0 auto;
    max-width: 500px;
    height: auto;
    margin-bottom: 20px;
}

.works-detail {
    margin-bottom: 20px;
}

.works-title {
    margin-right: 80px;
}

.img-margin {
    margin-bottom: 80px;
}

.works-description p {
    text-align: center;
    margin-bottom: 30px;
}


/* --------------------
Contact（contact.html）
-------------------- */
.contact-text {
    text-align: center;
    margin-bottom: 80px;
}

.contact-form {
    margin-bottom: 120px;
}

.contact-form dl {
    flex-direction: column;
}

.contact-form dt {
    width: 100%;
    color: #7b7c7d;
    margin-bottom: 10px;
}

.contact-form dt .require {
    color: #ea5549;
    margin-left: 5px;
}

.contact-form dd {
    width: 100%;
    margin-bottom: 40px;
}

.contact-form dd input[type="text"],
.contact-form dd input[type="email"] {
    width: 100%;
    border: solid 1px #c0c0c0;
    background-color: #fff;
    padding: 15px 10px;
}

.contact-form dd textarea {
    width: 100%;
    height: 200px;
    border: solid 1px #c0c0c0;
    background-color: #fff;
    padding: 15px 10px;
}

.contact-form .radio-group {
    display: flex;
    align-items: center;
}

.contact-form .radio-group .item-group {
    margin-right: 40px;
}

.contact-form .btn-submit {
    text-align: center;
}

.contact-form .btn-submit input {
    background-color: #7b7c7d;
    color: #fff;
    padding: 15px 50px;
}

.contact-form .btn-submit input:hover {
    opacity: 0.7;
}


/* --------------------
スマートフォン
-------------------- */
@media screen and (max-width: 767px) {

/* --------------------
共通
-------------------- */
    dl {
        flex-direction: column;
    }

    dd {
        width: unset;
    }

     .flex {
        flex-direction: column;
    }

    #header .navi li {
    margin-left: 20px;
    }

/* --------------------
About（index.html）
-------------------- */
    .flex img {
        margin-bottom: 30px;
    }

    .profile img {
    max-width: 767px;
    width: 80%;
    }

    .profile .detail {
    width: 100%;
    padding-left: 0;
    }

/* --------------------
Works（index.html）
-------------------- */
    .works {
        margin-bottom: 40px;
    }

    .works .works-item {
        flex-direction: column;
    }

    .works .works-item li {
        max-width: 767px;
        width: 100%;
        margin: 0 0 20px;
    }

    .works .btn {
        margin: 0;
    }
    

/* --------------------
About（about.html）
-------------------- */
    .skills-flex {
        flex-direction: column;
    }

    .skills-detail {
        max-width: 767px;
        width: 100%;
        margin: 0 0 20px;
        margin-bottom: 40px;
    }

    .skills-detail:nth-child(4),.skills-detail:nth-child(5) {
        margin-bottom: 60px;
    }

    .skills-detail div {
        margin-bottom: 10px;
    }


/* --------------------
Works（works.html）
-------------------- */
    .works-announce {
        margin-bottom: 60px;
    }

    .works-index {
    column-gap: 20px;
}


/* --------------------
Works（個別ページ）
-------------------- */
    .works-description {
        margin-bottom: 60px;
    }
}