@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css?family=Libre+Caslon+Text&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box; /*余白や線を幅や高さに含める*/
}

html {
  font-size: 100%;
  scroll-behavior: smooth; /* スムーズスクロール */
}

body {
  font-family: "Noto Sans JP";
  background-color: #F8F8F8;
  color: #5E5E5E;
}

.wrapper {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

img {
    max-width: 100%;
    height: auto; 
}

hr {
    padding-top: 40px;
    border: none;
}

h1 {
    font-size: 1.3rem;
    padding: 0.2em 0.5em;/*上下 左右の余白*/
    margin: 1.5em 0.5em 0.5em 0.5em;
    color: #2c2c2c;/*文字色*/
    border-left: solid 3px #C7313B;/*左線*/
}

h2 {
    font-size: 1.1rem;
    padding: 0.5em 1.5em;
    color: #2c2c2c;/*文字色*/
}

h3{
    font-size: 1rem;  
    padding: 0.3em 1.6em;
    color: #2c2c2c;/*文字色*/
}


p  {olor: #5E5E5E;/*文字色*/
    font-size: 0.9rem;
    padding: 0.5em 2em;
    line-height: 1.8;
}

.highlight {
  color: #C7313B;
}

.tsukimi {
  font-family: "Tsukimi Rounded", sans-serif;
  font-weight: 600;
  font-style: normal;
}






/*-------------------------------------------
 ヘッダー
-------------------------------------------*/

header {
    background-color: #F8F8F8;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 4;
    height: 50px;
}

header .wrapper {
    display: flex;
    justify-content: space-between;
}

header a {
    color: #2c2c2c;
    font-size: 1rem;
}

header a:hover {
    color: #C7313B;
    transition: 0.2s;
}

.logo {
    width: 110px;
}

.btn-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 1px solid rgba(217,217,217,2);
    color: #2c2c2c;
    padding: .5rem 1rem;
    border-radius: 5px;
}

.main-nav {
    background-color: #F8F8F8;
    width: 0;
    position: absolute;
    top: 50px;
    right: 0;
    overflow: hidden;
    transition: .5s;
    z-index: 5;
}


.main-nav li {
    text-align: center;
    margin: 2rem 0;
}

.main-nav a {
    display: block;
}

.main-nav a:hover {
    color: #C7313B;
    transition: 0.3s;
}

.main-nav.open-menu {
    width: 100%;
}

.header-hight {
    padding-top: 50px; /* 上の空白を50pxに指定 */
}


.notfound {
  position: relative;
  font-size: 2rem;
  font-family: "Noto serif JP";
  color: #2c2c2c;
  line-height: 1.8;
  margin: 0 auto;
  padding: 100 auto 30px;
  text-align: center;
}





/*==================================================
 メインビジュアル
===================================*/

.ripple-wrapper {
  position: relative;
  max-width: 100%;
  height: 100vh;
  background-color: #f8f8f8;
  overflow: hidden;
  z-index: 1;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}


.ripple {
  position: absolute;
  width: 120px;
  height: 120px;
  background-color: none;
  border: 2px solid rgba(199, 49, 59, 1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1.5;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}

.main-text {
  position: relative;
  font-size: 2rem;
  font-family: "Noto serif JP";
  z-index: 2;
  color: #2c2c2c;
  line-height: 2.2em;
  margin: 0 auto;
  top: 30%;
  left: 45%;
}



/*==================================================
ウェーブ
===================================*/

.wave{
position:relative;
height: -80px;/*何も表示されない場合は各波の親要素に高さを持たせましょう。*/
}
canvas{
position: absolute;
bottom: 0;
left:0;
width: 100%;
}



/*==================================================
スライダー
===================================*/
.slider img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
    margin:0 10px;/*スライド左右の余白調整*/
}



/*==================================================
キャッチコピー
===================================*/
#catchcopy {
  position: relative;
  font-size: 1.3rem;
  font-family: "Noto serif JP";
  color: #2c2c2c;
  line-height: 1.8;
  margin: 0 auto;
  padding: 100 auto 30px;
  text-align: center;
}



/*==================================================
スクロール促し
===================================*/

.scroll-indicator {
  position: absolute;
  bottom: 160px;
  left: 50%;
  transform: translateX(-50%);
  height: 60px;
  width: 2px;

}


.arrows {
  position: relative;
  display: flex;
  height: 300px;/*画面いっぱいにする場合100vh*/
  justify-content: center;
  align-items: center;
}
.arrows .arrow {/*矢印を配置するベースの設定*/
  position: absolute;
  top: 50%;/*着地点(cp_arrowsの高さの50%)*/
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 10px;
  opacity: 0;
}
.arrows .arrow:first-child {
  animation: arrow-move08 2s ease-in-out infinite;
}
.arrows .arrow:nth-child(2)  {
  animation: arrow-move08 2s 1s ease-in-out infinite;
}
.arrows .arrow:before,
.arrows .arrow:after {/*矢印全体の設定*/
  position: absolute;
  content: '';
  top: 0;
  width: 30px;
  height: 3px;
  background: #d9d9d9;
}
.arrows .arrow:before {/*矢印左の線の位置と傾斜*/
  left: 3px;
  transform: rotate(30deg);
}
.arrows .arrow:after {/*矢印左の線の位置と傾斜*/
  right: 3px;
  transform: rotate(-30deg);
}
@keyframes arrow-move08 {
    0% { opacity: 0; top: 40%;/*スタート地点(cp_arrowsの高さの40%)*/}
   70% { opacity: 1;}
  100% { opacity: 0;}
}




/*-------------------------------------------
 ボタン
-------------------------------------------*/

/*== 下線が伸びて背景に変わる　*/
.btn-skills{
    /*線の基点とするためrelativeを指定*/
	position: relative;
    /*ボタンの形状*/
	color: #C7313B;
    padding: 0.5em 1em;
    margin: 10px 20px 10px 0px;
	display: inline-block;
    text-decoration: none;
    outline: none;
}

/*テキストの設定*/
.btn-skills span{
    /*テキストを前面に出すためz-indexの値を高く設定*/
	position:relative;
	z-index: 2;
}

.btn-skills:hover span{
	color: #F8F8F8;
}

/*線の設定*/
.btn-skills::after {
	content:'';
    /*絶対配置で線の位置を決める*/
	position:absolute;
	z-index:1;
	bottom:0;
	left:0;
    /*線の形状*/
	background:#C7313B;
	width:100%;
	height:2px;
    /*アニメーションの指定*/
	transition:all 0.3s ease-in-out;
}

/*線が伸びて背景に*/
.btn-skills:hover::after {
	height:100%;
}



/*== 下線が伸びて背景に変わる　*/
.btn{
    /*線の基点とするためrelativeを指定*/
	position: relative;
    /*ボタンの形状*/
	color: #C7313B;
    padding: 0.5em 1em;
    margin: 10px 20px 10px 30px;
	display: inline-block;
    text-decoration: none;
    outline: none;
}

/*テキストの設定*/
.btn span{
    /*テキストを前面に出すためz-indexの値を高く設定*/
	position:relative;
	z-index: 2;
}

.btn:hover span{
	color: #F8F8F8;
}

/*線の設定*/
.btn::after {
	content:'';
    /*絶対配置で線の位置を決める*/
	position:absolute;
	z-index:1;
	bottom:0;
	left:0;
    /*線の形状*/
	background:#C7313B;
	width:100%;
	height:2px;
    /*アニメーションの指定*/
	transition:all 0.3s ease-in-out;
}

/*線が伸びて背景に*/
.btn:hover::after {
	height:100%;
}



/*== 下線が伸びて背景に変わる　*/
.btn-9th{
    /*線の基点とするためrelativeを指定*/
	position: relative;
    /*ボタンの形状*/
	color: #C7313B;
    padding: 0.5em 1em;
    margin: 10px 20px 10px 0px;
	display: inline-block;
    text-decoration: none;
    outline: none;
}

/*テキストの設定*/
.btn-9th span{
    /*テキストを前面に出すためz-indexの値を高く設定*/
	position:relative;
	z-index: 2;
}

.btn-9th:hover span{
	color: #F8F8F8;
}

/*線の設定*/
.btn-9th::after {
	content:'';
    /*絶対配置で線の位置を決める*/
	position:absolute;
	z-index:1;
	bottom:0;
	left:0;
    /*線の形状*/
	background:#C7313B;
	width:100%;
	height:2px;
    /*アニメーションの指定*/
	transition:all 0.3s ease-in-out;
}

/*線が伸びて背景に*/
.btn-9th:hover::after {
	height:100%;
}





/*矢印が右に移動する*/
.back-btn{
    /*矢印と下線の基点とするためrelativeを指定*/
	position: relative;
    /*形状*/
    display: inline-block;
	padding: 0 20px;
    color: #C7313B;
    text-decoration: none;
    outline: none;
}

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

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

/*hoverした際の移動*/
.back-btn:hover::before{
    left:-10%;
    background: #C7313B;
}

.back-btn:hover::after{
    left:-10%;
    background: #C7313B;
}




 a.contact-btn  {
    display: block;
    width: 100%;  
    max-width: 300px; 
    margin: 20px auto; 
    padding: 1rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 5px;
    background: #C7313B;
    color: #f8f8f8;
    text-align: center;
    text-decoration: none;
    line-height: 1.5;
    font-size: 1rem;
    font-weight: normal;
    transition: 0.3s;
  }

  a.contact-btn:hover {
    border: 1px solid #C7313B;
    background: transparent;
    color: #C7313B;
 }




/*-------------------------------------------
プロフィール
-------------------------------------------*/
#profile .content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#profile img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin: 20px 0; /* 下に余白だけ付ける */
  text-align: right;
}

#profile .text {
  text-align: left;
}

br.br-pc {
  display: none;
}


/*-------------------------------------------
プロフィール詳細
-------------------------------------------*/


/*タイムライン全体の設定*/
.timeline{
	max-width: 600px;
	width:100%;
	margin:50px auto 0px;
	padding:0 20px;
}

.timeline li{
    /*線の起点とするためrelativeを設定*/
    position: relative;
	list-style: none;
	padding:0 0 20px 0;
}

.timeline dl{
	margin: 0 30px 40px;
    padding-top: -30px;
    line-height: 1.8;
}

.timeline dt{
	color: #2c2c2c;
    font-size: 1rem;
}

.timeline dd{
    font-size: 0.9rem;
}



/*絶対配置で線を設定*/
.border-line {
    /*線の位置*/
	position: absolute;
	left:0.2em;
	top:10px;
	width:3px;/*線の太さ*/
	height:0;/*はじめは高さを0に*/
	background: #d9d9d9;
    
}

/*タイムラインの見出し横の丸の位置と形状*/
.timeline li::after{
	content:'';
	position: absolute;
	top:10px;
	left:0;
	width: 10px;
	height: 10px;
	background:#C7313B;
	border-radius: 50%;
}

.buy-line{
        width:100%;
    }
    


/* PC表示（幅768px以上） */
@media (min-width: 800px) {
    
    
.timeline{
	margin:50px auto;
	padding:0 30px;
}


.timeline li{
    /*線の起点とするためrelativeを設定*/
    position: relative;
	list-style: none;
	padding:0 0 20px 0;
}

.timeline dl{
	margin: 0 30px 40px;
    padding-top: -30px;
    line-height: 1.8;
}

.timeline dt{
	color: #2c2c2c;
    font-size: 1rem;
}

.timeline dd{
    font-size: 0.9rem;
}


}



/*-------------------------------------------
 スキル
-------------------------------------------*/

/*フェードイン*/

.fade-in-section {
  opacity: 0;
  transform: translateY(1px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}



.skills {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
}


.skill-box {
　background-color: transparent;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

/* アイコン画像 */
.skill-icon {
  width: 100px;
  height: auto;
  margin-bottom: 12px;
}

/* タイトル */
.skill-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

/* 説明文 */
.skill-description {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #5e5e5e;
  text-align: justify;
}

.skill-description-2 {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #5e5e5e;
}




/*ボーダー表示*/
.skill-border {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    padding: 15px 0px 15px 15px;
}

.skill-border-text{
    
}

.skill-border-box {
　background-color: transparent;
  padding: 30px;
  text-align: left;
}

h4 {
    color: #2c2c2c;
    font-weight: 500;
    margin-top: 5px;
}


.skill-qca {
    margin: 30px 0px 0px;
}





 
/*-------------------------------------------
作品一覧
-------------------------------------------*/

/*波紋*/

.circle span.mask{
	position: relative;/*波紋の基点となる位置を定義*/
    display: block;
    line-height: 0;/*行の高さを0にする*/
    overflow: hidden;/*拡大してはみ出る要素を隠す*/
}

.circle span.mask::before {
	position: absolute;
	content:"";
	transform: scale(0);/*円の大きさ初期値は0*/
	opacity: 0;/*透過0*/
	width:100%;/*円のサイズ指定*/
	height:100%;/*円のサイズ指定*/
	border-radius:50%;/*円の角丸指定*/
	background: rgba(255,255,255,0.4);/*円の背景色*/
}

.circle span.mask:hover::before {/*hoverした時の変化*/
	animation: circle 0.75s;/*アニメーションの名前と速度を定義*/
}

@keyframes circle {
  0% {
  transform: scale(0);
  opacity: 1;/*透過なし*/
  }
  30% {
    opacity: 1;
  }
  100% {
  transform: scale(2);/*アニメーションで大きくなった2倍の円の指定*/
  }
}




/*フィルター*/

#portfolio-filter {
    margin-bottom: 20px;
    text-align: center;
}

.filter-button {
    position: relative;
    background-color: transparent;
    font-size: 1.1rem;
    border: none;
    padding: 5px 15px;
    margin: 10px;
    cursor: pointer;
}


 .filter-button::after {
    position: absolute;
    top: 0;
    content: '';
    width: 2px;
    height: 100%;
    background: #C7313B;
    left: 6px; /*アンダーラインが現れ始める位置（aタグの下辺からの高さ）*/
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
 }

.filter-button:hover::after {
    visibility: visible;
    bottom: 5px;
    opacity: 1;
 }


.filter-button.active {
    color: #C7313B;
}


/* 非表示にするためのクラス */
.flex.hide {
    display: none; 
}





/*作品セクション*/

.flex {
   max-width: 100%;
   margin: 30px auto;
}

.flex .img {
  max-width: 100%; /*画像サイズ指定*/
  display: block;
  overflow: hidden;
  position: relative;
  margin: 0px 30px;
}

.flex .right {
  margin-bottom: 50px;
  padding: 0;
}

.flex .title {
  padding: 10px 10px 5px 30px;
  font-size: 1.1rem;
}

.flex .text {
  padding: 0px 30px 10px 30px;
}


  /*-------------------------------------------
   各作品ページ
  -------------------------------------------*/


.contents {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.contents-image {
  width: 100%;
  height: auto;
  padding: 10px 10px 10px 15px;
}

.contents-text {
  font-size: 0.9rem;
  line-height: 1.6;
}
        
.contents-table {
  width: 90%;
  border-collapse: collapse;
  margin: 16px;
}

.contents-table th,
.contents-table td {
  border: none; /* すべての罫線を一旦リセット */
  border-bottom: 1.5px solid #d9d9d9; /* 下線だけを表示 */
  padding: 8px 15px;
  text-align: left;
  font-size: 0.9rem;
}

.contents-table th {
  background-color: transparent; /* 背景なし */
  font-weight: normal;
  color: #2c2c2c;
  width: 30%;
}

.contents-table td {
  background-color: transparent; /* 背景なし */
  font-weight: normal;
  color: #5e5e5e;
}

.contents-table a {
 transition: 0.3;
}

.contents-table a:hover {
 transition: 0.3;
 color: #C7313B;
}


  /*-------------------------------------------
  コンタクト
  -------------------------------------------*/


.contact-p {
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.9;
}



  /*-------------------------------------------
  フッター
  -------------------------------------------*/

footer {
    width: 100%;
    margin-top: 50px;
    background-color: #d9d9d9;
    line-height: normal;
    text-align: center;
}

.footer-contents {
    padding: 50px;
    font-size: 0.8rem;      
    text-align: center;
    line-height: 1.8;
    font-family: "Tsukimi Rounded", sans-serif;
    font-weight: 500;
    font-style: normal;
}



  /*-------------------------------------------
   Media Query
  -------------------------------------------*/

  @media (min-width: 700px) {
       /*　画面サイズが700pxより大きい場合(デスクトップサイズ)　*/
      
  /*------------- Header -------------*/
    .btn-menu {
        display: none;
    }

    .main-nav {
        width: 100%;
        position: static;
        display: flex;
    }

    .main-nav li {
        margin: 0 0 0 1.5rem;
        padding: 3px 0;
    }

  .flex{
        max-width: 100%;
        display:flex;
        justify-content:space-between;
      }

  .flex .right {
        width: auto;
        margin: 0 0 0 20px;
        padding: 0;
      }

  .flex .img {
        max-width: 40%; /*画像サイズ指定*/
        padding: 10px;
      }

  /*------------- profile -------------*/ 
      #profile .content {
        flex-direction: row;
      }

      #profile img {
        margin: 0 10px 0 20px; /* 右に余白 */
      }

      #profile .text {
        text-align: left;
      }
      
      
      br.br-pc {
        display: inline;
      }

      
  /*------------- skill -------------*/ 

            
      .skill-border p {
        padding-top: 0px;
      }
      
      
      
      .skill-border {
        flex-direction: row;
        margin: 0 30px;
      }
      
      .skill-border-box {
        flex: 1;
      }
      
      
      .contents {
        flex-direction: row;
        align-items: flex-start;
      }

      .contents-image {
        width: 50%;
      }

      .contents-text {
        width: 50%;
        padding-left: 24px;
      }

      
      a.contact-btn {
        font-size: 1.1rem;
        padding: 1rem 2.5rem;
        max-width: 360px;
      }
      
      .contact-p {
        text-align: center;
    }
      
}

