@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  color: #383e45;
  font-size: 0.9rem;
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
.site-title {
  width: 120px;
  line-height: 1px;
  padding: 10px 0;
}
.site-title a {
  display: block;
}
.section-title {
  display: inline-block;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  border-bottom: solid 1px #383e45;
}
.content-title {
  font-size: 1rem;
  margin: 10px 0;
}
.wrapper {
  /* max-width: 960px; */
  margin: 0 auto 100px auto;
  padding: 0 4%;
  text-align: center;
}

main{
  font-size: 20px;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
.company-name{
  font-size: 40px;
  text-align: center; /* テキストを中央揃えにする */
  margin: 0 auto; /* テキストを水平方向に中央配置 */
  /* font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif */
  font-family:'Times New Roman', Times, serif;
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  background-color: #ffffff; /* ヘッダの背景色 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* ヘッダに影を追加 (オプション) */
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  height: 62px;
}
#header ul {
  display: flex;
  padding: 10px 0;
}
#header li {
  margin-left: 30px;
}
#header li a {
  color: #24292e;
}
#header li a:hover {
  opacity: 0.7;
}

nav {
  display: block;
  position: fixed;
  background-color: #ffffff;
  width: 220px;
  top: 0;
  left: -300px;
  bottom: 0;
  transition: all 0.5s;
  z-index: 3;
  opacity: 0;
}

.open nav {
  left: 0;
  opacity: 1;
}

nav .inner {
  padding: 25px;
}

nav .inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav .inner ul li {
  margin: 0;
  border-bottom: 1px solid #333;
}

nav .inner ul li a {
  display: block;
  color: #333;
  font-size: 14px;
  padding: 1rem;
  text-decoration: none;
  transition-duration: 0.2s;
}

nav .inner ul li a:hover {
  background: #e4e4e4;
}

.toggle-menu {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 3; /* ハンバーガーメニューが最前面に表示されるように */
}

.toggle-btn {
  display: block;
  position: absolute;
  top: 0px;
  right: 0px;
  width: 30px;
  height: 30px;
  z-index: 3;
  cursor: pointer;
}


.toggle-btn span {
  position: absolute;
  display: block;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #333;
  transition: all 0.5s;
  border-radius: 4px;
}

.toggle-btn span:nth-child(1) {
  top: 4px;
}
.toggle-btn span:nth-child(2) {
  top: 14px;
}
.toggle-btn span:nth-child(3) {
  bottom: 4px;
}

.open .toggle-btn span {
  background-color: #fff;
}

.toggle-btn span.rotate-1 {
  transform: translateY(10px) rotate(-315deg);
}

.toggle-btn span.rotate-2 {
  transform: translateY(-10px) rotate(315deg);
}


/* .open .toggle-btn span:nth-child(1) {
  transform: translateY(10px) rotate(-315deg);
}

.open .toggle-btn span:nth-child(2) {
  opacity: 0;
}

.open .toggle-btn span:nth-child(3) {
  transform: translateY(-10px) rotate(315deg);
} */

#mask {
  display: none;
  transition: all 0.5s;
}

.open #mask {
  display: block;
  background: #000;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: fixed;
  opacity: 0.8;
  z-index: 2;
  cursor: pointer;
}
/*-------------------------------------------
Mainvisual
-------------------------------------------*/
#mainvisual {
  margin-bottom: 80px;
}
#mainvisual img {
  /* width: auto;
  max-width: 320px;
  height: 400px;
  object-fit: cover; */

  width: auto;
  height: auto;
  object-fit: cover; 
  margin: auto;
  display: block;

}

/*-------------------------------------------
About
-------------------------------------------*/
#about .content {
  display: flex;
  justify-content: center;
  align-items: center;
}
#about img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-right: 30px;
  margin-bottom: 40px;
}
#about .text {
  text-align: left;
}
/*-------------------------------------------
Output
-------------------------------------------*/
.youtube{
  width: 100%;
  aspect-ratio: 16 / 9;
}

.youtube iframe {

  width: 100%;

  height: 100%;

}
/*-------------------------------------------
Procedure
-------------------------------------------*/
#procedure ul {
  display: flex;
  justify-content: space-between;
}
#procedure li {
  width: 32%;
}
#procedure img {
  width: 200px;
  height: 160px;
}
/*-------------------------------------------
利用規約
-------------------------------------------*/
#terms {
  font-size: 0.5rem;
  padding: 0;
  text-align: center;
}

/*-------------------------------------------
footer
-------------------------------------------*/
#footer {
  font-size: 0.5rem;
  padding: 10px 0;
  text-align: center;
}


/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 600px) {
  /*-------------------------------------------
  Header
  -------------------------------------------*/
  .company-name{
    font-size: 30px;
    }
  /*-------------------------------------------
  Mainvisual
  -------------------------------------------*/
  #mainvisual img {
    height: calc 60px(100vh - 60px);
  }

  /*-------------------------------------------
  About
  -------------------------------------------*/
  #about .content {
    flex-direction: column;
  }
  #about img {
    margin-right: 0;
  }


  /*-------------------------------------------
  Output
  -------------------------------------------*/
  .youtube{
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .youtube iframe {

    width: 100%;
  
    height: 100%;
  
  }

  /*-------------------------------------------
  Procedure
  -------------------------------------------*/
  #procedure ul {
    flex-direction: column;
  }
  #procedure li {
    width: 100%;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .horizontal-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    width: 100%;
    gap: 16px;
  }

  #procedure img {
    width: 120px;
    height: auto;
    flex-shrink: 0;
  }

  #procedure .content-title {
    font-size: 1.3rem;
  }

  .horizontal-content p {
    font-size: 1.0rem;
  }
}