@charset "UTF-8";



body{
  word-wrap: break-word;
  letter-spacing: 0.05em;
}

p {
  line-height: 1.8;
  margin-top: 10px;
}

li {
  list-style-type: none;
}

a{
  text-decoration: none;
  color: inherit;
  display: inline-block;
position: relative;
}

h3 {
  font-weight: bold;
  font-size: 25px;
}

.profile-section h2 {
  margin-bottom: 30px;
}

.under{
  border-bottom: solid 3px #ffd200;
  padding-bottom: 10px;
}

a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #ffd200;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .3s;
}


a:hover::after {
  transform: scale(1, 1);
}



.page-header{
  display: flex;
  justify-content: space-between;
  padding: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.header-inner {
  margin-top: 10px;
}


.header-nav{
    display: flex;
    list-style: none;
}

.header-nav li{
  margin-left: 36px;
  font-size: 25px;

}

header img {
  width: 200px;
}

.prof-outline {
  max-width: 950px;
  margin: 0 auto;
}

.profile-section {
  padding: 64px;
}

.prof {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  box-shadow: 0 0 3px 0 #ffd200;
  padding: 20px;
}

.prof-pic > img {
max-width: 100%;
width: 300px;
}

.prof-pic {
  margin-right: 20px;
  width: 40%;
}

.prof-contents {
  width: 60%;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
}

.sns-link {
  display: flex;
  margin-top: 12px;
  text-align: center;
}

.prof-icon-blog {
  margin-left: 12px;
}



#top-bg {
  background-image: url(../img/main-bg.png);
  min-height: 40vh;
}

.big-bg {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.wrapper {
  margin-top: 3%;
  padding-top: 100px;
}

.wrapper p {
  font-size: 20px;
  font-weight: bold;
margin-left: 120px;
}

.page-ttl {
  text-align: center;
  font-size: 4.5rem;
  font-weight: bold;
  font-family: 'Noto Serif JP', serif;
}

.page-contents {
  width: 450px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 45px;
}






.prof-contents {
  text-align: left;
}

.service h2 {
  margin-bottom: 30px;
}

.service img {
  width: 60%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

.card-body {
margin-top: 30px;
}

.card-body p {
  font-weight: bold;
}

.service .row {
  margin-bottom: 60px;
}

.service .card {
  border: 1px solid #ffd200;
}

.item-list {
  max-width: 950px;
  margin-top: 50px;
  margin-bottom: 100px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
    grid-template-rows: 800px 800px 800px;
  column-gap: 95px;
  row-gap: 50px;
}

.item-list li {
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: center;
}

.item-list li a {
  margin-bottom: 50px;
  font-weight: bold;
  font-size: 20px;
  color: #1760a0;
}

.item-list img {
  width: 400px;
  height: 500px;
}

dl {
  margin-top: 20px;
}

dt {
  font-weight: bold;
  font-size: 25px;
}

dd {
  font-size: 18px;
  line-height: 1.5;
  margin-top: 10px;
padding-bottom: 20px;
text-align: left;
}



.contact-p {
  font-weight: bold;
}


.contact-area {
  text-align: center;
}

footer {
  padding: 12px;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.footer-inner {
  text-align: right;
  padding-left: 30px;
  color: #fff;
}

.end-message {
  display: none;
}

.false-message {
  display: none;
}

form div {
  margin-bottom: 15px;
}


label{
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.contact-text {
  display: block;
}

.contact-name {
  margin-right: 10px;
}

.contact-mail {
  margin-right: 10px;
}

.contact-color {
  background-color: rgb(234, 240, 208);
}

textarea {
  width: 40%;
}




@media (max-width: 850px) {
  .prof {
    flex-wrap: wrap;
  }

.prof-pic {
  width: 95%;
}

.prof-icon-twitter , .prof-icon-blog {
margin-left: auto;
margin-right: auto;
}


  .prof-contents {
    width: 90%;
    font-size: 15px;
  }




.profile-section {
width: 95%;
}

.service {
  width: 90%;
}



.item-list img {
  width: 95%;
height: auto;
}

.page-ttl {
  font-size: 2.45rem;
}

.page-contents p {
  font-size: 1.05rem;
}

}




@media (max-width: 1100px) {
  .item-list {
    grid-template-columns: 1fr;
    width: 80%;
  }

  .main-nav {
    flex-wrap: wrap;
  }
  
}