@charset "UTF-8";
html {
  font-family: "游ゴシック", 'Yu Gothic', YuGothic, "ヒラギノ角ゴ", 'メイリオ', Meiryo, sans-serif;
  font-size: clamp(12px,(100vw - 320px) * 5 / 1120 + 12px, 17px);
  line-height: 1.5;
  text-align: center;
  background-color: rgb(245, 245, 245);
  color: #313131;
  text-size-adjust: 100%;
}

ul {
  list-style: none;
}

/* --------------------header-------------------- */
.header {
  width: 100%;
  background-color: rgb(255, 255, 255);
}
.header_contents {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4%;
}
.logo {
  margin: 14px 0;
  width: 300px;
}
.header_nav {
  margin-left: 0 0 0 auto;
  display: flex;
  align-items: center;
}
.nav_content ul {
  display: flex;
  height: 4rem;
  align-items: center;
}
.nav_content li {
  margin: 0 1rem;
  text-align: center;
  font-weight: bold;
}
nav a {
  text-decoration: none;
  color: #313131;
}
nav a:hover {
  text-decoration: none;
  color: #ff8138;
}

.menu_btn {
  display: none;
}

#menu_btn_check {
display: none;
}

/* 狭い画面用のハンバーガーメニュー設定 */
@media (max-width: 990px) {
  .menu_btn {
    position: fixed;
    top: 10px;
    right: 10px;
    height: 60px;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #ff8138;
  }
  .menu_btn span,
  .menu_btn span::before,
  .menu_btn span::after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
  }
  .menu_btn span:before {
    bottom: 8px;
  }
  .menu_btn span:after {
    top: 8px;
  }
  #menu_btn_check:checked ~ .menu_btn span {
    background-color: rgba(255, 255, 255, 0);
  }
  #menu_btn_check:checked ~ .menu_btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  #menu_btn_check:checked ~ .menu_btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  .nav_content {
    position: fixed;
    width: 100%;
    max-width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: 80;
    overflow-y: auto;
    background-color: #ff8138;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: 0.5s;
  }
  .nav_content ul {
    display: block;
    padding: 70px 10px 0;
  }
  .nav_content ul li {
    border-bottom: solid 1px #ffffff;
  }
  .nav_content ul li a {
    display: block;
    width: 100%;
    font-size: 1rem;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 0.5rem;
    position: relative;
  }
  .nav_content ul li a::after {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 1rem;
    top: 1rem;
  }
  #menu_btn_check:checked ~ .nav_content {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }
}

/* --------------------main-------------------- */
.main {
  text-align: center;
  padding: 0 10% 10%;
}

.main .top_img {
  max-width: 100%;
}

.main h1 {
  font-size: 1.8rem;
  color: #555;
  margin: 2rem 0;
}
.main h2 {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 0.5rem;
}
.main h3 {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 0.5rem;
}
.main p {
  margin: 1rem 0 2rem;
}

.main hr{
  width: clamp(200px, 65%, 800px);;
}

#links {
  margin: 30px 0 50px;
}

.sns-btn {
  display: flex;
  justify-content: center;
}

.sns-btn li {
  margin: 0 10px; 
}

.sns-btn img {
  width: 30px;
}

/* --------------------profile-------------------- */
.profile {
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile h1 {
  font-size: 2rem;
  color: #555;
  padding: 3rem 1rem 2rem;
}
.profile h2 {
  text-align: left;
  font-size: 1.2rem;
  color: #555;
  padding: 1rem 1rem 1rem 0;
}
.profile p {
  text-align: left;
  font-size: 1rem;
  color: #555;
  margin: 0;
}
.profile p a {
  text-decoration-color: none;
  color: #313131;
}
.profile p a:hover {
  text-decoration-color: none;
  color: #ff8138;
}

.profile_image {
  text-align: center;
  padding-right: 3rem;
}

.profile_image img {
  max-width: 200px;
  border-radius: 100%;
}

.profile_name {
  display: flex;
  align-items: center;
}

.profile_name img {
  width: 1.2rem;
  margin-left: 0.5rem; 
}

/* --------------------gallery-------------------- */
.gallery {
  text-align: center;
  padding: 0 10% 5%;
}

.gallery h1 {
  text-align: center;
  font-size: 2rem;
  color: #555;
  padding: 50px 10px 30px 10px;
}
.gallery .grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin: 6% 26px 50px;
}
.gallery .item {
  box-shadow: 0 2px 5px #ccc;
  transition:box-shadow 0.3s, transform 0.3s;
  border-radius: 5px;
}
.gallery .item:hover {
  box-shadow:0 6px 14px #ccc;
  transform:translate(0, -2px);
}
.gallery .item img {
  border-radius: 5px 5px 0 0;
  max-width: 100%;
}
.gallery .item_title {
  font-size: 20px;
  margin: 20px 0;
  text-align: center;
  color: #333;
}
.gallery .item_text {
  color: #555;
  text-align: left;
  font-size: 15px;
  line-height: 1.5;
  margin: 10px;
}

/* --------------------inquiry-------------------- */
.inquiry {
  text-align: center;
  padding: 0 10% 5%;
}

.inquiry h1 {
  font-size: 2rem;
  color: #555;
  padding: 50px 10px 30px 10px;
}
.inquiry h2 {
  font-size: 1.5rem;
  color: #555;
  padding: 30px 10px;
}
.inquiry p {
  font-size: 1rem;
  color: #555;
  padding: 5px 5px;
}
.inquiry a {
  color: #313131;
}
.inquiry a:hover {
  color: #ff8138;
}
iframe[src^="https://docs.google.com/forms/d/e"]{
  width:100%;
}

/* --------------------footer-------------------- */
.footer {
  width: 100%;
  justify-content: space-between;
  background-color: rgb(98, 97, 105);
  color: #ffffff;
  height: 50px;
  position: absolute;
}
.copy_right {
  margin: 5px;
}