@charset "UTF-8";
/*共通*/
/*フォントファミリー
font-family: 'Noto Sans', sans-serif;　//ヒラギノゴシック代替
font-family: 'Noto Serif', serif;			//ヒラギノ明朝代替
font-family: 'Noto Serif JP', serif;		//タイトルなどの指定フォント
font-weight: 400;
font-style: normal;
*/
html {
  font-family: 'Noto Serif JP', serif;
  font-weight: 400;
  font-style: normal;
}

a,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: inherit;
}

nav {
  display: block;
  margin-bottom: 20px;
  border-bottom: solid 2px #0d406b;
}

.nav-menu ul {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  padding: 15px 0 5px;
  margin: 0;
  align-items: flex-end;
  font-family: 'Noto Sans', sans-serif;
}
.nav-menu li a {
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 5px 10px;
}

.line, .insta, .btn {
  width: auto;
  height: 70px;
}

.nav-left {
  display: flex;
}
.nav-left li {
  margin-left: 0;
}

.nav-right {
  display: flex;
}

h1 {
  font-size: 1.5rem;
  color: #fff;
  padding-left: 100px;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  background-color: #0d406b;
  font-family: 'Noto Sans', sans-serif;
}
footer p {
  margin: 0;
}
footer a,
footer a:visited,
footer a:hover,
footer a:active {
  text-decoration: none;
  color: #fff;
}

.title {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 70px;
  background-image: url("../img/title.png");
  background-size: cover;
  background-position: right;
}
.title h1 {
  margin: 0;
  padding-left: 100px;
}

/*事業内容*/
.container {
  display: block;
  margin: 0 auto;
  width: 90%;
  padding: 120px;
}

h2 {
  font-size: 1.2rem;
}

ol {
  list-style-type: decimal;
}
ol li {
  margin-bottom: 20px;
  font-size: 1rem;
}
ol li::marker {
  font-size: 1.2rem;
  font-weight: bold;
}

/*トップページ*/
.top-title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 825px;
  background-image: url("../img/TOP825.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 0;
}
.top-title .title-text {
  position: relative;
  top: 20%;
  font-size: 4rem;
  font-weight: bold;
  color: #000;
  line-height: 1.2;
  padding: 0;
}

.intro {
  margin: 0 auto;
  width: 100%;
  font-family: 'Noto Sans', sans-serif;
}

.gaiyou {
  margin: 0 auto;
  padding: 0 0 30px;
  text-align: center;
  color: #000;
}

.business {
  display: flex;
  justify-content: center;
  margin: 0 auto 150px;
  padding-bottom: 0;
  width: 70%;
  border: solid 1px #333;
  flex-wrap: wrap;
}

/*デフォルトでは横並び*/
.photo {
  flex: 4.5;
  padding-bottom: 0;
}

.photo img {
  display: block;
  width: 100%;
}

.info {
  flex: 5.5;
  padding: 30px;
  font-size: 1.2rem;
}

.jigyo {
  color: #1f86f0;
  text-decoration: underline;
  text-decoration-color: #1f86f0;
}

.jigyo:visited {
  color: #1f86f0;
  text-decoration-color: #1f86f0;
}

.consulting {
  text-align: center;
}
.consulting img {
  display: inline-block;
  width: 80%;
  height: auto;
}

.plan {
  text-align: center;
}
.plan img {
  display: inline-block;
  margin: 100px auto 30px;
  max-width: 100%;
  height: auto;
}

.app {
  text-align: center;
}
.app img {
  display: inline-block;
  margin: 0 auto 10vh;
  width: 80%;
  height: auto;
  max-width: 500px;
}

.greeting p {
  margin: 0 auto 100px;
  width: 70%;
  padding: 50px;
  border: solid 1px #3e3e3e;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
  font-family: 'Noto Sans', sans-serif;
  font-size: 1.2rem;
}

.greeting-text {
  margin: 0 auto;
  padding: 80px 0 20px;
  color: #000;
  font-size: 2rem;
  text-align: center;
}

/*プライバシーポリシー*/
ol {
  list-style-type: decimal;
  font-size: 1rem;
  padding-left: 1em;
  margin: 0;
}
ol li.sub {
  margin: 0;
}
ol li.sub::marker {
  font-size: 1rem;
  font-weight: bold;
}

.ex {
  padding-bottom: 20px;
}

/*料金プラン*/
table {
  margin: 100px auto 50px;
  padding: 30px 80px 60px;
  width: 45%;
  border: solid 1px #3e3e3e;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}
table th {
  padding: 30px 0 20px;
  font-size: 1.2rem;
}
table .right {
  text-align: right;
}
table td .right {
  text-align: right;
}

.payment {
  display: block;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
  font-size: 1rem;
}

.notes {
  display: block;
  margin: 0 auto;
  padding: 30px 80px 100px;
  width: 70%;
  font-size: 1rem;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  /* 768px以下の画面幅に適用 */
  /*共通*/
  nav {
    margin-bottom: 10px;
  }

  .nav-menu ul {
    flex-wrap: wrap-reverse;
    align-items: flex-end;
    padding: 15px 0 0;
  }

  .nav-left {
    font-size: 0.8rem;
  }

  .nav-right li a {
    padding: 3px;
  }

  .nav-menu .nav-left,
  .nav-menu .nav-right {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    align-items: flex-end;
  }

  .nav-menu li a img.btn {
    content: url("../img/botan3.png");
  }

  .line, .insta, .btn {
    width: auto;
    height: 40px;
  }

  .title {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 40px;
    background-image: url("../img/title.png");
    background-size: cover;
    background-position: right;
  }
  .title h1 {
    margin: 0;
    padding-left: 20px;
    font-size: 1.2rem;
  }

  .container {
    margin: 0 auto;
    padding: 50px 25px;
  }

  footer {
    font-size: 0.7rem;
  }

  /*トップページ*/
  .top-title {
    height: 300px;
    background-size: contain;
    background-position: top center;
  }

  .title-text {
    position: absolute;
    margin-top: -2vh;
    font-size: 2rem !important;
  }

  .greeting p {
    margin: 0 auto 30px;
    width: 80%;
    padding: 30px;
    border: solid 1px #3e3e3e;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
    font-size: 1rem;
  }

  .consulting img {
    content: url("../img/consul2.jpg");
    /* 画像を変更 */
  }

  .plan img {
    margin: 30px auto 5px;
  }

  .greeting-text {
    margin: 0 auto;
    padding: 20px 0;
    color: #000;
    font-size: 1.5rem;
    text-align: center;
  }

  .app img {
    margin: 0 auto 1vh;
  }

  .business {
    flex-direction: column;
    /* 縦並びに変更 */
    width: 90%;
    /* 横幅を少し広げる */
    margin-bottom: 50px;
  }

  .gaiyou {
    padding-bottom: 10px;
  }

  .photo {
    flex: none;
    /* フレックス比率を解除 */
    width: 65%;
    /* 画像が全幅を使う */
    margin: 10px auto;
    /* 画像とテキストの間にスペースを追加 */
  }

  .info {
    flex: none;
    /* フレックス比率を解除 */
    width: 100%;
    /* テキストが全幅を使う */
    padding: 15px;
    /* テキストのパディングを調整 */
    font-size: 1rem;
    line-height: 1.2;
  }

  .consulting {
    text-align: center;
  }
  .consulting img {
    display: inline-block;
    width: 80%;
    /* ← 画像を80%に縮小 */
    height: auto;
    /* 縦横比を保ったまま縮小 */
  }

  /*事業内容*/
  .container {
    display: block;
    margin: 0 auto;
    width: 90%;
    padding: 20px;
  }

  ol {
    list-style-type: decimal;
  }
  ol li {
    margin-bottom: 20px;
    font-size: 0.8rem;
  }
  ol li::marker {
    font-size: 1rem;
    font-weight: bold;
  }

  h2 {
    font-size: 1rem;
  }

  /*プライバシーポリシー*/
  p.ex {
    /* セレクタを修正 */
    font-size: 0.8rem;
  }

  /*料金プラン*/
  table {
    margin: 30px auto 5px;
    padding: 30px;
    width: 90%;
    border: solid 1px #3e3e3e;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
  }
  table th {
    padding: 20px 0 15px;
    font-size: 1rem;
  }
  table .right {
    text-align: right;
  }
  table td {
    font-size: 0.9rem;
  }
  table td .right {
    text-align: right;
  }

  .payment {
    display: block;
    margin: 0 auto;
    padding: 30px 0 10px;
    text-align: center;
    font-size: 0.8rem;
  }

  .notes {
    display: block;
    margin: 0 auto;
    padding: 5px 3px 30px;
    width: 90%;
    font-size: 0.8rem;
  }
}
/* 768px以下の画面幅に適用 */
@media screen and (max-width: 600px) {
  /*トップページ*/
  .top-title {
    height: 200px;
    background-size: contain;
    background-position: top center;
  }

  .title-text {
    position: absolute;
    margin-top: 0vh;
    font-size: 1.8rem !important;
  }
}
