/*
Theme Name: サイオン法律事務所テーマ
Theme URI: https://saion-law.com/
Description: サイオン法律事務所テーマ
Version: 1.0
Author: Caritas
Author URI: https://saion-law.com//wp-content/themes/saion
*/

@charset "UTF-8";

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
  color: #000;
  margin:0;
  padding:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
  text-decoration: none;
}
a:hover {
  opacity: 0.8;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

img {
  height: auto;
  max-width: 100%;
}
p {
  line-height: 2;
}

* {
  box-sizing: border-box;
}
html {
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
  font-size: 62.5%;
}
body {
  color: #000;
  font-size: 1.6rem;
}
.inner {
  margin: 0 auto;
  position: relative;
  width: 1200px;
}
.sp {
  display: none;
}
.pc {
  display: block;
}
br.pc {
  display: inline;
}

@media screen and (max-width: 768px) {

  .inner {
    padding: 0 30px;
    width: auto;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  br.pc {
    display: none;
  }
  br.sp {
    display: inline;
  }

}


/*======================================================================
||
||    header
||
======================================================================*/

header {
  background-color: #fff;
  border-bottom: 7px solid #7E874C;
	height: auto;
  position: fixed;
  width: 100%;
  z-index: 10;
}
header .inner > div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
}
header .inner > div .logo a {
  align-items: center;
  color: #7E874C;
  display: flex;
  font-family: "Hiragino Mincho ProN", YuMincho, serif;
  font-size: 2.1rem;
}
header .inner > div .logo a img {
  display: block;
  margin-right: 12px;
  width: 46px;
}
header .header_contact {
  align-items: center;
  display: flex;
}
header .header_contact p:nth-of-type(1) {
  line-height: 1.2;
}
header .header_contact p:nth-of-type(1) a {
  color: #909A5C;
  font-size: 2.2rem;
  font-weight: bold;
}
header .header_contact p:nth-of-type(1) span {
  display: block;
  font-size: 1.4rem;
}
header .header_contact p:nth-of-type(2) {
  margin-left: 28px;
}
header .header_contact p:nth-of-type(2) a {
  background-color: #E9ECE3;
  border-radius: 24px;
  color: #8C955E;
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  height: 48px;
  line-height: 48px;
  text-align: center;
  width: 234px;
}
header nav {
  padding: 20px 0;
}
header #gnav {
  display: flex;
  justify-content: space-between;
  padding: 0 100px;
}
header #gnav a {
  color: #484847;
  font-family: "Hiragino Mincho ProN", YuMincho, serif;
  font-size: 1.8rem;
  font-weight: bold;
}
header .modalBtn {
  display: none;
}

@media screen and (max-width: 768px) {

  header {
    border-width: 5px;
  }
  header .inner {
    padding: 0;
  }
  header .inner > div {
    padding: 10px;
  }
  header .inner > div .logo a {
    font-size: 1.6rem;
  }
  header .inner > div .logo a img {
    width: 28px;
  }
  header .header_contact {
    display: none;
  }
  header nav {
    display: none;
  }
  header div.modalBtn {
    display: block;
    height: 18px;
    width: 32px;
  }

}

/*======================================================================
||
||    footer
||
======================================================================*/

footer {
  background-color: #E4ECE3;
  margin-top: 80px;
	width: 100%;
}
footer .up {
  background: #B2AD53 url(img/common/up.png) no-repeat center center / 18px auto;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  display: block;
  height: 30px;
  left: 50%;
  margin-left: -45px;
  position: absolute;
  top: -30px;
  width: 90px;
}
footer .inner > div {
  display: flex;
  padding: 70px 0 100px;
}
footer .inner > div > div:nth-of-type(1) {
  width: 45%;
}
footer .inner > div > div:nth-of-type(1) dl + dl {
  margin-top: 50px;
}
footer .inner > div > div:nth-of-type(1) dl dt {
  font-size: 2.1rem;
  font-weight: bold;
}
footer .inner > div > div:nth-of-type(1) dl dd {
  line-height: 1.5;
  margin-top: 18px;
}
footer .inner > div > div:nth-of-type(1) dl dd a {
  color: #000;
}
footer .inner > div > div:nth-of-type(2) {
  width: 55%;
}
footer .inner > div > div:nth-of-type(2) #fnav {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}
footer .inner > div > div:nth-of-type(2) #fnav li {
  width: 50%;
}
footer .inner > div > div:nth-of-type(2) #fnav li:nth-of-type(n+3) {
  margin-top: 25px;
}
footer .inner > div > div:nth-of-type(2) #fnav li a {
  color: #000;
  display: inline-block;
  font-size: 1.8rem;
  padding-left: 20px;
  position: relative;
}
footer .inner > div > div:nth-of-type(2) #fnav li a::before {
  background-color: #7E874C;
  content: '';
  display: block;
  height: 12px;
  left: 0;
  position: absolute;
  top: 3px;
  width: 12px;
}
footer .copy {
  font-size: 1.4rem;
  padding-bottom: 15px;
  text-align: center;
}

@media screen and (max-width: 768px) {

  footer .inner > div {
    display: block;
    padding: 10vw 3vw 0;
  }
  footer .inner > div > div:nth-of-type(1) {
    width: auto;
  }
  footer .inner > div > div:nth-of-type(1) dl + dl {
    margin-top: 30px;
  }
  footer .inner > div > div:nth-of-type(1) dl dt {
    font-size: 1.6rem;
  }
  footer .inner > div > div:nth-of-type(1) dl dd {
    font-size: 1.4rem;
  }
  footer .inner > div > div:nth-of-type(2) {
    display: none;
  }
  footer .copy {
    margin-top: 30px;
  }
  footer .copy {
    font-size: 1rem;
  }

}

/*---modal---*/
.modal {
  display: none;
}

/*--- オーバーレイ ---*/
.overlay {
  background: #E4ECE3;
  display: none;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
}

/*--- モーダルウィンドウ ---*/
.modal {
  height: 100%;
  left: 0;
  margin: auto;
  overflow-y: scroll;
  position: fixed;
  top: 0;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  z-index: 2;
}

@media screen and (max-width: 768px) {

  .modal {
    padding: 80px;
  }
  .close {
    height: 19px;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 32px;
  }
  #mnav {
    list-style: none;
  }
  #mnav li + li {
    margin-top: 25px;
  }
  #mnav li a {
    background: url(img/common/menu_sq.png) no-repeat left center / 12px auto;
    display: inline-block;
    font-size: 1.8rem;
    padding-left: 20px;
  }

}


/*======================================================================
||
||    main
||
======================================================================*/
main {
  padding-top: 150px;
}

@media screen and (max-width: 768px) {

  main {
    padding-top: 50px;
  }

}

/*---pagehead---*/
.pagehead {
  position: relative;
}
.pagehead .p_title {
  align-items: center;
  background-color: #7E874C;
  bottom: -60px;
  color: #fff;
  display: flex;
  font-family: "Hiragino Mincho ProN", YuMincho, serif;
  font-size: 4rem;
  font-weight: normal;
  height: 120px;
  justify-content: center;
  left: 50%;
  margin-left: -200px;
  position: absolute;
  width: 400px;
}
.pagehead .p_title .l_img {
  margin-right: 20px;
}
.pagehead .p_title .r_img {
  margin-left: 20px;
}

@media screen and (max-width: 768px) {

  .pagehead .p_title {
    bottom: -32px;
    font-size: 2.6rem;
    height: 64px;
    margin-left: -100px;
    width: 200px;
  }
  .pagehead .p_title .l_img {
    margin-right: 10px;
  }
  .pagehead .p_title .r_img {
    margin-left: 10px;
  }

}

/*---printing---*/
#printing {
  padding: 150px 0;
}
#printing figure {
  text-align: center;
}
#printing figure img {
  width: 75px;
}
#printing p {
  font-family: "Hiragino Mincho ProN", YuMincho, serif;
  font-size: 3rem;
  margin-top: 60px;
  text-align: center;
}

@media screen and (max-width: 768px) {

  #printing p {
    font-size: 1.8rem;
    margin-top: 30px;
  }

}