/* 調整用スタイル */

a {
  text-decoration: none;
  color :#000;
}


ul,
li {
  list-style: none;
}


main {
  background-color: #F6F6F6;
  height: auto;
  display: flex;
}


.main {
  background-color: #FFF;
  margin: auto;
  padding: 20px;
}


.mainhead {
  background-image: url(images/mainhead.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.3;
  height: 200px;
  width: 100%;
}


.inqhead, .officehead {
  background-color: #F6F6F6;
  height: 50px;
  margin: auto;
  padding: 20px;
}




.share {
  margin: auto;
  padding-top: 20px;
  background-color: #F6F6F6;
  height: 80px;
}



/*
.share p {
  text-align: center;
  line-height: 2em;
  font-weight: 600;
}
*/



.sns-share-links{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px 30px;
}









/* フッター */


footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #0046ad;
  color: #fff;
  padding: 30px;
}

.footer-section {
  flex: 1 1 300px;
  margin: 10px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  margin: 5px 0;
  display: block;
}

.footer-section a:hover {
  color: #FFA500;
  text-decoration: none;
}

.sitemap-links {
  display: flex;
  gap: 20px 50px;
  padding-left: 20px;
}

.sitemap-links div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}


sns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 30px;
}



.contact-buttons {
  display: flex;
  flex-direction: column;
}


.contact-buttons a {
  background-color: #FFA500;
  color: black;
  text-decoration: none;
  text-align: center;
  padding: 30px;
  margin: 5px 0;
  border-radius: 5px;
  font-weight: bold;
}

.contact-buttons a:hover {
  background-color: #fff;
  color: #0054a6;
  text-decoration: none;
}

.copyright {
  text-align: center;
  background-color: #0046ad;
  color: #fff;
  padding: 10px;
  font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
  footer {
      flex-direction: column;
  }

  .sitemap-links {
      flex-direction: column;
  }

  sns {
    flex-direction: flex;
  }

  .contact-buttons a {
      width: 80%;
  }
}












/* ヘッダー */

.header {
  background-color: #F6F6F6;
  width: 100%;
  height: 80px;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  box-shadow: 2px 2px 5px rgba(0,0,0,.5);
  margin-bottom: 10px;
}


@media screen and (min-width: 960px) {
  .header {
    height: 80px;

  }
}


.header__top {
  background-color: #004FB3;
  padding : 0;
  margin :0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width :100%;
  height: 20px;
  position: relative;
}


.info_text {
  padding :0 20px;
  margin :0 0 0 auto;
  font-size :0.9em;
  color :#fff;
}


.info_text a {
  color :#fff;
}


.header__inner {
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: relative;
}


/* ヘッダーのロゴ部分 */

.header__title {
  width: 200px;
}


.header__title:hover {
  opacity: 0.8;
}


@media screen and (min-width: 960px) {
  .header__title {
    width: 200px;
  }
}


.header__title img {
  display: block;
  width: 100%;
  height: 100%;
}


/* ヘッダーのナビ部分 */

.header__nav {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(100%);
  background-color: #A2A8D3;
  transition: ease .4s;
  display: flex;
}


@media screen and (min-width: 960px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 50%;
  }
}


.nav__items {
  margin: auto;
}


@media screen and (min-width: 960px) {
  .nav__items {
    margin: initial;
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: space-between;
  }
}


.nav-items__item {
  cursor: pointer;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}


@media screen and (min-width: 960px) {
  .nav-items__item:before {
    position: absolute;
    content: "";
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: orange;
    opacity: 0;
  }


  .nav-items__item:hover:before {
    opacity: 1;
  }
}


/* ナビのリンク */

.nav-items__item a {
  color: #000;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 24px;
  margin-bottom: 24px;
}


.nav-items__item:last-child a {
  margin-bottom: 0;
}


@media screen and (min-width: 960px) {
  .nav-items__item a {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 600;
  }
}


/* ハンバーガーメニュー */
.header__hamburger {
  width: 48px;
  height: 100%;
}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
  cursor: pointer;
}

@media screen and (min-width: 960px) {
  .hamburger {
    display: none;
  }
}


/* ハンバーガーメニューの線 */
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #000000;
  position: relative;
  transition: ease .4s;
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}


/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}


/* 独自追加分 */
@media screen and (min-width: 960px) {
  .mainhead {
    background-image: url(images/mainhead.jpg);
    opacity: 0.3;
    height: 300px;
    width: 100%;
  }
}

@media screen and (min-width: 960px) {
  .main {
    width: 100%;
  }
}

.main {
  width: 80%;
}

.main p,footer p {
    padding: 5px 0 5px 10px;
    line-height: 150%;
}

.logo_name {
    display :flex;
    max-width :200px;
    height :80px;
}
 
.logo_name_img {
    width :100%;
    height :100%;
}
 
.logo_name_text {
    width :100%;
    margin : auto 20px;
    display: flex;
    text-align :center;
    white-space: nowrap;
    font-size :1.0em;
    color :#000;
}

.content-ul {
    list-style:  none;  /* デフォルトのアイコンを消す */
    margin:  0;         /* デフォルト指定上書き */
    padding: 0;         /* デフォルト指定上書き */
}

.content-li:before {
    content:  "";                 /* 空の要素作成 */
    width: 14px;                            /* 幅指定 */
    height: 14px;                           /* 高さ指定 */
    display:  inline-block;                 /* インラインブロックにする */
    position:  relative;                    /* アイコンの位置を調整 */
    top: -1px;                             /* アイコンの位置を調整 */
    right: -20px;
    margin-right: 15px;                      /* 余白指定 */
}



/*
.content-li:before {
    content:  "";               
    width: 14px;                       
    height: 14px;                        
    display:  inline-block;                
    position:  relative;          
    top: -1px;                     
    right: -20px;
    margin-right: 25px;        
    background-image:  url(images/li-icon.png);  
    background-size:  contain;        
    background-repeat:  no-repeat;       
    vertical-align: top;               
}

*/



.content-li {
    padding:  3px;                         /* 余白指定 */
    margin-top: 5px;                     /* 要素と要素の間指定 */
    font-size:  16px;                       /* 文字サイズ指定 */
}


h2 {
    font-size: 2em;
    margin: 0px 0px 30px 0px;
    padding: 0.4em 0.5em;/*文字の上下 左右の余白*/
    color: #004FB3;/*文字色*/
    background: #F6F6F6;/*背景色*/
    border-left: solid 5px #004FB3;/*左線*/
}


.button {
  background-color: #F6F6F6;
  padding : 20px;
}


.button a {
    background: #FFA500;
    border-radius: 50px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 260px;
    padding: 10px 25px;
    color: #000;
    transition: 0.3s ease-in-out;
    font-weight: 600;
}


.button a:after {
    position: absolute;
    top: 50%;
    right: 20px;
    border-radius: 1px;
    transition: 0.2s ease-in-out;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transform: translateY(-50%);
}


.button a:hover {
    background: #004FB3;
    color: #FFF;
}





/* 追加　料金ページ用 */

table{
  padding-top: 10px;
  width: 100%;
  border-collapse:separate;
  border-spacing: 0;
}

table th:first-child{
  border-radius: 5px 0 0 0;
}

table th:last-child{
  border-radius: 0 5px 0 0;
  border-right: 1px solid #3c6690;
}

table th{
  text-align: center;
  color:white;
  background: linear-gradient(#829ebc,#225588);
  border-left: 1px solid #3c6690;
  border-top: 1px solid #3c6690;
  border-bottom: 1px solid #3c6690;
  box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
  width: 25%;
  padding: 10px 0;
}

table td{
  text-align: center;
  border-left: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  border-top:none;
  box-shadow: 0px -3px 5px 1px #eee inset;
  width: 25%;
  padding: 10px 0;
}

table td:last-child{
  border-right: 1px solid #a8b7c5;
}

table tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}

table tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}




dt,
dd {
  line-height: 1.5em;
  margin: 0;
  padding: 0.5em 1em;
}



/* 追加　よくある質問ページ用　*/
.faq-top {
    margin: 2px;
    padding: 1em 0;
    font-weight: 600;
    color: #666666;
}

.faq dt,
.faq dd {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 1em 2em 1em 3.1em;
    color: #333333;
}

.faq dt {
    font-weight: 600;
}

.faq dd + dt {
    margin-top: 1em;
}

.faq dt::before,
.faq dd::before {
    display: inline-block;
    position: absolute;
    width: 40px;
    height: 40px;
    left: 0;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
    font-size: 1.1em;
    line-height: 40px;
    text-align: center;
}

.faq dt::before {
    background-color: #75bbff;
    content: 'Q';
}

.faq dd::before {
    background-color: #ff8d8d;
    content: 'A';
}



/*　業務内容　追加　*/

.bizcontents {
    margin: 2em 0;
    background: #F6F6F6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
}
.bizcontents .box-title {
    font-size: 1.2em;
    background: #004FB3;
    padding: 6px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
}
.bizcontents p {
    padding: 15px 20px;
    margin: 0;
}