@charset "UTF-8";

/* ページ全体のスタイル
------------------------------------------ */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.75;
  color: #366;
}

h1 {
	font-weight: 400;
	font-size: 1.5rem;
}

h2 {
	font-weight: 400;
	font-size: 1.5rem;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

li {
  list-style: none;
}

/* 部品
------------------------------------------ */
/* コンテナ */
.container {
  max-width: 68.75rem;
  padding: 2.25rem 1.25rem 2.5rem;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 768px) {
  .container {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

/* ヘッダー
------------------------------------------ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: 4.5rem;
  padding: 0.812rem 1.25rem 1.187rem;
	background-color: rgb(255 255 255 / 95%);
}

@media (min-width: 768px) {
  .header {
    padding-top: 0.937rem;
    padding-bottom: 1.062rem;
  }
}

.header-item {
  max-width: 68.75rem;
	margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ */
.header-logo {
  line-height: 1;
}

@media (min-width: 768px) {
  .header-logo {
    width: 15rem;
  }
}

/* ハンバーガーボタン */
.hamburger-button {
  position: fixed;
  top: .75rem;
  right: 1.25rem;
	font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
	color: #366;
}

@media (min-width: 768px) {
  .hamburger-button {
    display: none;
  }
}

/* ハンバーガーメニュー
------------------------------------------ */
@media (max-width: 767px) {
  .hamburger-menu {
    position: fixed;
    top: 4.5rem;
    left: 100%;
    width: 100%;
    height: calc(100vh - 3.75rem);
    padding: 2.45rem;
    background-color: rgb(234 255 255 / 95%);
    transition: all 0.6s;
    visibility: hidden;
  }
}

/* 開いている状態 */
.hamburger-menu-active {
  left: 0;
  visibility: visible;
}

/* ナビゲーション
------------------------------------------ */
.hamburger-nav-list-group {
  display: flex;
  flex-direction: column;
  row-gap: 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .hamburger-nav-list-group {
    flex-direction: row;
    column-gap: 2.5rem;
    margin-bottom: 0;
    margin-left: 3.45rem;
    font-size: 1rem;
  }
}

/* ヘッダーナビコンテナ */
@media (min-width: 768px) {
  .header-nav-container {
    display: flex;
    align-items: center;
    justify-content: end;
    width: 100%;
  }
}

/* カバー
------------------------------------------ */
.cover {
  position: relative;
	margin-top: 4.5rem;
}

.cover-item {
	text-align: center;
	padding: 1rem 0 2rem;
}

.cover-item img {
	width: 90%;
  max-width: 68.75rem;
}

/* メッセージ
------------------------------------------ */
.message {
	background-color: #f6f6f6;
}

.message-item-image {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin: 20px;
}

.message-item-image img{
	max-width: 250px;
	max-height: 250px;
}

.message-item-image,
.message-item-text {
	margin: 1rem 0;
}

.message-item-text-part {
	margin-bottom: 1rem;
}

.message-item-text-indent {
	display: inline-block;
	width: 1rem;
}

.message-btn{
	background-color: #366;
	padding: .5em 1em;
	margin-top: .5rem;
	width: fit-content;
	margin: 0 auto;
	cursor: pointer;
	transition: .3s
}

.message-btn a{
	color: #fff;
	text-decoration: none;
}

.message-btn:hover{
	background-color: #999;
}
/* コンタクト
------------------------------------------ */
.contact .container {
	text-align: center;
}

.contact h2 {
	margin-bottom: 1rem;
}

.contact input,
.contact textarea {
	width: 90%;
	margin-bottom: .5rem;
	border: solid 1px #366;
}

.contact button{
	padding: .25rem 2rem;
	color: #fff;
	background-color: #366;
}

/* インスタグラム
------------------------------------------ */
.instagram {
	background-color: #f6f6f6;
}

.insta_list{
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 20px 0;
}

.insta_list li{
	position: relative;
	width: calc((100% - 40px)/3);
}

@media screen and (max-width: 750px){
	.insta_list li{
			width: calc((100% - 20px)/2);
	}
}

.insta_list li::before{
content: "";
display: block;
padding-top: 100%;
}

.insta_list a{
position: absolute;
top: 0;
width: 100%;
height: 100%;
}

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

.insta_btn{
	background-color: #366;
	padding: .5em 1em;
	width: fit-content;
	margin: 0 auto;
	cursor: pointer;
	transition: .3s
}

.insta_btn a{
	color: #fff;
	text-decoration: none;
}

.insta_btn:hover{
	background-color: #999;
}

/* 作品
------------------------------------------ */
.work-item{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin: 20px;
}

.work-item img{
	max-width: 250px;
	max-height: 250px;
}

.work-item .modal p{
	font-size: 1rem;
}

.work-btn{
	background-color: #366;
	padding: .5em 1em;
	width: fit-content;
	margin: 0 auto;
	cursor: pointer;
	transition: .3s;
	font-size: 1rem;
}

.work-btn a{
	color: #fff;
	text-decoration: none;
}

.work-btn:hover{
	background-color: #999;
}

/* フッター
------------------------------------------ */
.footer {
  background-color: #366;
  color: #fff;
  position: relative;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer .container {
  padding: 2.75rem 1.25rem 2.5rem;
}

@media (min-width: 768px) {
  .footer .container {
    width: 100%;
    padding: 5rem 1.8125rem 3.5rem;
  }
}

.footer-item {
	align-items: center;
}

/* ナビゲーション */
.footer-nav-list-group {
	margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1;
  column-gap: 2.25rem;
  row-gap: 1rem;
}

/* SNSリンク */
.footer-sns-list-group {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 2.5625rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-sns-list-group {
    line-height: 0;
    column-gap: 2.5625rem;
		margin-top: 2rem;
    margin-bottom: 2.5rem;
  }
}

.footer-sns-list-group .bi-instagram {
  font-size: 2rem;
}

/* コピーライト */
.footer-copyright {
  font-size: 0.625rem;
	text-align: center;
}

/* 矢印ボタン */
.button-to-top {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  right: 1rem;
  bottom: 1rem;
  border-radius: 50%;
  width: 2.75rem;
  height: 2.75rem;
  color: #fff;
  background-color: #bbb;
  font-size: 2.6875rem;
}

@media (min-width: 768px) {
  .button-to-top {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}


/* 送信フォーム
------------------------------------------ */
.sent-form {
  max-width: 68.75rem;
  margin: 2.5rem auto;
}

.sent-error {
	color: red;
}

.sent-button-go-back {
	margin-top: .5rem;
	padding: .25rem 2rem;
	color: #fff;
	background-color: #366;
}



/* モーダルポップアップ
------------------------------------------ */
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}