.static {
  position: static;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.block {
  display: block;
}

.table {
  display: table;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.border {
  border-width: 1px;
}

.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.outline {
  outline-style: solid;
}

:root {
  --pc-width: 1000px;
}

@keyframes wink {
  from {
    opacity: 0.2;
  }
}

.wink:hover,
.winks:hover > * {
  animation: wink 1.2s ease;
}

body > .wrapper {
  --side-ani-time: 0.5s;
  position: relative;
  right: 0px;
  transition: right var(--side-ani-time) ease;
}

@media only screen and (max-width:750px) {
  body.side > .wrapper {
    right: 200px;
  }
}

@layer header {
  .header {
    z-index: 100;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: right;
    -moz-column-gap: 2vw;
         column-gap: 2vw;
    height: 15vw;
    padding-top: 3vw;
    max-height: 80px;
    width: 100%;
    background-color: white;
  }

  .header img {
    width: 100% !important;
    height: 100% !important;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center;
       object-position: center;
  }

  .header > .title {
    margin-right: auto !important;
  }

  .header > .title > img {
    max-width: 70vw;
    max-height: 70px;
  }

  .header > .menu,
    .header > .tel {
    width: 12vw;
    max-width: 80px;
  }

  @media (min-width: 750px) {
    .header {
      position: static;
      height: 70px;
      width: var(--pc-width);
      margin: 10px auto 0 !important;
    }

    .header .title {
      max-width: 660px;
    }

    .header .tel_pc img {
      max-width: 265px;
    }
  }
}

@layer header_scroll_img {
  @keyframes loop {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-100%);
    }
  }

  .header_scroll_img_container {
    --header-img-width: 2120px;
    --header-img-height: 530px;
    width: 100%;
    height: calc(var(--header-img-height) / 2);
    margin: 0 auto !important;
    overflow: hidden;
    display: flex;
    align-items: stretch;
  }

  .header_scroll_img_container > .header_scroll_img_list {
    display: flex;
    align-items: stretch;
    height: 100%;
    animation: loop infinite linear 30s both;
  }

  .header_scroll_img_container .header_scroll_img_list img {
    width: auto !important;
    height: 100% !important;
  }

  @media only screen and (min-width:750px) {
    .header_scroll_img_container {
      height: var(--header-img-height);
      max-width: calc(var(--header-img-width) * 2);
      min-width: var(--pc-width);
    }
  }
}

@layer header_img {
  .header_img_container {
    width: 100%;
  }

  .header_img {
    display: grid;
    width: 100%;
    height: 100%;
    margin: 0 auto !important;
    font-size: 16px !important;
  }

  .header_img .title {
    color: #555;
    font-weight: 700 !important;
    grid-area: 1/-1;
    align-self: center;
    justify-self: left;
    margin-left: 2em !important;
  }

  .header_img .title::after {
    content: attr(data-sub);
    padding-left: 0.5em;
    color: #999;
    font-size: 0.8em;
  }

  .header_img .img {
    grid-area: 1/-1;
    -o-object-position: 115% center;
       object-position: 115% center;
    -o-object-fit: contain;
       object-fit: contain;
    height: 128px !important;
    width: 100% !important;
  }

  @media only screen and (min-width:750px) {
    .header_img_container {
      border-top: solid 3px #3068c9 !important;
      min-width: var(--pc-width);
    }

    .header_img {
      width: var(--pc-width);
      font-size: 24px !important;
    }

    .header_img .img {
      -o-object-position: right center;
         object-position: right center;
      height: 197px !important;
    }
  }
}

/* header_nav_flex */

@layer nav {
  .nav {
    display: flex;
  }

  .nav .item .title {
    display: grid;
    color: white;
    text-decoration: none;
    align-items: center;
  }

  @media only screen and (max-width:750px) {
    .nav {
      flex-flow: column;
      position: fixed;
      top:0;
      right: -200px;
      height: 100vh;
      width: 200px;
      background-color: #3068c9;
      z-index: 1001;
      transition: right var(--side-ani-time) ease;
    }

    body.side .nav {
      right: 0px;
    }

    .nav .item .title {
      justify-items: left;
      padding-left: 1em !important;
      border-top: 1px solid #5685d6 !important;
      border-bottom: 1px solid #2255ac !important;
      height: 38px !important;
    }

    .nav .title:hover {
      border-top: unset !important;
    }

    .nav .sub {
      display: none;
    }
  }

  @media only screen and (min-width:750px) {
    .nav {
      --nav-item-width: calc(var(--pc-width) / 9);
      --nav-item-split-color: #5080d5;
      --nav-item-active-color: #1251bb;
      --nav-height: 70px;
      justify-content: center;
      width: 100%;
      min-width: var(--pc-width);
      height: var(--nav-height);
      background: linear-gradient(0deg, rgba(48,104,201,1) 50%, rgba(64,115,204,1) 50%);
    }

    .nav .title:hover,
        .nav .title.active {
      background-color: var(--nav-item-active-color) !important;
    }

    .nav .sub {
      --nav-sub-bg: #4073ce;
      --nav-sub-height: 36px;
      display: contents;
    }

    .nav .item .title {
      width: var(--nav-item-width);
      line-height: 1;
      justify-items: center;
      box-sizing: border-box;
      transition: background-color 300ms ease-out, height 100ms;
    }

    .nav .item > .title {
      border-right: 1px solid var(--nav-item-split-color) !important;
      font-size: 14px !important;
      height: 100%;
    }

    .nav .item:first-child > .title {
      border-left: 1px solid var(--nav-item-split-color) !important;
    }

    .nav .item .sub .title {
      font-size: 13px !important;
      background-color: var(--nav-sub-bg);
      box-sizing: border-box;
      height: 0px;
      overflow: hidden;
      position: relative;
      z-index: 99;
    }

    .nav .sub .title *:nth-child(2),
        .nav .sub .title *:nth-last-child(2)
        /* .nav .sub .title:has(*:nth-child(2)) */ {
      font-size: 87.5% !important;
    }

    .nav .title:hover + .sub .title,
        .nav .sub:hover .title {
      height: var(--nav-sub-height);
      border-top: 1px solid #779bdb !important;
      overflow: visible;
    }

    .br::after {
      content: "\A";
      white-space: pre;
    }
  }
}

@layer bread {
  .bread_container {
    width: 100%;
    min-width: var(--pc-width);
    background-color: #eee;
  }

  .bread {
    width: 95%;
    margin: 0 auto 20px !important;
    height: 40px;
    display: flex;
    align-items: center;
    /* @media (min-width:750px) {
            width: var(--pc-width);
            margin: 0 auto 30px !important;
            min-width: var(--pc-width);
        } */
  }

  .bread a {
    text-decoration: none;
    color: #777;
    padding-left: 5px !important;
  }

  .bread a:not(:first-child)::before {
    content: '>';
    color: #777;
    padding-right: 5px;
  }

  .bread a[href] {
    color: black;
  }

  @media (min-width:750px) {
    .bread {
      width: var(--pc-width);
      margin: 0 auto 30px !important;
      min-width: var(--pc-width);
    }
  }
}

/* 以下ページ個別CSS */

@layer newsletter {
  #newsletter #searchForm.close {
    display: none;
  }

  #newsletter #yearSelect {
    display: flex;
    height: 50px;
    gap: 20px;
    justify-content: center;
  }

  #newsletter .yearBtn {
    flex-basis: 160px;
    border-radius: 0.25rem;
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgb(107 114 128 / var(--tw-border-opacity));
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-weight: 600;
    --tw-text-opacity: 1;
    color: rgb(107 114 128 / var(--tw-text-opacity))
  }

  #newsletter .yearBtn:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(243 244 246 / var(--tw-bg-opacity));
  }

  #newsletter #searchForm {
    margin-top: 20px !important;
    display: flex;
    justify-content: center;
    height: 3rem;
    align-items: stretch;
  }

  #newsletter #searchForm #newsSearchWord {
    flex-grow: 1;
    @media (min-width: 750px) {
      max-width: 50%;
    }
  }

  #newsSearch {
    width: 5rem;
  }

  #newsletter #mailItemList {
    margin-top: 20px !important;
    display: flex;
    flex-flow: column;
    gap: 20px;
    align-items: stretch;
    transition :all 1s;
  }

  #newsletter #mailItemList.replace {
    opacity: 0;
  }

  #newsletter .mailItem {
    position: relative;
    border:1px solid #2f77f8 !important;
    min-height: 3rem;
    text-decoration: none;
    color: black;
  }

  #newsletter .mailItem .title {
    background-color: #eee;
    padding: 5px !important;
    font-weight: bold !important;
  }

  #newsletter .mailItem .description {
    white-space: pre-wrap;
    word-wrap: break-word;
    padding: 5px !important;
    padding-left: 15px !important;
  }

  #newsletter .mailItem .date {
    position: absolute;
    top: 5px;
    right: 5px;
    color: gray;
  }
}