@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&display=swap");
:root {
  --body-color: #ffffff;
  --font-color: #000000;
  --link-color: #0000ff;
  --primary-color: #0087EC;
  --secondary-color: #EFF4F8;
  --tertiary-color: #0066FF;
  --border-color: #000000;
  --white-color: #ffffff;
  --font-family: "游明朝 Medium", "Yu Mincho Medium", "YuMincho Medium", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
  --font-weight: 300;
}
button {
  appearance: none;
  -webkit-appearance: none;
}

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 {
  background: transparent;
  border: 0;
  font-family: var(--font-family);
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
}
html {
  width: 100%;
  overflow-x: hidden;
}
body {
  line-height: 1;
  overflow-x: hidden;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  vertical-align: middle;
}

input, select {
  vertical-align: middle;
}

a,
area,
button,
[role=button],
input:not([type=range]),
label,
select,
summary,
textarea {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
     -moz-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
          text-size-adjust: 100%;
}

img,
iframe {
  vertical-align: bottom;
}

input,
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: none;
  border: none;
  border-radius: 0;
  font-family: var(--font-family);
  font-size: 1.8rem;
  margin: 0;
  padding: 0;
}

select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 1.8rem;
  margin: 0;
  padding: 0;
}

button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 1.8rem;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
}


.burger-btn {
  align-items: center;
  border-left: 0;
  border-right: 0;
  -webkit-box-align: center;
  -webkit-box-pack: center;
  display: none;
      -ms-flex-align: center;
      -ms-flex-pack: center;
  height: 37px;
          justify-content: center;
  line-height: 1;
  position: absolute;
  right: 15px;
  text-align: right;
  top: 11px;
  width: 37px;
  z-index: 4000;
}


body {
  width: 100%;
  margin: 0;
}
section {
  overflow-x: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header-left {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

header {
  overflow-x: hidden;
  background: var(--body-color);
  width: 100%;
  height: 100px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}
header h1 {
  font-size: 3rem;
  margin-right: 20px;
}
header ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

header a.tel {
  width: 190px;
}
.banner .tel,
footer .tel,
header .tel {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
}

.banner .tel div,
footer .tel div,
header .tel div {
  position: relative;
}

header .tel div img:nth-child(1) {
  position: absolute;
  top: -20px;
  right: 10px;
  width: 50px;
}

header .tel div img:nth-child(2) {
  position: absolute;
  top: -6px;
  right: 25px;
  width: 20px;
}

.banner a.tel,
footer a.tel,
header a.tel {
  text-decoration: none;
  margin-top: -15px;
}

.banner a.tel,
footer a.tel p,
header a.tel p {
  color: var(--primary-color);
  font-size: 3rem;
}

section h2,
footer nav ul,
header nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}
section h2 {
  display: flex;
  align-items: center;
  gap: 60px;
}

section h2 span,
footer nav ul li,
header nav ul li {
  position: relative;
}

footer nav ul li + li::before,
header nav ul li + li::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 1.2em;
  background: currentColor;
  pointer-events: none;
}

header nav ul li:last-child::before {
  content: "";
  width: 0px !important;
  height: 0px !important;
}

section h2 span + span::before {
  content: "";
  position: absolute;
  left: -3.0rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 1.2em;
  background: currentColor;
  pointer-events: none;
}


section h2 span,
footer nav ul a,
header nav ul a {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  font-size: 1.6rem;
  color: var(--font-color);
}
footer nav ul a,
header nav ul a {
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 700;
}

rt {
  color: var(--font-color);
}

.main-visual img {
  width: 100%;
}

footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-top: 250px;
}
footer div {
  background: var(--body-color);
  height: 75px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 0px;
}

footer .title-address {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

footer .title-address h3 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}
footer .title-address address {
  display: flex;
  flex-direction: row;
  font-size: 1.6rem;
  font-style: normal;
}
footer .title-address address span {
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 700;
}
footer .tel div img:nth-child(1) {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 50px;
}

footer .tel div img:nth-child(2) {
  position: absolute;
  top: 24px;
  right: 25px;
  width: 20px;
}

footer a.tel p {
  margin-top: -15px;
}
.banner a.tel p {
  font-size: 6rem;
}
.banner-text p {
  font-size: 2.4rem;
}

footer small {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--primary-color);
  color: var(--white-color);
  width: 100%;
  height: 50px;
  font-size: 1.2rem;
}

.section-service {
  background: var(--secondary-color);
}
.section-service h2 {
  height: 120px;
}
.service-card-div p {
  line-height: 3rem;
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 700;
}
.service-card-div h3 {
  font-size: 3rem;
}
h2 {
  width: 100%;
  height: 220px;
  background: var(--primary-color);
  display: flex;
  flex-direction: row;
  justify-content: center;
}
h2 span {
  color: var(--white-color) !important;
  font-size: 3.2rem !important;
  font-weight:lighter !important;
}

.inner-container {
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section-service .inner-container div img {
  margin-left: 60px;
  width: 400px;
}

.section-service .inner-container .service-card {
  width: 100%;
  padding: 60px;
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  background: var(--body-color);
}

.section-service .inner-container .service-card div {
  width: 100%;
  height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.section-service .inner-container .service-card hr {
  background: var(--primary-color);
  color: var(--primary-color);
  width: 100%;
  border: 1px solid var(--primary-color);
}

.banner hr {
  background: var(--white-color);
  color: var(--white-color);
  border: 1px solid var(--white-color);
}
.banner div span {
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 500;
}

.section-flow {
  background: var(--body-color);
  padding-top: 100px;
}
.section-flow h2 {
  background: var(--body-color);
}
.section-flow h2 span {
  color: var(--primary-color) !important;
}
.section-flow .inner-container {
  display: flex;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
}
.flow-card:nth-child(2n + 1) h3 {
  height: 50px;
  background: var(--primary-color);
  color: var(--white-color);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 20px;
  font-size: 1.6rem;
}
.flow-card:nth-child(2n) h3 {
  height: 50px;
  background: var(--tertiary-color);
  color: var(--white-color);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 20px;
  font-size: 1.6rem;
}
.flow-card img {
  width: 100%;
}
.flow-card {
    margin-right: 10px;
    position: relative;
}

.diamond-half-primary {
  z-index: 9;
  position: absolute;
  top: 0px;
  right: -25px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 50% 50%);
}
.diamond-half-tertiary {
  z-index: 9;
  position: absolute;
  top: 0px;
  right: -25px;
  width: 50px;
  height: 50px;
  background: var(--tertiary-color);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 50% 50%);
}

.banner {
  width: 100%;
  height: 280px;
  background: var(--primary-color);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 200px;
}
.banner .banner-text {
  margin-right: 100px;
}
.banner .tel div img:nth-child(1) {
  position: absolute;
  top: -20px;
  right: 10px;
  width: 50px;
}

.banner .tel div img:nth-child(2) {
  position: absolute;
  top: -5.5px;
  right: 24.5px;
  width: 20px;
}
.banner ruby rt,
.banner div span,
.banner div p,
.banner .tel p {
  color: var(--white-color) !important;
}

.section-works {
  background: var(--body-color);
  overflow: hidden;
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-works h2 {
  background: var(--body-color);
}

.section-works h2 span {
  color: var(--primary-color) !important;
}

.section-works .inner-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-bottom: 100px;
  height: 320px;
}

  .works-card {
    border: 1px solid var(--primary-color);
    width: 25%;
    height: 320px;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
  }

  .slide {
    position: absolute;
    top: 0;
    left: -25%;
    width: 25%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.5s ease;
  }


.works-card h3 {
  background: var(--primary-color);
  color: var(--white-color);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 180px;
  height: 40px;
  font-size: 2rem;
  padding-left: 10px;
  margin-bottom: 15px;
  margin-top: -40px;
}
.works-card img {
  width: 180px;
}

.works-card p {
  width: 180px;
  height: 80px;
  line-height: 3rem;
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
}

.section-works button.prev img {
  width: 30px;
  margin-left: calc(70%); 
}
.section-works button.next img {
  width: 30px;
  margin-right: calc(70%); 
}

  .slider-track {
    display: flex;
    position: relative;
  }
  .button {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    width: 70px;
    height: 70px;
    position: absolute;
    top: 57%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white-color);
    padding: 10px;
    cursor: pointer;
    z-index: 10;
  }
  .prev { left: calc(10% - 70px); }
  .next { right: calc(10% - 70px); }

  .blind-prev,
  .blind-next {
    top: 320px;
    width: 10%;
    height: 320px;
    position: absolute;
    background: var(--secondary-color);
    border: 1px solid var(--primary-color);
    padding: 10px;
    cursor: pointer;
    z-index: 8;
  }
  .blind-prev { left: 0; }
  .blind-next { right: 0; }

.section-permission {
  border-bottom: 1px solid var(--primary-color);
}
.section-permission h2 {
  height: 120px;
}
.section-permission .inner-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.permission-card {
  border: 1px solid var(--primary-color);
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.permission-card a {
  background: #A7A7A7;
  color: var(--white-color);
  border-radius: 20px;
  height: 40px;
  width: 140px;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 10px;
  font-size: 1.2rem;
}

.permission-card p {
  margin-top: 5px;
  margin-bottom: 5px;
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 700;
}

.section-qa {
  width:100%;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  padding-top: 100px;
}
.section-qa h2 {
  background: var(--body-color);
}
.section-qa h2 span {
  color: var(--primary-color) !important;
}

.section-qa h3 {
  color: var(--white-color) !important;
  background: var(--primary-color) !important;
  width: 100%;
  height: 40px;
  padding-left: 20px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 500;
  margin-top: 50px;
}
.section-qa h3:nth-child(1) {
  margin-top: 0px;  
}

.section-qa .qa{
  width: 100%;
  background: var(--body-color);
  overflow:hidden
}
.section-qa .q{
  border: 1px solid var(--primary-color);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px 18px;
  cursor:pointer
}
.section-qa .q button{
  all:unset;
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  justify-content:space-between;
}

.section-qa .q .title{
  width: 85% !important;
  font-weight:700;
  font-size:16px;
  color: var(--font-color);
  text-align:left;
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.section-qa .toggle-icon{
  width:38px;
  height:38px;
  border-radius:8px;
  display:inline-grid;
  place-items:center;
  border:1px solid #e6eef8;
}
.section-qa .toggle-icon svg{
  width:18px;
  height:18px;
  transform-origin:center;
  transition:transform .28s ease;
}
.section-qa .a span {
  color: var(--primary-color) !important;
  font-size: 3rem;
  margin-right: 22px;
  margin-left: 3px;
}
.section-qa .q span span {
  color: var(--primary-color) !important;
  font-size: 3rem;
  margin-right: 20px;
}

.section-qa .a{
  border: 1px solid var(--primary-color);
  padding:0 18px;
  background: var(--secondary-color);
  overflow:hidden;
  transition:height .32s ease;
}
.section-qa .q .title {
  line-height:1.7;
}
.section-qa .a .content {
  font-weight:700;
  font-size:16px;
  padding:20px 0 18px;
  color: var(--font-color);
  line-height:1.7;
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.section-qa .qa[aria-expanded="true"] .toggle-icon svg{
  transform:rotate(45deg);
}

@media (max-width:480px){
  .section-qa .q .title{font-size:15px}
  .section-qa .toggle-icon{width:36px;height:36px}
}

.section-collection-items {
  width:100%;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  padding-top: 100px;
  padding-bottom: 100px;
}
.section-collection-items .inner-container {
  padding-bottom: 100px;
}
.section-collection-items h2 {
  background: var(--body-color);
}
.section-collection-items h2 span {
  color: var(--primary-color) !important;
}

.section-collection-items table {
  width: 100%;
}
.section-collection-items table tr {
  width: 100%;
  height: 100px;
}
.section-collection-items table tr td,
.section-collection-items table tr th {
  width: 33.3%;
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 700;
}

.section-collection-items table tr:nth-child(2n + 3) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 20px;
  background: var(--secondary-color);
}
.section-collection-items table tr:nth-child(2n + 2) {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 20px;
  background: var(--body-color);
}
.section-collection-items table tr:nth-child(1) {
  height: 50px !important;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 20px;
  background: var(--body-color);
  border-bottom: 4px solid var(--primary-color);
}
.section-collection-items table tr th {
  height: 50px !important;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.section-collection-items table tr th span {
  color: var(--primary-color);
}

.section-collection-items p {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 700;
  margin-top: 50px;
}

.section-link {
  width:100%;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  background: var(--secondary-color);
  border-bottom: 1px solid var(--primary-color);
}
.section-link h2 {
  height: 120px;
}
.section-link .inner-container {
  display: flex !important;
  flex-direction: row;
  align-items: center !important;
  justify-content: center !important;
}
.link-card {
  width: 240px;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid var(--primary-color);
  padding: 40px;
  background: var(--white-color);
}
.link-card p {
  font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 700;
}
.link-card a {
  background: #A7A7A7;
  color: var(--white-color);
  border-radius: 20px;
  height: 40px;
  width: 140px;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 20px;
  font-size: 1.2rem;
}

.section-service .inner-container {
  padding-top: 70px;
  padding-bottom: 130px;
}

.service-card-div img {
  display: none;
}

nav a.tel {
  display: none;
}

@media screen and (max-width: 1400px) {
  header a.tel {
    width: 240px;
  }

  header h1 {
    margin-bottom: 20px;
  }
  .header-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 30px;
  }
  .footer-div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  footer nav {
    margin-top: 20px;
    margin-bottom: -55px;
  }
  footer a.tel {
    margin-top: 80px;
    margin-bottom: -50px;
  }
  footer .title-address {
    margin-top: -180px;
    margin-bottom: -10px;
  }
}

@media screen and (max-width: 968px) {
  nav a.tel {
    display: relative;
  }

  section {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }

  .blind-prev, .blind-next {
    top: 160px !important;
  }

  .banner {
    margin-top: 0px !important;
  }

  .section-service .inner-container {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }
  h2 {
    height: auto !important;
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }
  .inner-container {
    padding-bottom: 70px !important;
  }
  #link .inner-container,
  #permission .inner-container {
    padding-bottom: 0px !important;
  }

  .section-works .inner-container {
    margin-bottom: 70px;
  }
}

@media (min-width: 577px) and (max-width: 968px) {
   nav.active {
    z-index: 99;
   }
  .works-card {
    border: 1px solid var(--primary-color);
    width: 260px;
    height: 320px;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
  }

  .slide {
    position: absolute;
    top: 0;
    width: 260px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.5s ease;
  }

  footer .tel div img:nth-child(1) {
    top: -45px;
  }
  footer .tel div img:nth-child(2) {
    top: -28px;
  }
  header nav ul li + li::before {
    content: none;
    width: 0px;
    height: 0;
  }
  header nav ul {
    flex-direction: column;
  }
  header a.tel {
    width: 370px;
    margin-right: 60px;
  }
  footer a.tel p {
      margin-top: -120px;
  }
  .header-left {
    margin-left: 20px;
  }

  .section-collection-items table tr:nth-child(1) {
    height: 100px !important;
  }
  footer .title-address {
    margin-top: -100px;
    margin-bottom: -10px;
  }

  footer div {
    flex-direction: column;
    justify-content: space-evenly;
  }
  .section-link .inner-container {
    flex-direction: column;
  }

  .section-collection-items table tr td:nth-child(1) {
    color: var(--primary-color);
    font-weight: 700;
  }
  .section-collection-items table tr td:nth-child(2) {
    color: var(--font-color);
    font-weight: 700;
  }
  .section-collection-items table tr td:nth-child(3) {
    color: var(--font-color);
    font-weight: 300;
  }

  .section-collection-items table tr td,
  .section-collection-items table tr th {
    width: 100%;
    margin-left: 73%;
  }
  .section-collection-items table tr {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-evenly !important;
    align-items: center !important;
  }
  .section-permission .inner-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .permission-card {
    border: 1px solid var(--primary-color);
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
  }


  .banner .banner-text {
    margin-right: 0px;
  }
  .banner {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
  }

  .diamond-half-primary {
    z-index: 9;
    position: absolute;
    left: calc(50% - 25px);
    width: 50px;
    height: 50px;
    transform: rotate(90deg);
    background: var(--primary-color);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 50% 50%);
  }
  .diamond-half-tertiary {
    z-index: 9;
    position: absolute;
    left: calc(50% - 25px);
    width: 50px;
    height: 50px;
    transform: rotate(90deg);
    background: var(--tertiary-color);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 50% 50%);
  }



  .flow-card {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .section-flow .inner-container {
    flex-direction: column !important;
  }

  .section-service .inner-container .service-card {
      justify-content: flex-start;
  }
  .section-service .inner-container div img {
    margin-left: 0px;
    margin-bottom: 20px;  
  }

  .section-service .inner-container .service-card {
    width: 100% !important;
    padding: 30px;
  }
  .section-service .inner-container .service-card div {
    height: auto !important;
  }
  .service-card img {
    display: none;
  }
  .service-card-div img {
    display: block;
  }
  .service-card-div h3 {
    margin-bottom: 10px;
  }
  .service-card-div p {
    width: 100%;
    line-height: 3rem;
  }
  .section-service .inner-container div img {
    width: 100%;
  }

  .burger-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .burger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--border-color);
    border-radius: 2px;
    transition: 0.3s;
    margin-top: 5px;
  }

  .burger-btn {
    color: var(--font-color);
  }
  header nav {
    opacity: 0;
  }

  header h1 {
    font-size: 1.8rem;
    margin-top: 30px;
  }

  .burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .burger-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }


  nav {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-box-align: center;
    -webkit-box-pack: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
        -ms-flex-align: center;
        -ms-flex-pack: center;
    height: 100dvh;
            justify-content: center;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    visibility: hidden;
    width: 100vw;
  }
  nav.active {
    opacity: 1;
    visibility: visible;
  }

  nav ul {
    display: block;
    text-align: center;
  }
  .blind-prev, .blind-next {
      top: 172px !important;
  }
}


@media screen and (max-width: 576px) {
  nav.active {
    z-index: 99;
  }

  .works-card {
    border: 1px solid var(--primary-color);
    width: 260px;
    height: 320px;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
  }

  .slide {
    position: absolute;
    top: 0;
    width: 260px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: transform 0.5s ease;
  }

  footer .tel div img:nth-child(1) {
    top: -45px;
  }
  footer .tel div img:nth-child(2) {
    top: -28px;
  }
  footer a.tel p {
      margin-top: -120px;
  }

  header nav ul li + li::before {
    content: none;
    width: 0px;
    height: 0;
  }
  header nav ul {
    flex-direction: column;
  }
  header a.tel {
    width: 70%;
    margin-top: 0px;
    display: flex;
    justify-content: center;
  }
  .header-left {
    margin-left: 0px;
  }

  .section-collection-items table tr:nth-child(1) {
    height: 100px !important;
  }

  footer .title-address {
    margin-top: -100px;
    margin-bottom: -10px;
  }
  footer div {
    flex-direction: column;
    justify-content: space-evenly;
  }
  footer .title-address h3 {
    font-size: 2.2rem;
  }

  .section-link .inner-container {
    flex-direction: column;
  }

  .section-collection-items table tr td:nth-child(1) {
    color: var(--primary-color);
    font-weight: 700;
  }
  .section-collection-items table tr td:nth-child(2) {
    color: var(--font-color);
    font-weight: 700;
  }
  .section-collection-items table tr td:nth-child(3) {
    color: var(--font-color);
    font-weight: 300;
  }
  .section-collection-items table tr td,
  .section-collection-items table tr th {
    width: 100%;
  }
  .section-collection-items table tr {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: space-evenly !important;
    align-items: center !important;
  }
  .section-permission .inner-container {
    flex-direction: column;
  }
  .permission-card {
    width: 100%;
  }
  .banner a.tel p {
    font-size: 3rem;
  }
  .banner .banner-text {
    margin-right: 0px;
  }
  .banner {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
  }

  .diamond-half-primary {
    z-index: 9;
    position: absolute;
    left: calc(50% - 25px);
    width: 50px;
    height: 50px;
    transform: rotate(90deg);
    background: var(--primary-color);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 50% 50%);
  }
  .diamond-half-tertiary {
    z-index: 9;
    position: absolute;
    left: calc(50% - 25px);
    width: 50px;
    height: 50px;
    transform: rotate(90deg);
    background: var(--tertiary-color);
    clip-path: polygon(50% 0, 100% 50%, 50% 100%, 50% 50%);
  }


  .flow-card {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .section-flow .inner-container {
    flex-direction: column !important;
  }

  .section-service .inner-container .service-card {
      justify-content: flex-start;
  }
  .section-service .inner-container div img {
    width: 100%;
    margin-left: 0px;
    margin-bottom: 20px;
  }

  .section-service .inner-container .service-card {
    width: 100% !important;
    display: flex;
    justify-content: center;
    padding: 20px;
  }
  .section-service .inner-container .service-card div {
    height: auto !important;
  }

  .service-card img {
    display: none;
  }
  .service-card-div img {
    display: block;
  }
  .service-card-div h3 {
    margin-bottom: 10px;
  }
  .service-card-div p {
    width: 100%;
    line-height: 3rem;
  }

  .burger-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .burger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--border-color);
    border-radius: 2px;
    transition: 0.3s;
    margin-top: 5px;
  }

  .burger-btn {
    color: var(--font-color);
  }
  header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  header nav {
    opacity: 0;
  }

  header h1 {
    font-size: 1.6rem;
    width: 100%;
  }

  .burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .burger-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }


  nav {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    -webkit-box-align: center;
    -webkit-box-pack: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
        -ms-flex-align: center;
        -ms-flex-pack: center;
    height: 100dvh;
            justify-content: center;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    visibility: hidden;
    width: 100vw;
  }
  nav.active {
    opacity: 1;
    visibility: visible;
  }

  nav ul {
    width: 100%;
    display: block;
    text-align: center;
  }

  nav ul li {
    width: 100%;
  }
  a.tel {
    margin-left: 80px;
  }
  nav a.tel {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-left: 25px !important;
  }

  h2 span {
    color: var(--white-color) !important;
    font-size: 2rem !important;
    font-weight:lighter !important;
  }

  #atel {
    display: none;
  }
  header h1 {
    position: absolute;
    font-size: 1.8rem;
    left: 20px;
    top: 24px;
  }
  header {
    height: 66px !important;
  }
}

@media (hover: hover){
  /* リンクの場合 */
  a:-moz-any-link:hover:not(.flow-card) {
    opacity: 0.7;
    text-decoration: none;
  }
  a:any-link:hover:not(.flow-card) {
    opacity: 0.7;
    text-decoration: none;
  }
  /* ボタンの場合 */
  button:enabled:hover {
    opacity: 0.7;
  }
  /* 特定できない場合 */
  .btn:where(:-moz-any-link, :enabled, summary):hover {
    opacity: 0.7;
  }
  .btn:where(:any-link, :enabled, summary):hover {
    opacity: 0.7;
  }
}


section {
  opacity: 0;                /* 最初は透明 */
  transform: translateY(20px); /* 少し下にずらす */
  transition: opacity 1.8s ease, transform 1.8s ease;
}

section.show {
  opacity: 1;               /* 可視化 */
  transform: translateY(0); /* 元の位置に */
}