*{
  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;
}
header .flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1080px;
  width: 80%;
  margin: 0 auto;
  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/hero111.jpg);
  height: 70vh;
  background-position: center;
  background-size: cover;
}
.hero .title{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: #FFF;
}
 /* Profile欄 */
.profile{
  display: flex;
  max-width: 1080px;
  width: 90%;
  margin: 0 auto;
  padding-top: 70px;
  padding-bottom: 30px;
}
.profile h2{
 margin-top: 0;
 margin-bottom: 0px;
}
.profile hr{
  border: 3px solid rgb(0, 121, 0);
  width: 100px;
  margin-left: 0;
  margin-top: 2px;
  margin-bottom: 20px;
}
.col{
  flex: 1;
  display: flex;
  justify-content: center;
  margin:0 auto 5%;
  margin-top: 20px;
}
.col img{
  width: 200px;
  height: 200px;
  object-fit: cover;
  background: #ffffa8;
  margin: 30px;
  box-shadow: 10px 10px 15px;
}

/* スキル */
.skillhero{
  background-image:url(../imgs/skillphoto.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  height: 50vh;
}
.skills{
display: flex;
 display: grid;
 grid-template-columns: 1fr 1fr 1fr;
 max-width: 700px;
 width: 80%;
 margin: 0 auto;
 gap: 80px;
 margin-top: 80px;
}
.skill{
  border-radius: 30px;
}
.skill .text{
  text-align: center;
}
.skill ul{
  width:fit-content;
  margin: auto;
  justify-content: center;
}
.skills img{
  width: 30%;
  height: auto;
  margin: 17px 0px 0px;
}
.skills h3{
  margin-top: 15px;
}
.skills p{
  flex-grow: 1;
  margin-top: 20px;
  text-align: left;
}
.text a.btn_12{
  margin-top: 30px;
  width: 90%;
}
.skills a{
  display: block;
  padding: 20px 0;
  color: #111;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  background-color: aqua;
}
.skill .soft{
text-align: center;
}
/* daitouワーク */
/* .bold  */
.button_solid017 a {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 240px;
  padding: 1px 25px;
  color: #543618;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  background: #eeee;
  border-radius: 50px;
  border: 0.2rem solid #543618;
  box-shadow: 0.2rem 0.2rem 0px 0.1rem #cccccc;
}
.button_solid017 a:hover {
transform: translate3d(0.2rem, 0.2rem, 0);
box-shadow: none;
opacity: 1;
transition: all 0.2s;
}
.button_solid017 a:after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #543618;
  border-right: 3px solid #543618;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}

.button_solid018 a {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 auto;
  max-width: 240px;
  padding: 14px 40px;
  color: #543618;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  background: #eeee;
  border-radius: 50px;
  border: 0.2rem solid #543618;
  box-shadow: 0.2rem 0.2rem 0px 0.1rem #cccccc;
  margin-bottom: 45px;
}
.button_solid018 a:hover {
transform: translate3d(0.2rem, 0.2rem, 0);
box-shadow: none;
opacity: 1;
transition: all 0.2s;
}
.button_solid018 a:after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #543618;
  border-right: 3px solid #543618;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
/* ここまでbold */
.inyou{
  text-align: right;
}
.daitouflex2 .daitouflex3 .inyou2{
  margin: 0 0 30px 505px;
}
.daitouflex2 .daitouflex3 .inyou3{
  margin: 0 0 30px 560px;
}
.inyou3{
  margin: 0 100 100px 300px;
}

.inyou2-2{
  text-align: center;
  padding-bottom: 10px;
}
.daitouflex2 .inyou{
  margin: 10px 0 0 0;
}
.daitou-back{
  background-color: #007bff;
}
.daitouflex {
  background-color: rgb(238, 238, 238); /* アイボリー色 */
  padding: 60px 95px 95px;
}
.daitouflex{
  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  flex-wrap: wrap; /* 必要に応じて折り返し */
  width: 70%; /* 必要に応じて幅を調整 */
  margin: 0 auto; /* 上下の余白は0、左右は自動調整 */
  gap: 30px;
  display: flex;
  align-items: center; /* 画像とテキストを上下中央に配置 */
}
.daitouflex2{
  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  flex-wrap: wrap; /* 必要に応じて折り返し */
  width: 70%; /* 必要に応じて幅を調整 */
  margin: 0 auto; /* 上下の余白は0、左右は自動調整 */
  display: flex;
  background-color: rgb(238, 238, 238); /* アイボリー色 */
  padding: 0px; /* 内側に余白 */
  margin: 0 auto; /* 上下の余白は0、左右は自動調整 */
}
.daitouflex2 h2{
  margin: 0;
}
.daitouflex2 h3{
  padding-top: 30px;
  margin-bottom: 0;
}
.daitouflex {
  background-color: rgb(238, 238, 238); /* アイボリー色 */
  padding: 60px 95px 95px;
}
.daitouflex3{
  display: flex;
  justify-content: center; /* 水平方向の中央揃え */
  flex-wrap: wrap; /* 必要に応じて折り返し */
  width: 90%; /* 必要に応じて幅を調整 */
  margin: 0 auto; /* 上下の余白は0、左右は自動調整 */
  gap: 25px;
  display: flex;
  align-items: center; /* 画像とテキストを上下中央に配置 */
}
.daitou:last-child {
  padding-right: 0; /* 最後の要素には適用しない */
}
.daitou{
  width: 48%;
  gap: 30px;
} 
.daitou img{
  margin-bottom: 5px;
}
.daitouflex h2{
  margin: 0;
}
.daitouflex2 h3{
    position: relative;
    overflow: hidden;
    padding: 1rem 2rem 1rem 130px;
    border: 2px solid #000;
    margin-top: 80px;
  }
  .daitou-banner .pointup{
    margin-top: 0px;
  }
  .daitouflex2 p{
    width: 70%;
    margin: 30px;
  }
  .daitouflex2 h2 {
    position: relative;
    display: inline-block;
    font-weight:bold;
    background: linear-gradient(transparent 70%, #fae362 50%);
    margin: 0 auto 5px;
    padding: 0 10px 0 10px;
  }
  .daitouflex2 h3:before {
    position: absolute;
    top: -150%;
    left: -100px;
    width: 200px;
    height: 300%;
    content: '';
    -webkit-transform: rotate(25deg);
    transform: rotate(25deg);
    background: #000;
  }
  .daitou-banner img{
    margin: 0px;
  }
  .daitouflex2 h3 span {
    font-size: 40px;
    font-size: 2rem;
    position: absolute;
    z-index: 1;
    top: 1px;
    left: 0;
    display: block;
    padding-top: 6px;
    padding-left: 16px;
    color: #fff;
  }
.daitouflex p{
  margin: 0;
}
.daitoutext h2{
  margin: 0 0 10px 0;
}
.daitoutext p{
  overflow-wrap: break-word;
}
.daitou-banner p{
  width: 70%;
}
.daitou-banner2{
  margin-top: 40px;
}
/* バナー製作 */
.section2{
  background-color: rgb(255, 255, 255);
}
.p-center{
  text-align: center;
}
.banners{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1080px;
  width: 90%;
  margin: 0 auto;
  text-align: center
}
.banners .banner{
  width: 32%;
  margin-bottom: 30px;
  font-size: 12px;
}
.titletext{
  margin: 50px 0;
}
.section3.titletext h2{
  margin: 50px 0;
}
.section2 .titletext h2 {
  position: relative;
  display: block;
  top:0;
  padding: .25em 1em;
  margin-bottom: 60px;
  width: 30%;
  margin: 0 auto;
  text-align: center
}
.section2 .titletext h2:before,
.section2 .titletext h2:after { 
  position: absolute;
  display: inline-block;
  top: 0;
  content:'';
  width: 8px;
  height: 100%;
}
.section2 .titletext h2:before {
  left: 0;
  border-top: solid 2px #016e55;
  border-bottom: solid 2px #016e55;
  border-left: solid 2px #016e55;
}
.section2 .titletext h2:after {
  border-top: solid 2px #016e55;
  right: 0;
  border-right: solid 2px #016e55;
  border-bottom: solid 2px #016e55;
}
 /* Webサイト */
.section3{
  margin-top: 100px;
  background-color: rgb(255, 255, 255);
}
.websites {
  display: flex;
  justify-content: center; 
  align-items: center; 
  padding: 40px 0 0 0; 
}

/* 各個別の要素（.website） */
.website {
  text-align: center; 
}
.website p{
  margin-bottom: 0;
}
.websites .website{
  width: 32%;
}
.website .tooltext{
  text-align: left;
  margin-top: 0;
  margin-bottom: 15px;
}
.section3 .titletext{
  max-width: 1080px;
  width: 90%;
  margin: 0 auto;
 }
.section3 .titletext h2 {
  position: relative;
  display: block;
  top:0;
  padding: .25em 1em;
  margin-bottom: 40px;
  width: 30%;
  margin: 0 auto;
  text-align: center
}
.section3 .titletext h2:before,
.section3 .titletext h2:after { 
  position: absolute;
  display: inline-block;
  top: 0;
  content:'';
  width: 8px;
  height: 100%;
}
.section3 .titletext h2:before {
  left: 0;
  border-top: solid 2px #016e55;
  border-bottom: solid 2px #016e55;
  border-left: solid 2px #016e55;
}
.section3 .titletext h2:after {
  border-top: solid 2px #016e55;
  right: 0;
  border-right: solid 2px #016e55;
  border-bottom: solid 2px #016e55;
}
.tirasicontainer{
  max-width: 1080px;
  margin: 0 auto;
}
.tirasirow{
  display: flex;
  justify-content: center;
  max-width: 1080px;
  margin: 30px auto;
  width: 70%;
  gap: 60px;
}
.tirasip{
  width: 60%;
  transform: translateY(10%);
}
.tirasitext h2{
  font-size: 28px;
  text-align: center;
  margin: 60px 0 0 0;
}
.tirasitext p{
  max-width: 1080px;
  width: 60%;
  margin: 20px auto 50px auto;
}
.letterrow{
  display: flex;
  justify-content: center;
  background-color: #dddddd;
  margin-bottom: 0px;
  gap: 50px;
}
.letterp{
  text-align: center;
}
.letterp h2{
  font-size: 28px;
  margin-top: 70px;
}
.letterp p{
  max-width: 1080px;
  width: 70%;
  margin: 0 auto 30px auto;
}
.letter img{
  margin-top: 50px;
  margin-bottom: 50px;
}
a.btn_12 {
	display: flex;
  /* justify-content: space-evenly; */
  gap: 10px;
    justify-content: center;
  align-items: center;
	text-align: center;
	text-decoration: none;
	width: 50%;
	margin: auto;
	padding-top: 10px;
  padding-bottom: 10px;	
  font-weight: bold;
	background: #035a30;
	color: #fff;
	border-radius: 100vh;
	position: relative;
	transition: 0.5s;
}
a.btn_12::after {
	content: '';
	width: 7px;
	height: 7px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
}
a.btn_12:hover {
	background: #06874b;
	color: #fff;
}

/* 写真 */
.photoflaph{
  margin-top: 50px;
  margin-bottom: 90px;
}
.section4 .titletext{
  max-width: 1080px;
  width: 90%;
  margin: 0 auto;
 }
 .section4 .titletext h2{
  position: relative;
  display: block;
  top:0;
  padding: .25em 1em;
  margin-bottom: 40px;
  width: 20%;
  text-align: center;
 }
.section4 .titletext h2 {
  position: relative;
  display: block;
  top:0;
  padding: .25em 1em;
  margin-bottom: 40px;
  width: 20%;
  margin: 0 auto;
  text-align: center
}
.section4 .titletext h2:before,
.section4 .titletext h2:after { 
  position: absolute;
  display: inline-block;
  top: 0;
  content:'';
  width: 8px;
  height: 100%;
}
.section4 .titletext h2:before {
  left: 0;
  border-top: solid 2px #016e55;
  border-bottom: solid 2px #016e55;
  border-left: solid 2px #016e55;
}
.section4 .titletext h2:after {
  border-top: solid 2px #016e55;
  right: 0;
  border-right: solid 2px #016e55;
  border-bottom: solid 2px #016e55;
}


 /* フッター */
 footer{
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #016e55;
 }
 footer p{
  text-align: center;
  color: #FFF;
  font-size: 20px;
 }

 /*タイトル付き（ラベルボックス）*/
.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; 
	left: 20px;
}
/* 項目見出し */
.about{
  text-align: center;
  padding-top: 40px;
  font-size: 2rem;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.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;
  text-align: center;
}
.photoflaphs .photoflaph{
  width: 32%;
}
.section4 .titletext{
  max-width: 1080px;
  width: 90%;
  margin: 0 auto;
 }
 .section4 .titletext h2{
  margin-top: 0;
  margin-bottom: 0px;
  text-align: center;
 }
 .section4 .titletext hr{
  border: 3px solid rgb(0, 121, 0);
  width: 80px;
  margin-left: 0;
  margin-top: 2px;
  margin-bottom: 30px;
 }
 /*==================================================
浮かび上がるJS
===================================*/
/* 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;
}

 /* モバイル対応 */
 @media (max-width: 768px) {
.textul ul {
    justify-content: center;
    margin-top: 30px;
    margin: 0 auto;
    flex-wrap: wrap;
    width: 70%;
    margin-top: 30px;
    margin-bottom: 30px;
}
.letterrow{
  display: block;
}
.letterp p{
  width: 80%;
}
.letter{
  text-align: center;
}
.letter2 img{
  margin-top: 0;
}
  .textul ul{
    gap: 20px;  
    padding: 0;
  }
  .banners{
    flex-direction: column;
  }
  .box{
    max-width: 768px;
    margin: 0 auto;
  }
  .flex{
    display: flex;
    flex-direction: column;
    padding-top: 60px;
    padding-bottom: 50px;
  }
  header{
    padding-bottom: 20px;
  }
  header .flex {
    display: flex;
    padding-top: 30px;
    align-items: center;
    max-width: 1080px;
    width: 90%;
    margin: 0 auto;
    height: 200px;
}
  .flex h1{
    font-size: 36px;
    font-size: 36px;
    margin: 0;
  }
  .websites{
    flex-direction: column-reverse;
  }
  .photoflaphs{
    flex-direction: column-reverse;
  }
  .skills{
    grid-template-columns: 1fr;
  }
  .text ul{
    padding-left: 50px;
  }
  .titletext{
    text-align: center;
  }
  .titletext hr{
    margin: 0 auto;
  }
  .profile{
    flex-direction: column-reverse;
    padding-top: 10px;
  }
  .box .skillhero{
    background-image: url(../imgs/skillphoto.jpg);
    height: 20vh;
    display:block;
  }
  /* WORK見出し */
  .section2 .titletext h2 {
    position: relative;
    display: inline-block;
    top:0;
    padding: .25em 1em;
    width: auto;
  }
  .titletext{
    margin-bottom: 0;
  }
  .titletext h3{
    margin-bottom: 0;
  }
  .websites{
    margin-top: 0;
  }
  .section2 .titletext h2:before,
  .section2 .titletext h2:after { 
    position: absolute;
    display: inline-block;
    top: 0;
    content:'';
    width: 8px;
    height: 100%;
  }
  .section2 .titletext h2:before {
    left: 0;
    border-top: solid 2px #016e55;
    border-bottom: solid 2px #016e55;
    border-left: solid 2px #016e55;
  }
  .section2 .titletext h2:after {
    border-top: solid 2px #016e55;
    right: 0;
    border-right: solid 2px #016e55;
    border-bottom: solid 2px #016e55;
  }
  .section3 .titletext h2 {
    position: relative;
    display: inline-block;
    top:0;
    padding: .25em 1em;
    width: auto;
  }
  .section3 .titletext h2:before,
  .section3 .titletext h2:after { 
    position: absolute;
    display: inline-block;
    top: 0;
    content:'';
    width: 8px;
    height: 100%;
  }
  .section3 .titletext h2:before {
    left: 0;
    border-top: solid 2px #016e55;
    border-bottom: solid 2px #016e55;
    border-left: solid 2px #016e55;
  }
  .section3 .titletext h2:after {
    right: 0;
    border-top: solid 2px #016e55;
    border-right: solid 2px #016e55;
    border-bottom: solid 2px #016e55;
  }
  .section4 .titletext h2 {
    position: relative;
    display: inline-block;
    top:0;
    padding: .25em 1em;
    width: auto;
  }
  .section4 .titletext h2:before,
  .section4 .titletext h2:after { 
    position: absolute;
    display: inline-block;
    top: 0;
    content:'';
    width: 8px;
    height: 100%;
  }
  .section4 .titletext h2:before {
    left: 0;
    border-top: solid 2px #016e55;
    border-bottom: solid 2px #016e55;
    border-left: solid 2px #016e55;
  }
  .section4 .titletext h2:after {
    right: 0;
    border-top: solid 2px #016e55;
    border-right: solid 2px #016e55;
    border-bottom: solid 2px #016e55;
  }
  .section1{
    background-image: url(../imgs/hero111.jpg);
    height: 40vh;
    width: 100%; 
  }
  .banners .banner{
    width: auto;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .websites .website{
    width: auto;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .photoflaphs .photoflaph{
    width: auto;
    margin-top: 30px;
    margin-bottom: 60px;
  }
  .box5-2 .box-title {
    background-color:#fff;
    font-size: 22px;
    font-weight:800;
    color: #016e55; 
    padding: 5 5 0px;
    line-height: 1.5;
    position:absolute;
    top: -16px; 
    left: 20px; 
 }

 .websites {
  padding: 20px;
}

/* websiteクラスのスタイル */
.website {
  background-color: #f9f9f9;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-align: center;
}

/* btn_12クラスのスタイル */
.btn_12 {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #ffffff;
  background-color: #007bff;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
}

.btn_12:hover {
  background-color: #0056b3;
}
.btn01 a {
	background-color: #ceb849;
	border: 1px solid #ceb849;
}

.btn01 a:hover {
	background-color: #B99b00;
	border: 1px solid #333;
}

.btn01 a::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -35px;
	transform: translateY(-50%);
	width: 70px;
	height: 1px;
	background-color: #333;
}
.tirasirow{
  display: block;
  width: 100%;
  justify-content: center;
}
.tirasi{
  text-align: center;
}
.tirasip h2{
  text-align: center;
}
.tirasip{
  width: 80%;
  margin: 0 auto;
}
.skills a.btn_12{
  width: 50%;
}
a.btn_12{
  width: 80%;
}

/* daitou */

.daitouflex {
  width: 95%;
  margin-top: 30px;
  padding: 40px 10px 0 10px;
  flex-direction: column-reverse;
  gap: 20px; 
}

.daitou {
  width: 100%;
}
.daitou h2 {
  font-size: 23px;
  margin-bottom: 16px;
  text-align: center;
}

.daitou img {
  width: 100%; 
}

.daitoutext {
  padding: 10px;
}

.daitouflex2 {
  width: 95%;
  padding: 0px;
}
.daitouflex2 h2 {
  padding: 10px 10px 10px 99px;
  font-size: 23px;
  text-align: center;
  margin: 45px 0 10px 0;
  padding: 0px;
  background: linear-gradient(transparent 90%, #fae362 50%);
}
.daitouflex2 h3 {
  width: 95%;
  font-size: 18px;
  margin:0;
  padding: 30px 20px 20px 99px;
}
.daitouflex2 p {
  width: 90%;
  margin: 16px 0 38px 0;
  padding: 0;
}
.daitouflex3 img{
  margin: 0;
}
.daitouflex2.daitou-banner img {
  width: 95%; /* バナー画像を幅いっぱいに */
  margin-bottom: 1%;
}
.daitouflex2 h3 span {
  padding-top: 25px;
}
.daitouflex2.inyou{
  margin-top: 40px;
}
.daitouflex2 .daitouflex3 .inyou2{
  margin: 0 0 30px 0;
}
.daitouflex2 p {
  width: 90%;
  margin: 30px 0 38px 0;
  padding: 0;
}
.daitouflex2 p {
  width: 90%;
  margin: 30px 0 38px 0;
  padding: 0 0 20px 0;
}
 }
