@charset "utf-8";

html {
  font-size: 100%;
  margin: 0 auto;
}
body {
  color: #CD5C5C;
  background-color: #FEF4F4;
  font-family:  "M PLUS Rounded 1c", sans-serif;
  text-align: center;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: #CD5C5C;
}
li {
  list-style: none;
}
h1 {
  margin: 0 auto;
  padding: 15px;
}
h1,h2 {
  font-family: "Unkempt", cursive;
}
h1 {
  font-size: 86px;
}
h2 {
  display: inline-block;
  font-weight: 600;
  line-height: 1.4em;
  padding: 0 15px;
  background:#CD5C5C;
  color: #FEF4F4;
  margin: 25px auto 10px;
}


/* ヘッダー始まり！！！！！ */
header {
  display: flex;
  justify-content: center;
  font-family: "Unkempt", cursive;
  height: 60px;
  background-color: #CD5C5C;
}
header p {
  margin: 0 50px;
  color: #FEF4F4;
  line-height: 60px;
}
/* ヘッダー終わり！！！！！ */

/* フッダー始まり！！！！！ */
footer {
  font-family: "Unkempt", cursive;
  height: 60px;
  background-color: #CD5C5C;
}
footer p {
  margin: 0 50px;
  color: #FEF4F4;
  line-height: 60px;
}
/* フッダー終わり！！！！！ */

/* worksページ！！！！！ */
#works {
  margin: 0 auto;
}
.works-box {
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  width: 1000px;
}
.works-img {
  width: 320px;
  max-width: 100%;
}
.works-b-img,.works-l-img {
  width: 50%;
  height: 50%;
  max-width: 100%;
  max-height: 100%;
}
.works-p-img {
  width: 39%;
  height: 39%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: left;
}
.works-w-pc {
 margin: 0 auto;
 width: 50%;
 height: 50%;
 max-width: 100%;
}
.works-w-sp-box {
  display: flex;
  justify-content: space-between;
  width: 15%;
  margin: 0;
  padding: 0;
}
.works-w-sp {
  max-width: 100%;
  margin: 5px;
}
#Others-box {
  margin: 0 auto;
}
.Others {
  margin: 0px auto 15px;
  padding: 10px;
  width: 50%;
  background-color: #CD5C5C;
  color: #FEF4F4;
}
.Others a {
  display: inline-block;
  line-height: 0.5em;
  padding: 0px 10px;
  background:#ffffff;
  color: #CD5C5C;
  margin: 10px auto 0;
  font-size: 25px;
}
/* ポップアップの設定！！！！！ */
  /* ポップアップウインドウの設定 */
  .popup {
  background-color: #fff;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, .8);
  display: none;
  position: fixed;
  justify-content: center;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  margin: auto;
  width: 70vw;
  }
  /* チェックボックスの初期設定 */
  #popup-on1,#popup-on2,#popup-on3,
  #popup-on4,#popup-on5,#popup-on6,
  #popup-on7,#popup-on8,#popup-on9,#popup-on10,
  #popup-on11,#popup-on12,#popup-on13 {
    display: none;
  }
  /* チェックされたらポップアップウインドウを開く */
  #popup-on1:checked + .popup{
    display: block;
  }
  #popup-on2:checked + .popup{
    display: block;
  }
  #popup-on3:checked + .popup{
    display: block;
  }
  #popup-on4:checked + .popup{
    display: block;
  }
  #popup-on5:checked + .popup{
    display: block;
  }
  #popup-on6:checked + .popup{
    display: block;
  }
  #popup-on7:checked + .popup{
    display: block;
  }
  #popup-on8:checked + .popup{
    display: block;
  }
  #popup-on9:checked + .popup{
    display: block;
  }
  #popup-on10:checked + .popup{
    display: block;
  }
  #popup-on11:checked + .popup{
    display: block;
  }
  #popup-on12:checked + .popup{
    display: block;
  }
  #popup-on13:checked + .popup{
    display: block;
  }
  /* 閉じるボタン */
  .btn-close{
    background: #CD5C5C;
    border-radius: 10px;
    color: #FEF4F4;
    padding: 10px;
    cursor: pointer;
    margin: 25px auto 0;
    width: 85%;
    text-align: center;
    font-family: "Unkempt", cursive;
  }
  /* 開くボタン */
  .btn-open{
    border-radius: 10px;
    cursor: pointer;
    margin: 0px auto;
    width: 95%;
    text-align: center;
  }
  /* ポップアップの内容 */
  .popup-content{
    margin: 40px auto 0px auto;
    width: 90%;
    display: flex;
    justify-content: center;
  }
  .popup-content img{
    padding: left;
  }
  .popup-content div{
    margin: 0 20px;
    padding: right;
    line-height: 13px;
    text-align: left;
  }
  .popup-content div h3{
    margin: 30px 0;
  }
  .popup-content div h4{
    margin: 0;
    display: inline-block;
    font-weight: 600;
    line-height: 1.4em;
    padding: 0 15px;
    background:#FEF4F4;
  }
  .popup-content div h5{
    margin: 10px 0;
  }
/* worksページ！！！！！ */

/* aboutページ！！！！！ */
  .about-box {
    margin: 0 0 50px;
  }
  .about-box h2 {
    margin: 10px;
  }
  .profile-box {
    display: flex;
    justify-content: center;
    align-items: center
  }
  #profile-photo {
    width: 25%;
    height: 25%;
    margin: 10px;
  }
  .profile {
    width: 32%;
    margin: 0;
  }
  #kikkake-title {
    display: inline-block;
    font-weight: 600;
    line-height: 1.4em;
    padding: 5px 15px;
    background:#ffffff;
    color: #CD5C5C;
    margin: 0;
  }
  #kikkake-text {
    font-size: 14px;
    margin: 5px 15px;
    text-align: left;
  }
  .skill-box {
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }
  .skill {
    width: 300px;
    height: 450px;
    padding: 10px;
    background-color: #CD5C5C;
    color: #FEF4F4;
    margin: 10px;
  }
  .skill-title {
    font-weight: bold;
  }
  .skill-text {
    margin: 10px 3px;
    font-size: 14px;
    text-align: left;
  }
  .skill-photo {
    width: 250px;
    height: 250px;
  }

  /* アコーディオンパネル　*/
  .accordion {
    margin: 0 auto;
    max-width: 700px;
    margin-bottom: 7px;
    border: 2px solid #CD5C5C;
    border-radius: 5px;
    background-color: #CD5C5C;
}
.accordion summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2028%2028%22%3E%0A%20%20%20%20%3Ccircle%20cx%3D%2214%22%20cy%3D%2214%22%20r%3D%2214%22%20style%3D%22fill%3A%23cd5c5c%3B%22%2F%3E%0A%3C%2Fsvg%3E');
    background-position: right calc(2em - 7px) center;
    background-size: 22px;
    background-repeat: no-repeat;
    color: #FEF4F4;
    font-weight: 600;
    cursor: pointer;
}
.accordion summary::-webkit-details-marker {
    display: none;
}
.accordion summary::before,
.accordion summary::after {
    position: absolute;
    right: calc(2em + 2.5px);
    width: 3px;
    height: 10px;
    border-radius: 5px;
    background-color: #fff;
    content: '';
}
.accordion summary::before {
    rotate: 90deg;
}
.accordion summary::after {
    transition: rotate .3s;
}
.accordion[open] summary::after {
    rotate: 90deg;
}
.accordion p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 1.5em 2em;
    color: #CD5C5C;
    transition: transform .5s, opacity .5s;
    background-color: #ffffff;
    font-size: 14px;
}
.accordion[open] p {
    transform: none;
    opacity: 1;
}

  /* ホバー */
  .love-box {
    display: flex;
    justify-content: center;
  }
  .love {
    width: 320px;
    height: 320px;
    overflow: hidden;
    margin: 10px;
    position: relative;
  }
  .love-photo {
    width: 320px;
    height: 320px;
  }
  .love .caption {
    color: #FEF4F4;
    text-align: center;
    padding: 10px;
  }
  .love .caption .love-title {
    font-size: 25px;
    margin: 10px auto 0;
  }
  .love .caption .love-text {
    font-size: 14px;
    margin: 0 40px;
  }
  .love .mask {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;	/* 表示させない */
    background-color:	rgba(0,0,0,0.4);
    -webkit-transition:	all 0.6s ease;
    transition:		all 0.6s ease;
  }
  .love:hover .mask {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    opacity: 1;	/* ホバーで表示する */
  }
/* aboutページ！！！！！ */

/* contactページ！！！！！ */
.sns-box {
  display: flex;
  justify-content: center;
}
#facebook {
  background-image: url(../my-portfolio/image/facebook.png);
}
#instagram {
  background-image: url(../my-portfolio/image/instagram.png);
}
#tiktok {
  background-image: url(../my-portfolio/image/tiktok.png);
}
.sns-photo {
  margin: 25px 10px;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center; /* 横方向の中央揃え */
  align-items: center; /* 縦方向の中央揃え */
  background-size: cover; /* 背景画像をコンテナ全体にフィット */
  background-position: center; /* 画像を中央に配置 */
}
.sns-text {
  font-family: "Unkempt", cursive;
  display: inline-block;
  font-weight: 600;
  line-height: 1.4em;
  padding: 0 15px;
  background:#FEF4F4;
  color: #CD5C5C;
  margin: 0;
  text-align: center;  
  padding:  1px 5px;
  border: solid 2.5px;
  border-color: #CD5C5C;
}
#form-sentence {
  margin: 0 0 20px;
}
.form {
  width: 500px;
  height: 29px;
  border-color: #CD5C5C;
  border-width: 3px;
  border-top-left-radius: 29px;
  border-top-right-radius: 29px;
  border-bottom-left-radius: 29px;
  border-bottom-right-radius: 29px;
  margin: 8px 0 20px;
  padding: 0 15px;
  font-family:  "M PLUS Rounded 1c", sans-serif;
}
.form-text {
  width: 500px;
  height: 70px;
  border-color: #CD5C5C;
  border-width: 3px;
  border-top-left-radius: 29px;
  border-top-right-radius: 29px;
  border-bottom-left-radius: 29px;
  border-bottom-right-radius: 29px;
  margin: 8px 0 15px;
  padding: 15px;
  font-family:  "M PLUS Rounded 1c", sans-serif;
}
.submit {
  font-family:  "M PLUS Rounded 1c", sans-serif;
  width: 69px;
  height: 39px;
  background: #CD5C5C;
  color: #FEF4F4;
  font-size: 19px;
  border: none;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  margin: 0 0 15px;
}
/* contactページ！！！！！ */

/* homeページ！！！！！ */
#homa-body {
  background-color: #CD5C5C;
}
#home-header,#home-footer {
  background-color: #FEF4F4;
}
#home-header p,#home-footer p {
  color: #CD5C5C;
}
#home-main {
  margin: 0 auto;
  max-width: 1250px;
}
.item {
  position: relative;

}
.container-pc {
  margin: 5vh 0;
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 0.9fr 0.9fr 0.9fr;
  grid-template-rows: 108px 108px 108px 108px 108px 108px;
}
.container-sp {
  display: none;
}
.pcbox-big1 {
  grid-column: 1 / 3;
}
.pcbox-big2 {
  grid-column: 2 / 5;
  grid-row: 2 / 5;
  display: flex;
  justify-content: center;
  top: 3vh;
}
.pcbox-big3 {
  grid-row: 2 / 5;
}
.pcbox-big4 {
  grid-column: 3 / 5;
}
.pcbox-big5 {
  grid-row: 1 / 3;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pcbox-big6 {
  grid-column: 2 / 5;
  display: flex;
  justify-content: center;
  align-items:flex-end;
  top: 4vh;
}
.pcbox-big6 div{
  width: 500px;
}
#home-title-pc {
  margin: 0;
  color: #CD5C5C;
  font-size: min(11vw,118px);
  font-family: "Unkempt", cursive;
  font-weight: bold;
  transform: rotate(-3.8deg);
  text-shadow: 
  3px 3px 0 white,  
  -3px -3px 0 white,  
  3px -3px 0 white,  
  -3px 3px 0 white; /* 縁取り */
  position: absolute;   /* 絶対配置 */
  right: 0;
  bottom: 0;
}
.menu {
  margin: 0 15px;
  width: 100px;
}
#home-name-pc {
  margin: 0;
  color: #FEF4F4;
  font-size: min(4.7vw,47px);
  font-weight: bold;
  position: absolute;   /* 絶対配置 */
  right: 0;
  bottom: 0;
  white-space: nowrap;
}
#koala {
  margin: 0 auto;
  width: 53vw;
  max-width: 550px;
}
#dog {
  width: 9vw;
  max-width: 113px;
  transform: rotate(-10deg);
  position: absolute;   /* 絶対配置 */
  top: 0;
  right: 5px;
}
#cat {
  width: 9vw;
  max-width: 115px;
  transform: rotate(10deg);
  position: absolute;   /* 絶対配置 */
  left: 5px;
  bottom: 0;
}
#unicorn {
  width: 19vw;
  max-width: 230px;
  transform: rotate(15deg);
  position: absolute;   /* 絶対配置 */
  bottom: 0;
  right: 0;
}
#c-s-monkey {
  width: 15vw;
  max-width: 210px;
  transform: rotate(10deg);
}
#leopard {
  width: 7.5vw;
  max-width: 90px;
  transform: rotate(-10deg);
  position: absolute;   /* 絶対配置 */
  top: 50px;
  left: 5px;
}
#manedwolf {
  width: 8.5vw;
  max-width: 100px;
  transform: rotate(10deg);
  position: absolute;   /* 絶対配置 */
  right: 0;
  bottom: 50px;
}
#wolverine {
  width: 9vw;
  max-width: 105px;
  transform: rotate(20deg);
  position: absolute;   /* 絶対配置 */
  right: 0;
  bottom: 25px;
}
#ratel {  
  width: 9.7vw;
  max-width: 115px;
  transform: rotate(-20deg);
  position: absolute;   /* 絶対配置 */
  left: 32px;
  top: 25px;
}
#wolf {
  width: 8.5vw;
  max-width: 106px;
  transform: rotate(-10deg);
  position: absolute;   /* 絶対配置 */
  left: 3px;
  bottom: 0;
}
#lion {
  width: 9.5vw;
  max-width: 120px;
  transform: rotate(10deg);
  position: absolute;   /* 絶対配置 */
  right: 3px;
  bottom: 0;
}
/* homeページ！！！！！ */

/* digitalページ！！！！！ */
.digital-box {
  margin: 0 auto 50px;
}
.tshort-img {
  width: 190px;
  margin: 0 auto;
}
.tshort-text {
  text-align: center;
  color: #CD5C5C;
  margin: 10px 0;
  font-weight: 600;
  line-height: 1.4em;
  padding: 0;
  background:#FEF4F4;
}
.tshort-text-end {
  text-align: center;
  color: #CD5C5C;
}
.tshort-popup {
  display: flex;
  justify-content: center;
  align-items:flex-end;
}
.tshortmoto-img {
  display: block; /* 画像はブロック要素として扱う */
  margin: 0 auto; /* 上下の余白を自動調整 */
  width: 300px;
}

/* digitalページ！！！！！ */

/* analogページ！！！！！ */
.analog {
  display: flex;
  justify-content: center;
}
.row1st {
  height: 340px;
  margin: 10px;
  max-width: 100%;
}
.row2nd {
  height: 300px;
  margin: 10px 11.5px;
  max-width: 100%;
}
.row3rd {
  height: 365px;
  margin: 10px 9.5px;
  max-width: 100%;
}
.row4th {
  height: 350px;
  margin: 10px 15px 10px 0;
  max-width: 100%;
}
.row5th-box {
  margin: 10px 0;
}
.row5th {
  height: 170px;
  margin: 0 0 5px;
  max-width: 100%;
}
/* analogページ！！！！！ */
