/* PC、スマホ共通 */
body {
  background-color: #FFF8E4;
  font-family: "Noto Sans JP", sans-serif;
}

/* PC用 */
body {
  position: relative;
}

/* 両サイド */
#nav-pc {
  position: fixed;
  top: 160px;
  left: 18px;
  font-size: 24px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.8;
  font-family: "Cormorant Garamond", serif;
  z-index: 10;
}

.contact {
  position: fixed;
  top: 160px;
  right: 18px;
  font-size: 16px;
  font-weight: 500;
  color: #FFFFFF;
  writing-mode: vertical-rl;
  background-color: #5A94B5;
  padding: 14px 7px 14px 11px;
  border-radius: 300px;
  text-align: center;
  z-index: 10;
}

.contact > a > img {
  width: 24px;
  height: 24px;
  padding: 2px;
  margin-left: -2px;
  margin-top: 6px;
  background-color: #FFFFFF;
  border-radius: 20%;
}

/*フッターまでスクロールしたら消す*/
.is-hidden {
  visibility: hidden;
  opacity: 0;
}

/* スマホ用ナビを非表示 */
#nav-sp,
#menu-sp {
  display: none;
}

/* メイン */
main {
  margin-top: 160px;
}

.wrapper {
  width: 82%;
  margin: 0 auto;
}

/* メインビジュアル */
#main-visual img {
  width: 100%;
}

/* サイトタイトル */
h1 {
  text-align:  center;
  font-size: 58px;
  color: #5A94B5;
  margin-bottom: 115px;
  font-family: "Playfair Display", serif;
  line-height: 36px;
}

h1 > span {
  font-size: 48px;
  font-family: "Herr Von Muellerhoff", cursive;
}

/* 見出し */
.index-h2 {
  text-align:  center;
  font-size: 48px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-style: italic;
}

/* Work */
#work {
  position: relative;
  padding-top: 80px;
  padding-bottom: 280px;
}

#work .img-01 {
  position: absolute;
  top: 0;
  left: 0;
  width: 548px;
  height: 236px;
} 

#work .img-02 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 638px;
  height: 396px;
} 

#work-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 124px;
  row-gap: 96px;
  margin-top: 76px;
}

.work-box > .img-box {
  background-color: #FFFFFF;
  width: 372px;
  height: 263px;
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.work-box > .img-box > img {
  width: 100%;
  height: auto;
}

.work-box > h3 {
  display: block;
  font-size: 16px;
  font-weight: bold;
  color: #5A94B5;
  margin-bottom: 11px;
}

.work-box > .work-text {
  font-size: 14px;
  margin-bottom: 4px;
}

.work-box ul {
  display: flex;
  gap: 8px;
}

.work-box .work-button {
  font-size: 14px;
  color: #FFFFFF;
  text-align: center;
  background-color: #5A94B5;
  padding: 5px 0 6px 0;
  width: 60px;
  border-radius: 30px;
}  


/* Flow */
#flow {
  padding-top: 77px;
}

#flow-flex {
  display: flex;
  justify-content: space-between;
  width: 94%;
  margin: 58px auto 145px auto;
}

.flow-box {
  background-color: #FFFFFF;
  width: 18%;
  border-radius: 5%;
  padding: 17px 21px 28px 21px;
  text-align: center;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 00.5);
}

.flow-box > h3 {
  font-size: 16px;
  font-family: "Playfair Display", serif;
}

.flow-box > h4 {
  font-size: 15px;
  font-weight: 500;
  color: #5A94B5;
  margin: 6px;
}

.flow-box > p {
  font-size: 12px;
  text-align: left;
}

.flow-box > img {
  width: 94px;
  margin: 0 auto;
}

/* Skill */
#skill {
  position: relative;
}

#skill .img-03 {
  width: 100%;
} 

#skill-flex {
  display: flex;
  justify-content: space-between;
  width: 72%;
  margin: 58px auto 0 auto;
}

.skill-box > img {
  width: 94px;
  height: 94px;
  margin-bottom: 9px;
}

.skill-box > h3 {
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}

/* Price */
#price {
  padding-top: 50px;
}

.price-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 50px;
  row-gap: 80px;
  margin-top: 60px;
  margin-bottom: 126px;
}

.price-box {
  width: 40%;
  background-color: #FFFFFF;
  border: #5A94B5 2px solid;
  border-radius: 15px;
  padding: 40px;
  box-sizing: border-box;
}

.price-box table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 16px;
}

.price-box table tr {
  border-top: 1px solid #D9D9D9;
  border-bottom: 1px solid #D9D9D9;
}

.price-box table th {
  padding: 22px 0;
  font-size: 16px;
  font-weight: bold;
}

.price-box table td {
  padding: 22px 50px 22px 0;
  font-size: 24px;
  font-weight: bold;
  text-align: right;
}

.price-box table td .enn {
  font-size: 13px;
  font-weight: 500;
  margin-left: 2px;
  margin-right: 10px;
}

.price-box table td .kara {
  font-size: 14px;
}

.price-box p {
  font-size: 11px;
  font-weight: 500;
}

.price-box h3 {
  font-size: 24px;
  font-weight: bold;
  color: #FFFFFF;
  background-color: #5A94B5;
  text-align: center;
  height: 73px;
  line-height: 73px;
  border-radius: 100px;
  margin-top: -76px;
  margin-bottom: 25px;
}

/* Profile */
#profile-flex {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 56px auto 188px auto;
}

#profile-left > h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

#profile-left > p {
  width: 420px;
  font-size: 16px;
  line-height: 1.875;
}

#square {
  width: 278px;
  height: 452px;
}

/* SP用画像を非表示 */
#circle {
  display: none;
}

/* footer */
footer {
  background-color: #5A94B5;
  padding-bottom: 20px;
  padding-top: 22px;
}

#footer-flex {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 233px;
}

#footer-icon {
  text-align: center;
  background-image: url(images/index/footer/the\ singing\ bluebird.png);
  background-size: 54px 54px;
  background-repeat: no-repeat;
  background-position: center;
}

/* 回転アニメーションの定義 */
@keyframes rotateAnimation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 回転する要素のスタイル */
#icon-frame {
  width: 118px;
  height: 118px;
  margin-right: -5px;
  animation: rotateAnimation 20s linear infinite;
}

#footer-left > h1 {
  color: #FFFFFF;
  text-align: start;
  font-family: "Playfair Display", serif;
  font-size: 32px;
  margin-bottom: 8px;
}

#footer-contact {
  display: flex;
  justify-content: center;
  font-size: 16px;
  color: #5A94B5;
  background-color: #FFF5D7;
  width: 275px;
  height: 42px;
  border-radius: 30px;
  align-items: center;
}

#footer-contact > img {
  width: 24px;
  height: 24px;
  padding: 2px;
  margin-left: 18px;
  background-color: #FFFFFF;
  border-radius: 20%;
}

#footer-right ul {
  display: flex;
  flex-wrap: wrap;
  width: 280px;
}

#footer-right ul li {
  width: 110px;
}

.footer-menu {
  color: #FFFFFF;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.7;
}

#copyright {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: #FFFFFF;
  margin-top: 64px;
}

/* スマホ用 */
@media screen and (max-width: 767px) {
  /* PC用ナビゲーション非表示 */
  #nav-pc {
    display: none;
  }

  .contact {
    display: none;
  }

  /* ハンバーガーメニュー */
  #menu-sp {
    display: block;
    background-color: transparent;
    float: right;
    padding: 0;
    border: none;
    position: fixed;
    top: 22px;
    right: 22px;
  }

  #menu-sp img {
    width: 38px;
    height: 38px;
  }

  /* スマホ用ナビゲーションの表示切替 */
  /* 初期状態、レイアウトと非表示設定 */
  #nav-sp {
    background-color: #5A94B5;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: none;
    z-index: 100;
  }
  
  /* ×ボタン */
  #close {
    position: fixed;
    top: 22px;
    right: 33px;
    background-color: transparent;
    border: none;
  }

  #close img {
    width: 38px;
    height: 38px;
  }

  #nav-sp nav ul {
    padding-left: 0;
    margin-top: 108px;
  }

  /* ナビゲーションのリンクの装飾設定 */
  #nav-sp nav a {
    display: block;
    color: #ffffff;
  }

  #nav-sp .menu {
    margin: 0 20px 0 20px;
    font-size: 24px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.8;
    font-family: "Cormorant Garamond", serif;
  }

  /* メイン */
  .wrapper {
    width: 90%;
    margin: 0 auto;
  }

  /* サイトタイトル */
  h1 {
    font-size: 32px;
    margin-bottom: 115px;
    line-height: 26px;
  }

  /* 見出し */
  .index-h2 {
    font-size: 32px;
  }

  /* Work */
  #work {
    padding-top: 42px;
    padding-bottom: 56px;
  }
  
  #work .img-01 {
    width: 220px;
    height: 94px;
  } 

  #work .img-02 {
    width: 228px;
    height: 142px;
  }

  #work-flex {
    display: block;
    margin-top: 30px;
  }

  .work-box {
    margin: 0 auto 32px auto;
  }

  .work-box .img-box {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    margin-bottom: 13px;
  }

  .work-box .img-box img {
    height: 100%;
    object-fit: contain;
  }

  .work-box h3 {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .work-box .work-text {
    font-size: 9px;
    margin-bottom: 4px;
  }

  .work-box ul {
    display: flex;
    gap: 6px;
  }

  .work-box .work-button {
    font-size: 8px;
    padding: 1px 0 2px 0;
    width: 40px;
    border-radius: 30px;
  }

  /* Flow */
  #flow {
    padding-top: 0px;
  }

  #flow-flex {
    display: block;
    margin: 28px auto 82px auto;
  }

  .flow-box {
    width: 258px;
    margin: 0 auto 10px auto;
    border-radius: 4px;
  }

  .flow-box h3 {
    font-size: 11px;
  }

  .flow-box h4 {
    font-size: 10px;
    margin: 3px;
  }

  .flow-box p {
    font-size: 9px;
    text-align: center;
  }

  .flow-box img {
    width: 58px;
  }

  /* Skill */
  #skill-flex {
    width: 90%;
    margin: 46px auto 0 auto;
  }

  .skill-box img {
    width: 42px;
    height: 42px;
  }

  .skill-box h3 {
    font-size: 10px;
  }

  /* Price */
  .price-flex {
    display: block;
    margin-top: 46px;
    margin-bottom: 62px;
  }

  .price-box {
    width: 90%;
    margin: 0 auto 50px auto;
    padding: 24px;
  }

  .price-box table {
    margin-bottom: 10px;
  }

  .price-box table th {
    padding: 12px 0;
    font-size: 11px;
  }

  .price-box table td {
    padding: 12px 30px 12px 0;
    font-size: 14px;
  }

  .price-box table td .enn {
    font-size: 8px;
    margin-left: 1px;
    margin-right: 6px;
  }

  .price-box table td .kara {
    font-size: 9px;
  }

  .price-box p {
    font-size: 7px;
  }

  .price-box h3 {
    font-size: 14px;
    height: 43px;
    line-height: 43px;
    margin-top: -48px;
    margin-bottom: 25px;
  }

  /* Profile */
  /* PC用画像を非表示 */
  #square {
    display: none;
  }

  #profile-flex {
    flex-direction: column;
    margin: 22px auto 76px auto;
  }

  #circle {
    display: block;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    margin-bottom: 22px;
    order: 1;
  }

  #profile-left {
    order: 2;
  }

  #profile-left h3 {
    font-size: 15px;
    text-align: center;
    margin-bottom: 12px;
  }

  #profile-left p {
    font-size: 12px;
    line-height: 1.6;
    width: 246px;
    margin: 0 auto;
  }

  /* Footer */
  #footer-icon {
    margin-bottom: 18px;
    background-size: 36px 36px;
  }

  #icon-frame {
    width: 79px;
    height: 79px;
  }

  #footer-flex {
    gap: 0;
    flex-direction: column;
    padding-top: 14px;
  }

  #footer-flex #footer-right {
    order: 1;
  }

  #footer-right ul {
    width: 280px;
    margin: 0 auto 18px auto;
  }

  #footer-right ul li {
    width: 140px;
  }

  .footer-menu {
    font-size: 18px;
  }

  #footer-flex #footer-left {
    order: 2;
  }

  #footer-left h1 {
    font-size: 16px;
    text-align: center;
    margin-bottom: 6px;
  }

  #footer-contact {
    width: 140px;
    height: 20px;
    margin: 0 auto;
    font-size: 8px;
  }

  #footer-contact img {
    width: 16px;
    height: 16px;
    padding: 1px;
    margin-left: 9px;
  }

  #copyright {
    font-size: 10px;
    margin-top: 53px;
  }
}