@charset "UTF-8";

/* RESET CSS */

*,
*::before,
*::after {
	box-sizing:border-box;
}

* {
	border:0;
	margin:0;
	outline:0;
	padding:0;
	font:inherit;
	font-family:inherit;
	font-size:100%;
	font-style:inherit;
	font-weight:inherit;
	text-decoration:none;
	vertical-align:baseline;
}

article, aside, footer, header, main, nav, article, section {display:block;}
img, picture, audio, canvas, video, svg {display:block; max-width:100%;}

br,
hr {display:block;}

ol,
ul {list-style:none;}

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

input,
select {vertical-align:middle;}

table{border-spacing: 0;}
td {border-top: solid 1px #ddd; border-right: solid 1px #ddd; padding: 10px; line-height: 1.2;}
td:first-child{border-left: solid 1px #ddd;}
tr:last-child td{border-bottom: solid 1px #ddd;}

body {
	line-height:1;
	line-break:strict;
	overflow-wrap:break-word;
	overflow-wrap:anywhere;
	word-break:normal;
	font-feature-settings:"palt";
	-webkit-text-size-adjust:100%;
	-webkit-font-smoothing:antialiased;
}

a {-webkit-tap-highlight-color:transparent;}

/* RESET CSS END */

/*----- 共通変数 -----*/
:root{
  --font-Gothic: "Roboto", sans-serif;
	--font-Mincho: "Shippori Mincho", serif;

  --color-main: #002A64;
  --color-silver: #C9CACA;
  --color-gold: #B9A540;
}

/* BASIC CSS */
html{ scroll-behavior: smooth; }
p{ color: #333; font-size: 15px; line-height: 2; text-align: left;}
ul,table{ color: #333; font-size: 15px;}
a{ display: inline-block; text-decoration: none;}
a:hover{ opacity: 0.7; transition-property: color; transition-duration: 0.2s;}
img{ width: 100%; height: auto; }

body{
  font-family: var(--font-Gothic);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

h2,h3{
  font-family: var(--font-Mincho);
  font-weight: 600;
  font-style: normal;
  line-height: 2;
}

/* SPで表示 ・ PCで非表示 */
.sp{
  display: none;
}
/* TB以降で表示 ・ PCで非表示 */
.tb{
	display: none;
}

/*----- PC -----*/
header{
  background-color: var(--color-main);
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;

  h1{
    margin-left: 20px;

    figure{
      width: 160px;
      height: auto;
    }
  } 

  nav{
    width: 100%;
    height: 100%;
    

    ul{
      height: 100%;
      display: flex;
      justify-content: end;
      align-items: center;
      gap: 30px;
      padding-right: 30px;

      li{
        color: #fff;
        a{
          color: #fff;

          &:hover{
            color: var(--color-gold);
          }
        }
      }
    }
  }

  
}

.contents h2{
  margin: 0 auto;
  font-size: 24px;
  width: 200px;
  height: auto;
  margin-bottom: 80px;
  padding-bottom: 10px;

  border-bottom: solid 3px var(--color-gold);
  position: relative;

  &::after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px var(--color-silver);
    bottom: -3px;
    width: 50%;
  }
}

h3{
  font-size: 22px;
}

.inner{
  width: 100%;
  max-width: 1140px;
  padding: 100px 15px 160px;
  margin: 0 auto;
}

.contents{
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.wrap{
  display: flex;
  flex-direction: column;
  gap: 40px;
}

#fv{
  width: 100%;
  background-color: var(--color-main);
  height: 460px;
  position: relative;
  margin-top: 80px;

  &::before{
    position: absolute;
    content: "";
    z-index: 100;
    width: 100%;
    height: 100%;
    background: linear-gradient(179.92deg, rgba(0, 0, 0, 0) 49%, rgba(0, 23, 55, 0.55) 89%, #002a64);
  }

  &::after{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/FV_bg.jpg);
    background-size: cover;
    background-position: center;
  }

  .fv_text{
    position: absolute;
    z-index: 900;
  }

  h2{
    font-size: 38px;
    color: #fff;
    font-weight: 600;
  }
  p{
    font-size: 18px;
    color: #fff;
    font-family: var(--font-Mincho);
    font-weight: 600;
  }

}

#details{
  width: 100%;
  height: auto;

  .wrap{
    gap: 80px;
  }

  .item{
    display: flex;
    gap: 50px;
  }

  .text{
    flex: 1;

    h3{
      text-align: left;
      line-height: 1;
      margin-bottom: 20px;
    }
  }

  figure{
    width: 460px;
    height: auto;
  }


}

#message{
  width: 100%;
  height: auto;
  background: var(--color-main);
  background: linear-gradient(360deg,rgba(0, 42, 100, 0.2) 0%, rgba(0, 42, 100, 1) 38%, rgba(0, 42, 100, 1) 100%);
  position: relative;

    &::after{
      position: absolute;
      content: "";
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-image: url(../images/bg_message.png);
      background-size: cover;
      background-position: center;
      z-index: -1;
    }

  .inner{
    max-width: 900px;
  }

  h2,p{
    color: #fff;
    }

  p.sign{
    text-align: right;
    font-family: var(--font-Mincho);
    font-size: 17px;
    line-height: 1.6;
  }


}

#policy{
  width: 100%;
  background-image: url(../images/bg_policy.jpg);
  height: auto;
  background-size: cover;

  p{
    text-align: center;
    margin-top: 10px;
  }

  .wrap{
    gap: 50px;
  }

}

#profile{
  width: 100%;
  height: auto;

  .inner{
    max-width: 900px;
  }

  td{
    line-height: 1.6;
    vertical-align: middle;
    text-align: left;
    padding: 20px;

    &:first-child{
      width: 225px;
      text-align: center;
    }
  }

  ul{

    li{
      &::before{
        content: "・";
        padding: 5px;
      }
    }

  }

}

#access{
  width: 100%;
  height: auto;

  .wrap{
    gap: 30px;
  }

  ul.subway{
    display: flex;
    flex-direction: column;
    gap: 10px;
    
    li{
      position: relative;
      margin-left: 20px;
      text-align: left;

        &::before{
          position: absolute;
          content: "";
          top: 0;
          left: -20px;
          width: 15px;
          height: 15px;
          background-image: url(../images/ac_mark.svg);
          background-repeat: no-repeat;
          background-size: contain;
      }
    }
  }

  

  .googlemap{
    width: 100%;
    margin-top: 50px;

    iframe{
      width: 100%;
    }
  }

}

.policy-link{
  background-color: #F6F6F6;
  padding: 40px 20px;

  .inner{
    width: 100%;
    max-width: 1140px;
    padding: 0;
    gap: 0;
  }

  h3{
    font-family: var(--font-Mincho);
    font-size: 18px;
    font-weight: 600;
  }

  ul{
    display: flex;
    gap: 20px;
    margin-top: 10px;

    li{
      color: #888;
      font-size: 16px;

      &::after{
        content: " | ";
        margin-left: 20px;
      }

      &:last-child{
        &::after{
          content: none;
        }
      }

      a{
        color: #333;

        &:hover{
          color: var(--color-gold);
        }
      }
    }
  }
}


footer{
  background-color: var(--color-main);
  padding: 40px 15px;

  p{
    color: #fff;
    text-align: center;
    font-weight: 300;
  }
}

/* トップへ戻る */
#page_top{
  width: 50px;
  height: 50px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  background-color: rgba(154, 154, 154, 0.341);
  z-index: 999;
}

.goTop{
  font-size: 50px;
  color: #fff;
  border-radius: 50%;
  background: #555;
  opacity: 0.9;
  padding: 10px;
  cursor: pointer;
  transition: .3s;

  /*デフォルトで非表示にする*/
  opacity: 0;
  visibility: hidden;

    &::before{
      font-family: 'Font Awesome 5 Free';
      font-weight: 900;
      content: '\f054';
      font-size: 22px;
      color: #fff;
      position: absolute;
      width: 22px;
      height: 22px;
      top: 7px;
      bottom: 8px;
      right: -1px;
      left: 0;
      margin: auto;
      text-align: center;
      transform: rotate(270deg);
    }
  
  }

  /*このクラスが付与されると表示する*/
.active{
  opacity: 1;
  visibility: visible;
}


/*----- TB -----*/
@media screen and (max-width: 760px){
  .tb{
    display: block;
  }

    .policy-link {
      ul{
        flex-direction: column;
        gap: 18px;

        li{
          &::after{
            content: none;
          }
        }
      }

      .inner{
        gap: 0;
      }
    }

}


/*----- SP -----*/
@media screen and (max-width: 460px){

  .contents h2{
    font-size: 22px;
  }

  h3{
    font-size: 20px;
  }

  .sp{
    display: block;
  }

  header{
    h1{
      figure{
        width: 130px;
      }
    }

    /* SP menu */
    .menu-wrapper {
      position: relative;
    }

    .menu-icon {
      width: 30px;
      height: 30px;
      position: fixed; /* ← fixedにして常に左上固定 */
      top: 20px;
      right: 20px;
      cursor: pointer;
      z-index: 10000;
      display: inline-block;
    }

    .menu-icon span {
      display: block;
      height: 2px;
      margin: 8px 0;
      background: var(--color-silver);
      border-radius: 2px;
      transition: 0.4s;
    }

    /* ハンバーガーがXに変形 */
    #menu-toggle:checked + .menu-icon span:nth-child(1) {
      transform: translateY(10px) rotate(45deg);
    }
    #menu-toggle:checked + .menu-icon span:nth-child(2) {
      opacity: 0;
    }
    #menu-toggle:checked + .menu-icon span:nth-child(3) {
      transform: translateY(-10px) rotate(-45deg);
    }

    /* オーバーレイ背景 */
    .overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.5);
      opacity: 0;
      pointer-events: none;
      transition: 0.4s;
      z-index: 1;
    }

    #menu-toggle:checked ~ .overlay {
      opacity: 1;
      pointer-events: auto;
    }

    /* メニュー本体（左から出す） */
    .menu {
      position: fixed;
      top: 0;
      right: -250px; /* ← 初期位置を右へ */
      width: 35%;
      height: fit-content;
      background: #fff;
      box-shadow: 2px 0 8px rgba(0,0,0,0.2);
      transition: left 0.4s ease;
      z-index: 999;
    }

    #menu-toggle:checked ~ .menu {
      right: 0; /* ← 開いたときは右0へ */
    }

    .menu ul {
      list-style: none;
      padding: 60px 20px 10px;
      flex-direction: column;
      justify-content: center;
      gap: 10px;
    }

    .menu li {
      margin: 20px 0;
    }

    .menu a {
      text-decoration: none;
      color: #555;
      font-size: 1rem;
      transition: color 0.3s;
    }

    .menu a:hover {
      color: var(--color-gold);
    }

    /* SP menu END */

    nav{
      ul{
        height: fit-content;
      }
    }

  }

  #fv{
    height: 100vh;

    &::after{
      background-image: url(../images/FV_bg_sp.webp);
    }

    h2{
      line-height: 1.5;
      font-size: 32px;
    }

    p{
      font-size: 14px;
      margin-top: 70px;
    }

    .inner{
      height: 100%;
      position: relative;

      .fv_text{
        position: absolute;
        top: 30%;
        left: 20px;
      }
    }

  }

  #details{
    .item{
      flex-direction: column;
    }

    figure{
      width: 100%;
    }

  }

  #message{
    background: linear-gradient(360deg, rgb(0 42 100 / 52%) 0%, rgba(0, 42, 100, 1) 38%, rgb(0 42 100) 100%);

    &::after{
      background-repeat: no-repeat;
      background-size: contain;
      background-position: bottom;
    }

    p.sign{
      font-size: 16px;
    }

  }

  #policy{

  }

  #profile{

    td{
      font-size: 14px;

      &:first-child{
        width: 120px;
      }
    }

  }

  #access{
    
  }

  footer{

  }

}