/*
Theme Name: T-made Theme
Author: Juri Suzuki
*/

:root {
  --font-sans: 'Noto Sans JP Subset', sans-serif;
  --font-roboto: 'Roboto EN Subset', sans-serif;
  --bg: #f8f8f8;
  --bg-dark: #1e1e1e;
  --bg-black: #111;
  --bg-mute: #f2f2f2;
  --text: #222222;
  --red: #cf2f2f;
  --blue: #0071b1;
  --navy: #1c4074;
  --white: #ffffff;
  --text-mute:#ddd;
  --text-gray: #777777;
  --text-white:#f4f4f4;
  --text-point:#b99a57;
  --border: #cccccc;
  --header-height: clamp(50px, 9vw, 60px);
  --anchor-offset: calc(var(--header-height) + 16px);
}

@font-face {
  font-family: 'Noto Sans JP Subset';
  src: url('fonts/NotoSansJP-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans JP Subset';
  src: url('fonts/NotoSansJP-Medium-jp.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans JP Subset';
  src: url('fonts/NotoSansJP-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto EN Subset';
  src: url('fonts/Roboto-Medium-en.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto EN Subset';
  src: url('fonts/Roboto-Bold-en.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
  font-size:15px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: #000;
  -webkit-font-smoothing: antialiased;
  
}

body.is-sample-popup-open {
  overflow: hidden;
}

.site-inner{
  position: relative;
  max-width:1440px;
  margin:0 auto;
  background: var(--bg);
}
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
}
.container-lg {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
}
.container-s {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .container-sm-lg {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
}
}
@media (max-width: 992.98px) {
.container-ss {
  max-width: 700px;
}
}

.link-under{
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.title{
  font-family: var(--font-roboto);
  font-size: clamp(1.3rem, 5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 1.8rem;
}
.title-m{
  font-family: var(--font-roboto);
  font-size: clamp(1.3rem, 5vw, 2rem);
  margin-bottom: 1.8rem;
  letter-spacing: 0.05em;
}
.main-title{
  font-family: var(--font-roboto);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  margin-bottom: clamp(1rem, 5vw, 1.5rem);
}
.main-title span{
  font-family: var(--font-sans);
  font-size:1rem;
  display: block;
  font-weight: 500;
}

.bg-black{
  background: var(--bg-black);
}

.bg-dark{
  background: var(--bg-dark);
}

.text-gray{
  color:var(--text-gray);
}

.text-white{
  color:var(--white);
}

.text-mute{
  color:var(--text-mute);
}

.text-red{
  color:var(--red);
}

.fw-500{
  font-weight:500;
}

.fw-700{
  font-weight:700;
}

.ff-roboto{
  font-family: var(--font-roboto);
}

a.blue_under{
  color: var(--blue);
  text-decoration: underline;
  font-weight: 500;
}

header {
background: var(--bg-black);
position: sticky;
top: 0;
z-index: 1000;
}

.header-inner {
display: flex;
height:var(--header-height);
position: relative;
}

.site-brand{
display: inline-flex;
align-items: center;
padding-left:1rem;
}

.site-brand img {
    width:clamp(90px, 9vw, 120px);
}

.site-menu{
  display: flex;
  margin-left: auto;
  gap: clamp(0.75rem, 2vw, 2rem);
  font-weight: 500;
  color: var(--text-white);
  font-size: 1rem;
}

.menu-toggle {
  display: none;
  width: var(--header-height);
  height: 100%;
  margin-left: auto;
  align-self: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  background: #333;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px auto;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-nav{
  display: flex;
  align-items: center;
}

.site-nav a {
  margin: 0 clamp(0.45rem, 1vw, 0.8rem);
  display: inline-block;
  position: relative;
  padding-bottom:0.5em;
  text-align: center;
  font-family: var(--font-roboto);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #333;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.sns-link {
  display: flex;
  gap:1rem;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.sns-link  img {
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  margin-bottom:3px;
}

.contact-link {
  text-align: center;
  background-color: var(--red);
  color: var(--white);
  transition: background-color .2s ease;
}

.black-link {
  text-align: center;
  background-color: var(--text-point);
  color: var(--white);
  transition: background-color .2s ease;
}

.header-contact {
  align-self: stretch;
  margin-left: clamp(0.75rem, 2vw, 2rem);
  width:clamp(100px, 11vw, 120px);
  font-family: var(--font-roboto);

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-contact {
  display: none;
  height:50px;
  line-height:50px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #111111;
}

.hero-slider {
  position: relative;
}

.hero-slider .swiper-slide {
  height: 620px;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    var(--bg-black) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-copy {
  color:var(--text-mute);
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(2.5rem, 6vw, 4rem);
  z-index: 2;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.85), 0 2px 6px rgba(0, 0, 0, 0.95);
}

.eyebrow {
  font-family: var(--font-roboto);
  font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: clamp(1rem, 5vw, 1.5rem);
  line-height: 1.3;
  text-align: center;
}

.lead {
  font-size: 1rem;
  line-height: 2;
  font-weight:500;

}

.button {
  min-width: 240px;
  min-height: 54px;
  padding: 0.9rem 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-roboto);
  transition: opacity 0.2s ease, background-color 0.2s ease;
  letter-spacing: .05em;
}

.b-space{
  margin-top:3rem;
  text-align: center;
}

.button:hover {
  opacity: 0.9;
}

.button-white {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.page-contact {
  width:100%;
  display: block;
  min-width: 240px;
  height: 54px;
  line-height: 54px;
  font-weight: 500;
  max-width:360px;
  margin:0 auto;
}

.contact-link:hover,
.contact-link:focus-visible {
  background-color: #b72727;
}

.black-link:hover,
.black-link:focus-visible {
  background-color: #987f47;
}

.button-black {
  border: 1px solid var(--bg-dark);
  color: var(--text);
}

.button-black:hover {
  background:var(--bg-dark);
  color:var(--white);
}

.button-white {
  border: 1px solid var(--text-gray);
  color: var(--text-mute);
  transition: border-color .2s ease, color .2s ease, opacity .2s ease;
}

.button-white:hover,
.button-white:focus-visible {
  border-color: #8e8e8e;
  color: var(--white);
  opacity: 1;
}

.hero-slider-nav {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  display: none;
  gap: 0.75rem;
  z-index: 2;
}

.hero-slider-button {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  cursor: pointer;
  position: relative;
}

.hero-slider-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--white);
  border-right: 2px solid var(--white);
  transform-origin: center;
}

.hero-slider-next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.hero-slider-prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.hero-slider-pagination {
  position: absolute;
  left: clamp(1.5rem, 4vw, 3rem);
  bottom: clamp(1.5rem, 4vw, 2.5rem);
  z-index: 2;
  display: none;
  gap: 0.65rem;
}

.hero-slider-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.hero-slider-pagination .swiper-pagination-bullet-active {
  background: var(--white);
}


@media (max-width: 767.98px) {
header {
position: sticky;
top: 0;
z-index: 1000;
}

  .header-inner {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
    margin-left: 0;
    position: relative;
    z-index: 1001;
  }

  .site-menu {
    display: none;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem 1rem 2.5rem;
    font-size: 1.3rem;
    background: var(--bg-dark);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
  }

  .site-menu.is-open {
    display: flex;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    display: block;
    min-height: auto;
    padding: 1rem 1rem;
  }

header .sns-link {
    padding: 1rem 1rem;
    font-size:1.1rem;
    gap:1.5rem;
  }


  .header-contact {
    margin-left: auto;
    align-self: stretch;
    width:clamp(90px, 20vw, 180px);
    
  }

  .menu-contact {
    display: block;
    width: min(400px, 100%);
    margin: 0 auto;
    font-size: 1rem;;
  }

  .menu-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 991.98px) {
.sns-link img{
        display:inline-block;
        margin-right:0.3em;
  }
}

.top-reels{
  padding-bottom:70px;
  padding-top:10px;
} 
.reels-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.reels-card{
  background: linear-gradient(135deg, #000000 0%, #666666 100%);
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
	transition: filter 0.3s ease;
}
.reels-card:hover {
  filter: brightness(1.4);
}

.reels-card h3{
  font-family: var(--font-roboto);
  color:var(--text-white);
  text-align: center;
  font-weight: 700;
  margin-top: auto;
  padding-bottom: 1rem;
  font-size: 1.1rem;
}

.reels-card h3 span{
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  display: block;
}

.reels-card img{
  max-width:80%;
  margin: 2rem auto 1rem;
}

#top-sample{
  background: var(--bg-dark);
}
.sample-number{
  color: var(--white);
}

@media (min-width: 576px) {
.lead {
  text-align: center;
  line-height:2.2;
}
}

@media (min-width: 992px) {
.reels-card img{
  max-width:70%;
}
}


.sample-slider-frame {
  position: relative;
  margin-top: 30px;
  --sample-grid-gap: 10px;
  --sample-label-height: 1.4rem;
}

.sample-grid {
  height: calc((100vw / 1.15) + var(--sample-grid-gap) + var(--sample-label-height) + var(--sample-label-height));
  width: 100%;
}

.sample-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sample-card img {
  width: 100%;
  display: block;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.sample-popup-trigger {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}

.sample-popup-trigger img {
  height: 100%;
  transition: transform .4s ease;
}

.sample-popup-trigger:hover img {
  transform: scale(1.04);
}

.sample-popup-trigger:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.sample-popup {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 64px 16px 24px;
}

.sample-popup[hidden] {
  display: none;
}

.sample-popup-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: zoom-out;
}

.sample-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1100px);
  max-height: 86dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sample-popup-image {
  display: block;
  max-width: 100%;
  max-height: calc(86dvh - 72px);
  object-fit: contain;
  background: #000000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.sample-popup-caption {
  width: 100%;
  margin-top: 14px;
  color: #ffffff;
  font-size: .95rem;
  line-height: 1.8;
  text-align: center;
  white-space: pre-line;
}

.sample-popup-caption[hidden] {
  display: none;
}

.sample-popup-close {
  position: absolute;
  top: -48px;
  right: 0;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: #000000;
  cursor: pointer;
}

.sample-popup-close::before,
.sample-popup-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #ffffff;
}

.sample-popup-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.sample-popup-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.sample-slider-button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--text-gray);
  border-radius: 0;
  background: var(--text-gray);
  cursor: pointer;
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.sample-slider-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform-origin: center;
}

.sample-slider-prev {
  left: 0;
}

.sample-slider-next {
  right: 0;
}

.sample-slider-prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.sample-slider-next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

.sample-slider-button.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.sample-slider-pagination {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sample-slider-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0;
  background: var(--text-gray);
  opacity: 0.25;
}

.sample-slider-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}


@media (min-width: 576px) {
.sample-grid {
  height: calc(((90vw - var(--sample-grid-gap)) / 2) + var(--sample-grid-gap) + var(--sample-label-height) + var(--sample-label-height));
}
.sample-slider-prev {
  left: -5.5556%;
}

.sample-slider-next {
  right: -5.5556%;
}
}

@media (min-width: 992px) {
.sample-grid {
  height: calc(((min(90vw, 1500px) - (var(--sample-grid-gap) * 2)) / 3) + var(--sample-grid-gap) + var(--sample-label-height) + var(--sample-label-height));
}
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
padding-top:1rem;
}

.item-card {
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
  transition: transform .3s ease, box-shadow .3s ease;
}

.item-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.drag-cards .view-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 220px);
  min-height: 46px;
  padding: 0 1.4rem;
  border: 1px solid rgba(185,154,87,.85);
  background: var(--text-point);
  color: var(--bg-dark);
  font-weight: 700;
  letter-spacing: .08em;
  margin-top:1.5rem;
}

.drag-cards .view-link::after {
  content: none;
}


.item-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .1);
}

.item-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}

.item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.item-card:hover .item-img img {
  transform: scale(1.04);
}


.item-info {
  padding: clamp(10px,2vw,20px);
}

.item-info h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.item-info p {
font-family: var(--font-roboto);
}

.item-info p::first-letter {
  font-size: 0.9em;
  padding-right:0.1em;
}

@media (min-width: 992px) {
.item-grid {
  grid-template-columns: repeat(4, 1fr);
  max-width:100%;
}
}

.owners-photo-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.owners-photo-item{
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #dddddd;
}

.owners-photo-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owners-photo-follow-wrap{
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.owners-photo-follow{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-width: 200px;
  min-height: 42px;
  padding: 0 1.4rem;
  background: #408bd1;
  color: var(--white);
  font-weight: 700;
}

.owners-photo-follow svg{
  width: 1.1rem;
  height: 1.1rem;
}

.page-pd{
padding:clamp(40px,6vw,60px) 0;
}

#post{
  max-width:800px;
  border:1px solid #ddd;
  padding:clamp(10px, 4vw, 25px) clamp(15px, 4vw, 45px) clamp(20px, 4vw, 35px) ;
  background: var(--white);
}

.breadcrumb{
  font-size: 0.9em;
  color: #aaa;
  border-top: 1px solid #222;
  background: var(--bg-black);
  padding: 0 5%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.breadcrumb .container{
  width: max-content;
  max-width: none;
  margin: 0;
}

.breadcrumb-nav ol{
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb-nav li{
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 500;
}

.breadcrumb-nav li + li::before{
  content: "";
  width: 0.5rem;
  height: 0.7rem;
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2010%2012'%3E%3Cpath%20d='M1%201l7%205-7%205'%20fill='none'%20stroke='%23cccccc'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.breadcrumb-nav a{
    color: var(--text-white);
}

.post-content h2{
  font-size:1.3rem;
  font-weight:700;
  border-bottom: 1px dotted #222;
  margin: 5px 0 30px;
  padding-bottom:10px;
}


.post-content h3{
  font-weight: 700;
  font-size:1.05rem;
  border-bottom:1px dotted #ccc;
  padding-bottom:0.5em;
  margin:1.5em 0 0.5em;
}

.post-content .timecat{
  font-size:17px
}

time{
  font-weight: 700;
  color: var(--text-gray);
  font-family: var(--font-roboto);
  font-size: 0.95em;
}

.post-content p{
line-height: 1.8;
text-align: justify;
}

.post-content a{
  color: var(--blue);
  text-decoration: underline;
  font-weight: 500;
}

.post-content img{
  width:100%;
padding:1rem 0;
}

.post-content p + p{
margin-top:0.8em
}

.post-content ul{
  margin:0;
  padding-left:20px;
  list-style: disc;
  margin:1rem 0;
}

.post-content ul li{
  padding-bottom:0.7rem;
  line-height: 1.6;
  text-align:justify ;
}

.post-content a.page-contact{
  color:var(--white);
  text-decoration: none;
}

#footer-topics{
  padding: 50px 0 ;
  border-top:1px solid var(--bg-dark);
}

.footer-topics-inner{
  display: grid;
  align-items: start;
  gap:3.5rem;
}

.footer-news-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-news-item{
  border-bottom: 1px dotted var(--border);
}

.footer-news-link{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 1rem 0;
}

.footer-news-item:first-child .footer-news-link{
  padding: 0 0 1rem;
}

.footer-news-image{
  display: block;
  aspect-ratio: 3 / 2.5;
  overflow: hidden;
}

.footer-news-image img{
  object-fit: cover;
height:100%;
width:100%;
}

.footer-news-info h3{
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0.5rem 0;
}

.footer-news-info p{
  display: block;
  color:var(--text-gray);
  font-size: 0.85rem;
}

.footer-facebook iframe{
  display: block;
  height: 380px;
}

.soka-mono{
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap:1rem;
  padding:20px 0;
  background: #f1f1f1;
}
.soka-mono p{
  font-size: 0.9rem;
  font-weight: 700;
}
.soka-mono img{
  width:70px;
}


#footer-menu{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-menu-flex{
  display: flex;
  flex-direction: column;
  width: 100%;
  gap:2rem;
  justify-content: space-between;
  align-items: center;
}
.footer-menu-flex img{
  max-width:120px;
}
.footer-links{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap:1.8rem;
  line-height: 0.95rem;
}

footer{
    background: var(--bg-dark);
    color: var(--white);
    font-family: var(--font-roboto);
    padding:50px 0 15px;
}

h1{
    position: absolute;
    text-align: center;
    bottom:43px;
    color: var(--text-gray);
    font-size: 0.75rem;
    width: 100%;
}

.copyright{
    text-align: center;
    font-size: 0.85rem;
    padding-top:53px;
    border-top:1px solid var(--bg-black);
    margin-top:30px;
}

@media (min-width: 768px) {
.reels-grid{
  grid-template-columns: repeat(5, minmax(0, 1fr));
	justify-content: center;
}

.owners-photo-grid{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer-topics-inner{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-links{
  flex-direction: row;
  gap:1.3rem;
}
.soka-mono{
  flex-direction: row;
}
.copyright{
    padding-top:43px;
}
}

@media (min-width: 992px) {
.footer-links{
  margin-left:auto;
}

.footer-menu-flex{
  flex-direction: row;
}
footer{
    padding:30px 0 15px;
}
}


.reel-lineup {
  padding: 80px 0;
}

.reel-lineup__inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.reel-lineup__head {
  text-align: center;
  margin-bottom: 44px;
}

.reel-lineup__label {
  font-size: 12px;
  letter-spacing: .18em;
  color: #888;
  margin-bottom: 10px;
}

.reel-lineup__title {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.reel-lineup__text {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
}

/* grid */
.reel-series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* card */
.reel-series-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  transition: .3s ease;
}

.reel-series-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .08);
}

.reel-series-card a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.reel-series-card__image {
  background: #f2f2f2;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.reel-series-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .45s ease;
}

.reel-series-card:hover .reel-series-card__image img {
  transform: scale(1.04);
}

.reel-series-card__body {
  padding: 24px 22px 26px;
}

.reel-series-card__label {
  font-size: 11px;
  letter-spacing: .16em;
  color: #999;
  margin-bottom: 8px;
}

.reel-series-card__name {
  font-size: 26px;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.reel-series-card__desc {
  font-size: 14px;
  line-height: 1.75;
  color: #666;
  margin-bottom: 18px;
}

.reel-series-card__spec {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.reel-series-card__spec span {
  font-size: 12px;
  color: #555;
  background: #f4f4f4;
  border-radius: 999px;
  padding: 6px 10px;
}

.reel-series-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .08em;
  color: #222;
}

.reel-series-card__link::after {
  content: "→";
  transition: .3s ease;
}

.reel-series-card:hover .reel-series-card__link::after {
  transform: translateX(4px);
}

#reel-page {
  color:var(--text-mute);
}

#reel-hero {
  overflow: hidden;
  background: var(--bg-black);
}

.reel-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding-top:clamp(30px,6vw,50px);
}

.reel-hero-grid_in {
padding-bottom:clamp(30px,6vw,50px);
}

.reel-hero__image {
  position: relative;
  isolation: isolate;
  padding: 48px 0;
}

.reel-hero__drag{
  position: relative;
  isolation: isolate;
  padding-bottom:50px;
}

.hero-course{
  --hero-image:url(img/back-course.jpg);
}

.hero-leaf{
  --hero-image:url(img/back-leaf2.jpg);
}

.hero-classic{
  --hero-image:url(img/back-classic.jpg);
}

.hero-load{
  --hero-image:url(img/back-load.jpg);
}

.hero-origin{
  --hero-image:url(img/back-origin.jpg);
}

.hero-root{
  --hero-image:url(img/back-course.jpg);
}

.reel-hero__image::before,.reel-hero__drag::before{
  content: '';
  position: absolute;
  inset: 0 calc((100vw - 100%) / -2);
  background: var(--hero-image) 25% center / cover no-repeat;
  z-index: -1;
}

.reel-hero__image img {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  margin:0 auto;
}

#reel-hero p{
line-height:2;
}

@media (min-width: 992px) {
  #reel-hero {
    background: var(--hero-image) center / cover no-repeat;
  }

  .reel-hero-grid {
    grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
    gap:30px;
  }

    .reel-hero__drag.reel-hero-grid {
    grid-template-columns: none;
  }

  .reel-hero__image::before {
    display: none;
  }

  .reel-hero__image {
    margin-top: -40px;
    padding: 0;
  }
}

#reel-hero h2 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-family: var(--font-roboto);
  letter-spacing: .05em;
  line-height: 1.3;
}

#reel-hero h2 span {
  font-size: 1.2rem;
  display: block;
  letter-spacing:0;
  font-weight: 500;
}

#reel-hero h3{
  font-size: 1.2rem;
  margin-bottom:1rem;
  font-weight: 500;
}

.reel-line {
  display: block;
  width: 48px;
  height: 1px;
  background:var(--text-point);
  margin: 28px 0;
}

.reel-hero__drag .reel-line {
  margin: 28px auto;
}

.reel-line-center{
  margin: 14px auto 28px;
}


.reel-pd {
  padding: clamp(50px, 5vw, 70px) 0;
}

.reel-pdd {
  padding: clamp(50px, 5vw, 70px) 0 clamp(70px, 5vw, 90px);
}

.drag-select-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 500;
  line-height: 1.7;
margin-bottom: 1.8rem;
}

.drag-select-title span{
  color: var(--text-point);
  font-family: var(--font-roboto);
  font-size:0.9rem;
  display: block;
}

.drag-card-title{
  font-size: clamp(1.6rem,2vw, 2rem);
  font-family: var(--font-roboto);
  line-height: 1.4;
margin-bottom: clamp(1rem, 5vw, 1.5rem);
}
.drag-card-title span{
  font-size: 0.95rem;
  font-family: var(--font-sans);
  line-height: 1.3;
  display: block;
}

.drag-card-title::after{
content: "";
width:50px;
height:0.5px;
background:var(--text-gray);
display: block;
margin:1rem auto 0;
}

.drag-lead {
  line-height: 2;
}

.drag-cards {
  display: flex;
  flex-direction:column;
  gap: 24px;
  margin: 30px auto 0;
justify-items: center;
align-items:center
}

.drag-card {
  display: block;
  padding: 38px 15px 38px;
  color: inherit;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
  transition: .3s ease;
}


.drag-cards > * {
  width: 100%;
  max-width: 460px;
}

.drag-card:hover {
  border-color: rgba(185,154,87,.7);
  transform: translateY(-4px);
}

.drag-jp {
  margin: 12px 0 20px;
  font-size: 14px;
}

.size-label {
  margin: 1.5rem 0;
  font-size: 0.9rem;
  letter-spacing: .12em;
  font-weight:700;
}

.size-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.size-list span {
  min-width: 88px;
  padding: 0.5rem 0.6rem;
  border: 1px solid rgba(255,255,255,.18);
  font-size: 1rem;
  letter-spacing: .05em;
  font-family: var(--font-roboto);
}

.view-link {
  font-size: 0.9rem;
  font-family: var(--font-roboto);
  margin-top:1rem;
}

.view-link_item{
	color:#888;
}

.view-link span {
  margin-left: 0.3em;
  transition: .3s ease;
}

a:hover .view-link span {
  margin-left: 0.5em;
}

.view-link:after {
position: absolute;
right: 17px;
transform: translateY(-50%);
transform-origin: left;
width: 20px;
height: 5px;
background-color: var(--bs-white);
clip-path: polygon(0 100%,100% 100%,70% 40%,70% 90%,0% 90%);
content: '';
transition: transform .3s;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  max-width: 800px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  display: block;
  background: #1e1e1e;
}

.gallery-grid .sample-popup-trigger {
  height: auto;
  aspect-ratio: 2 / 1;
  background: #111;
}

.gallery-grid .sample-popup-trigger[hidden] {
  display: none;
}

.gallery-grid .sample-popup-trigger img {
  height: 100%;
  aspect-ratio: auto;
}

.type-name{
  display: block;
  flex: 0 0 auto;
  color:var(--text-mute);
  font-family: var(--font-roboto);
  font-size: 0.9rem;
  line-height: 1rem;
  white-space: nowrap;
}

.gallery-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.more-btn,
.close-btn {
  background: transparent;
  border-radius: 0;
  cursor: pointer;
}

.more-btn[hidden],
.close-btn[hidden] {
  display: none;
}

.more-btn span,
.close-btn span {
  margin-left: 18px;
}

.drag-cards .size-list {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
.gallery-grid {
gap: 15px;
}
.drag-cards {
flex-direction:row;
align-items:stretch;
justify-content:center;
}

.drag-card {
display: flex;
flex-direction: column;
}
	
.drag-card:only-child {
grid-column: 1 / -1;
justify-self: center;
}

.drag-cards .size-label {
margin-top: 0;
}

.drag-cards .view-link {
  margin-top: auto;
  align-self: center;
}
.drag-cards .size-list {
margin-bottom: 2.5rem;
}
}

@media (min-width: 992px) {
.gallery-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 100%;
}
}

.tax-label {
  font-size: 0.85em;
}

.course-spec-page {
  background: #111111;
  color: #e4e4e4;
}

.course-hero {
  background: #111111;
  padding: 6px 0 48px;
}

.course-hero__panel {
  min-height: 270px;
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 44px 20px;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}

.course-hero__panel::before,
.course-hero__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
}

.course-hero__panel::before {
  background: url("img/course.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.course-hero__panel::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .58) 48%, rgba(0, 0, 0, .86));
}

.course-hero__panel h2 {
  color: #f0f0f0;
  font-family: var(--font-roboto);
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  font-weight: 700;
  line-height: 1;
}

.course-hero__subtitle {
  font-weight: 700;
}

.course-hero__lead {
  max-width: 720px;
  margin-top: 18px;
  color: #d7d7d7;
  font-weight: 500;
  line-height: 1.9;
}

.drag-spec-grid {
  display: flex;
  gap: 24px;
  flex-direction : column;
  justify-content: center;
  align-items:center;
}

.course-spec-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 30px 22px 24px;
  border: 1px solid rgba(255,255,255,.18);
  width:100%;
  max-width: 400px;
}

.course-spec-card h3 {
  font-family: var(--font-roboto);
  font-size: 1.5rem;
  text-align: center;
}

.course-size-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin:  1em 0 1.5em;
}

.course-size-tags span {
  min-width: 44px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  font-family: var(--font-roboto);
  line-height: 1;
  text-align: center;
}

.course-spec-list {
  margin: 0;
  line-height: 1.8;
}

.course-spec-list div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 15px 0;
  border-top: 1px dotted rgba(255, 255, 255, .18);
}

.course-spec-list div:first-child{
    border-top: 1px solid rgba(255, 255, 255, .18);
}
.course-spec-list dt {
  font-size:0.9rem;
}
.course-spec-list dd {
  text-align: right;
  font-family: var(--font-roboto);
}


.course-spec-price {
  margin: auto 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-family: var(--font-roboto);
  font-size: 1.1rem;
  text-align: center;
}

.course-spec-price span {
  font-family: var(--font-sans);
  font-size: .8rem;
}

.drag-feature__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.drag-feature__images img {
  width: 100%;
  height: auto;
  display: block;
}

.drag-feature__body{
  display: flex;
  justify-content: center;
  max-width:500px;
  margin:0 auto
}

.drag-feature__body h2 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

.drag-feature__body p {
  line-height: 2;
  text-align: justify;
}

.table-main {
  --table-border:#ccc;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--table-border);
}

.table-main th,
.table-main td {
  padding: 1rem 2rem;
  vertical-align: middle;
  border-top: 1px solid var(--table-border);
}

.table-main tr:first-child td,
.table-main tr:first-child th{
  border-top: 0px solid var(--table-border);
}
.table-main th{
  border-right: 1px solid var(--table-border);
  background:var(--bg-mute);
  font-weight: 500;
  width:30%;
}

.contact-form .table-main {
  margin-bottom: 1.5rem;
}

.contact-form .table-main td {
  padding: 1.2rem 1.5rem;
}
.contact-form .table-main th {
  width:285px;
  padding: 1rem;
}



.course-option-table {
  --table-border:rgba(255, 255, 255, .18);
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-top: 1px solid var(--table-border);
  border-left: 1px solid var(--table-border);
}

.course-option-table th,
.course-option-table td {
  padding: 21px 34px;
  border-right: 1px solid var(--table-border);
  border-bottom: 1px solid var(--table-border);
  vertical-align: middle;
}

.course-option-table th {
  width: 25%;
  background: rgba(255, 255, 255, .06);
  font-weight: 500;
  text-align: center;
}

.course-option-table td{
  border-right:0;
}

.course-option-table td:last-of-type {
  text-align: end;
  border-right:1px solid var(--table-border);
}

.course-option-table td small{
  color: var(--text-point);
}

.course-option-table td a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight:700;
  border-bottom: 0.5px solid var(--text-point);
  padding-bottom: 2px;
  font-size:0.95rem;
  transition: border-color .2s ease, color .2s ease;
  color:var(--text-point);
}

.course-option-table td span.option-add{
	font-size:0.95rem;
	font-weight:700;
}

.course-option-table td a:hover,
.course-option-table td a:focus-visible {
  color: #9a7b54;
  border-bottom-color: #9a7b54;
}

.link-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}
.link-icon_right {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

.sample-popup-trigger.text-popup {
  display: inline-flex;
  width: auto;
  aspect-ratio: auto;
  overflow: visible;
}

.drag-cta {
  padding: 50px 0;
}

@media (max-width: 991.98px) {
  .course-option-table th {
    width: 15%;
    padding: 18px 14px;
  }
  .course-option-table td {
    padding: 21px 17px;
  }
}

@media (max-width: 767.98px) {
  .course-option-table,
  .course-option-table tbody,
  .course-option-table tr,
  .course-option-table th,
  .course-option-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .course-option-table {
    border-top: 0px solid var(--table-border);
    border-bottom: 1px solid var(--table-border);
  }

  .course-option-table th,
  .course-option-table td {
    text-align: center!important;
    border-right: 1px solid var(--table-border);
    border-bottom: 0px solid var(--table-border);
  }
  .course-option-table th{
  padding: 18px 14px;
  border-top: 1px solid var(--table-border);
  }

  .course-option-table td{
    padding: 13px 14px;
  }

  .course-option-table td:first-of-type {
    border-top: 1px solid var(--table-border);
    padding: 18px 14px 0;
  }

  .course-option-table td:last-of-type {
    padding: 10px 14px 22px;
  }

.table-main th,
.table-main td {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  
}
.table-main th{
  padding:0.7rem 0.5rem;
  border-right:0;
}
.table-main td {
  padding:1.2rem 0.5rem;
}

.table-main tr:first-child td{
  border-top: 1px solid var(--table-border);
}

.contact-form .table-main td {
  padding:1.5rem 0.8rem;
}

.contact-form .table-main td {
  padding:1.5rem 0.8rem;
}
.contact-form .table-main th {
  width:100%;
  padding:0.7rem 0.5rem;
}
}

@media (min-width: 768px) {
  .course-hero {
    padding-bottom: 62px;
  }

  .drag-feature__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  }
  .drag-feature__body h2 {
text-align: left;
}
  .drag-spec-grid{
	flex-direction:row;
	align-items:stretch;
	  flex-wrap: wrap;
  }
}

@media (min-width: 992px) {
  .course-spec-card {
    flex: 1;
  }
}

.item-detail__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.item-detail__main-img {
  aspect-ratio: 4 / 3;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
background: #222;
}

.item-detail__main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.item-detail__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.item-detail__thumbs a {
  display: block;
  padding: 0;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

.item-detail__thumbs a.is-active {
  border-color: #111;
}

.item-detail__thumbs img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}


.item-detail__title {
  font-size:clamp(1.2rem, 4vw, 1.5rem);
  font-weight:700;
  border-bottom: 1px solid #222;
  background: #eee;
  padding:0.3em 0.6em;
  margin-bottom:24px;
}

.item-detail__lead {
  margin-bottom: 42px;
}

.item-spec{
  margin-bottom: 2.5rem;
}

.item-spec-lh{
	line-height:1.8
}

.item-spec h3,
.section-title {
  margin: 2rem 0 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  background:#eee;
  padding:0.5em 0.8em;
}

.item-spec dl,
.shop-list dl {
  margin: 0;
  border-top: 1px solid #ddd;
}

.item-spec dl div,
.shop-list dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  border-bottom: 1px solid #ddd;
}

.item-spec dt,
.item-spec dd,
.shop-list dt,
.shop-list dd {
  margin: 0;
  padding: 15px 0;
  font-size: 14px;
  line-height: 1.8;
}

.item-spec dt,
.shop-list dt {
  font-weight: 700;
}

.item-section {
  background: #fff;
  padding: 50px 20px;
}

.item-section--gray {
  background: #f7f7f7;
}

.image-note {
  margin-top:2rem;
}

.image-note iframe {
  width: 90%;
  margin:0 auto;
  aspect-ratio: 16 / 9;
  display: block;
}

.note {
  margin-top: 16px;
  font-size: 13px;
  color: #666;
}

.related-items {
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {

  .item-detail__title {
    margin-bottom: 1em;
  }

  .item-spec dl div,
  .shop-list dl div {
    grid-template-columns: 130px 1fr;
  }
	.image-note iframe {
  width: 80%;
}
}

@media (min-width: 992px) {
    .item-detail__inner {
    gap: 40px;
    grid-template-columns: 45% 1fr;
  }
}

.dealers-wrap{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:50px;
    margin-top:30px;
}

.dealers-subtitle{
    margin:0 0 20px;
    font-size:14px;
    letter-spacing:.15em;
    font-weight:700;
}

.dealer-list{
    width:100%;
    margin:0;
    border-collapse:collapse;
    border-top:1px solid #ddd;
}

.dealer-list th,
.dealer-list td{
    margin:0;
    padding:18px 0;
    border-bottom:1px solid #ddd;
    line-height:1.8;
    vertical-align:top;
}

.dealer-list th{
    width:25%;
    font-weight:700;
    text-align:left;
}

.online-shop-card{
    border-top:1px solid #ddd;
	border-bottom:1px solid #ddd;
	margin-bottom:-1px;
    padding:1rem 0;
    display: grid;
    grid-template-columns:1fr;
    align-items: center;
    gap:1rem;
    text-align: center;
}
.online-shop-btn{
display: block;
margin: 0 auto;
width:250px;
height:40px;
line-height:38px;
text-decoration:none;
font-size:0.9rem;
transition:.3s;
text-align: center;
}
.dealer-note{
    margin-top:20px;
    font-size:12px;
    color:#666;
}

@media(min-width:576px){
.online-shop-card{
    grid-template-columns:1fr 200px;

}
.online-shop-card{
    text-align: start;
}

.online-shop-btn{
width:100%;
}
}

.page-title{
padding:clamp(45px, 6vw, 65px) 0;
background: url("img/about.jpg") center / cover no-repeat;
}
.page-title h2{
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    text-align: center;
  }

#about-message p{
  line-height: 1.8;
  font-weight: 500;
  text-align: justify;
}

#about-message p + p{
    margin-top:1rem;
}

#about-message{
  padding-bottom:clamp(40px,6vw,50px);
}

#about-us.container{
  display: grid;
  gap:30px;
  grid-template-columns: repeat(1fr, 1fr);
}

.about-us_card{
  border:1px solid var(--border);
  padding:25px clamp(15px, 4vw, 25px);
  background: var(--white);
  gap:2rem;
  display: flex;
  flex-direction: column; /* 縦方向に配置 */
  justify-content: space-between; /* 上下の要素を均等に配置 */
  height: 100%; /* 必要に応じて高さを指定 */
}

.about-us_card p{
  text-align:justify;
}

.about-us_card p + p{
  margin-top: 1rem;
}

.about-title{
  font-size:1.4rem;
  text-align:center;
  font-weight:700;
  margin-bottom:1.5rem;
}

.about-title-pd{
  margin-top:0.5rem;
}

.about-us_card ul{
  margin:0;
  padding-left:20px;
  list-style: disc;
  margin:1rem 0;
}

.about-us_card ul li{
  padding-bottom:0.7rem;
  line-height: 1.5;
}

.about-flow div{
  display: flex;
  background:var(--bg-mute);
  align-items: center;
  padding:1rem;
  position:relative;
}

.about-flow div p{
  font-size:0.95rem;
}


.about-flow .link-icon {
  display: block;
  width: 1rem;
  height: 1rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin: 0.5rem auto 1rem;
}

.about-flow div span {
  flex: 0 0 2.8rem;
  font-family: var(--font-roboto);
  font-size:1.3rem;
}

#about-company{
  padding-top:70px;
}

@media (min-width: 768px) {
  #about-message p{
    text-align: center;
  }
  #about-us.container{
    grid-template-columns: repeat(2, 1fr);
  }
}


#form{
  margin-top:50px;
}
/* テキスト入力欄とテキストエリア */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form select {
  width: 100%; /* 幅を100%にする */
  padding: 0.5rem; /* 内側の余白 */
  font-size: 16px; /* フォントサイズ */
  line-height: 1.5;
  border: 1px solid #ccc; /* 枠線 */
  border-radius: 4px; /* 角を丸くする */
  box-sizing: border-box; /* ボックスサイズを調整 */
}

.contact-form select {
  height: calc(1.5em + 1rem + 2px);
  padding-right: 2.5rem;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23222222' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form td a {
margin-top:0.5rem;
display: inline-block;
  color: var(--blue);
  text-decoration: underline;
  font-weight: 500;
}

.mozi input{
  margin-top:0.4rem;
}

.mozi-2{
  margin-top:1rem;
}

/* チェックボックス */
.contact-form input[type="checkbox"] {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.7rem; /* チェックボックスとラベルの間隔 */
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-content: center;
  background: var(--white);
  border: 1px solid #ccc;
  border-radius: 2px;
  cursor: pointer;
}

.contact-form input[type="checkbox"]::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  background: var(--red);
  transform: scale(0);
  transition: transform .12s ease;
}

.contact-form input[type="checkbox"]:checked::before {
  transform: scale(1);
}

/* 送信ボタン */
.submit-button {
  width: 100%;
  display: block;
  min-width: 240px;
  height: 54px;
  line-height: 54px;
  max-width: 360px;
  margin: 0 auto;
  padding: 0;
  font: inherit;
  font-weight: 500;
  text-align: center;
  color: var(--white);
  background-color: var(--red);
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .2s ease;
  appearance: none;
  margin-top:2.5rem;
}

/* 送信ボタンのホバー時 */
.submit-button:hover,
.submit-button:focus-visible {
  background-color: #b72727;
}

.gallery-item .type-name {
color:#000;
}
.gallery-pagination {
  margin-top: 60px;
}

.gallery-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-pagination .page-numbers a,
.gallery-pagination .page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid currentColor;
  text-decoration: none;
}

.gallery-pagination .page-numbers .current {
  background: #222222;
  color: #fff;
}


