*{
  box-sizing: border-box;
}
body{
  margin: 0;
}
header{
  background-color: #016e55;
  font-family: "Poetsen One", sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 2px;
 }
header h1{
  text-decoration: none;
  font-size: 2.9rem;
}
header ul{
  list-style-type: none;
  display: flex;
  gap: 40px;
  color: #FFF;
  font-size: 1.2rem;
}
.flex{
  display: flex;
  align-items: center;
  max-width: 1080px;
  width: 80%;
  margin: 0 auto;
  justify-content: space-between;
  height: 120px;
}
a{
  text-decoration: none;
  color: #FFF;
  transition: cubic-bezier(0.23, 1, 0.320, 1);
}
a:hover{
  color: rgb(48, 186, 221);
  transition: 1s;
}
.section1{
  background-image: url(../imgs/sonya7hero.jpg);
  height: 70vh;
  background-position: center;
  background-size: cover;
}
.hero .title{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: #FFF;
}

/* 使用機材 */
.photohead .abouttitle{
 width: 50%;
 max-width: 1080px;
 margin: 0 auto;
}
.wrap{
  display: flex;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  width: 70%;
  margin-top: 90px;
}
.wrap2{
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  width: 55%;
  margin-top: 90px;
}
.image{
  width: 50%;
}
.text{
  padding: 0 60px;
  width: 70%;
}
img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.text p{
  margin-bottom: 20px;
}
/* 作例 */
.photopattern{
  margin-top: 80px;
  padding-top: 10px;
  padding-bottom: 40px;
  background-color: #f6f6f6;
}
.photopatternrow p{
  max-width: 1080px; /* 最大幅を1080pxに設定 */
  margin: 0 auto; /* 上下左右のマージンを自動で設定 */
  width: 40%; /* 幅を70%に再度設定 */
  padding-top: 30px;
  margin-bottom: 20px;
}
.photowrap{
  display: flex; /* ここで display を flex に設定 */
  max-width: 1080px; /* 最大幅を1080pxに設定 */
  margin: 0 auto; /* 上下左右のマージンを自動で設定 */
  width: 70%; /* 幅を70%に再度設定 */
  margin-top: 30px; /* 上のマージンを90pxに設定 */
  justify-content: center;
  gap: 70px;
  align-items: center;
}
.photoimage h2{
  font-size: 16px;
  text-align: center;
  margin-top: 15px;
}
.photoimage-img{
  width: 50%;
}
.photoimagerow{
  display: flex;
  max-width: 1080px;
  margin: 0 auto;
  padding: 70px 0;
  width: 80%;
  gap: 60px;
}
.photoimagerow p{
  max-width: 80%;
  margin: 5px auto;
  width: 80%;
}
.instagram{
  margin: 70px 0;
}
.photo{
  width: 30%;
}
.photo2{
  width: 40%;
  transform: translateY(-19%);
}

.photos hr{
  border: 2px solid #016e55;
  max-width: 1080px;
  width: 40%;
  margin: 0 auto;
}
.text{
  padding: 0px 90px;
  width: 60%;
}
.text h2{
  font-size: 23px;
}
.text p{
  font-size: 16px;
  font-weight: 800;
}

 /* フッター */
 footer{
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: aqua;
 }
 footer p{
  text-align: center;
 }

/* ピンタレスト */
.pintarest{
  max-width: 1500px;
  width: 65%;
  margin: 0 auto;
}
.pintarest ul{
  column-count: 3;/* 横３列に並べる */
  padding: 20px;
  list-style: none;
  margin-top: 50px;
  margin-bottom: 60px;
}

.pintarest li{
  break-inside: avoid;
  /* ボックスの途中で区切られるのを禁止する */
}
.pintarest img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

.pintarest p{
  font-size: 13px;
  text-align: center;
}
 /*タイトル付き（ラベルボックス）*/
.box5-2{
	margin: 2em auto; /* ボックスの余白 */
	background-color:#fff; /* ボックス背景色 */
	padding:2em; /* ボックス内側余白 */
	position:relative; /* 配置(ここを基準に) */
	border: 2px solid #016e55;/* ボックスの線 (太さ　種類　色)*/
  flex: 2;
}
.box5-2 .box-title {
	background-color:#fff; /* タイトル背景色 */
	font-size: 2em;/* タイトル文字の大きさ */
	font-weight:800;
	color: #016e55; /* タイトル文字色 */
	padding: 0 5px;/*タイトルの余白*/
	line-height: 1;/*タイトルの行の高さ*/
	position:absolute;	/* 配置(ここを動かす) */
	top: -16px; /*上から（-5px）移動*/
	left: 20px; /*左から(20px)移動*/
}
/* 項目見出し */
.about{
  text-align: center;
  padding-top: 100px;
  font-size: 2rem;
  letter-spacing: 3px;
  margin-bottom: 10px;
  font-size: 16px;
}
.abouttitle h2{
  font-size: 30px;
}

.abouttitle hr{
  border: 2px solid #016e55;
  max-width: 1080px;
  width: 90%;
  margin: 0 auto;
}

/* 写真 */
.section4{
  margin-top: 100px;
  background-color: rgb(255, 255, 255);
}
.photoflaphs{
  display: flex;
  justify-content: space-between;
  max-width: 1080px;
  width: 90%;
  margin: 0 auto;
}
.photoflaphs .photoflaph{
  width: 32%;
}
.section4 .titletext{
  max-width: 1080px;
  width: 90%;
  margin: 0 auto;
 }
 .section4 .titletext h2{
  margin-top: 0;
  margin-bottom: 0px;
 }
 .section4 .titletext hr{
  border: 3px solid rgb(0, 121, 0);
  width: 80px;
  margin-left: 0;
  margin-top: 2px;
  margin-bottom: 30px;
 }
 footer{
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #016e55;
 }
 footer p{
  text-align: center;
  color: #FFF;
  font-size: 20px;
 }


/*========= レイアウトのためのCSS ===============*/








/*==================================================
ふわっ
===================================*/


/* fadeUp */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
  opacity: 1;
  transform: translateY(0);
  }
}
/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.fadeUpTrigger{
    opacity: 0;
}

/* 大カッコ */
.photos h2 {
  position: relative;
  line-height: 1.4;
  padding:0.25em 1em;
  top:0;
  margin: 50px auto 60px;
  width: 30%;
  text-align: center;
  font-size: 30px;
  }

.photos h2:before, .photos h2:after { 
  position: absolute;
  top: 0;
  content:'';
  width: 8px;
  height: 100%;
  display: inline-block;
}

.photos h2:before {
  border-top: solid 2px #016e55;
  border-left: solid 2px #016e55;
  border-bottom: solid 2px #016e55;
  left: 0;
}

.photos h2:after {
  content: '';
  border-top: solid 2px #016e55;
  border-right: solid 2px #016e55;
  border-bottom: solid 2px #016e55;
  right: 0;
}

/* モバイル対応 */
@media (max-width: 768px) {
  header .flex {
    display: flex;
    padding-top: 30px;
    align-items: center;
    max-width: 1080px;
    width: 90%;
    margin: 0 auto;
    height: 200px;
}
  .textul ul {
    justify-content: center;
    margin-top: 30px;
    margin: 10px auto 30px;
    flex-wrap: wrap;
    width: 70%;
}
  header{
    padding-bottom: 20px;
  }
  .section1{
    height: 40vh;
  }
  .textul ul{
    gap: 20px;
    text-align: center;
    width: auto;
    padding: 0;
  }
  .flex{
    display: flex;
    flex-direction: column; /* 子要素を縦方向に逆順に配置 */
    padding-top: 60px;
    padding-bottom: 50px;
    gap: 20px;
  }
  .flex h1{
    font-size: 36px;
    margin: 0;
  }
  .wrap{
    flex-direction: column;
    width: 100%;
    margin-top: 50px;
  }
  .wrap2{
    flex-direction: column;
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .wrap h2{
    margin-top: 30px;
  }
  .wrap p{
    margin-top: 15px;
    font-size: 18px;
  }
  .wrap2 p{
    margin-top: 15px;
    margin: 0 auto;
    max-width: 90%;
  }
  .wrap2 h2{
    margin-top: 30px;
  }
  .wrap .image{
    width: 80vw;
  }
  .wrap2 .image{
    width: 80vw;
  }
  .text{
    padding: 0;
    text-align: center;
  }
  ul{
    width: 200px;
    margin: auto;
  }
  .photos h2{
    width: 70%;
    font-size: 25px;
  }
  .photowrap{
    flex-direction: column;
    text-align: center;
    display: block;
  }
  .photowrap p{
    text-align: start;
  }
  .photo2 h2{
    font-size: 26px;
    margin-top: 0;
  }
  .photo img{
    margin-bottom: 20px;
  }
  .photowrap img{
    width: 70vh;
    width: 70vw;
  }
  .photopattern{
    padding-bottom: 0;
  }
  .photopattern p{
    font-size: 16px;
    padding: 0;
  }
  .photopatternrow p{
    width: 60%;
  }
  .abouttitle .about{
    padding-top: 0;
  }
  .abouttitle h2{
    font-size: 22px;
  }
  .topabout .about{
    padding-top: 70px;
  }
  .pintarest ul{
    width: 90vh;
    width: 90vw;
    text-align: center;    
    padding: 0;
  }
  .pintarest{
    margin: auto;
    width: auto;
  }
  .tirasirow {
    display: block;
  }
  .photo2{
    width: 100%;
    margin-top: 150px;
    transform: translateY(-40%)
  }
  .photo2 p{
    margin:0 auto;
  }
  .photo2 .photopattern p{
    width: 100%;
  }
  .photoimagerow{
    display: block;
    width: auto;
  }
  .photoimage-img{
    width: 90%;
    max-width: 768px;
    margin: 0 auto;
  }
  .photoimagerow p{
    margin: 0 auto 20px;
  }
  header .flex{
    display: flex;
    align-items: center;
    max-width: 1080px;
    width: 90%;
    margin: 0 auto;
    height: 200px;
  }
}

