/* CSS Document */

@charset "UTF-8";
@media screen and (min-width: 769px) {
  .pc {
    display: block !important;
  }
  .sp {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .sp {
    display: block !important;
  }
  .pc {
    display: none !important;
  }
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-family: "メイリオ", Meiryo, Osaka, "ＭＳＰゴシック", "MS PGothic";
  color: #030303;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.8px;
  word-break: break-all;
}

a {
  color: #1ca9e3;
  text-decoration: none;
}

a:hover,
a:hover img {
  opacity: 0.8;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

img,
video,
object {
  max-width: 100%;
  height: auto;
  border: none;
  vertical-align: bottom;
  display: block;
}

ul,
li {
  list-style: none;
}

.center {
  text-align: center;
}

/*--------------------------------
　全体
---------------------------------*/

#wrapper {
  background-color: #fff;
}

.inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 10px;
}

#contents {
  padding: 50px 0;
}

/*--------------------------------
　ヘッダー
---------------------------------*/

#header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  height: 550px;
  background-image: url(../img/731745.png);
}

#header .logo {
  display: block;
}

#header .logo-name {
  display: block;
  font-family: "Amatic SC", cursive;
  font-size: 32px;
  line-height: 1;
  text-align: center;
  color: #757575;
  margin-bottom: 5px;
}

#header .logo-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 88px;
  font-weight: bold;
  color: #dc143c;
  line-height: 1;
  letter-spacing: 0.1em;
}

#header .logo-desc {
  display: block;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-align: center;
  margin-top: 10px;
}

#header p {
  text-align: center;
  font-size: 12px;
  color: #757575;
}

/*--------------------------------
　グローバルナビ
---------------------------------*/

#gnav {
  padding: 10px;
  font-family: "Cormorant Garamond", serif;

  z-index: 100;
  background-color: #dc143c;
}

#gnav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

#gnav li {
  padding: 0 30px;
}

#gnav li a {
  font-weight: bold;
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: lowercase;
}

#gnav.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #dc143c;
  box-shadow: 0px 6px 3px -3px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0px 6px 3px -3px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 6px 3px -3px rgba(0, 0, 0, 0.2);
  transform: translate3d(0, 0, 0);
}

/*--------------------------------
　Section
---------------------------------*/

.section .inner {
  padding: 50px 10px;
}

.section .section-title-block {
  text-align: center;
  margin-bottom: 30px;
}

.section .section-title {
  font-family: "Cormorant Garamond", serif;
  text-transform: lowercase;
  letter-spacing: 0.2em;
  display: inline-block;
  font-size: 36px;
  line-height: 1;
  margin-bottom: 10px;
  color: rgba(233, 30, 99, 0.5);
}

.section .section-desc {
  text-align: center;
}

.green {
  color: #2e8b57;
  background: #f5fffa;
  font-weight: bold;
  padding: 0 3px;
}

.pink {
  color: #f08080;
  background: #fff5ee;
  font-weight: bold;
  padding: 0 3px;
}

.two-column-wrapper {
  width: 80%;
  margin: 0 auto;
  padding: 20px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.two-column-image {
  width: 33%;
}

.two-column-image img {
  margin: 0 auto;
}

.two-column-desc {
  width: 62%;
}

/*--------------------------------
　feature
---------------------------------*/

#feature .two-column-image {
  width: 48%;
}

#feature .two-column-desc {
  width: 48%;
}

.title01 {
  color: #fff;
  font-size: 13px;
  padding: 3px 5px;
  background: rgba(233, 30, 99, 0.6);
  text-align: center;
  margin-bottom: 5px;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

.title03 {
  color: #fff;
  font-size: 13px;
  padding: 3px 5px;
  background: rgba(233, 30, 99, 0.6);
  text-align: center;
  margin-bottom: 5px;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

/*--------------------------------
　works
---------------------------------*/
#works {
  background-color: #ffffe0 !important;
}

#works .card {
  width: 32%;
  margin: 0 10px 30px 0;
}

.card ul {
  display: flex;
}

.card li {
  margin-right: 10px;
}

.two-column-desc ul {
  display: flex;
}

.two-column-desc li {
  margin-right: 10px;
}

#works .card-image {
  display: block;
  margin-bottom: 8px;
}

.card-caption-title {
  font-size: 12px;
  margin: 10px 0 3px;
  color: rgba(233, 30, 99, 0.7);
  background: #ffffe0;
  display: inline-block;
  border: solid 1px;
  padding: 0 5px;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

#works .card-caption-info {
  font-size: 12px;
}

#works .card-caption-url {
  font-size: 10px;
}

#works .card-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: flex-start;
  margin-top: 10px;
}

.card-caption {
  background: #fff;
  border: solid 1px #f5deb3;
  padding: 10px;
  min-height: 345px;
  border-radius: 5px;
  box-shadow: 1px 1px 2px #dcdcdc;
}

.work-title {
  font-size: 14px;
  background: #dc143c;
  display: inline-block;
  padding: 0 10px;
  margin-bottom: 10px;
  color: #fff;
  border-radius: 5px;
  font-weight: normal;
}

.bunner {
  margin-top: 10px;
}

.bunner ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 20px;
  align-items: start;
}

.bunner li {
  width: calc(33% - 10px);
  margin-bottom: 10px;
  margin-right: 10px;
}

.bunner li:nth-child(3n) {
  margin-right: 0;
}

.ptitle_inner {
  font-size: 12px;
  padding: 5px;
  background-color: #dc143c;
  color: #fff;
}

.portrait img {
  max-height: 300px;
}

.other_title {
  font-weight: bold;
}

/*--------------------------------
　about
---------------------------------*/

#about .two-column-image {
  width: 33%;
}

#about .two-column-desc {
  width: 62%;
}

ul,
li {
  margin: 0;
  padding: 0;
}

.timeline_title {
  font-family: "M PLUS Rounded 1c", sans-serif;
}

.cp_timeline04 {
  position: relative;
  padding: 50px 10px;
}

.cp_timeline04:before {
  position: absolute;
  top: 0px;
  left: 45px;
  width: 3px;
  height: 100%;
  content: "";
  background: #e91e63;
}

.cp_timeline04 .timeline_item {
  margin: 0px 80px;
}

.cp_timeline04 .timeline_item .time_date .time {
  font-family: serif;
  font-size: 6em;
  font-weight: bold;
  position: relative;
  margin: 0;
  letter-spacing: 3px;
  color: rgba(233, 30, 99, 0.1);
}

.cp_timeline04 .timeline_item .time_date .time:before {
  position: absolute;
  top: 50%;
  left: -49px;
  width: 10px;
  height: 10px;
  content: "";
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  border: 3px solid #e91e63;
  background: #fff;
}

.cp_timeline04 .timeline_item .time_date .flag {
  font-size: 1.5em;
  font-weight: bold;
  margin: 0;
  margin-top: -60px;
  color: #880e4f;
}

.cp_timeline04 .timeline_item .desc {
  line-height: 20px;
  margin-top: 10px;
  padding-left: 20px;
  border-left: 1px solid #880e4f;
}

.desc p {
  margin-top: 10px;
}

/* .desc ul,li {
  margin-top: 10px;
} */

.desc ul p {
  padding-left: 16px;
}

/* アコーディオン */
ul {
  list-style: none;
}

#ac-menu .label {
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  color: rgba(233, 30, 99, 0.7);
  padding: 10px;
  position: relative;
  transition: 0.5s;
  margin-top: 10px;
  border: solid 1px rgba(233, 30, 99, 0.2);
}

#ac-menu .label:hover {
  background: rgba(233, 30, 99, 0.05);
}

/*
ラベル右側のアイコン「＋」を設定
beforeが横棒
afterが縦棒
*/
#ac-menu .label::before,
#ac-menu .label::after {
  content: "";
  width: 20px;
  height: 1px;
  background: rgba(233, 30, 99, 0.5);
  position: absolute;
  top: 50%;
  right: 2%;
  transform: translateY(-50%);
}

#ac-menu .label::after {
  transform: translateY(-50%) rotate(90deg);
  transition: 0.5s;
}

/*
アコーディオンメニューが開いている場合
*/
/* #ac-menu .label.open {
    background: rgba(233, 30, 99, 0.1);
}  */

#ac-menu .label.open::before {
  opacity: 0;
}

#ac-menu .label.open::after {
  transform: rotate(180deg);
}

/*
アコーディオンメニューのコンテンツ部分は、「display: none;」で非表示にしておく。
ラベルクリック時にjQueryの「  $(this).next().slideToggle();」で表示に切り替わる
*/
#ac-menu .detail {
  padding: 35px 30px;
  display: none;
}

#ac-menu .detail dl {
  display: flex;
  flex-wrap: wrap;
}

#ac-menu .detail dt {
  width: 20%;
  font-weight: bold;
  margin-bottom: 40px;
}

#ac-menu .detail dd {
  width: 80%;
  margin-bottom: 40px;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 600px) {
  #ac-menu .label {
    padding: 10px;
  }

  #ac-menu .detail {
    padding: 35px 0;
  }

  #ac-menu .detail dl {
    flex-direction: column;
  }

  #ac-menu .detail dt {
    width: 100%;
    margin-bottom: 10px;
  }

  #ac-menu .detail dd {
    width: 100%;
    padding-left: 10px;
  }
}

@media only screen and (max-width: 767px) {
  .cp_timeline04:before {
    left: 15px;
  }

  .cp_timeline04 .timeline_item .time_date .time:before {
    left: -19px;
  }

  .cp_timeline04 .timeline_item {
    margin: 0px 0px 0px 20px;
  }

  .cp_timeline04 .timeline_item .desc {
    padding-left: 0px;
    border-top: 1px solid #880e4f;
    border-left: none;
  }
}

/*--------------------------------
 skill
---------------------------------*/
#skill {
  background-color: rgb(255, 255, 224);
}

#skill .card-wrapper {
  width: 80%;
  margin: 0 auto;
  padding: 20px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#skill .card {
  flex-basis: 46%;
  margin-bottom: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

#skill .skill-icon {
  flex-basis: 75px;
}

#skill .skill-icon img {
  width: 75px;
}

#skill .skill-desc {
  flex-basis: calc(100% - 75px - 30px);
}

#skill .skill-desc-title {
  margin-bottom: 3px;
}

#skill .rate {
  font-size: 16px;
  position: relative;
  display: inline-block;
  width: 100%;
  height: 20px;
  letter-spacing: 0.3em;
}

#skill .rate:before,
#skill .rate:after {
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  height: 20px;
  content: "★★★★★";
}

#skill .rate:before {
  color: #ddd;
}

#skill .rate:after {
  overflow: hidden;
  white-space: nowrap;
  color: #f181b4;
}

#skill .rate1:after {
  width: 20px;
}

#skill .rate2:after {
  width: 40px;
}

#skill .rate3:after {
  width: 60px;
}

#skill .rate4:after {
  width: 80px;
}

#skill .rate5:after {
  width: 100px;
}

/*--------------------------------
 contact
---------------------------------*/

#contact .contact-list {
  padding: 20px 0;
}

#contact .contact-list ul {
  width: 40%;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  align-self: flex-end;
}

#contact .contact-list li {
  text-align: center;
}

#contact .contact-list li a {
  color: #333;
}

#contact .contact-list li img {
  width: 60px;
  margin: 0 auto 5px;
}

#contact .contact-list-desc {
  font-size: 12px;
  font-weight: bold;
}

#pageTop {
  position: fixed;
  bottom: 145px;
  right: -195px;
  z-index: 999;
}

#pageTop img {
  width: 10%;
}

/*--------------------------------
 Footer
---------------------------------*/

#footer {
  background-color: #dc143c;
}

#footer .inner {
  padding: 30px;
}

#footer .footer-link ul {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  margin-bottom: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  justify-content: center;
}

#footer .footer-link li {
  font-size: 12px;
  padding: 0 20px;
}

#footer .footer-link li a {
  color: #fff;
  font-weight: bold;
}

#footer .copyright {
  font-size: 10px;
  color: #fff;
  text-align: center;
}

/*media Queries 768
----------------------------------------------------*/

@media screen and (max-width: 768px) {
  .title01 {
    font-size: 12px;
  }

  .title03 {
    font-size: 12px;
  }

  .card-caption {
    min-height: 225px;
  }
}

/*media Queries 767
----------------------------------------------------*/

@media screen and (max-width: 767px) {
  body {
    font-size: 13px;
    line-height: 1.7;
  }

  #header {
    height: 60vh;
  }

  #header .logo-title {
    font-size: 40px;
  }

  #header .logo-name {
    font-size: 16px;
  }

  #header .logo-desc {
    font-size: 10px;
  }

  #gnav li {
    padding: 0 10px;
  }

  #gnav li a {
    font-size: 12px;
  }

  #gnav li a:hover {
    opacity: 1;
  }

  #contents {
    padding: 0;
  }

  .section .inner {
    padding: 30px 15px;
  }

  .section .section-title-block {
    margin-bottom: 10px;
  }

  .section .section-title {
    font-size: 32px;
  }

  #feature .two-column-wrapper {
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  #feature .two-column-image {
    width: 90%;
    margin: 0 auto 20px;
  }

  #feature .two-column-desc {
    width: 100%;
  }

  #works .card {
    width: 48%;
  }

  #works .card:nth-child(even) {
    margin-right: 0;
  }

  #works .card-caption-title {
    font-size: 12px;
  }

  #works .card-caption-info {
    font-size: 11px;
  }

  #about .two-column-wrapper {
    width: 100%;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  #about .two-column-image {
    width: 50%;
    margin: 0 auto 20px;
  }

  #about .two-column-desc {
    width: 100%;
  }

  #skill .card-wrapper {
    width: 100%;
  }

  #skill .card {
    flex-basis: 100%;
  }

  #skill .skill-icon {
    flex-basis: 45px;
  }

  #skill .skill-icon img {
    width: 45px;
  }

  #skill .skill-desc {
    flex-basis: calc(100% - 45px - 20px);
  }

  #skill .rate {
    height: 15px;
    font-size: 15px;
  }

  #skill .rate:before,
  #skill .rate:after {
    height: 15px;
    line-height: 15px;
  }

  #skill .rate1:after {
    width: 15px;
  }

  #skill .rate2:after {
    width: 35px;
  }

  #skill .rate3:after {
    width: 55px;
  }

  #skill .rate4:after {
    width: 75px;
  }

  #skill .rate5:after {
    width: 95px;
  }

  #contact .contact-list ul {
    width: 100%;
  }

  #contact .contact-list li {
    flex-basis: 30%;
  }

  #contact .contact-list li img {
    width: 30px;
  }

  #contact .contact-list-desc {
    font-size: 12px;
  }

  #footer .inner {
    padding: 20px 0;
  }

  #footer .footer-link li {
    font-size: 10px;
    padding: 0 10px;
    margin-bottom: 5px;
  }

  .bunner ul {
    display: block;
  }

  .bunner li {
    width: 100%;
  }
}

/* モーダル */
.lb {
  display: flex;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  transition: 0.3s opacity ease;
  pointer-events: none;
  z-index: 100;
}

.lb img {
  width: auto !important;
  max-height: 100% !important;
  cursor: pointer;
}

.lb img,
.lb iframe {
  transform: scale(0.85);
  transition: 0.3s all ease;
}

.lb:target {
  opacity: 1;
  pointer-events: auto;
  z-index: 101;
}

.lb:target img,
.lb:target iframe {
  transform: scale(1);
}

/* なんちゃって閉じるボタン*/
.lb::before,
.lb::after {
  display: block;
  position: fixed;
  content: "";
  width: 24px;
  height: 3px;
  top: 24px;
  right: 12px;
  background: #fff;
  border-radius: 4px;
}

.lb::before {
  transform: rotate(-315deg);
}

.lb::after {
  transform: rotate(315deg);
}

/* ツールチップ */

.tooltip {
  position: relative; /* ツールチップの位置の基準に */
  cursor: pointer; /* カーソルを当てたときにポインターに */
  color: blue;
}

/* ツールチップのテキスト */
.tooltip-text {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  left: 80%;
  transform: translateX(-50%);
  bottom: -30px;
  display: inline-block;
  white-space: wrap;
  padding: 15px;
  font-size: 0.8rem;
  line-height: 1.3;
  background: #333;
  color: #fff;
  border-radius: 3px;
  transition: 0.3s ease-in;
  width: 100%;
  z-index: 10;
}

/* ホバー時にツールチップの非表示を解除 */
.tooltip:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
}

/*media Queries 414
----------------------------------------------------*/

@media screen and (max-width: 414px) {
  body {
    font-size: 12px;
    line-height: 1.6;
  }

  .card-caption {
    min-height: 190px;
  }

  .work-title {
    font-size: 12px;
  }
}

/*media Queries 360
----------------------------------------------------*/

@media screen and (max-width: 360px) {
  body {
    font-size: 11px;
    line-height: 1.5;
  }

  .card-caption {
    min-height: 205px;
  }
}
