/*-------------------------
全体適用
-------------------------*/
html {
    font-size: 23px;
    font-family: "Meiryo", "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", sans-serif;
    line-height: 1.5;
}

* {
    box-sizing: border-box;
  }

body {
    color: #24292e;
    margin: 0;
    background-color: #14162218;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

ul {
    padding-left: 0;
}

img {
    max-width: 100%;
}

/*font-aw*/
.font-aw-margin {
    margin-right: 5px;
}

.wrapper {
    max-width: 1600px;
    margin: 0 auto 40px auto;
    padding: 0 4%;
}

.title {
    text-align: center;
    margin-top: 70px;
    font-size: 2rem;
    color:#b451a4;
    position: relative;
}
.title:before {
    content: '';
    position: absolute;
    bottom: -1px;
    display: inline-block;
    width: 40px;
    height: 3px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #b451a4;
    border-radius: 2px;
}
.title span {
 display: block;   
 font-size: 0.9rem;
 color: #0e0e11;
 font-weight: bold;
}

.page-content-image {
  text-align: center;
  margin-top: 50px;
}
.page-content-image img {
  margin: 0;
  max-width: 100%;
  padding: 0;
  vertical-align: bottom;
}

/*-------------------------
パンくずリスト
-------------------------*/

.breadcrumb ol {
  padding-left: 10px;
  margin-bottom: 0;
}
.breadcrumb {
  list-style: none;
  margin-bottom: 0;
}

.breadcrumb li {
  display: inline;/*横に並ぶように*/
  list-style: none;
  font-weight: bold;/*太字*/
}

.breadcrumb li:after {/* >を表示*/
  content: '>';
  padding: 0 0.2em;
  color: #00000085;
}

.breadcrumb li:last-child:after {
  content: '';
}

.breadcrumb li a {
  text-decoration: none;
  color: #00000085;/*色*/
}

.breadcrumb li a:hover {
  text-decoration: underline;
}
/*-------------------------
header
-------------------------*/
#header {
    display: flex;
    max-width: 3500px;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0 2%;
    height: 90px;
    background-color: #c2c2c2;
}


#header .site-title {
    line-height: 1px;
    width: 105px;
    margin: 0px;
}
#header ul {
    display: flex;
}
#header li {
    font-size: 1.1rem;
    margin-left: 15px;
}
  #header li a {
    color: #1C264A;
    font-weight: bold;
    font-size: 0.85em;
    transition: all 0.3s ease;
    margin-right: 10px;
 }
 #header li a:last-child {
  margin-right: 0;
}
 #header li .contact-box {
  background-color: whitesmoke;
  padding: 0 10px;
  border-radius: 5%;
 }
 #header li .contact-box a {
  color: black;
 }
  #header li a:hover {
    opacity: 0.8;
    color: #d192be;
}
#header li .site-icon {
  display: none;
  width: 140px;
}
/*スクロール時に切り替え*/

/*ボタン全体の形状*/
.openbtn{
display: none;
  /*ボタンの位置*/
position:fixed;
top:10px;
right: 10px;
z-index: 500;
  /*ボタンの形状*/
background:#616161;
cursor: pointer;
width: 50px;
height:50px;
border-radius: 4px;
}

/*ボタンのアイコン設定*/
.openbtn span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #fff;
  width: 45%;
}

.openbtn span:nth-of-type(1) {
  top:15px;	
}
.openbtn span:nth-of-type(2) {
  top:23px;
}
.openbtn span:nth-of-type(3) {
  top:31px;
}

/*activeクラスが付与された後のボタンのアイコン設定*/
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.openbtn.active span:nth-of-type(2) {
opacity: 0;
}
.openbtn.active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

/*fadeDownクラスが付与された後のボタンの出現アニメーション設定*/
.fadeDown {
  animation-name: fadeDownAnime;
  animation-duration: 0.7s;
  animation-fill-mode: forwards;
  opacity: 0;
  display: block;
}
@keyframes fadeDownAnime{
from {
  opacity: 0;
transform: translateY(-100px);
}
to {
  opacity: 1;
transform: translateY(0);
}
}
/*========= ヘッダーナビゲーションのためのCSS ===============*/
/*.doneクラスがついたヘッダー*/
#header.dnone {
	opacity: 0;/*透過0にして非表示に*/
}

/*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたら*/
#header.dnone.panelactive {
	opacity: 1;/*不透明にして出現*/
}
/*.doneクラスがついたヘッダーのテキストナビゲーションの形状*/
#header.dnone #g-navi{
  /*固定位置にして最背面に*/
  position:fixed;
  top: 0;
  left: 0;
  z-index: -1;
  /*高さと幅*/  
  width:100%;
  height: 100vh;
  /*天地中央＆テキスト中央揃え*/  
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  /*はじめは透過0に*/  
  opacity: 0;
  transition: all 0.4s;
}

/*メニューボタンをクリックした際に付与されるpanelactiveクラスがついたナビゲーションの形状*/
#header.dnone.panelactive #g-navi{
opacity: 1;/*不透明に*/
z-index:3;/*最前面に*/
background-color:#c2c2c2;
}

#header.dnone.panelactive #g-navi ul{
display:block;/*flexの横並びをblockにして縦並びに*/
}

/*リストの形状*/
#header.dnone.panelactive #g-navi li a{
color: #1C264A;
text-decoration: none;
padding:10px;
display: block;
text-transform: uppercase;
letter-spacing: 0.1em;
font-weight: bold;
transition:all 0.3s;
text-align: left;
font-size: 1rem;
}
section{
  position: relative;
  z-index: 1;
}
#header.dnone.panelactive #g-navi li a:hover {
  opacity: 0.8;
  color: #d192be;
}

#header.dnone li .contact-box {
  background-color: transparent;
  padding: 0 0px;
}
#header.dnone li .site-icon {
  display: block;
}

/*-------------------------------
service
----------------------------*/

.service {
    display: flex;
    justify-content: space-between;
    text-align: center;
  }
  
  .service .service-contents {
    width: 30%;
    background-color: whitesmoke;
    box-shadow: 0 12px 12px 0 rgba(54, 54, 54, 0.3);
    border-radius: 30px;
  }

  .service-contents .content-image{
    margin: 20px;
    border-radius: 30px;
    width: 100px;
    height: 100px;
    display: inline-block; /*親要素をinline-blockにすることで、子要素であるimgにtext-align:centerが適用される*/
  }


.btn-service-radius {
    display: inline-block;
    padding: 7px 30px;
    margin: 20px;
    border-radius: 30px;
    text-decoration: none;
    color: #ffffff;
    background-image: linear-gradient(45deg, #b451a4 0%, #5c5555 100%);
    transition: .4s;
    box-shadow: 0 3px rgb(63, 55, 55);
  }

 .btn-service-radius:hover {
    background-image: linear-gradient(45deg, #5c5555 0%, #b451a4 100%);
    box-shadow: 0 4px 12px rgb(255, 255, 255), 0 12px 24px -12px rgb(255, 255, 255);
    opacity: 1;
    box-shadow: none;
    transform: translate(0, 5px);
  }

.service .content-title {
    margin: 0 auto 0;
}


.service p {
    text-align: left;
    margin: 0 5px;
    padding: 10px 15px;
    font-size: 0.8rem;;
  }


/*-------------------------------
point（背景に桜か幾何学模様を設置）
----------------------------*/
.point {
    height: 100%;
    background-color: #0e0e11;
}

.point .title {
    padding-top: 50px;
}
.point .title span {
    color: white;
}
.content {
   overflow: hidden;
}
.content .children {
      display: flex;
      align-items: center;
      gap: 5%;
      height: 500px;
      background-color: #0e0e11;
      padding: 1em;
      position: relative;
      z-index: 1;
      color: whitesmoke;
}
      .content .children .info {
        padding: 1em;
        width: 50%;
        font-size: 0.8rem;
      }
      .content .children p {
        margin-top: 0;
      }
      .content .children .info-right {
        padding: 23px;
        width: 50%;
        overflow: break-word;
      }
      .content .children .info-title-right,.info-title-left {
        padding: 23px;
        width: 50%;
        text-align: center;
      }
    
      .content .children .info-title-left h3,.info-title-right h3 {
        margin-bottom: 0;
        /*吹き出し設置*/
        position: relative;
        display: inline-block;
        margin: 1.5em 0 10px;
        padding: 7px 10px;
        min-width: 120px;
        max-width: 100%;
        color: #0c0c0c;
        font-size: 20px;
        background: #ffffffc2;
        border-radius: 10px;
      }

      .content .children .info-title-right p,.info-title-left p {
        font-size: 1.5rem;
        display: block;
        font-weight: bold;
        
      }
      
      .content .children::before {
          content: "";
          width: 100%;
          height: 100%;
          background-color: rgba(83, 71, 71, 0.329);
          position: absolute;
          top: 50%;
          left: 0%;
          transform: translate(-50%, -50%) skewX(-25deg);
          z-index: -1;
        }

      .content .children:last-child {
        margin-top: 23px;
      }
        
      .content .children:nth-of-type(odd) {
        justify-content: flex-start;

      }
      
      
      .content .children:nth-of-type(even) {
        margin-top: 1em;
        background-color: rgba(83, 71, 71, 0.329);
        justify-content: flex-start;
          
      }


      .sdgs-logo {
        position: absolute;
        top: 10px;
        right: 20px;
      }
      .sdgs-logo img {
        width: 150px;
      }
/*-------------------------------
Works
----------------------------*/
.works {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 60px;
    
}

.works a {
    width: 32%;
    font-style: none;
    color: #121212;
    font-weight: bold;
}

.works-component {
    border-radius: 3%;
    overflow: hidden;
}

.works .works-explaining {
    background-color: rgba(255, 255, 255, 0.856);
    border-radius: 10%;
}

.works .company-name {
    margin-top: 0;
    margin-bottom: 0;
    padding: 5px 8px 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.works .link {
    margin-top: 3px;
    font-size: 0.8rem;
    font-weight: 50;
    opacity: 0.6;
    padding: 0 8px 5px;
}


/*　画像の透過+グラデーション＋テキスト出現　*/

.opacityText{/*テキストの基点となる位置を定義*/
    position: relative;
  }
  
  .opacityText .works-component,.works-explaining{
    opacity:1;
    transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
  }
  
  .opacityText:hover img{/*hoverした時の変化*/
    opacity:0.3;/*透過具合を変更したい場合はこの数値を変更*/
  }
  
  
  .opacityText span.cap{
    opacity:0;
    transition: .5s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
    position: absolute;
    z-index:3;/*テキストを前面に出す*/
    top: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #000000;/*テキストの色を変えたい場合はここを修正*/
    font-weight: bold;
    font-size: 0.9rem;
    border-bottom: solid 1px rgba(0, 0, 0, 0.144);
    width: 100%;
    text-align: center;
  }
  
  .opacityText:hover span.cap{/*hoverした時の変化*/
    opacity:1;
  }


.works .works-btn {
    width: 100%;
    text-align: center;
}

.works .works-btn a{
    color: whitesmoke;
    font-weight: bold;
}
  
.btn-works-radius {
    display: inline-block;
    padding: 7px 30px;
    margin: 20px;
    border-radius: 30px;
    text-decoration: none;
    background-image: linear-gradient(45deg, #b451a4 0%, #5c5555 100%);
    transition: .4s;
    box-shadow: 0 3px rgb(63, 55, 55);
  }


 .btn-works-radius:hover {
    background-image: linear-gradient(45deg, #5c5555 0%, #b451a4 100%);
    box-shadow: 0 4px 12px rgb(255, 255, 255), 0 12px 24px -12px rgb(255, 255, 255);
    opacity: 1;
    box-shadow: none;
    transform: translate(0, 5px);
  }

/*-------------------------
News
-------------------------*/
#news-box {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.sns-parts {
  width: 30%;
}

.news-box-info {
  -webkit-overflow-scrolling: touch;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  display: -webkit-box;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  width: 70%;
  height: 410px;
  margin: 0 40px 0 0;
  overflow-y: scroll;
  box-shadow: 0 0 0 1px #BABABA, 0 0 0 8px #E8E8E8;
}

@media (min-width:768px) {
  .news-box-info {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.news-box-info dd,
.news-box-info dt {
  box-sizing: border-box;
  width: 100%;
  padding-bottom: 8px;
  padding-left: 2px;
}


@media (min-width:768px) {
  .news-box-info dt {
    width: 11.5em;
    margin-bottom: .5em;
    border-bottom: 1px dotted #343a40
  }
}

.news-box-info dt:first-of-type {
  padding-top: .5em;
  border-top: 1px dotted #000000
}

.news-box-info dt time {
  margin-right: .5em;

}

.news-box-info dt span {
  box-sizing: border-box;
  display: inline-block;
  width: 7em;
  margin-right: .5em;
  padding: 0 .5em ;
  background-color: #141622;
  color: #fff;
  font-size: .8em;
  line-height: 1.75;
  text-align: center;
  border-radius: 10%;
  margin-left: 10px;
}

.news-box-info time {
  color: #000000;
  font-weight: bold;
  opacity: 0.7;
  font-size: 0.6rem;
}

.news-box-info dd {
  margin-left: 0;
  margin-bottom: .5em;
  border-bottom: 1px dotted #343a40;
  }

.news-box-info a {
  color: #000000;
}

@media (min-width:768px) {
  .news-box-info dd {
    width: calc(100% - 12.5em)
  }
  .news-box-info dd:first-of-type {
    padding-top: .5em;
    border-top: 1px dotted #343a40;
  }
}

.news-box-info dd:nth-of-type(-n+3) {
  position: relative;
}

/*-------------------------
footer
-------------------------*/
#footer {
    background-color: #141622;
    color: whitesmoke;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    filter: drop-shadow(1px 1px 2px #121212);
}
#footer .wrapper {
  margin-bottom: 0;
}
.footer-component {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}

.footer-component .first-component {
    width: 33%;
    margin-left: 130px;
}

.footer-component .first-component:first-child {
    margin-left: 0;
}

.first-component .footer-title {
    border-bottom: solid 0.5px white;
}
.first-component ul a {
  color: white;
}

.first-component li {
    position: relative;
    padding-bottom: 10px;
}

.first-component ul {
    margin-left: 15px;
}

.first-component li::before {
    content: "";
    position: absolute;
    top: 7px;
    left: -15px;
    width: 6px;
    height: 7px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 0 0 1px white;
}
.footer-menu ul {
    display: flex;
    justify-content: center;
    margin-bottom: 2px;
}

.footer-menu li {
    padding-right: 20px;
    font-size: 0.7rem;
}
.footer-menu li a {
  color: white;
}
.footer-menu li:last-child {
    padding-right: 0;
}
.first-component li a:hover,.footer-menu li a:hover {
  color: #b451a4;
}


.footer-menu .copy-light {
    color: #fff;
    font-size: 0.5rem;
    padding: 5px;
    text-align: center;
    margin-top: 0;
  }

#footer .sns-logo ul{
    display: flex;
    justify-content: center;
    gap:15px;
}

#footer .sns-logo ul li {
  width: 50px;
  overflow: hidden;
  transition-timing-function: linear;
}
#footer .sns-logo ul li:hover {
  scale: 1.1;
  transition-duration: 0.2s;
}
#footer .sns-logo ul li:last-child {
  padding-right: 0;
}
  /*-------------------------------------------
トップへ戻るボタン
-------------------------------------------*/
/*
右下に固定で配置
表示・非表示の切り替えはjQueryで行うため、詳細は「main.js」のコメントを参照
*/
#to-top {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border: solid 1px #fff;
    border-radius: 50%;
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 9999;
  }
  /*
  中の三角は疑似要素で作成
  */
  #to-top::after {
    content: "";
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 14px solid #141622;
    position: relative;
    left: 12px;
    bottom: 15px;
  }

  /*
  内部の色の反転
  */
  #to-top:hover {
    background-color: #141622;
  }

  #to-top:hover::after {
    border-bottom: 10px solid #ffffff;
  }



/*---------------------------------------
タブレット対応
-------------------------------------*/
@media screen and (max-width: 930px) {

/*全体*/
  html {
    font-size: 16px;
}
.title {
  margin-top: 20px;
}
/*メインビジュアル*/
.mainvisual {
  height: 50vh;
}
.sdgs-logo {
  top: 7px;
  right: 5px;
}
.sdgs-logo img {
  width: 100px;
}

/*3つのサービス*/
.service-contents .content-image {
  width: 80px;
  height: 80px;
}
.service p {
  padding: 5px 10px;
}
.btn-service-radius {
  margin: 10px 10px 20px;
}

/*他社にない強み*/
.point .title {
  padding-top: 20px;
}
.point .content .children {
  height: 230px;
}

/*制作実績*/
.works {
  justify-content: center;
  gap: 20px;
}
.works a {
  width: 45%;
}
.btn-works-radius {
  margin: 5px auto 10px;
}

/*お知らせ*/
.sns-parts {
  display: none;
}
#news-box {
  display: block;
}
.news-box-info {
  width: 100%;
  height: 200px;
}
.news-box-info dd {
  padding-left: 15px;
  padding-bottom: 2px;
}
.news-box-info dt {
  padding-bottom: 2px;
}

/*フッター*/
.footer-component {
  flex-direction: column;
}
.footer-component .first-component {
  margin-left: 0;
  width: 100%;
}
.footer-component .footer-title {
  margin-top: 0;
}
#footer .sns-logo ul {
  margin-top: 0;
}
#footer .sns-logo ul li {
  width: 30px;
}
/*中の三角は疑似要素の位置を調整*/
  #to-top::after {
    left: 11px;
    bottom: 5px;
  }

}

/*---------------------------------------
スマホ対応
-------------------------------------*/
@media screen and (max-width: 610px) {
/*全体*/

.wrapper {
  margin-bottom: 5px;
}

/*ヘッダー*/
#header {
  height: 75px;
}
#header #g-navi {
  display: none;
}
#header li .site-icon {
  width: 120px;
}
/*
.openbtn {
  display: block;
}
*/

/*メインビジュアル*/
.mainvisual #mainvisual-text  {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
}
.mainvisual .mainvisual-title {
  font-size: 1rem;
}

.mainvisual .mainvisual-title span {
  font-size: 1.6rem;
}

.sdgs-logo img {
  width: 70px;
}

/*３つのサービス*/
.service {
  flex-direction: column;
}
.service .service-contents {
  width: 100%;
  margin-bottom: 30px;
}
.content-title {
  font-size: 1.3rem;
}
.service p {
  font-size: 1rem;
}

/*他社にない強み*/
.point .title {
  margin: 0px auto 10px;
}
.content .children .info-title-right p,.info-title-left p {
  font-size: 1.4rem;
}
.content .children .info-title-left h3 {
  font-size: 14px;
}
.content .children  .info-title-right h3 {
  font-size: 14px;
}

/*制作実績*/
.works {
  height: 600px;
  overflow: scroll;
  margin-top: 20px;
}
.works a {
  width: 100%;
}
/*６番目のaだけ非表示*/
.works a:nth-child(6) {
  display: none;
}
.works .company-name {
  font-size: 1.1rem;
}
.works .works-btn {
  width: 50%;
}
/*ニュース*/
.news-box-info {
  height: 200px;
}

/*フッター*/
#footer {
  margin-top: 40px;
}
#to-top {
  width: 40px;
  height: 40px;
  right: 10px;
  bottom:10px;
}
#to-top::after {
  left: 9px;
  bottom: 10px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
}

}





