/* -----------------------------------
  basic
----------------------------------- */
@font-face {
  font-family: "はんなり明朝";
  src: url("/wp-content/themes/outbound-sv/fonts/HannariMincho-Regular.otf") format("opentype");
}

/*全体設定 ここから*/
h1 {
  color: #fff; /*文字色*/
  border-left: solid 4px #222; /*サブカラー*/
  background: #999; /*メインカラー*/
  font-size: 28px;
  padding-left: 10px;
  margin: 10px 0;
}
h2,h3 {
  border-left: solid 4px #222;
}
h2,h3,h4 {
  font-weight: 700;
}
h2 {
  color: #fff;
  background: #999;
  font-size: 20px;
}
h3,h4,h5 {
  color: #666;
}
h4:before {
  background: #222;
}
table tbody tr th {
  background-color: #999;
  color: #fff;
}
.entry-content table tbody tr td p {
  padding: 0;
  font-size: 16px;
}
.txt-center {
  text-align: center!important;
}
p {
  line-height: 1.78;
}
/*全体設定 ここまで*/

html{
  margin-top: 0px !important;
  font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  font-size: 1.6rem;
  color: #333;
  margin: 0 auto;
  max-width: 1280px;
  font-family: MercariSans-Thin;
}
html, body {
  scroll-padding-top: 70px;
}
main {
  padding-top: 80px;
}
main#top {
  margin: 50px 0;
  padding-top: 0;
}
a {
  text-decoration: none;
  transition: .3s;
  color: #000;
  font-weight: 700;
}

a::hover {
  opacity: 0.7;
}

b {
  font-weight: bold;
}
p em a {
  text-decoration: none;
}
p em strong {
  position: relative;
  display: block;
  width: 90%;
  margin: 20px auto 40px;
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(249,241,192,0.3);
  font-size: 16px;
  width: fit-content;
  min-width: 50%;
  text-underline-offset: 4px;

}
p em strong::before {
  content: 'Point'; /* 追加したいテキストを指定 */
  position: absolute;
  left: 50%;
  top: -24%;
  transform: translateX(-50%);
  display: inline;
  font-size: 24px;
}

ul {
  list-style: disc;
  margin: 5px auto 5px 30px;
  height: auto;
}
ul li {
  padding: 5px 5px 5px 0;
  line-height: 1.785;
}
ol {
  list-style: revert;
  margin-left: 30px;
}
ol li {
  padding-bottom: 10px;
  line-height: 1.785;
}
a.anchor{
  display: block;
  padding-top: 30px;
  margin-top: -30px;
}
strong {
  text-decoration: underline 5px #ffff7f;
  font-weight: bold; 
  text-underline-offset: 3px;
}

table {
  display: block;
  width: 100%;
  overflow-x: auto;
  margin: 20px auto;
  height: auto!important;
  display: flex;
}

th, td {
  min-width: 200px;
}

table tbody {
  margin: 0 auto;
}

.swipe-message {
    display: none;
    text-align: center;
    font-size: 18px;
    color: #333;
}
table tbody tr {
  border: solid 1px;
}
table tbody tr th {
  border: solid 1px #000;
  padding: 5px;
  vertical-align: middle;
  font-weight: 700;
  width: 200px!important;
}
table tbody tr td {
  border: solid 1px;
  padding: 10px;
  vertical-align: middle;
}
table tbody tr td img {
  display: block;
  max-width: 150px;
  margin: 0 auto;
}
table tbody tr td em a {
  max-width: 150px;
}

p a {
  text-decoration: underline  ;
}
.wp-embedded-content {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}
.wp-embed-footer {
  display: none!important;
}
.flex {
  display: flex;
}
.block {
  display: block;
}

/*totopボタン*/
.contact_btn {
  height: 60px;
  width: 100%;
  position: fixed;
  right: 0;
  bottom: 0;
  background: #ff9900;
  border: solid 2px #000;
  display: inline-block;
  text-align: center;
  z-index: 2;
}
.contact_btn:hover {
  background-color: #fff;
}
.contact_btn small {
  font-size: 10px;
}

/*アコーディオン*/
/*ベース*/
.toggle {
  display: none;
}
.Label {    /*タイトル*/
  padding: 1em 2em 1em 3em;
  display: block;
  color: #333;
}
.Label::before{   /*タイトル横の矢印*/
  content:"";
  width: 6px;
  height: 6px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  -webkit-transform: rotate(45deg);
  position: absolute;
  top:calc( 50% - 3px );
  right: 20px;
  transform: rotate(135deg);
}
.Label::after{   /*Q*/
  content:"Q";
  width: 6px;
  height: 6px;
  position: absolute;
  left: 20px;
  top: calc(50% - 12px);
}
.Label,
.content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
}
.content {    /*本文*/
  height: 0;
  margin-bottom:10px;
  padding:0 20px;
  overflow: hidden;
}
.toggle:checked + .Label + .content { /*開閉時*/
  height: auto;
  padding:20px 20px 8px;
  transition: all .3s;
  background-color: rgba(41, 41, 41,0.1);
  color: #333;
}
.toggle:checked + .Label::before {
  transform: rotate(-45deg) !important;
}
.content p {
  padding-bottom: 10px;
  line-height: 1.78;
}
/* -----------------------------------
  pc
----------------------------------- */
/*共通*/
section {
  margin: 0 20px;
}
header {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
}
.header {
  width: 100%;
  margin: 0 auto;
  position: fixed;
  border-bottom: solid 4px #222;
  background: #999;
  height: 60px;
  padding: 10px;
  align-items: center;
}
.header a {
  color: #fff;
  border-bottom: none;
}
.header a:hover {
  /*background: #000;
  color: #dab300;
  filter: brightness(110%);*/
  opacity: 0.5;
}
.header {
  display: flex;
}
header h1 {
  margin-right: auto;
  border-left: none;
  font-size: 24px;

}
.header p a {
  text-align: right;
  font-size: 1.4rem;
  text-decoration: none;
}

h2 {
  margin: 35px 0 10px;
  padding: 5px 5px 5px 10px;
}
h3 {
  font-size: 18px;
  margin: 30px 0 10px;
  padding: 5px 5px 5px 10px;
}
h4 {
  position: relative;
  width: 100%;
  font-size: 18px;
  margin: 25px 0 10px;
  padding: 5px 5px 5px 0;
  border-bottom: solid 1px #999;
  width: 95%;
}
h4::before {
  content: "";
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
}
h5 {
  font-size: 16px;
  margin: 20px 0 20px;
}

/*--------------
トップページ
--------------*/

section#mv {
  margin: 0;
}

#top .menu {
  margin: 35px 0;
}
#top .menu ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, 150px);
  text-align: center;
  margin: 0 auto;
  justify-content: center;
}
#top .menu ul li {
  list-style: none;
  padding: 0;
  width: 100%;
  height: 100%;
}

#top .menu ul a li:hover {
  background-color: #999;
  color: #fff;
}

.mv img {
  max-width: 1480px;
  max-height: 150px;
  object-fit: cover;
}
.mv_img {
  height: 150px;
  object-fit: contain;
  aspect-ratio: 16 / 9;
}
.mv .container {
  width: 100%;
  margin: 0 auto;
  position: relative;
  border-bottom: solid 4px #222;
  background: #999; 
}

.mv .container p {
  margin: 10px;
  color: #fff;
  text-align: center;
}

.mv h1 {
  padding: 0;
  margin: 0;
  font-size: 30px;
  color: #fff;
  text-align: center;
  filter: brightness(110%);
  width: 100%;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px; /* グリッドアイテム間の間隔 */
  max-width: 1200px;
  margin: 0 auto;
}
ul.grid-container {
  margin-left: 0;
}

ul.grid-container a {
  max-width: 300px;
  list-style: none;
  text-align: center;
  border: solid 1px #999;
  border-radius: 10px;
  padding: 5px;
  margin: 0 auto;
  width: 300px;
}

ul.grid-container a li {
  padding-bottom: 0;
}
ul.grid-container a li:hover {
  opacity: 0.7;
}
small {
  font-size: calc(100%* 0.7);
}
small.micro-copy {
  margin-top: 20px;
  margin-bottom: -20px;
  display: block;
}

/*スライダー*/
#top section#mv button {
  display: none!important;
}

/*--------------
記事一覧
--------------*/
.archive .thumbnail {
  margin: auto 0;
}
.archive h3 {
  border-left: none;
}
.archive .post-meta {
  padding-left: 10px;
}

@media screen and (max-width: 767px) {
  .archive .article-content {
    margin-left: 0;
  }
}

/*--------------
記事詳細
--------------*/
article {
  margin: 10px 0;
  font-size: 16px;
  word-break: break-all;
}

.article {
  display: flex;
  max-width: 1000px;
  margin: 10px auto;
}

article p {
  margin: 0 10px 10px;
  line-height: 1.78;
}

article .entry-content p img {
  width: auto;
  display: block;
  margin: 0 auto;
}
.article .thumbnail a {
  border-bottom: none;
}
.article .thumbnail img {
  display: block;
  margin: 0 auto;
  width: 150px; /* アイキャッチ画像を親要素に合わせて100%に設定 */
  height: auto; /* アスペクト比を維持しつつ幅100%にするため */
  object-fit: contain;
  border: solid 1px #222;
  aspect-ratio: 16/9;
}
article .article-content {
  margin-left: 20px;
}

article h1 {
  margin: 20px 0 10px;
  padding: 5px 5px 5px 10px;
}

#top section button {
  margin: 20px auto;
  display: block;
  padding: 10px;
  width:25%;
  border-radius: 10px;
  border: solid 1px #999;
  background-color: #ff9900;
  font-size: 20px;
}
#top section button:hover {
  background-color: #fff;
}
#top section button a {
  display: block;
  width: 100%;
  height: 100%;
  font-weight: normal;
  font-size: 16px;
}
/* 各記事のコンテンツのスタイルを設定 */
.article-content h3{
  margin: 10px 0 0;
}
.article-content .content {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 制限したい行数が3の場合 */
  overflow: hidden;
}

.entry-content .post_info {
  text-align: right;
  margin-right: 10px;
}
.entry-content .post_info p {
  margin-bottom: 0;
}
.entry-content .post_info .cate {
  text-align: right;
  margin-bottom: 5px;
}
.entry-content .post_info .cate a {
  margin-bottom: 10px;
}
.entry-content .post_info .text-align{
  text-align: right;
  margin-right: 5px;
}
.entry-content .tag {
  line-height: 2;
}
.entry-content .tag a {
  border: solid 1px #222;
  border-radius: 25px;
  padding: 5px 5px 6px 5px;
  font-size: 12px;
  display: ruby;
}

.entry-content p em {
  display: block;
  margin-top: 20px;
  margin-bottom: -45px!important;
  font-size: 12px;
  text-align: center;
}

em {
  position: relative;
}
em a {
  display: flex;
  color: #fff;
  padding: 10px 7%;
  padding-right: 2%;
  width: 600px;
  font-size: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 10px auto 60px;
  border: solid 1px #222;
  border-radius: 50px;
  background: #00b47f;
  box-shadow: 0 6px 0 #006648, 0 12px 0 rgba(0,0,0,.2);
  transition: color .3s, background .3s, box-shadow .3s, transform 0.3s;
}
em a::after {
  content: "→";
  margin-left: 20px;
}
em a img {
  width: 100px;
}
em a:hover {
  background: #00cc90;
  box-shadow: 0 3px 0 #006648, 0 6px 0 rgba(0,0,0,.2);
  transform: translateY(3px);
  color: #fff;
  text-decoration: none;
}

blockquote {
  border: solid 1px #444;
  border-radius: 10px;
  padding: 10px;
  margin: 20px auto;
  background: rgba(226,246,255,0.3);
  width: fit-content;
  min-width: 50%;
}
.entry-content blockquote p {
  margin-bottom: 0;
}
.entry-content blockquote ul {
  margin-bottom: 0;
}
.entry-content blockquote ol {
  padding-top: 10px;
  margin-bottom: 0;
}
.entry-content blockquote ul li p {
  padding-bottom: 0;
}
.entry-content p {
  padding: 5px 0;
  line-height: 1.78;
}
.entry-content .thumbnail {
  max-width: 650px;
  object-fit: contain;
  margin: 10px auto;
}
.entry-content .thumbnail img {
  aspect-ratio: 16/9;
  object-fit: cover;
}
.description {
  margin: 10px 0;
}
.description p {
  margin-bottom: 0;
  padding: 0;
  line-height: 2;
}
.entry-content .related-posts .date {
  font-size: 14px;
}
.entry-content .related-posts a {
  font-weight: normal;
}
.entry-content .related-posts ul {
  margin-left: 10px;
}
.entry-content .related-posts ul li {
  list-style: none;
}
.entry-content .related-posts ul li a {
  text-decoration: none;
  border-bottom: none;
  align-items: center;
}
.entry-content .related-posts ul li a img {
  width: 150px;
  height: auto;
  margin-right: 20px;
  object-fit: cover;
}

.editor_info {
  display: flex;
  margin: 10px 0;
  padding: 10px;
  border: solid  1px #999;
  border-radius: 10px;
}
.editor_info a,
p a {
  text-decoration: underline;
  color: #1a0dab;
}
.editor_info p {
  display: block;
  margin: auto 25px;
  line-height: 1.78;
}
.editor_info .editor {
  display: block;
  width: 230px;
  text-align: center;
  margin: auto 0;
}
.editor_info .editor img {
  width: 80px;
  height: 80px;
  border: solid 1px #999;
  border-radius: 50px;
  object-fit: cover;
  margin-top: 5px;
}
.editor_info .editor p {
  text-align: center;
  margin: 0;
}
.editor_info ul {
  padding-left: 10px;
  font-size: 14px;
}
.editor_info ul li {
  padding: 0;
}

.back {
  text-align: center;
  margin-top: 30px;
}

.adsbygoogle {
  text-align: center;
  margin-top: 30px;
}

/*もくじ*/
.entry-content .toc_container {
  padding-left: 0;
}
.toc_container li {
  margin-left: 20px;
}

.entry-content .toc_container ul.toc-list {
  list-style: revert-layer;
  margin-left: 12.5px;
}
.entry-content .toc_container ul.toc-list li {
  padding-bottom: 0;
  line-height: 1.5;
}
.entry-content .toc_container ul.toc-list li ul {
  margin-left: 10px;
}
.toc-list li a.h2 {
  font-weight: 700  ;
}
.toc_container ul.toc-list li.h3 {
  font-size: 14px;
  margin-left: 30px;
  list-style: circle;
}
.toc_container ul.toc-list li.h3 a {
  font-weight: normal;
}
/*もくじ ここまで*/

/*お問い合わせページ*/
#contact {
  max-width: 600px;
  margin: 0 auto;
}
#contact .input {
  display: flex;
}
#contact .select .question,
#contact .txt-area .question {
  margin-bottom: 10px;
}
#contact .input,
#contact .select,
#contact .txt-area {
  margin: 20px;
}
#contact .input input{
  padding: 5px;
}
#contact .input .question,
#contact .select .question,
#contact .txt-area .question {
  width: 150px;
  font-weight: 700;
  padding-top: 4px;
}
#contact .wpcf7-list-item {
  display: block;
}
#contact .wpcf7-form-control.wpcf7-textarea {
  width: 100%;
}
#contact .wpcf7-form-control.wpcf7-submit.has-spinner{
margin: 20px auto;
  display: block;
  padding: 10px;
  width: 55%;
  border-radius: 10px;
  border: solid 1px #999;
  background-color: #ff9900;
  font-size: 20px;
}
/*ページネーション*/
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.pagination a {
  padding: 8px 16px;
  margin: 0 4px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
}

.pagination a:hover {
  background-color: #f0f0f0;
}

.pagination .current {
  background-color: #999;
  color: #fff;
  width: 50px;
  text-align: center;
  padding: 9px;
}
/*パンくず*/
.breadcrumb {
  display: block;
}
.breadcrumb span {
  display: flex;
  align-items: center;
}
.breadcrumb-sp {
  display: flex;
}
.breadcrumb p {
  padding: 0 10px;
}

/*フッター*/
.footer {
  text-align: center;
  font-size: 1.4rem;
  padding: 10px 0;
  margin-bottom: 60px;
}
.footer .footer_sub ul {
  display: flex;
  justify-content: center;
}
.footer .footer_sub ul li {
  margin: 0 10px;
  list-style: none;
}

.flex-container {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

ul.flex-container {
  list-style: none;
  justify-content: space-around;
  padding: 0;
  margin-left: 0;
}

ul.flex-container li {
  text-align: center;
  padding: 10px;
  color: #000; /* テキストの色 */
}

ul.flex-container a {
  list-style: none;
  text-align: center;
  width: 100%;
  background: #fff;
}
ul.flex-container a.home {
  width: 10%;
}

ul.flex-container li a img {
  display: block;
  background-size: cover;  
  height: 30px;
  width: 30px;
  margin: 0 auto;
}

#footer_contact {
  text-align: center;
  margin: 20px auto;
}
#footer_contact em {
  font-size: 14px;
}
#footer_contact button {
  width: 30%;
  border-radius: 25px;
}
#footer_contact button a {
  display: block;
  width: 100%;
  padding: 10px;
}

/* -----------------------------------
	tablet
----------------------------------- */
@media screen and (max-width: 1279px) {
	.r-side .block .cate {
    font-size: 1.4rem;
  }
	.breadcrumb-sp {
    display: flex;
    margin-bottom: 3px;
    align-items: center;
  }
}

/* -----------------------------------
  sp
----------------------------------- */
@media screen and (max-width: 767px) {
  main {
    margin: 0 5px;
  }
  section {
    margin: 0 10px;
  }
  #css-slider {
    height: 100%;
  }
  .editor_info {
    display: block;
  }
  .editor_info .editor {
    margin: 10px auto;
  }
  em a {
    width: 330px;
    font-size: 16px;
    padding-right: 4%;
    text-align: center;
  }
  em a::after {
    margin-left: 10px;
    font-size: 20px;
  }
  .mv_img {
    height: 100px;
  }
  .breadcrumb {
    font-size: 12px;
  }
  .editor_info p {
    font-size: 12px;
    padding: 0;
  }
  .article {
    display: block;
    margin-bottom: 30px;
  }
  article h1 {
    font-size: 20px;
  }
  h2 {
    font-size: 18px;
  }
  h3,h4 {
    font-size: 16px;
  }
  ul li,
  ol li {
    font-size: 14px;
  }
  .post_info {
    font-size: 14px;
  }
  .article .thumbnail img {
    max-width: 300px;
    width: 100%;
  }
  p em strong::before {
    top: -22%;
  }
  #top section button {
    width:77%;
  }
  #contact .input {
    display: block;
  }
  .article .article-content {
    margin: 10px;
  }
  .editor_info ul li {
    font-size: 12px;
  }
	/* この上に記述 */
}