@charset "UTF-8";

/*共通＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", "YuGothic", "游ゴシック体", "ヒラギノ角ゴpro W3", sans-serif;
  line-height: 1.7;
  color: #454545;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  margin: 0 auto;
}

.wrapper {
  margin: 0 auto;
}

/*共通ここまで＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿*/
/*header＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿＿*/
.page-header {
  background: url(images/main_visual.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  max-height: 100vh;
  width: 100%;
  border-bottom: 30px rgb(219, 219, 222) solid;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
}

.main-nav li {
  margin: 40px 30px;
  list-style: none;
  font-size: 1.25rem;
  font-weight: bold;
}

.main-nav a {
  color: #41e1f9;
}

.main-nav a:hover {
  color: #088487;
}

/*___________________________________________________*/
.mainlogo {
  display: flex;
  justify-content: flex-start;
  margin-top: 20px;
  margin-bottom: 50px;
}

.haneimage img {
  width: 450px;
  height: 250px;
  object-fit: cover;
}

.logo {
  margin-left: 40px;
}

.logo img {
  width: 500px;
  margin-top: 5%;
}

.logo p {}

/*コンタクトボタン_________________________________________*/
.home-contactbtn {
  margin-top: 30px;
  margin-left: 400px;
}

.profile-contactbtn {
  margin-top: 30px;
}

.button a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
  width: 150px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  background-color:rgb(231, 235, 0);
  border-radius: 50vh;
}

.button a::after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
}

.button a:hover {
  text-decoration: none;
  background-color: #088487;
}

/*スクロールボタン*/
/*スクロールここまで*/
/**/
.main-text {
  margin: 50px auto;
}

h2 {
  font-weight: bold;
  line-height: inherit;
  font-size: 1.4em;
  text-align: center;
  margin: 80px 30px;
}

/*プロフィール*/
.profile {
  border-bottom: 5px #41e1f9 double;
}

.profession {
  width: 70%;
}

.name {
  font-size: 2rem;
  font-weight: bold;
  line-height: 2.5;
  letter-spacing: 0.5em;
}

.hira {
  font-size: 1rem;
}

.profile-content {
  width: 70%;
  margin-top: 20px;
  display: flex;
}

.profile-text {
  width: 60%;
  margin-top: 20px;
}

.profileimage  img{
  width: 350px;
  margin-left: 80px;

}

.profileline {
  margin-left: 10%;
  border-bottom: 5px #41e1f9 double;
}

.profileline p {
  font-size: 3rem;
  color: rgb(65, 225, 249, 0.1);
  text-align: left;
  margin-right: 30%;
}

/*メインコンテンツ＿＿＿＿＿＿＿＿＿*/
.main-contents {
  display: flex;
  justify-content: center;
}

.contentsbox {
  width: 400px;
  border-bottom: 5px #41e1f9 double;
  margin: 40px 40px;
  
}

h3 {
  font-size: 3rem;
  color: #41e1f9 ;
  margin-top: 10%;
  text-align: center;
}

.subh3 {
  text-align: center;
}

.contents-text {
  width: 350px;
  margin: 0 auto;
}

.contents-text p {
  margin-top: 20%;
}

h5 {
  text-align: center;
  font-weight: bold;
  font-size: 1.25em;
  margin-top: 10%;
}

.headingline {
  font-size: 3rem;
  color: rgb(65, 225, 249, 0.2);
  text-align: right;
  margin-right: 10%;
}

.myskill {
  border: 2px #41e1f9 solid;
  border-radius: 5px;
  padding: 30px 10px;
}

/*デザインコンテンツボックス*/


.contents-img2 {
  width: 350px;
  display: block;
  margin: 0 auto;
}

.grid {
  width: 80%;
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 6%;
  margin-bottom: 50px;
}

/*コンタクト*/
#contact {
  width: 80%;
  margin-top: 50px;
  margin-bottom: 50px;
}

.contact-text {
  margin-top: 20px;
  text-align: center;
}

.mail {
  text-align: center;
  font-weight: bold;
  font-size: 1.5em;
  margin: 20px 0;
}

/*フッター*/
footer {
  text-align: center;
  line-height: 1;
  background-color: #41e1f9;
}

/*モバイル変換______________________________________________*/
@media screen and (max-width:600px) {
  .page-header{
    width: 100%;
  }
  .main-nav {
    justify-content: center;
  }

  .main-nav li {
    margin: 10px 10px;
    font-size: 1rem;
  }

  /*_______________________________________________________*/
  .haneimage {
    width: 20%;
  }

  .logo {
    width: 250px;
    margin-left: 5%;
  }

  /*コンタクトボタン*/
  .home-contactbtn {
    margin-top: 30px;
    margin-left: 40px;
  }

  .main-text h2 {

    font-size: 1.25em;

  }


  /*プロフィール*/

  .profession {
    width: 80%;
    margin: 0 auto;
  }

  .profile-content {
    width: 80%;
    flex-direction: column;
    justify-content: center;
  }

  .profile-text {
    width: 100%;
  }

  .profileimage img{
    width: 100%;
    margin:0 auto;
  }
  .profileline {
    margin-right:0%;
  }
  .profileline p{
    margin-right:0%;
  }
  .profession p{
    font-size:0.8rem;
  }
  .name {
    font-size: 1.8rem;
    line-height: 2.3;
    letter-spacing: 0.3em;
  }

  .hira {
    font-size: 0.8rem;
  }
/*メインコンテンツ*/
.main-contents{
  flex-direction: column;
}
.contentsbox {
  width: 350px;
  margin: 0 auto;
}
h3 {
  font-size: 2.5rem;

}

}
