@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;600;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;600;700&display=swap');


  :root {
    --gray: #f7f5f5;
    --padding: 120px;
    --base-color: #EFEEED;
    --primary-color: #645CFF;
    --red: #FF5A5A;
    --text-color: #333333;
  }
  
  html,
  body {
    background-color: var(--base-color);
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Noto Sans JP', YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    color: var(--text-color);
    font-size:16px;
  }
  
  a {
    color: var(--primary-color);
    text-decoration: none;
  }

  a:hover{
    text-decoration: underline;
  }
  
  img {
    filter: sepia(10%);
    object-fit: cover;
  }
  
  .global-header .brand-title b {
    color: var(--primary-color);
  }
  
  .label {
    font-weight: bold;
    display: flex;
    align-items: center;
  }


  /*   TOP   */

  header {
    width:100%;
    text-align: center;
  }

  img.top-img{
    max-height:90vh;
    max-width: 95%;
    margin: 0 auto;
    display:none;
  }

  #top img.top-img {
    display:block
  }

  @media screen and (max-width: 768px) {
  img.top-img {
    object-fit: cover;
    height: 70vh;
  }
}


  /*  ナビゲーション   */

  .gnav {
    padding: 10px 40px 12px 40px;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 3;
    letter-spacing: 0.05em;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3;
    background:white;
    border-radius:40px;
  }

  #logo{
    position: fixed;
    top: 25px;
    left: 25px;
    z-index: 3;
  }

  header img.logo{
    width:100px;
    mix-blend-mode: difference;
  }

  @media screen and (max-width: 768px) {

  #logo{
    top: 20px;
    left: 0px;
    right:0px;
  }


  }

  
  .gnav-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
  .gnav-list li {
    margin: 0 20px;
    font-weight: 600;
  }
  .gnav-list a {
    display: block;
  }
  .gnav-list li img{
    display:none;
  }


  
  /* スマホナビ */
@media screen and (max-width: 768px) {
  .gnav{
    bottom: 20px;
    top: auto;
    width: 90%;
    margin: 0 auto;
    right: 0;
    left: 0;
  }

  .gnav-list{
    justify-content: space-around;
  }

  .gnav-list li {
    margin: 0 5px;
  }
}

@media screen and (max-width: 550px) {

  .gnav {
    padding: 10px 40px 0px 40px;
  }
  
  .gnav-list li span{
    display:none;
  }

  .gnav-list li img{
    display: block;
    width: 32px;
    padding-bottom: 10px;
    border-bottom: 2px solid white;
  }

  .gnav-list li img:hover {
    border-bottom: 2px solid var(--primary-color);
  }

}



  /* セクション */
  section{
    margin: var(--padding) 0;
  }

  .inner{
    width:1600px;
    max-width:90%;
    margin:0 auto;
  }

  .inner p{
    margin-bottom:20px;
  }

  .privacy,
  .contact,
  .profile{
    margin-top:40px;
  }

  .clm,
  .profile {
    padding-top:120px;
  }


  @media screen and (max-width: 768px) {
    .clm,
    .profile {
      padding-top:120px;
    }
  }


  .contact .inner,
  .profile .inner{
    width:1000px;
  }

  /*  タイトル関連  */

    article h1{
      font-size:40px;
      margin-bottom: 20px;
      line-height: 1.2;
      font-family: 'Noto Serif JP', serif;
    }

    .title h1 > img {
      max-width: 70%;
      max-height: 80px;
  }

    h2 > img{
        max-height:80px;
        margin-bottom:5px;
    }

    section.work h2 > img{
      max-width:70%;
  }
    .inner h1 p,
    .inner h2 > p{
        font-size:16px;
        margin-bottom:10px;
        font-family: 'Noto Sans JP', YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    }

    h3 {
      font-size:36px;
      margin:80px 0 20px 0;
      line-height: 1.2;
      font-family: 'Noto Serif JP', serif;
      padding-bottom:12px;
      border-bottom:1px solid var(--text-color);
      text-align:center;
    }

    section.profile h3 {
      text-align:left;
    }

    section.profile h2.noborder {
      border:none;
      text-align:center;
    }

    section.recommend h2 > p {
      font-size:20px;
      font-weight:700;
      color: var(--primary-color);
    }

    section.work h3,
    h4{
      font-family: 'Noto Sans JP', YuGothic, YuGothicM, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
      margin-bottom:10px;
      font-size:24px;
      line-height:1.4;
      font-weight: 600;
      border:none;
      padding-bottom:0;
    }
    

    section.work h3{
      padding-bottom:20px;
    }

    section.profile h4 {
      margin-top:40px;
    }

    .title{
      text-align:center;
      margin-bottom:0;
    }



  /*  カテゴリナビ  */

    .cnav {
      padding: 10px 40px 12px 40px;
      font-size: 0.9375rem;
      font-weight: 500;
      line-height: 3;
      letter-spacing: 0.05em;
      background:white;
      border-radius:40px;
      margin-top: 40px;
    }

    .cnav-list{
      display:flex;
      justify-content: space-around;
    }
  
    .cnav-list li {
      font-weight: 600;
      margin: 0 5px;
    }
    
    .cnav-list li:hover {
      color:var(--primary-color);
    }
  
    .cnav-list li.select {
      color:var(--primary-color);
    }
    
  @media screen and (max-width: 650px) {

    .cnav {
      width: 75%;
      margin: 40px auto 0 auto;
    }

    .cnav-list {
      display:block;
    }

  }



    /*  記事ナビ  */
  
    .anav {
      font-size: 0.9375rem;
      font-weight: 500;
      line-height: 2;
      letter-spacing: 0.05em;
      margin-top: 40px;
    }

    .anav-list{
      display:flex;
      justify-content: space-between;
    }

  /*  タグ  */

  .tag{
    text-decoration: none;
    display: inline-block;
    background:#cfcecd;
    color:var(--text-color);
    padding: 5px 15px;
    border-radius:25px;
    text-align: center;
    outline: none;
    font-size: 12px;
    margin-right: 4px;
    }



  /*  テキスト  */

  .work .intro{
    padding-bottom:40px;
  }
  
  @media screen and (max-width: 768px) {
    .work .intro{
      text-align:left;
    }
    .work .intro br {
      display:none;
    }
  }

  div.box,
  .work,
  .recommend{
    text-align:center;
  }

  section.profile ul.list li{
    list-style:disc;
    margin-left: 28px;
    margin-bottom:5px;
  }

  ul.double li{
    display:flex;
    justify-content: flex-start;
  }

  ul.double li p:first-child{
    width:80px;
    margin-bottom:10px;
    font-weight:600;
  }
  
  @media screen and (max-width: 768px) {

    ul.double li{
      display:block;
    }
  
    ul.double li p:first-child{
      margin-bottom:0;
    }
  }
  
    .contact .inner p.intro{
      text-align:center;
    }

  /*  ボタン  */

  /*  共通設定 */
  .anav-list li a,
  .button{
    /*矢印の基点とするためrelativeを指定*/
    position: relative;
      /*ボタンの形状*/
    text-decoration: none;
    display: inline-block;
    background:white;
    color:var(--text-color);
      padding: 10px 40px 10px 30px;
    border:1px solid var(--text-color);
    border-radius:25px;
      text-align: center;
      outline: none;
      /*アニメーションの指定*/
      transition: ease .2s;
    }

    .anav-list li a:hover,
    .button:hover{
      border:1px solid var(--primary-color);
      color:var(--primary-color);
      text-decoration:none;
    }

    .red:hover{
      border:1px solid var(--red);
      color: var(--red);
    }


    /* 矢印が右に移動 */

    .anav-list li a:after,
    .arrow::after{
      content: '';
      /*絶対配置で矢印の位置を決める*/
    position: absolute;
      top:43%;
      right: 18px;
      /*矢印の形状*/
      width: 7px;
      height: 7px;
      border-top: 1px solid var(--text-color);
      border-right: 1px solid var(--text-color);
      transform: rotate(45deg);
      /*アニメーションの指定*/
      transition: all .3s;
    }

    /*hoverした際の移動*/
    
    .anav-list li a:hover::after,
    .arrow:hover::after{
      right: 13px;
      border-top: 1px solid var(--primary-color);
      border-right: 1px solid var(--primary-color);
    }



    /* 矢印が左に移動 */
    
    .anav-list li:first-child a,
    .left{
      padding: 10px 30px 10px 40px;
    }

    .anav-list li:first-child a::after,
    .left::after{
      content: '';
      /*絶対配置で矢印の位置を決める*/
    position: absolute;
      top:45%;
      right:auto;
      left: 18px;
      /*矢印の形状*/
      width: 7px;
      height: 7px;
      border-top: 1px solid var(--text-color);
      border-right: 1px solid var(--text-color);
      transform: rotate(-135deg);
      /*アニメーションの指定*/
      transition: all .3s;
    }

    /*hoverした際の移動*/
    .anav-list li:last-child:hover a::after,
    .arrow:hover::after{
      right: 13px;
      border-top: 1px solid var(--primary-color);
      border-right: 1px solid var(--primary-color);
    }
    .anav-list li:first-child a:hover::after,
    .left:hover::after{
      right:auto;
      left: 13px;
      border-top: 1px solid var(--primary-color);
      border-right: 1px solid var(--primary-color);
    }


    /*hoverした際の移動*/
    .red:hover::after{
      right: 13px;
      border-top: 1px solid var(--red);
      border-right: 1px solid var(--red);
    }



  /*   カード   */
  .card-container {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin-inline: auto;
  }

  section.work-list .card-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .card {
    display: grid;
    grid-row: span 4;
    grid-template-rows: subgrid;
    row-gap: 12px;
    /* border-top: 1px solid var(--text-color); */
    padding-block: 10px;
  }

  .card :is(.card-title, .description, .label) {
    padding-inline: 12px;
  }
  
  .card .card-title {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.5;
    align-self: center;
  }
  
  .card image {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }

  a:hover .card img{
    opacity:.8;
  }


  /*  左右レイアウト  */
  section.clm {
    text-align:center;
  }

  section.clm div.inner {
    display:flex;
    justify-content:space-between;
  }

  div.box{
    width:45%;
  }

  @media screen and (max-width: 550px) {
  section.clm div.inner {
    display: block;
  }

  div.box{
    width:100%;
  }

  div.box:first-child{
    margin-bottom:80px;
  }

  }
  

 /*  記事  */
.article-wrapper{
  width: 1000px;
  max-width: 95%;
  margin: 20px auto 0 auto;
  display: flex;
  justify-content: space-between;
  padding-bottom: 40px;
}

article{
  width: calc(100% - 250px);
  float:left;
  padding-bottom:40px;
}

article section{
  margin: 20px 0 0 0;
}

aside{
  width:200px;
  float:right;
  padding-left:50px;
  border-left:1px solid var(--text-color);
}

aside h2{
  font-size:24px;
  font-weight:600;
  margin-bottom:12px;
}

.widget + .widget {
  margin-top: 20px;
}
.widget--sticky {
  position: sticky;
  top: 150px;
}

.category-box{
  display:none;
}

a:hover .category_name{
  text-decoration:none;
}

.category_name{
  padding: 2px 8px;
    background: var(--primary-color);
    color: white;
    font-size: 12px;
    border-radius: 10px;
}

.category_name:hover{
  background: white;
  color:var(--primary-color);
  text-decoration:none;
  cursor:pointer;
}




@media screen and (max-width: 768px) {

.article-wrapper{
  padding:0;
}

article{
  width: 95%;
  padding-bottom: 80px;
  margin: 0 auto;
}

aside{
  display:none;
}

.category-box{
  display:block;
  text-align:center;
}

}



 /*  記事の画像  */

 .eyecatch{
  width: 100%;
  height: 0;
  padding-top: 52.841%;
  position: relative;
  overflow: hidden;
}

.eyecatch img{
  width: 100%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: auto;
}


 /*  フォーム  */
 .Form {
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .Form {
    margin-top: 40px;
  }
}
.Form-Item {
  border-top: 1px solid #ddd;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
  text-align:left;
}
@media screen and (max-width: 768px) {
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}
.Form-Item p{
  margin:0;
}
.Form-Item p a{
  color:var(--primary-color);
}
.Form-Item p a:hover{
  text-decoration: underline;
}
.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-size: 18px;
}
@media screen and (max-width: 768px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}
.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
.Form-Item-Label.privacy-item{
  max-width:100%;
  text-align:center;
}
@media screen and (max-width: 768px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
}
.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 430px;
  background: white;
  font-size: 18px;
}
@media screen and (max-width: 768px) {
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    max-width: 100%;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-left: 40px;
  padding: 8px 16px;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 430px;
  background: white;
  font-size: 18px;
}
@media screen and (max-width: 768px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    max-width: 100%;
    flex: inherit;
    font-size: 15px;
  }
}
::placeholder {
  color: #afafaf;
}
.Form-Btn {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #5bc8ac;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}

input[type="checkbox"] {
  position: relative;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-right: 10px;
  height: 20px;
  width: 20px;
  background: white;
  font-size: 18px;
  vertical-align: -5px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input[type="checkbox"]:checked:before {
  position: absolute;
  top: 3px;
  left: 6px;
  transform: rotate(50deg);
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--text-color);
  border-bottom: 2px solid var(--text-color);
  content: '';
}

.Form .button{
  margin:40px 0 80px 0;
  padding:10px 40px;
}


  
  /*  パンくず  */
  .pan li{
    float: left;
    margin-right: 25px;
    position:relative;
  }
  
  .pan li:after{
    content: '';
    /*絶対配置で矢印の位置を決める*/
    position: absolute;
    top:40%;
    right: -15px;
    /*矢印の形状*/
    width: 7px;
    height: 7px;
    border-top: 1px solid var(--text-color);
    border-right: 1px solid var(--text-color);
    transform: rotate(45deg);
    /*アニメーションの指定*/
    transition: all .3s;
  }

  .pan li:last-child::after{
    display:none;
  }
  
  /*  フッター  */
  footer{
    margin-bottom: 100px;
    text-align:center;
  }

  section.clm div.inquiry{
    text-align:center;display: block;
  }

  img.center-hand{
    max-width:90%;
  }

  section.clm div.inquiry ul{
    margin:40px 0;
  }


  @media screen and (max-width: 550px) {
    img.center-hand{
    object-fit: cover;
    height: 30vh;
  }
}


  
  
  