@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
  font-family: sans-serif;
  font-weight: 400;
  font-style: normal;
  Scroll-behavior: smooth;
  scroll-padding-top: 120px;
  overflow-y: scroll;
}

body {
  color: #383e45;
  font-size: 0.9rem;
}
a {
    color: #383e45;
    text-decoration: none;
}
img {
  max-width: 100%;
}

li {
  list-style: none;
}

/* body */

h1,h2,h3,h4{
  font-family: "Josefin Sans", sans-serif;
  font-style: normal;
}

.inner{
  padding: 0 10%;
}

.content_title {
  text-align: center;
  margin-bottom: 50px;
}

.content_title h2 {
  font-size: 2.3rem;
  margin-top: 80px;
}

.contact_title h2 {
  margin-top: 30px;
}

/* ハンバーガーメニュー */
.pc {
  display: block;
}

.sp {
    display: none;
  }


/* header */

.header { 
    width: 100%;
    height: 100px;
    background-color: #fff;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
    position: fixed;
    z-index: 10;
    display: flex;
    justify-content: space-between;
}

.logo {
  margin-left: 30px;
  display: flex;
  justify-content: left;
  align-items: center;
}

.logo img {
  flex-shrink: 0;
  width: 10%;
}

.header-nav {
  display: flex;
  justify-self: right;
  align-items: center;
  padding: 40px 0;
}

.header-nav li {
  margin-right: 30px;
}

/* mainvisual */

.kv--sp {
  display: none;
}

.kv--pc {
  display: block;
}

.main_visual{
    padding-top:  100px;
}

.japanese {
  font-family: "Zen Kurenaido", sans-serif;
  font-weight: 400;
  font-style: normal;
}

/* About */

.profile h3 {
    margin-bottom: 20px;
}

.profile {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 80px;
}

.profile img{
    width: 15%;
}

.profile p {
    text-align: left;
    font-size: 0.8rem;
}


/* Tool */

#Tool {
    margin-bottom: 80px;
}

.tool_title h2{
    font-size: 2.3rem;
}

.tool_title p{
    font-size: 0.8rem;
}

.tool_list {
    display: flex;
    justify-content: center;
}

.tool_list li {
    text-align: center;
}

.tool_list p {
    font-size: 0.8rem;
}

/* Portfolio */

#Portfolio h3{
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.5rem;
}

.web h3{
    padding: 10px;
    margin-bottom: 50px;
    background-color: beige;
}

.webitems {
    border: beige solid 3px;
    margin-bottom: 50px;
    padding: 10px;
}

.web_btn {
    display: block;
    width: 50%;
    margin: auto;
    padding: 10px 0;
}

.flier h3{
    padding: 10px;
    margin-bottom: 50px;
    background-color: cadetblue;
}

.flieritems{
    border: cadetblue solid 3px;
    margin-bottom: 50px;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.flieritems img{
    width: 50%;
}

.flieritems li {
    text-align: center;
}

.banner h3{
    padding: 10px;
    margin-bottom: 50px;
    background-color: bisque;
}

.banneritems {
    border: bisque solid 3px;
    margin-bottom: 50px;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.banneritems li{
    text-align: center;
}

.banneritems img {
    width: 90%;
}

.other {
    margin-bottom: 200px;
}

.other h3 {
    padding: 10px;
    margin-bottom: 50px;
    background-color: beige;
}

.otheritems{
    border: beige solid 3px;
    margin-bottom: 50px;
    padding: 20px;
}

.other img{
    width: 30%;
}

.other div {
    text-align: center;
}

.other h4 {
    margin-top: 30px;
}

.illust-items img {
    width: 15%;
}

footer {
    color: #fff;
    height: 100px;
    background-color: #383e45;
}

.copy {
    padding: 40px;
    text-align: center;
}

/* モーダルウインドウ */

.button{
    cursor: pointer;
}

.md-overlay{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .7;
    z-index: 9999;
  }
   
  .md-contents{
    display: none;
    position: fixed;
    top: 5%;
    left: 50%;
    width: 95%;
    height: auto;
    overflow: hidden;
    transform: translateX(-50%);
    z-index: 10000;
  }

  .md-btn img:hover{
    opacity: 70%;
  }
   
  .md-inner{
    margin: auto; 
    width:80%;
    height: auto;
    padding: 40px 40px;
    background: #fff;
    max-height: 70vh;
    overflow-y: scroll;
  }
   
   .md-inner img{
    margin-bottom: 30px;
    width: 40%;
    box-shadow: 0px 0px 20px 16px rgba(17,17,26,0.08);
   }


   .weblist img {
    width: 30%;
    box-shadow: 0px 0px 20px 16px rgba(17,17,26,0.08);
    margin: 5px;
    margin-bottom: 30px;
   }
   
   .weblist {
    display: flex;
    justify-content: center;
    align-items: flex-start;
   }

   .md-inner p {
    text-align: left;
   }

  .md-xmark{
    position: absolute;
    top: 5%;
    right: 13%;
    width: 25px;
    height: 22px;
    z-index: 9999;
    cursor: pointer;
  }
   
  .md-xmark span {
    height: auto;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 4px;
  }
   
  .md-xmark span:nth-of-type(1) {
    top: 0;
    transform: translateY(10px) rotate(-45deg);
  }
   
   
  .md-xmark span:nth-of-type(2) {
    bottom: 0;
    transform: translateY(-10px) rotate(45deg);
  }

  .md-xmark span:nth-of-type(3) {
    bottom: 0;
    transform: translateY(-10px) rotate(45deg);
  }

  .md-xmark span:nth-of-type(4) {
    bottom: 0;
    transform: translateY(-10px) rotate(45deg);
  }

  .md-xmark span:nth-of-type(5) {
    bottom: 0;
    transform: translateY(-10px) rotate(45deg);
  }

  .md-xmark span:nth-of-type(6) {
    bottom: 0;
    transform: translateY(-10px) rotate(45deg);
  }

  .md-xmark span:nth-of-type(7) {
    bottom: 0;
    transform: translateY(-10px) rotate(45deg);
  }

  .md-xmark span:nth-of-type(8) {
    bottom: 0;
    transform: translateY(-10px) rotate(45deg);
  }

/* フェードイン */

.effect-fade {
    opacity: 0;
    transform: translate(0, 50px); 
    transition: all 1000ms; 
  }
  .effect-scroll {
    opacity: 1;
    transform: translate(0, 0);
  }

/* contactページ */

/* reset */
address,caption,cite,code,dfn,em,strong,th,var {
  font-style: normal;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption,th {
  text-align: left;
}
q:before,q:after {
  content: '';
}
object,embed {
  vertical-align: top;
}
hr,legend {
  display: none;
}

img,abbr,acronym,fieldset {
  border: 0;
}
li {
  list-style-type: none;
}
sup {
  vertical-align: super;
  font-size: 0.5em;
}
img {
  vertical-align: top;
}
i {
  font-style: normal;
}

#Contact .inner {
  padding-top: 150px;
}

.box_con {
  max-width: 900px;
  margin: 0  auto;
}

.comment {
  margin-bottom: 100px;
}
@media only screen and (max-width: 768px) {
  .box_con {
    width: 95%;
  }
}
.box_con form {
  width: 100%;
}
.box_con form ul {
  width: 100%;
}
.box_con form ul li {
  position: relative;
  overflow: hidden;
  margin: .5em 0;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
@media only screen and (min-width: 769px) {
  .box_con form ul li {
    display: -webkit-flex;
    display: flex;
  }
}
@media print {
  .box_con form ul li {
    display: -webkit-flex;
    display: flex;
  }
}
.ie8 .box_con form ul li {
  display: -webkit-flex;
  display: flex;
}
@media only screen and (max-width: 768px) {
  .box_con form ul li {
    margin: 1em 0;
  }
}
.box_con form ul li .title {
  position: relative;
  width: 30%;
  font-weight: normal;
  padding: 1em;
  position: relative;
}
@media only screen and (min-width: 769px) {
  .box_con form ul li .title {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
  }
}
@media print {
  .box_con form ul li .title {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
  }
}
.ie8 .box_con form ul li .title {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}
@media only screen and (max-width: 768px) {
  .box_con form ul li .title {
    text-align: left;
    width: 100%;
    display: block;
    padding: .8em .2em;
    color: #383e45;
  }
}
.box_con form ul li .title em {
  position: relative;
  z-index: 1;
}
.box_con form ul li .title span {
  background: #cd6f55;
  padding: 0 .3em;
  color: #fff;
  margin-left: .5em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.box_con form ul li .box_det {
  width: 70%;
  position: relative;
  padding: 1em;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
@media only screen and (max-width: 768px) {
  .box_con form ul li .box_det {
    padding: 1.5em .5em .5em;
    display: block;
    width: 100%;
  }
}
.box_con form ul li .box_br {
  display: block;
}
.box_con form ul li select, .box_con07 form ul li textarea, .box_con07 form ul li .wide {
  width: 100%;
  height: 3em;
  padding: .5em;
  border: none;
  outline: none;
  background: transparent;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.box_con form ul li textarea {
  height: 10em;
  width: 100%;
}

.btn {
  text-align: center;
  margin-bottom: 50px;
}

.btn input {
  display: inline-block;
  background: #eee;
  padding: .5em 4em;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  border: none;
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}

.btn input:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  opacity: 0.7;
}

.parent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  }
  
.baner1 { 
  grid-area: 1 / 1 / 2 / 2;
 }

.baner2 { 
  grid-area: 1 / 2 / 2 / 3;
 }

.baner3 { 
  grid-area: 1 / 3 / 2 / 4;
 }

.baner4 { 
  grid-area: 2 / 1 / 3 / 2;
  margin-top: 10px;
 }

.baner5 { 
  grid-area: 2 / 2 / 3 / 3;
  margin-top: 10px;
 }

.baner6 { 
  grid-area: 2 / 3 / 3 / 4;
  margin-top: 10px;
 }

 .counseling {
  display: flex;
  justify-content: left;
  align-items: center;
 }

 .counseling img {
  width: 10%;
  margin-right: 30px;
  box-shadow: none;
 }

/*--------------------------------------
スマホ
--------------------------------------*/
@media screen and (max-width: 414px) {
    .sp {
      display: block;
    }

    /*-------------------------------ヘッダ*/
  #nav-toggle {
    position: fixed;
    top: 40px;
    right: 25px;
    height: 32px;
    cursor: pointer;
    z-index: 1000;
  }

  #nav-toggle > div {
    position: relative;
    width: 36px;
  }

  #nav-toggle > div span {
    width: 100%;
    height: 2px;
    left: 0;
    display: block;
    background: #000;
    position: absolute;
    transition: transform .3s ease, top .5s ease;
  }

  #nav-toggle > div span:nth-child(1) {
    top: 0;
  }

  #nav-toggle > div span:nth-child(2) {
    top: 14px;
  }

  #nav-toggle > div span:nth-child(3) {
    top: 28px;
  }

  .open #nav-toggle > div span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
  }

  .open #nav-toggle > div span:nth-child(2) {
    width: 0;
  }

  .open #nav-toggle > div span:nth-child(3) {
    top: 15px;
    transform: rotate(-45deg);
  }

  .header .header-nav {
    background: beige;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    z-index: 990;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 100px;
    transform: translateX(-100%);
    transition: transform 1s ease;
  }

  .open .header .header-nav {
    transform: translateX(0) !important;
  }

  .header .header-nav ul {
    display: block;
  }

  .header .header-nav li {
    position: relative;
    margin: 0 !important;
    text-align: left;
    transform: translateX(-200px);
    transition: transform 1.3s ease;
  }

  .open .header .header-nav li {
    transform: translateX(0);
  }

  .header .header-nav li a {
    display: inline-block;
    color:#383e45;
    text-decoration: none;
    padding: 10px 0;
    font-size: 2.0rem;
  }

  .header .header-nav ul > li:nth-child(2) {
    transition-delay: .15s;
  }

  .header .header-nav ul > li:nth-child(3) {
    transition-delay: .3s;
  }

  .header .header-nav ul > li:nth-child(4) {
    transition-delay: .6s;
  }

  /* メインビジュアル */

  .kv--pc {
    display: none;
  }

  .kv--sp {
    display: block;
  }

  /* About */

  .profile {
    display: block;
    margin-bottom: 80px;
}

  .profile img {
    display: block;
    width: 40%;
    margin: 0 auto ;
    margin-bottom: 5%;
  }

  .profile p {
    font-size: 0.8rem;
  }

  .Responsive{
    display: none;
  }

  .profile h3 {
    text-align: center;
    }

  /* Tool */

  .tool_list h3{
    font-size: 0.7rem;
  }

  .tool_list p{
    font-size: 0.5rem;
  }

  /* Portfolio */

  .webitems img {
    width: 50%;
  }

  .weblist {
    display: block;
    margin: auto;
  }

  .weblist img {
    width: 100%;
  }

  .md-inner {
    margin-top: 20%;
    max-height: 70vh;
  }

  .md-xmark {
    top: 17%;
    right: 12%;
  }

  .md-inner img {
    width: 100%;
  }

  .counseling {
    display: block;
  }

  .counseling img {
    box-shadow: none;
    width: 25%;
    margin: auto;
    margin-bottom: 10px;
  }

  .banneritems {
    display: block;
    justify-content: center;
}

  .banneritems li {
    padding: 10% 0;
  }

  .illust h4 {
    font-size: 0.7rem;
  }

  .illust-items img {
    width: 30%;
}

}
