@charset "UTF-8";
html {
  font-size: 100%;
}

body {
  font-weight: 400;
  line-height: 1.2;
  font-family: "YuMincho", "Yu Mincho", "游明朝体", "游明朝", serif;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

section {
  padding: 50px 0;
}

h1, h2, .menu, .footer-menu {
  font-family: "Iosevka Charon Mono", monospace;
  font-weight: 400;
}

a {
  text-decoration: none;
  color: #000;
}

img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.container {
  max-width: 1080px;
  padding: 0 50px;
  margin: 0 auto;
}

.heading {
  text-align: center;
  font-size: 32px;
  margin-bottom: 64px;
}

.home-wrapper {
  background-image: url(../images/office.jpg);
  background-size: cover;
  flex: 1;
}

.service-wrapper {
  background-image: url(../images/memo.jpg);
  background-size: cover;
  flex: 1;
}

.contact-wrapper {
  background-image: url(../images/phone.jpg);
  background-size: cover;
  flex: 1;
}

.pc-only {
  display: block;
}
@media screen and (max-width: 768px) {
  .pc-only {
    display: none;
  }
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  background-color: rgba(250, 250, 250, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo {
  font-size: 16px;
}
@media screen and (max-width: 375px) {
  .logo {
    font-size: 10px;
  }
}

.hamburger {
  display: none;
}
@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 16px;
    right: 8px;
    cursor: pointer;
    width: 32px;
    height: 24px;
    z-index: 10;
  }
  .hamburger span {
    transition: all 0.3s;
    position: absolute;
    height: 2px;
    background-color: #333;
    width: 100%;
    z-index: 10;
  }
  .hamburger span:nth-child(1) {
    top: 0;
  }
  .hamburger span:nth-child(2) {
    top: 11px;
  }
  .hamburger span:nth-child(3) {
    bottom: 0;
  }
  .hamburger.active span:nth-child(1) {
    top: 10px;
    transform: translateY(6px) rotate(-45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    top: 22px;
    transform: translateY(-6px) rotate(45deg);
  }
}
@media screen and (max-width: 375px) {
  .hamburger {
    top: 8px;
  }
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 96px;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .menu ul {
    position: fixed;
    top: 0;
    right: -100%;
    display: block;
    height: 100vh;
    width: 300px;
    padding: 32px;
    background-color: white;
    transition: all 0.5s;
  }
  .menu ul.open {
    right: 0;
  }
}

.menu li {
  font-size: 24px;
}
@media screen and (max-width: 768px) {
  .menu li {
    border-bottom: 1px solid black;
    line-height: 1.5;
    margin-bottom: 48px;
  }
}

.menu-img {
  width: 39px;
  height: 39px;
}

.menu a:hover {
  border-bottom: 2px solid #000;
}

footer {
  text-align: center;
}

.footer-logo {
  font-size: 24px;
  margin-bottom: 32px;
}

.footer-menu {
  margin: 0 auto;
  padding: 50px 0;
}

.footer-menu ul {
  display: flex;
  justify-content: center;
  gap: 64px;
  font-size: 24px;
  list-style: none;
}
@media screen and (max-width: 375px) {
  .footer-menu ul {
    gap: 32px;
  }
}

.copyright {
  background-color: black;
  color: white;
  padding: 50px 0;
}

.home-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.home-img {
  width: 32px;
  height: 32px;
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 32px;
}
@media screen and (max-width: 768px) {
  .about-flex {
    flex-direction: column;
  }
}

.about-message {
  text-align: center;
  font-size: 20px;
  line-height: 1.5;
  background-color: rgba(250, 250, 250, 0.6);
  padding: 32px;
}
@media screen and (max-width: 768px) {
  .about-message {
    font-size: 16px;
  }
}

.about-name {
  font-size: 24px;
  margin-bottom: 12px;
}

.pets {
  display: flex;
  gap: 16px;
}

.me, .pet {
  border-radius: 50%;
  overflow: hidden;
  height: 150px;
  width: 150px;
}

.me {
  margin-left: 64px;
  margin-bottom: 24px;
}

.about img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.about h3 {
  margin-bottom: 16px;
  margin-left: 16px;
  text-align: left;
}

.service-message {
  text-align: center;
  font-size: 20px;
}

.work-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  text-align: center;
  gap: 64px;
}
@media screen and (max-width: 768px) {
  .work-items {
    display: flex;
    flex-direction: column;
    gap: 64px;
  }
}

.archive a:hover {
  opacity: 0.5;
}

.work-title {
  font-size: 24px;
  font-weight: 400;
  margin-top: 10px;
}

.contact-message {
  text-align: center;
  font-size: 20px;
  margin-bottom: 64px;
}

.contact-form {
  max-width: 600px; /* フォームの最大幅 */
  margin: 16px auto; /* 中央寄せ */
  padding: 48px 24px;
  background-color: rgba(255, 255, 255, 0.9); /* 少し透けた白で背景を馴染ませる */
  border-radius: 12px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block; /* ブロックにして、入力欄の上に配置 */
  margin-bottom: 8px; /* ラベルと入力欄の間の隙間 */
  font-weight: bold;
  color: #333;
}

/* ★入力欄（inputとtextarea）を白い長方形にする設定 */
.form-group input,
.form-group textarea {
  display: block; /* ブロック要素にする */
  width: 100%; /* 横幅をいっぱいまで広げる */
  padding: 12px 16px; /* 中の余白を広げて打ちやすくする */
  background-color: #fff; /* 背景色を真っ白に（これで白い長方形になる） */
  border: 1px solid #ccc; /* 薄いグレーの枠線を引く */
  border-radius: 6px; /* 角を少し丸くする */
  font-size: 16px;
  color: #333;
  box-sizing: border-box; /* widthにpaddingを含める設定 */
  transition: all 0.3s; /* 変化を滑らかに */
}

/* ★textarea（メッセージ欄）特有の設定 */
.form-group textarea {
  resize: vertical; /* 縦方向のみリサイズ可能にする */
}

/* ★クリック（フォーカス）した時の演出（重要！） */
.form-group input:focus,
.form-group textarea:focus {
  border-color: #81D4FA; /* ヘッダーアイコンと同じ水色にする */
  box-shadow: 0 0 8px rgba(129, 212, 250, 0.4); /* ふんわり光らせる */
  outline: none; /* デフォルトの青い枠線を消す */
}

/* 送信ボタンも少し整えておきます */
button[type=submit] {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #333; /* 真面目で誠実な黒系 */
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

button[type=submit]:hover {
  background-color: #555; /* ホバーで少し明るく */
}/*# sourceMappingURL=style.css.map */