/* A Modern CSS Reset */
*,*::before,*::after{box-sizing:border-box}
body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}
ul[role="list"],ol[role="list"]{list-style:none}
html:focus-within{scroll-behavior:smooth}
body{min-height:100vh;text-rendering:optimizeSpeed;line-height:1.5}
a:not([class]){text-decoration-skip-ink:auto}
img,picture{max-width:100%;display:block}
input,button,textarea,select{font:inherit}
@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}

:root {
  --main-color: #2470a4;
  --main-color-rgb: 36,112,164;
  --bg-color: #f3f3f3;
  --contens-color: #fbeeda;
  --hover-color: #d3d3d3;
}
html {
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
}
input,
textarea {
  font-family: "Noto Sans JP", sans-serif;
}
input::placeholder,
textarea::placeholder {
  color: #ccc;
}
/*
  基準文字サイズ変更    719px
*/
@media screen and (max-width:719px){
  html {
    font-size: 14px;
  }
}
body {
  margin: 0;
  background-image: url(/img/background.jpg);
  background-size: cover;
  background-position: bottom;
  background-color: rgba(255, 255, 255, 0.9);
  background-blend-mode: soft-light;
}
#main-visual {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
#main-visual p {
  position: absolute;
  top: 35%;
  right: 27%;
  transform: translate(50%, -50%);
  writing-mode :vertical-rl;
  font-size: clamp(1.875rem, 0.375rem + 6.67vw, 3.375rem);
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  line-height: 1.6;
  color: #fff;
  text-shadow: 0 0 10px #0088ff;
  letter-spacing: 0.12em;
}
#main-visual p span {
  letter-spacing: 0.04em;
  margin-top: -0.25em;
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem 1rem;
  background-color: #fff;
  box-shadow: 0 0 10px 0px #ccc;
}
@media screen and (max-width:400px){
  main {
    padding: 0.5rem 1rem 1.5rem;
  }
}
input.input {
  padding: 0.5rem 0.8rem 0.6rem 1rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.5rem;
}
input[type="submit"],
input[type="button"],
button[type="submit"] {
  cursor: pointer;
}
textarea {
  padding: 0.5rem 0.8rem 0.6rem 1rem;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.5rem;
}
select {
  padding: 0.4rem 0.8rem 0.5rem;
  border-radius: 5px;
}
input[type="checkbox"],
input[type="radio"] {
  transform: scale(1.5);
  margin-right: 0.5rem;
}
.ok_ng_wak {
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: center;
  margin-top: 25px;
}
.okbotan,
.ngbotan {
  width: 244px;
  margin: 15px 30px;
  padding: 13px;
  border-radius: 4px;
  cursor: pointer;
}
.okbotan {
  font-size: 0.88rem;
  font-weight: bold;
  border: none;
  color: #fff;
	background-color: var(--main-color);
}
.okbotan:hover {
	opacity: 0.9;
}
.ngbotan {
  font-size: 0.75rem;
  border: 1px solid #666;
  text-align: center;
  text-decoration: none;
  color: #333;
}
.ngbotan:hover {
  background-color: var(--hover-color);
}
h1 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.4;
  font-family: "Noto Serif JP", serif;
}
h1 .houjinkak {
  font-size: 1rem;
}
.contents {
  padding: 2rem;
}
.contents_wak {
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: 5px;
}
.contents_staff {
  background-color: #fbeeda;
  padding: 2rem;
  border-radius: 10px;
}
@media screen and (max-width:719px){
  h1 {
    font-size: 1.2rem;
  }
  .contents,
  .contents_wak,
  .contents_staff {
    padding: 2rem 1rem;
  }
  .ok_ng_wak {
    margin-top: 10px;
  }
}
@media screen and (max-width:350px){
  h1 {
    font-size: 1rem;
  }
}
/* ナビゲーション全体の設定 */
header a {
  color: #333;
}
.header-wrap {
  background-color: #fff;
  box-shadow: 0 0 10px 0px #ccc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 720px;
  margin: 0 auto;
}
.header-logo {
  text-decoration: none;
  display: block;
  padding: 10px 25px 10px 60px;
  border-radius: 10px;
  position: relative;
  display: flex;
  align-items: center;  
}
.header-logo::before {
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  display: inline-block;
  width: 40px;
  height: 41px;
  background-image: url('/img/logo.png');
  background-size: contain;
}
/*ナビゲーションを横並びに*/
nav ul {
  position: relative;
  list-style: none;
  display: flex;
  margin: 0;
}
nav ul li a {
  position: relative;
  display: block;
  text-decoration: none;
  padding: 15px 10px;
  margin: 0 10px;
  font-size: 0.88rem;
  border-radius: 10px;
}
nav ul li a:hover {
  text-decoration: underline;
}
#g-nav-list {
  display: flex;
}

@media screen and (max-width:719px){
  .header-logo {
    padding: 10px 0 10px 52px;
  }  
  .header-logo::before {
    width: 33px;
    height: 34px;
  }
  nav ul{
    display: block;
    padding: 0;
  }
  #g-nav-list > ul:nth-child(1) {
    border-top:1px solid #ccc;
  }
  nav ul li a{
    border-bottom:1px solid #ccc;
    padding: 16px 0 16px 20px;
    border-radius: 0;
    margin: 0;
    font-weight: bold;
  }
}

.disabled_botan {
  opacity:0.3;
}
/* アイコン */
.nav_botan::before {
  font-family: 'Material Icons';
  font-weight: normal;
  font-size: 1.42em;
  color: var(--main-color);
  vertical-align: middle;
  margin-right: 0.3em;
}
.home_botan::before {
  content: "\e88a";
}
.a_botan::before {
  content: "\effd";
}
.b_botan::before {
  content: "\ea44";
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}
/*
  ハンバーガーメニュー  719px
*/
.openbtn {
  display: none;
}
@media screen and (max-width:719px){

  /*ボタン外側*/
  .openbtn{
    display: block;
    position: absolute;
    top: 9px;
    right: 10px;
    z-index: 20;
    cursor: pointer;
    width: 50px;
    height:50px;
    border-radius: 5px;
  }

  /*ボタン内側*/
  .openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 13px;
    height: 3px;
    border-radius: 5px;
    background: var(--main-color);
    width: 45%;
  }
  .openbtn span:nth-of-type(1) {
    top:5px;	
  }
  .openbtn span:nth-of-type(2) {
    top:13px;
  }
  .openbtn span:nth-of-type(3) {
    top:21px;
  }
  .openbtn div {
    font-size: 10px;
    position: absolute;
    bottom: 8px;
    left: 4px;
    color: var(--main-color);
    font-weight: bold;
  }
  /*activeクラスが付与されると線が回転して×*/
  .openbtn.active {
     position:fixed;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 8px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }
  .openbtn.active span:nth-of-type(2) {
  opacity: 0;
  }
  .openbtn.active span:nth-of-type(3){
    top: 20px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
  /*================================================
    右上から広がるアニメ
  ================================================*/
  /*アクティブになったエリア*/
  #g-nav.panelactive{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 10;
    left: 0;
    top: 70px;
    width:100%;
    height: calc(100vh - 70px);
  }
  /*丸の拡大*/
  .circle-bg{
    position: fixed;
    z-index:9;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    /*丸のスタート位置と形状*/
    transform: scale(0);/*scaleをはじめは0に*/
    right:-10px;
    top:-5px;
    transition: all .6s;/*0.6秒かけてアニメーション*/
  }
  .circle-bg.circleactive{
    transform: scale(50);/*クラスが付与されたらscaleを拡大*/
  }

  /*ナビゲーションの縦スクロール*/
  #g-nav-list{
    display: none;/*はじめは表示なし*/
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 10; 
    width: 100%;
    height: calc(100vh - 70px);
    overflow: auto;
  }

  #g-nav.panelactive #g-nav-list{
    display: block; /*クラスが付与されたら出現*/
  }
  /*ナビゲーション*/
  #g-nav ul {
    opacity: 0;/*はじめは透過0*/
  }

  /*背景が出現後にナビゲーションを表示*/
  #g-nav.panelactive ul {
    opacity:1;
  }
  /* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
  #g-nav.panelactive ul li{
    animation-name:gnaviAnime;
    animation-duration:1s;
    animation-delay:.2s;/*0.2 秒遅らせて出現*/
    animation-fill-mode:forwards;
    opacity:0;
  }
  @keyframes gnaviAnime{
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
}
.top-desc {
  padding-top: 1rem;
  text-align: center;
}

#top-aboutus,
#top-staff {
  text-align: center;
  margin-top: 2.5rem;
}
#top-aboutus {
  background-color: var(--bg-color);
  border-radius: 5px;
  padding: 1.5rem;
}
#top-staff {
  padding: 0 1.5rem 1.5rem;
}
@media screen and (max-width:500px) {
  #top-aboutus,
  #top-staff {
    margin-top: 2rem;
  }
}
.section_title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: normal;
}
.section_title::after {
  content: "";
  display: inline-block;
  width: 3rem;
  height: 0.25rem;
  background-color: var(--main-color);
  margin-top: 0.5rem;
}
.section_desc {
  margin-top: 1rem;
}
#top-aboutus a,
#top-staff a {
  display: block;
  max-width: 450px;
  padding: 15px 0;
  margin: 1rem auto 0;
  color: #fff;
  background-color: var(--main-color);
  text-decoration: none;
  border-radius: 10px;
}
footer {
  max-width: 720px;
  margin: 0 auto;
  background-color: var(--bg-color);
  padding: 1.5rem 2rem 1rem;
  box-shadow: 0 0 10px 0px #ccc;  
}
@media screen and (max-width:400px) {
  footer {
    padding: 1.5rem 1rem 1rem;
  }
}
  footer .company-desc {
  display: flex;
  border-top: 1px solid #e8e8e8;
  margin-top: 7px;
  padding-top: 7px;
}
footer .company-desc dt {
  width: 4.5rem;
  margin-right: 0.5rem;
}
.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 1.4rem 0 0;
  padding: 0;
}
.footer-nav li+li {
  border-left: 1px solid #ddd;
} 
.footer-nav li a {
  padding: 10px;
  margin: 0 10px;
  text-decoration: none;
  color: #333;
  font-size: 0.88rem;  
}
.footer-nav li a:hover {
  text-decoration: underline;
}
@media screen and (max-width:330px) {
  .footer-nav li a {
    padding: 9px;
    margin: 0 9px;
  }
}

.copyright {
  text-align: center;
  font-size: 0.88rem;
  background-color: #ccc;
  padding: 5px 0;
  max-width: 722px;
  margin: 0 auto;
}

.sub_header {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  color: #fff;
  aspect-ratio: 72 / 20;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sub_header::after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  background-image: url("/img/sub_header_visual.jpg");
  background-size: cover;
  filter: brightness(0.6);
  z-index: -1;
}
.sub_header_title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sub_header_title::after {
  content: "";
  display: inline-block;
  width: 3rem;
  height: 0.25rem;
  background-color: #fff;
  margin-top: 0.5rem;
}
.sub_header_desc {
  font-family: "Noto Serif JP", serif;
  margin-top: 0.5rem;
}
.contents_table {
  width: 100%;
  margin-top: 1.5rem;
}
.contents_table th {
  font-size: 0.88rem;
  width: 6em;
  padding: 10px 0;
  background-color: var(--bg-color);
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.contents_table td {
  padding: 10px 5px 10px 15px;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.contents_table tr:first-of-type td {
  border-top: 1px solid #ddd;
}
.aboutus_img {
  width: 100%;
  margin: -3rem 0 1rem;
}
.contents_desc {
  margin-top: 1.5rem;
}
.contents_ul {
  margin-top: 1.5rem;
  padding-left: 0.5rem;
}
.contents_ul li+li {
  margin-top: 1rem;
}
.staff_name {
  margin-top: 1rem;
  font-size: 2rem;
  text-align: center;
}
.staff_kana {
  text-align: center;
}
.staff_history_title {
  padding: 0.5rem 0 0.5rem 1rem;
  background-color: #fff;  
}
.staff_history_ul {
  list-style: none; 
  margin: 0;
  padding: 0 0 0.5rem;
  background-color: #fff;
}
.staff_history_ul li {
  display: grid;
  grid-template-columns: 7rem auto;
  border-top: 1px solid #ddd;
  padding: 0.5rem 1rem;  
}
@media screen and (max-width:600px) {
  .staff_history_ul li {
    grid-template-columns: auto;
    grid-row-gap: 5px;
  }  
}
