@charset "UTF-8";

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

body.is-fixed {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ヘッダー */
.header {
  height: 76px;
  background-color: rgba(0, 155, 203, 1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.header__container {
  position: relative;
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.header__contents {
  display: flex;
  gap: 18px;
}

.header__logo {
  display: inline-block;
  padding: 14px 24px;
  font-size: 30px;
  color: #fff;
}

.header__nav {
  display: none;
}

.header__link,
.drawer__nav-link {
  text-decoration: none;
  color: #fff;
}

.header__menu-button {
  border: none;
  margin-right: 15px;
  width: 35px;
  height: 40px;
  overflow: hidden;
  color: transparent;
  background: url(../images/bg_menu.png) center center no-repeat;
  background-size: 100% auto;
}

.header__menu-button.is-checked {
  background: url(../images/bg_menu-close.png) center center no-repeat;
  background-size: 100% auto;
}

/*--- ドロワー ---*/
.drawer {
  display: none;
  height: 100vh;
  border-top: 1px solid #fff;
  padding-top: 60px;
  background-color: rgba(0, 155, 203, 0.7);
  backdrop-filter: blur(3px);
}

.drawer__contents {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 55px;
  list-style-type: none;
}

.drawer__text {
  color: #fff;
}

/*--- ファーストビュー ---*/
.fv {
  position: relative;
  margin-top: 76px;
  background-image: url(../images/first-view.jpeg);
  background-size: cover;
  background-position: top center;
  height: 40vh;
}

.fv__contents {
  margin-left: 10px;
  padding: 35px;
  position: absolute;
  bottom: 20%;
  background-size: 100% auto;
  background-color: rgba(0, 155, 203, 0.3);
  backdrop-filter: blur(2px);
  border-radius: 8px;
  color: #fff;
}

.fv__heading {
  display: block;
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.section {
  padding: 40px 0;
}

.section__inner {
  padding: 0 32px;
}

.section__head {
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.section__lead-text {
  margin-left: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.section__contents {
  margin-top: 40px;
}

/* トップに戻る */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  padding: 10px 17px;
  background-color: rgba(0, 155, 203, 0.8);
  backdrop-filter: blur(1px);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 20px;
  z-index: 10;
  box-shadow: 5px 5px 5px 2px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.back-to-top:hover {
  background-color: rgba(0, 155, 203, 0.5);
  transform: translateY(-2px);
}

.back-to-top:active {
  background-color: rgba(0, 155, 203, 1);
  transform: translateY(3px);
}

/* 制作実績 ----------------------------------------------*/
.portfolio-contents {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.portfolio-card {
  width: 470px;
}

/* アプログルメ */
.uplog-lists {
  list-style: none;
}

.uplogourmet-image {
  /* width: 100%; */
  /* height: 280px; */
  /* border: 1px solid rgb(207, 216, 220); */
  /* border-radius: 16px; */
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
}

.uplogourmet-image img {
  width: 100%;
  height: 260px;
  border: 1px solid rgb(207, 216, 220);
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* 天気 */
.root {
  text-align: -webkit-center;
}

.weather-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 320px;
  height: 260px;
}

.weather-select {
  padding: 8px;
  border: 1px solid ;
  border-radius: 8px;
  margin: 8px;
  font-size: 16px;
  background-color: #fff;
  -webkit-appearance: searchfield;
}

/* スワイパー -----------------------------------*/
.swiper {
  width: 100%;
}

.swiper__area {
  position: relative;
}

.swiper-slide {
  cursor: pointer;
}

.swiper-slide img {
  width: 100%; /* スライドの幅にフィット */
  height: auto; /* アスペクト比を維持 */
  display: block; /* 不要な隙間をなくす */
}

.swiper-button-prev,
.swiper-button-next {
  display: none;
}

.swiper-pagination {
  position: absolute;
  bottom: -40px !important;
}

/* アコーディオン */
.accordion__items {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.accordion__item {
  width: 100%;
  border: 2px solid #38383e;
  border-radius: 5px;
  overflow: hidden;
  max-width: 500px;
}

.accordion__item-head {
  text-align: center;
  background-color: #009bcb;
  padding: 10px;
  cursor: pointer;
  color: #fff;
  position: relative;
}

.accordion__item-text {
  padding: 70px 20px;
  display: none;
  border-top: 1px solid #ccc;
}

.accordion__item-head::before {
  position: absolute;
  font-family: "Font Awesome 6 Free";
  content: "\f077";
  transform: rotate(180deg);
  font-weight: 900;
  right: 10%;
  top: 30%;
  transition: 0.5s;
}

.accordion__item.is-open .accordion__item-head::before {
  transform: rotate(-720deg);
}

/*--- フォーム ---*/
/* フォーム全体のスタイル */
.form-items {
  max-width: 600px;
  padding: 0 20px;
}

/* 各入力エリアのデザイン */
.radio-button,
.text-area,
.submit {
  margin-bottom: 20px;
  padding: 10px 0;
}

/* ラベルのデザイン */
label {
  /* font-weight: bold;
  display: block; */
  /* margin-bottom: 20px; */
  /* padding: 10px 0; */
}

.text-field {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

/* テキストフィールドのスタイル */
input[type="text"],
input[type="email"] {
  width: 100%;
  max-width: 300px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

input::placeholder {
  color: #aaa;
}

.submit-button {
  width: 100px;
  height: 50px;
  font-size: 20px;
  background-color: #009bcb;
  color: #fff;
  border-radius: 8px;
  border: 1px solid #555;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-button:hover {
  background-color: rgba(0, 155, 203, 0.7);
  transform: translateY(-2px);
}

.submit-button:active {
  background-color: rgba(0, 110, 203, 0.9);
  transform: translateY(3px);
}

.radio-items {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
}

@media screen and (min-width: 500px) {
  .radio-items {
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
  }
}

.input-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}

textarea {
  width: 100%;
  max-width: 500px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.form-textarea {
  margin-bottom: 10px;
  font-size: 18px;
}

.form-item-radio {
  margin-bottom: 10px;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/*--- プロフィール ---*/
.profile-section {
  margin-bottom: 80px;
}

.profile-contents {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.profile-items {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.profile-image {
  padding: 20px;
  width: 200px;
  height: 200px;
  text-align: center;
}

.profile-image img {
  width: 100%;
  height: 100%; /* 高さを100%に指定 */
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid;
}

.profile-texts {
}

.profile__text {
  margin-bottom: 10px;
  line-height: 1.7;
  font-size: 1rem; /* フォントサイズの調整 */
}

.skill {
  text-align: center;
}

.skill-lists {
  list-style-type: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.skill-list {
  display: block;
}

/*--- フッター ---*/
.footer {
  background-color: #009bcb;
  color: #fff;
  padding: 10px 10px 15px 10px;
  text-align: center;
}

.footer__copy {
  font-family: "Noto Sans JP", sans-serif;
}

/*--- 確認ページ ---*/
.form-result {
  margin-top: 71.5px;
  padding: 100px;
  text-align: center;
  font-size: 50px;
  font-weight: bold;
}

.form-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

/*-------------------------------
// pc
-------------------------------*/
@media screen and (min-width: 768px) {
  /*--- ヘッダー ---*/
  .header {
    align-content: center;
    height: 100px;
  }

  .header__container {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
  }

  .header__logo {
    letter-spacing: 0.12em;
    line-height: 1;
  }

  .header__nav {
    display: block;
    color: #fff;
  }

  .header__menu-button {
    display: none;
  }

  .header__contents {
    list-style-type: none;
    padding-top: 0;
    overflow: hidden;
  }

  .header__item {
    text-align: center;
  }

  /* ナビゲーションバー */
  .header__nav {
    /* background-color: #333; */
    /* position: fixed; */
    /* top: 0;
  left: 0;
  right: 0; */
    /* padding: 10px 20px; */
    /* z-index: 1000; */
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  }

  /* リストのスタイル */
  .header__contents {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 0;
  }

  /* リストアイテムのスタイル */
  .header__item {
    padding: 8px 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .header__item:last-child {
    margin-right: 10px;
  }

  /* リンクのスタイル */
  .header__link {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
  }

  /* ホバーエフェクト */
  .header__item:hover {
    background-color: rgba(15, 180, 200, 1);
    transform: translateY(-2px);
  }

  /* リンクをクリックしたときにスタイルを変更 */
  .header__item:active {
    background-color: rgba(0, 110, 203, 0.9);
    transform: translateY(3px);
  }

  /*--- 共通クラス ---*/
  .section__inner {
    max-width: 944px;
    margin: 0 auto;
  }

  .section__head {
    font-size: 60px;
  }

  /*--- ファーストビュー ---*/
  .fv {
    height: 55vh;
    margin-top: 100px;
  }

  .fv__contents {
    background-size: 100% auto;
    bottom: 20%;
    left: 0;
    height: 150px;
    padding: 0 30px;
    display: flex;
    align-items: center;
  }

  .fv__heading {
    font-size: 60px;
  }

  /*--- 作品実績 ---*/
  .portfolio-contents {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .portfolio-card {
    width: 48%;
  }

  /*--- スワイパー ---*/
  .swiper__area {
    width: 90%;
    margin: 0 auto;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: block;
    position: absolute;
    /* top: 50%; */
    width: 48px;
    height: 48px;
    background-color: #009bcb;
    border-radius: 50%;
    transition: 0.2s;
    border: none;
    box-shadow: 0 6px 10px rgba(0, 193, 255, 0.12);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-button-prev {
    padding-right: 3px;
    left: -7%;
  }

  .swiper-button-next {
    padding-left: 3px;
    right: -7%;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 20px;
    color: #fff;
  }

  .swiper-button-prev:hover,
  .swiper-button-next:hover {
    background-color: rgba(0, 155, 203, 0.7);
    transform: translateY(-2px);
  }

  .swiper-button-prev:active,
  .swiper-button-next:active {
    background-color: rgba(0, 110, 203, 0.9);
    transform: translateY(3px);
  }
}
