@charset "utf-8";

/* CSS Document */

/*=============================
ALL
===============================*/
* {
  font-family: "Noto Sans JP", sans-serif;
  font-style: normal;
  font-size: 62.5%;
}

body,
div,
h1,
h2,
p,
ol,
ul,
li {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  /* ここに置きたい*/
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
}

body {
  position: relative;
  width: 100%;
  height: 100%;
  background: #fff;
  color: #333333;
  font-weight: 400;
  min-width: 360px;
  letter-spacing: 0.7px;
}

body::-webkit-scrollbar {
  -webkit-appearance: none;
  background-color: rgba(0, 0, 0, 0.15);
  width: 10px;
}

body::-webkit-scrollbar-thumb {
  border-radius: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

/*FontAwesome*/
.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.flex {
  display: flex;
}

p,
li,
button,
dl,
dt,
dd,
a,
th,
td,
span {
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* 1200px以下表示 */
.b1200 {
  display: none;
}

/* 1200px以下表示 */
.n1200 {
  display: inline-block;
}

/* 960px以下表示 */
.b960 {
  display: none;
}

/* 960px以下非表示 */
.n960 {
  display: inline-block;
}

/* 768px以下表示 */
.b768 {
  display: none;
}

/* 768px以下非表示 */
.n768 {
  display: block;
}

/* 559px以下非表示 */
.spnone {
  display: inline-block;
}

/* 559px以下表示 */
.spb {
  display: none;
}

@media screen and (max-width: 1199px) {
  .b1200 {
    display: block;
  }

  .n1200 {
    display: none;
  }
}

@media screen and (max-width: 959px) {
  p,
  li,
  button,
  dl,
  dt,
  dd,
  a,
  th,
  td,
  span {
    line-height: 1.6;
  }

  .b960 {
    display: block;
  }

  /* 960px以下非表示 */
  .n960 {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .n768 {
    display: none;
  }

  .b768 {
    display: block;
  }
}

@media screen and (max-width: 559px) {
  .spnone {
    display: none;
  }

  .spb {
    display: block;
  }
}

/* アンカーリンク調整 ---------------------------------------*/
html {
  scroll-padding-top: 200px;
}

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

@media screen and (max-width: 1199px) {
  html {
    scroll-padding-top: 100px;
  }
}

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

/* 959～769px tab -------------------------------- */
@media screen and (max-width: 959px) {
  html {
    scroll-padding-top: 120px;
  }
}

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

/* 559px以下 sp -------------------------------- */
@media screen and (max-width: 559px) {
  html {
    scroll-padding-top: 100px;
  }
}

/* ぱんくず -------------------------------------*/
.pankuzu {
  display: flex;
}

.pankuzu li,
.pankuzu a {
  font-size: 1.4rem;
  color: #c0c0c0;
  line-height: 3;
}

.pankuzu li:after {
  content: "／";
  margin: 0 1rem;
  font-size: 1.4rem;
}

.pankuzu li:last-child::after {
  content: none;
}

.pankuzu a:hover {
  color: #707070;
  transition: 0.3s;
}

/* 青帯アクセント -------------------------------------*/
.accent {
  position: relative;
}

.accent::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: -11px;
  height: 6px;
  width: 27px;
  background-color: #008db7;
}

.sub-ttl {
  font-size: 1.6rem;
}

/* img　PDF／Link */
img.pdf {
  width: 20px;
}

img.link {
  width: 20px;
}

/* 中ページ　共通帯 -------------------------------------*/
.w1100 {
  width: 1100px;
  margin: auto;
}

.sub-head-container {
  margin-top: 80px;
  padding: 130px 0 80px;
  width: 100%;
  background: url(/img2/common/bg-head.jpg) center no-repeat;
  background-size: cover;
}

.sub-head-A {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 30px;
  border-bottom: solid 0.75px #333;
}

.sub-head-h2 {
  font-size: 3.2rem;
  font-weight: 700;
}

.sub-head-h3 {
  margin-bottom: 60px;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.sub-head-anchor {
  display: flex;
}

.sub-head-anchor li {
  position: relative;
  margin-right: 60px;
  /* color: #acadad; */
  font-size: 2.2rem;
  text-align: right;
}

.sub-head-anchor li:last-child {
  margin-right: 25px;
}

.sub-head-anchor li::before {
  content: "";
  position: absolute;
  top: 52%;
  left: -18px;
  width: 1rem;
  height: 1rem;
  border-top: solid 2px #acadad;
  border-right: solid 2px #acadad;
  transform: translate(-50%, -50%) rotate(135deg);
}

.sub-head-anchor li:hover {
  color: #333;
  transition: 0.3s;
}

.sub-head-anchor li:hover::before {
  border-top: solid 2px #008db7;
  border-right: solid 2px #008db7;
  transition: 0.3s;
}

.sub-container {
  margin-top: 150px;
  padding-bottom: 150px;
}

/* 注釈 */
.notes {
  font-size: 1.2rem;
}

/* レスポンシブ ----------------------------------------*/
@media screen and (max-width: 1199px) {
  .pankuzu {
    flex-wrap: wrap;
    margin-top: 1rem;
  }

  .pankuzu li,
  .pankuzu a {
    font-size: 1.2rem;
    line-height: 1.5;
  }

  .pankuzu li:after {
    margin: 0 0.3rem;
    font-size: 1.2rem;
  }

  .w1100 {
    width: 80%;
  }

  .accent::after {
    top: -8px;
    height: 4px;
    width: 20px;
  }

  .sub-head-container {
    margin-top: 70px;
  }

  .sub-head-h2 {
    font-size: 2.6rem;
  }

  .sub-head-h3 {
    font-size: 3rem;
  }
}

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

@media screen and (max-width: 768px) {
  .w1100 {
    width: 90%;
  }

  .sub-container {
    margin-top: 20%;
    padding-bottom: 20%;
  }

  .sub-head-container {
    padding: 70px 0 50px;
  }

  .sub-head-A {
    padding-bottom: 15px;
  }

  .sub-head-anchor li {
    margin-right: 38px;
  }

  .sub-head-anchor li a {
    font-size: 1.4rem;
  }

  .sub-head-anchor li:last-child {
    margin-right: 0;
  }

  .sub-head-anchor li::before {
    top: 53%;
    left: -12%;
    width: 0.8rem;
    height: 0.8rem;
  }

  .sub-head-h2 {
    font-size: 2.4rem;
  }

  .sub-head-h3 {
    margin-bottom: 30px;
    font-size: 2.6rem;
  }
}

@media screen and (max-width: 559px) {
  .sub-head-h2 {
    font-size: 2.6rem;
  }

  .sub-head-A {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 8px;
  }

  .sub-head-anchor {
    margin-left: 15px;
  }

  .sub-head-anchor li {
    margin-right: 30px;
  }

  .sub-head-anchor li::before {
    border-color: #008db7;
  }

  .accent::after {
    top: -10px;
    width: 16px;
  }
}

/*=============================
  Link btn
===============================*/
/* 丸ボタン */
.link-btn {
  position: relative;
  display: block;
  /* margin-left: auto; */
  width: 5rem;
  height: 5rem;
  border: solid 1.5px #fff;
  border-radius: 50%;
  text-decoration: none;
}

.link-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 48%;
  width: 1rem;
  height: 1rem;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* 四角ボタン */
.button {
  width: 200px;
  height: 60px;
}

.button-link {
  position: relative;
  display: block;
  color: #fff;
  border-radius: 10px;
  padding: 15px 20px;
  background-color: #333;
  border: solid 1px #333;
  transition: 0.3s;
}

.button-link::after {
  position: absolute;
  top: 50%;
  right: 20px;
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-50%) rotate(-45deg);
  transition: 0.3s;
}

.button-link:hover {
  color: #333;
  background-color: #fff;
}

.button-link:hover::after {
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
}

.button-text {
  position: relative;
  font-size: 1.6rem;
}

/*------------------------------------------
    1439px - 1201px
-------------------------------------------*/
@media screen and (max-width: 1440px) {
}

/*------------------------------------------
    1200px - 1100px
-------------------------------------------*/
@media screen and (max-width: 1200px) {
}

/*------------------------------------------
    1099px - 960px
-------------------------------------------*/
@media screen and (max-width: 1099px) {
}

/* 959～769px tab -------------------------------- */

/*------------------------------------------
    959px - 769px
-------------------------------------------*/
@media screen and (max-width: 959px) {
}

/*------------------------------------------
    768px - 560px
-------------------------------------------*/
@media screen and (max-width: 768px) {
}

/*------------------------------------------
    559px 以下
-------------------------------------------*/
@media screen and (max-width: 559px) {
}

/* グループ各社color */
/*AG*/
.b-ag {
  border-bottom: 2px solid #646464;
  position: relative;
}

.color-amg,
.color-ag {
  color: #3e3a39;
  border: solid 0.5px #3e3a39;
}

/*MG*/
.b-mg {
  border-bottom: 2px solid #a83b45;
  position: relative;
}
.color-mg {
  color: #a83b45;
  border: solid 0.5px #a83b45;
}

/*SOGO*/
.b-mgs {
  border-bottom: 2px solid #0073b2;
  position: relative;
}

.color-mgs {
  color: #0000b2;
  border: solid 0.5px #0000b2;
}

/*TAKI*/
.b-th {
  border-bottom: 2px solid #25a39b;
  position: relative;
}

.color-th {
  color: #457c86;
  border: solid 0.5px #457c86;
}

/*MIRAIE*/
.b-me {
  border-bottom: 2px solid #ff6347;
  position: relative;
}

.color-me {
  color: #ff6347;
  border: solid 0.5px #ff6347;
}

/*TKG*/
.b-tg {
  border-bottom: 2px solid #ebb01a;
  position: relative;
}

.color-tg {
  color: #d8aa12;
  border: solid 0.5px #d8aa12;
}

/*KH*/
.b-kh {
  border-bottom: 2px solid #0000b2;
  position: relative;
}

.color-kh {
  color: #054488;
  border: solid 0.5px #054488;
}

/*HM*/
.b-hm {
  border-bottom: 2px solid #e1766e;
  position: relative;
}

.color-hm {
  color: #e1766e;
  border: solid 0.5px #e1766e;
}

/* =============================
 TOPに戻る
=============================== */
#pagetop {
  position: fixed;
  right: 30px;
  bottom: 40px;
  width: 6rem;
  height: 6rem;
  z-index: 100;
}

#pagetop .toparrow {
  position: relative;
  display: block;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  text-decoration: none;
  background-color: #7e7e7e;
}

#pagetop .toparrow::before {
  content: "";
  position: absolute;
  top: 53%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}

#pagetop .toparrow:hover {
  background-color: #008db7;
  transition: 0.3s;
}

/*------------------------------------------
    768px以下
-------------------------------------------*/
@media screen and (max-width: 768px) {
  #pagetop .toparrow {
    display: none;
  }
}

/* =============================
   header
=============================== */
header {
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  padding-right: var(--scrollbar-width, 0px);
  height: 100px;
  width: 100%;
  background-color: #fff;
  z-index: 2000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.head-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 50px;
}

/* AMG名 */
.head-logo {
  display: flex;
  align-items: center;
}

.head-logo a {
  margin-right: 10px;
  font-size: 3.2rem;
  color: #969696;
  font-family: "minion-pro", serif;
  font-weight: 500;
  font-style: normal;
}

.head-logo a:hover {
  opacity: 0.6;
  transition: 0.3s;
}

.head-logo img {
  margin-right: 5px;
}

.tosyo {
  height: 45px;
}

.meisyo {
  height: 40px;
}

/* メニュー */
.nav-list a {
  text-decoration: none;
  color: #333;
}

.head-container ul {
  display: flex;
  padding: 23px 16px;
}

.parent-menu {
  position: relative;
  margin: 3px 0 3px 30px;
  color: #333;
}

button.parent-menu,
a.parent-menu {
  display: inline-block;
  height: 30px;
}

.parent-menu::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -35px;
  width: 100%;
  height: 3px;
  background-color: #008db7;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.parent-menu:hover::after,
.parent-menu.is-active::after {
  opacity: 1;
}

.nav-arrow {
  display: inline-block;
  content: "";
  margin-left: 23px;
  width: 1rem;
  height: 1rem;
  border-top: solid 2px #5a5a5a;
  border-right: solid 2px #5a5a5a;
  transform: translate(-50%, -50%) rotate(135deg);
}

.child-top-link .nav-arrow {
  transform: rotate(45deg);
}

/* 中メニュー */
.child-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: absolute;
  margin: 100px auto 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 90lvh;
  padding: 100px 10%;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) inset;

  /* 初めはメニューを隠す */
  opacity: 0;
  visibility: hidden;
  transition: 300ms;
}

/* jsでクラスを付けて表示 */
.is-open {
  opacity: 1;
  visibility: visible;
}

.head-container ul.child-list-container {
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 250px;
  padding: 10px 0 0 50px;
  border-left: solid 1px #7e7e7e;
}

.child-menuA {
  padding-right: 50px;
}

.child-ttl {
  position: relative;
  font-size: 4.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

.child-ttl img {
  position: absolute;
  bottom: 25px;
  left: -40px;
  display: inline-block;
  width: 30px;
}

.child-top-link {
  position: relative;
  padding: 3px 5px;
}

.child-top-link::before {
  content: "";
  position: absolute;
  background-color: #333;
  width: 0;
  height: 1px;
  bottom: -5px;
  left: 0;
  transition: 0.3s ease 0s;
}

.child-top-link:hover::before {
  width: 100%;
}

.child-list-container {
  width: 30%;
}

.child-list-container li {
  position: relative;
  margin-bottom: 10px;
}

.child-list-container li a::before {
  content: "";
  position: absolute;
  background-color: #008db7;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  transition: 0.3s ease 0s;
}

.child-list-container li a:hover::before {
  width: 100%;
}

.child-list-container span {
  font-size: 1.2rem;
}

/* 閉じるボタン */
.close-btn {
  position: absolute;
  bottom: 80px;
  padding: 0px 16px;
  width: 20%;
  height: 60px;
  text-align: center;
  background: #efefef;
  transition: 0.3s ease;
}

.close-btn:hover {
  background: #d6d5d5;
}

/* SP用リセット */
.head-pcnone {
  display: none;
}

/*=============================
   header レスポンシブ
===============================*/
@media screen and (max-width: 1439px) {
  .head-container {
    padding: 0 30px;
  }

  .head-logo a {
    font-size: 2.6rem;
  }

  .parent-menu {
    margin-left: 20px;
    font-size: 1.4rem;
  }
}

@media only screen and (max-width: 1199px) {
  header {
    height: 70px;
  }

  .head-tabnone {
    display: none;
  }

  .head-pcnone {
    display: block;
  }

  .sp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    padding: 5px 30px;
    background: #fff;
    z-index: 1100;
  }

  /* SP用ハンバーガーメニュー */
  .hamburger {
    width: 35px;
    height: 25px;
    margin: 12.5px 5px;
    display: block !important;
    position: relative;
  }

  .hamburger span {
    display: inline-block;
    position: absolute;
    right: 0;
    width: 100%;
    height: 2px;
    margin: 0 auto;
    background: #333;
    transition:
      transform 0.3s ease,
      opacity 0.2s ease;
  }

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

  .hamburger span:nth-of-type(2) {
    top: 10px;
  }

  .hamburger span:nth-of-type(3) {
    top: 20px;
  }

  .hamburger.is-open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

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

  .hamburger.is-open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .header-nav {
    flex-grow: 1;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 20px 20px;
    background: #fff;
    transform: translateY(-100%);
    transition: transform 0.3s;
    z-index: 1000;
    overflow-y: scroll;
  }

  .header-nav.is-open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    padding: 80px 40px;
  }

  .head-item {
    margin-bottom: 20px;
  }

  .sp-parent {
    position: relative;
    display: block;
    width: 100%;
    padding: 15px 10px;
    border-bottom: solid 1px #969696;
    background-color: #fff;
    overflow-y: auto;
  }

  .sp-child {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 0.35s ease,
      opacity 0.25s ease;
  }

  .sp-parent.is-open > .sp-child {
    max-height: 700px; /* 子要素最大高さより大きく */
    opacity: 1;
    overflow-y: scroll;
  }

  .head-container ul.child-list-container {
    align-items: stretch;
    padding-bottom: 8px;
    padding-left: 20px;
    margin: 0;
    width: 100%;
    border-left: none;
  }

  .child-list-container li {
    padding: 5px 0;
  }

  /* ＋／−アイコン（任意） */
  .toggle-icon {
    position: absolute;
    top: 20px;
    right: 15px;
    width: 15px;
    height: 15px;
    z-index: 100;
    transition: transform 0.3s ease;
  }

  .toggle-icon::before,
  .toggle-icon::after {
    content: "";
    position: absolute;
    background: #333;
  }

  .toggle-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
  }

  .toggle-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
  }

  .sp-parent.is-open .toggle-icon::after {
    opacity: 0;
  }
}

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

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

@media screen and (max-width: 768px) {
  .head-logo a {
    font-size: 2.1rem;
  }

  .tosyo {
    height: 38px;
  }

  .meisyo {
    height: 36px;
  }

  .hamburger {
    width: 25px;
    height: 15px;
  }

  .hamburger span:nth-of-type(2) {
    top: 8px;
  }

  .hamburger span:nth-of-type(3) {
    top: 16px;
  }

  .hamburger.is-open span:nth-of-type(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.is-open span:nth-of-type(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media screen and (max-width: 559px) {
  .sp-header {
    padding: 5px 10px;
  }

  .head-logo a {
    font-size: 1.8rem;
    white-space: nowrap;
  }

  .tosyo {
    height: 28px;
  }

  .meisyo {
    height: 26px;
  }

  .head-container ul.child-list-container {
    padding-left: 15px;
  }

  .link {
    margin-left: 0;
  }
}

/*=============================
  footer
===============================*/
.ftconte {
  width: 100%;
  border-top: solid 25px #efefef;
}

.ftnav {
  width: 1200px;
  margin: 90px auto;
}

.logo-area {
  display: flex;
  align-items: end;
  padding-bottom: 20px;
  border-bottom: solid 1px #cecece;
}

.logo-area img {
  width: 120px;
  margin-right: 20px;
}

.logo-area p {
  font-size: 1.2rem;
}

.ftnav ul {
  display: flex;
  justify-content: space-around;
}

.ftnav li {
  margin: 30px auto 20px;
  text-align: center;
}

.ftnav li a {
  font-size: 1.6rem;
}

.logo-area a:hover {
  opacity: 0.7;
  transition: 0.3s;
}

.ftnav li a:hover {
  color: #008db7;
  transition: 0.3s;
}

#copyright address {
  text-align: center;
  padding-bottom: 12px;
  font-size: 1.1rem;
}

/*------------------------------------------
    1439px - 1201px
-------------------------------------------*/
@media screen and (max-width: 1439px) {
}

/*------------------------------------------
    1200px - 1100px
-------------------------------------------*/
@media screen and (max-width: 1199px) {
  .ftnav {
    width: 85%;
  }
}

/*------------------------------------------
    1099px - 960px
-------------------------------------------*/
@media screen and (max-width: 1099px) {
  .ftnav {
    width: 90%;
  }
}

/*------------------------------------------
    959px - 769px  TAB
-------------------------------------------*/
@media screen and (max-width: 959px) {
}

/*------------------------------------------
    768px - 560px
-------------------------------------------*/
@media screen and (max-width: 768px) {
  .logo-area {
    flex-direction: column;
    align-items: center;
    padding-bottom: 30px;
  }

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

  .ftnav {
    margin: 70px auto;
  }

  .ftnav ul {
    flex-direction: column;
    gap: 20px 0;
    margin-top: 30px;
  }

  .ftnav li {
    width: 100%;
    margin: 0 auto;
  }

  .ftnav li a {
    font-size: 1.4rem;
  }

  #copyright address {
    font-size: 1rem;
  }
}

/*------------------------------------------
    559px 以下  SP
-------------------------------------------*/
@media screen and (max-width: 559px) {
}
