@charset "UTF-8";
/*
Theme Name: LEGALUS
Author: LEGALUS
Author URI: https://legalus.jp/
Version: 1.0
*/

/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Baskervville:ital,wght@0,400..700;1,400..700&display=swap');

/* Variables */
:root {
  /* color */
  --color-theme1: #1d7ebf;
  /* background */
  --color-background: #fffdfb;
  --color-on-background: #333333;
  /* primary */
  --color-primary-50: #e7f6ff;
  --color-primary-100: #aedbf9;
  --color-primary-200: #7ab6df;
  --color-primary-300: #4a9bc8;
  --color-primary-400: #1d7ebf;
  --color-primary-500: #166498;
  --color-primary-600: #114466;
  --color-primary-700: #0d2f44;
  --color-primary-800: #091f2e;
  --color-primary-900: #050f18;
  --color-primary: var(--color-primary-400);
  --color-on-primary: #ffffff;
  --color-primary-darker: var(--color-primary-500);
  --color-on-primary-darker: var(--color-on-primary);
  --color-primary-dark: var(--color-primary-600);
  --color-on-primary-dark: var(--color-on-primary);
  --color-primary-light: var(--color-primary-200);
  --color-primary-pale: var(--color-primary-100);
  --color-on-primary-pale: var(--color-primary-darker);
  --color-primary-super-pale: var(--color-primary-50);
  /* secondary */
  --color-secondary: #ecdfcb;
  --color-secondary-darker: #d5c8b3;
  --color-secondary-dark: #ceb99a;
  --color-secondary-light: #fff9f1;
  --color-secondary-pale: #faf6ef;
  --color-secondary-super-pale: #fdf9f3;
  /* gray scale */
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  /* other color */
  --color-white: #ffffff;
  --color-black: #333333;
  --color-gray: var(--color-gray-500);
  /* semantic colors */
  --color-error: #dc2626;
  --color-error-light: #fee2e2;
  --color-error-dark: #991b1b;
  --color-success: #16a34a;
  --color-success-light: #dcfce7;
  --color-warning: #ea580c;
  --color-warning-light: #ffedd5;
  --color-info: #0284c7;
  --color-info-light: #e0f2fe;
  /* typography */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 16px;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-default: var(--font-size-base);
  --font-family: "Noto Serif JP", sans-serif;
  --font-family-en-title: "Baskervville", serif;
  --line-height-tight: 1.5;
  --line-height-base: 1.8;
  --line-height-loose: 2;
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-wider: 0.1em;
  /* spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  /* size */
  --header-height: 60px;
  --max-content-width: 1280px;
  --drawer-menu-width: 300px;
  /* breakpoints */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
  /* round */
  --round-large: 10px;
  --round-medium: 6px;
  --round-small: 4px;
  /* others */
  --opacity-hover: 0.75;
  --opacity-disabled: 0.5;
  /* shadow system */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-default: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  --box-shadow-default: var(--shadow-default);
  --box-shadow-hover: var(--shadow-md);
  --box-shadow-active: var(--shadow-lg);
  --scroll-margin: 10px;
  /** parts */
  --bottom-float-show: 28px;
}

/* html, body */
html {
  font-size: var(--font-size-default);
  font-family: var(--font-family);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-size: var(--font-size-base);
  letter-spacing: var(--letter-spacing-normal);
  line-height: var(--line-height-base);
  color: var(--color-on-background);
  font-weight: 400;
}
body.shadow {
  overflow: hidden;
}

/* DOM */
main {
  overflow: hidden;
}
main#top-main {
  margin-top: var(--header-height);
  padding-bottom: 0;
}
section {
  position: relative;
  padding: 3rem 0;
}
/* Wrapper */
.wrapper {
  padding: 0 1rem;
}
section .wrapper .content + .content {
  margin-top: 1.5rem;
}
#top-main section:nth-child(odd) {
  background-color: var(--color-primary-super-pale);
}

/* Object */
h1 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-normal);
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 1.25rem;
}
h3 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-normal);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
h4 {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-tight);
  font-weight: 500;
  color: var(--color-primary-light);
  margin-bottom: 0.875rem;
}
h5 {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-tight);
  font-weight: 500;
  color: var(--color-primary-light);
  margin-bottom: 0.75rem;
}
p {
  line-height: var(--line-height-base);
}
p + p {
  margin-top: 1rem;
}
.lead-desc {
  margin-top: 1rem;
}
/* text-align */
.t-align-center {
  text-align: center;
}
.t-align-left {
  text-align: left;
}
.t-align-right {
  text-align: right;
}
.t-align-justify {
  text-align: justify;
}

/* Image */
.images {
  margin-top: 1rem;
}
.images img {
  width: 100%;
  vertical-align: bottom;
}

/* Iframe */
iframe {
  vertical-align: bottom;
}

/* Button */
.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}
.buttons .button {
  flex: 0 1 auto;
}

/* Button Base */
.button a,
.services-list-button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  padding: 0.75rem 2rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.button a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
}
.services-list-button a {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-sm);
  font-weight: 500;
}
.button a:active,
.services-list-button a:active {
  transform: translateY(0);
}
.button a:focus-visible,
.services-list-button a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.button a:disabled,
.services-list-button a:disabled {
  opacity: var(--opacity-disabled);
  cursor: not-allowed;
  pointer-events: none;
}

/* header */
header {
  width: 100%;
  background-color: var(--color-background);
  display: flex;
  position: fixed;
  flex-wrap: nowrap;
  align-items: center;
  z-index: 999;
  left: 0;
  top: 0;
  font-size: 0;
  height: var(--header-height);
  padding: .5rem;
  box-shadow: var(--box-shadow-default);
}
header .header-logo a img {
  max-height: clamp(24px, 2vw, 40px);
  height: calc(var(--header-height) - 1rem);
  width: auto;
}
header .global-menu,
header .global-block-menu {
  display: none;
}
header #hamburger {
  position: fixed;
  top: 0;
  right: 0;
  width: var(--header-height);
  height:var(--header-height);
  cursor: pointer;
  z-index: 9999;
}
header #hamburger span{
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 13px;
  height: 3px;
  background-color: var(--color-primary);
}
header #hamburger span:first-child {
  top:22px;
  width: 50%;
}
header #hamburger span:last-child {
  top:29px;
  width:30%;
}
header #hamburger.open span:first-child {
  top: 20px;
  left: 16px;
  transform: translateY(6px) rotate(-45deg);
  width: 35%;
}
header #hamburger.open span:last-child {
  top: 32px;
  left: 16px;
  transform: translateY(-6px) rotate(45deg);
  width: 35%;
}

/* Drawer Menu */
#drawer-menu {
  position: fixed;
  top: 0;
  width: 320px;
  right: -320px;
  height: 100svh;
  background-color: rgb(255 255 255 / 90%);
  z-index: 998;
  transition: right 0.3s ease;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}
#drawer-menu ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  min-height: 100%;
  flex: 0 1 auto;
}
#drawer-menu ul li {
  list-style: none;
}
#drawer-menu ul li a {
  text-decoration: none;
  display: block;
  font-weight: bold;
  color: var(--color-primary-dark);
  font-size: 1rem;
  padding: .5rem;
  transition: all .2s;
  line-height: normal;
}
#drawer-menu ul li a .ja {
  display: block;
}
#drawer-menu ul li a .en {
  color: var(--color-secondary-dark);
  font-size: .75em;
}
#drawer-menu.show {
  right: 0;
}

/* #mv */
#mv {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--header-height));
  overflow: hidden;
}
#mv .mv-img {
  position: relative;
  width: 100%;
  height: 100%;
  margin-left: auto;
}
#mv .mv-img img.pc {
  display: none;
}
#mv .mv-img img.sp {
  width: 100%;
  height: 100%;
  vertical-align: bottom;
  object-fit: cover;
}
#mv .mv-lead {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: inline-block;
  padding: 1.25rem;
  background-color: var(--color-background);
  max-width: 90%;
  width: auto;
}
#mv .mv-lead h1.h1-top {
  font-size: 1.25rem;
  margin-bottom: .5rem;
  color: var(--color-primary-dark);
  padding-top: .75rem;
  font-weight: bold;
}

/* scrolldown */
.scrolldown {
  position: absolute;
  right: 50%;
  bottom: 0;
  animation: scrolldown 1.6s ease-in-out infinite;
}
.scrolldown::before {
  content: "";
  position: absolute;
  bottom: .5rem;
  left: -10px;
  width: 25px;
  height: 37px;
  border-radius: 10px;
  border: 2px solid var(--color-primary-super-pale);
}
.scrolldown:after {
  content: '';
  position: absolute;
  bottom: 35px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 2px solid var(--color-primary-super-pale);
}
.scrolldown span {
  position: absolute;
  left: -15px;
  bottom: 55px;
  color: var(--color-primary-super-pale);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  font-weight: bold;
}
.scrolldown span::after {
  content: "";
  position: absolute;
  top: 100px;
  left: 16px;
  width: 2px;
  height: 15px;
  background: var(--color-primary-super-pale);
  animation: scrollbar 1.4s linear infinite;
  opacity: 0;
}

/* sec title */
.sec-ttl {
  position: absolute;
  font-size: clamp(7rem, 20vw, 14rem);
  font-weight: bold;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-primary);
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: var(--color-primary);
  font-family: var(--font-family-en-title);
  opacity: .2;
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
}
#greeting .sec-ttl {
  top: -1rem;
  left: -1rem;
  transform: translateY(0);
}
#services .sec-ttl {
  top: -3rem;
  right: 1rem;
  transform: translateY(0);
}
#columns .sec-ttl {
  top: -4rem;
  left: 1rem;
  transform: translateY(0);
}
#news .sec-ttl {
  top: -2rem;
  right: -1rem;
  transform: translateY(0);
}

/* #greeting */
#greeting .greet-name {
  text-align: right;
  font-size: 1.2em;
  margin-top: 2rem;
}
#greeting .greet-name small {
  font-size: 0.75em;
  margin-right: 1rem;
  color: var(--color-gray);
}
.greeting-images {
  width: 80%;
}
.greeting-images.pc-greeting-images {
  display: none;
}
.greeting-images.sp-greeting-images {
  display: block;
}
.greeting-contet {
  position: relative;
  width: 85%;
  margin: -3rem 0 0 auto;
  background-color: var(--color-background);
  padding: 1.5rem;
}

/* .service-list */
.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.service-list li {
  position: relative;
  padding: var(--spacing-md);
  background-color: var(--color-on-primary);
  border: 1px solid var(--color-gray-200);
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.service-list li h3 {
  margin: 0 auto 1rem;
}
.service-list li .service-contents {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem auto;
}
.service-list li .service-contents span {
  background-color: var(--color-secondary-pale);
  padding: .25rem .5rem;
}
.service-list li .button {
  text-align: right;
}

.page-section .service-list li {
  background-color: var(--color-primary-super-pale);
}

/* #news */
#news .news-list .news-content {
  margin-bottom: 1.5rem;
}
#news .news-list .news-content a {
  color: var(--color-primary-dark);
  text-decoration: none;
}
#news .news-list .news-content a dl {
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--color-primary-light);
}
#news .news-list .news-content a dt {
  display: inline-block;
  font-size: .75rem;
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  padding: .25rem .5rem;
}
#news .news-list .news-content a dd {
  margin: .5rem 0 0 1rem;
}

/* 固定ページ */
#page-header {
  position: relative;
  background-image: url(./assets/images/common/page-bg.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 250px;
  margin: var(--header-height) 0 0;
}
#page-header .wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
#page-header .wrapper h1 {
  color: var(--color-primary-darker);
  text-align: center;
}
#page-header .wrapper h1 .ja {
  font-size: 1.5rem;
  display: block;
  letter-spacing: .2em;
  font-weight: bold;
  margin-bottom: 0;
}
#page-header .wrapper h1 .en {
  font-size: .5em;
  color: var(--color-primary);
}
.page-section {
  padding: 1rem 0 2rem;
}
.page-section .wrapper h2,
.page-section .wrapper h3,
.page-section .wrapper h4,
.page-section .wrapper h5,
.page-section .wrapper h6 {
  margin-bottom: 1rem;
}
.page-section .wrapper h2 {
  border-left: 10px solid var(--color-primary);
  padding-left: .5rem;
}
.page-section .wrapper h2.lawyer-title {
  border: none;
  justify-content: center;
}
.page-section .small-block {
  margin-top: 1rem;
}
.page-section .block {
  margin-top: 2rem;
}
.page-section .table-block {
  overflow: auto;
}
.page-section .note {
  padding: 1rem;
  background-color: var(--color-primary-super-pale);
}

/* Breadcrumb */
.breadcrumbs {
  font-size: 0;
  padding: 1rem;
}
.breadcrumbs.block {
  padding-bottom: 0;
}
.breadcrumbs.block + .block {
  padding-top: 0;
}
.breadcrumbs ol {
  list-style: none;
}
.breadcrumbs ol li {
  display: inline-block;
  vertical-align: middle;
}
.breadcrumbs ol li a {
  display: inline-block;
  text-decoration: none;
  color: var(--color-primary);
  text-decoration: underline;
}
.breadcrumbs ol li:after {
  content: '>';
  padding: 0 0.8rem;
}
.breadcrumbs ol li:last-child:after {
  content: '';
  padding: 0;
}
.breadcrumbs ol li:after,
.breadcrumbs ol li span {
  font-size: 1rem;
  color: var(--color-gray);
}

 /* History */
.history dl {
  padding: .25rem;
  display: flex;
}
.history dl + dl {
  margin-top: .5rem;
}
.history dl dt {
  width: 45%;
  max-width: 20rem;
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-primary);
  padding: .5rem;
  border-bottom: 2px solid var(--color-primary);
}
.history dl dd {
  width: 100%;
  padding: .5rem;
  border-bottom: 2px solid var(--color-primary-pale);
}

/* Info Desc */
.info-desc {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.info-desc + .info-desc {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-gray-200);
}
.info-desc-lead {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  font-size: 0.875rem;
}
.info-desc-lead .date {
  color: var(--color-gray);
}
.info-desc-lead .info-type {
  color: var(--color-primary);
}
.info-title {
  color: var(--color-primary-dark);
  font-weight: bold;
}
.info-genre {
  color: var(--color-gray);
  font-size: 0.875rem;
}

/* list */
.list {
  margin-left: 1.75rem;
}
.list li {
  border-bottom: 1px solid var(--color-gray-200);
  padding: .25rem .25rem .5rem .25rem;
}
.list li + li {
  margin-top: .75rem;
}
.list li a {
  color: var(--color-primary);
}
.list li .list {
  margin-top: .75rem;
}
.list li .list li {
  list-style: circle;
}

/* table */
.table {
  min-width: 100%;
  overflow: auto;
}
.table thead tr th {
  border-bottom: 2px solid var(--color-primary-dark);
}
.table tr th,
.table tr td {
  text-align: left;
  padding: 1rem;
}
.table tbody tr:nth-child(odd) {
  background-color: var(--color-primary-super-pale);
}

/* fee-table */
.fee-table {
  background-color: var(--color-white);
}
.fee-table tr th,
.fee-table tr td {
  border: 1px solid var(--color-primary-light);
}
.fee-table tbody tr:nth-child(odd) {
  background-color: var(--color-white);
}

.toc-nav ul{
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.toc-nav li {
  margin: .5rem 0;
}
.toc-nav li a {
  color: var(--color-primary);
}

/* content-data */
.content-data dl {
  display: flex;
  flex-wrap: wrap;
  margin: 1rem auto;
}
.content-data dl dt {
  width: 100%;
  padding: .5rem;
  font-weight: bold;
  color: var(--color-primary-darker);
  border-bottom: 2px solid var(--color-primary);
}
.content-data dl dd {
  width: 100%;
  padding: .5rem;
}

/* Lawyers Page */
.lawyer-list ul li {
  list-style: none;
}
.lawyer-list ul li + li {
  margin-top: 1rem;
}
.lawyer-list ul li a {
  display: block;
  text-decoration: none;
  color: var(--color-primary);
  padding: var(--spacing-lg);
  border: 1px solid var(--color-gray-200);
  position: relative;
  overflow: hidden;
  background-color: var(--color-white);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.lawyer-list ul li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.lawyer-list ul li a .lawyer-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}
.lawyer-list ul li a .lawyer-box .post {
  min-width: 5rem;
  font-size: .75rem;
}
.lawyer-list ul li a .lawyer-box .name {
  margin: 0;
}
.lawyer-list ul li a .lawyer-box .name ruby {
  font-size: 1.25rem;
}
.lawyer-list ul li a .lawyer-box .name .name-en {
  display: block;
  font-size: .75em;
  color: var(--color-primary);
}

/* Lawyer Page Person */
.page-section .wrapper:has(.lawyer-images) {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}
.lawyer-images {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}
.lawyer-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}
.lawyer-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 1rem;
  border: none;
  width: 100%;
  text-align: center;
}
.lawyer-title .post {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 0;
}
.lawyer-title .name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  margin: 0;
}
.lawyer-title .name ruby {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--color-primary-dark);
}
.lawyer-title .name-en {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-primary);
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-top: 0.125rem;
}

/* Recruit Page */
.recruit-info dl dt {
  font-weight: bold;
  font-size: 1.125rem;
  color: var(--color-primary-dark);
  margin-bottom: .5rem;
}
.recruit-info dl dd {
  padding: .5rem .5rem .5rem 1.5rem;
  border: 2px solid var(--color-primary);
  background-color: var(--color-primary-super-pale);
}

/* Nav Pagenation */
nav.pagination {
  display: block;
  margin: 1rem 0 2rem 0;
}
nav.pagination .nav-links {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}
nav.pagination .nav-links .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  overflow: hidden;
  margin: 0 0.25rem;
  color: var(--color-primary-darker);
  transition: all .2s;
}
nav.pagination .nav-links a.page-numbers.prev,
nav.pagination .nav-links a.page-numbers.next {
  font-weight: bold;
}
nav.pagination .nav-links .page-numbers:first-child {
  margin-left: 0;
}
nav.pagination .nav-links .page-numbers:last-child {
  margin-right: 0;
}
nav.pagination .nav-links span.current {
  background-color: var(--color-primary-darker);
  color: var(--color-on-primary);
  box-shadow: none;
}
nav.pagination .nav-links span.dots {
  box-shadow: none;
}

/* columns list */
.columns-list {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}
.columns-list li {
  width: calc(50% - .5rem);
  list-style: none;
}
.columns-list li a {
  text-decoration: none;
  display: block;
  color: var(--color-on-background);
  padding: 1rem;
  border: 1px solid var(--color-gray-300);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.columns-list li a .post-item .post-desc {
  margin-top: .5rem;
}
.columns-list li a .post-item .post-desc p.day {
  font-size: .75em;
  color: var(--color-gray);
}
.columns-list li a .post-item .post-desc .post-ttl {
  margin-top: 0;
}
.category-tags > span {
  display: inline-block;
  vertical-align: middle;
  font-size: .75rem;
  background-color: var(--color-secondary-light);
  line-height: 1;
  padding: 0.5rem 0.825rem;
  text-decoration: none;
  color: var(--color-primary);
  margin: 0.4rem;
  margin-left: 0;
  background: var(--color-secondary);
}

/* Float Msgbox */
.lu-float-msgbox {
  position: fixed;
  z-index: 9999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: var(--box-shadow-default);
  border-radius: var(--round-large);
}
.lu-float-msgbox {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1.5rem;
  border: solid 1px var(--color-white);
  font-size: 1rem;
  color: var(--color-white);
  white-space: pre-wrap;
  max-width: 80vw;
  min-width: 280px;
  opacity: 0;
  transition: opacity .5s ease;
}

/* Swiper */
.swiper {
  margin-bottom: 2rem;
}
.swiper .swiper-wrapper {
  flex-wrap: nowrap !important;
  gap: 0 !important;
  justify-content: flex-start;
}
.swiper .swiper-nav-wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}
.swiper .swiper-pagination {
  position: static;
}
.swiper .swiper-button-next,
.swiper .swiper-button-prev {
  position: static;
  width: 2rem;
  height: 2rem;
  margin-top: 0;
}
.swiper .swiper-button-next:after,
.swiper .swiper-button-prev:after{
  font-size: 1rem;
  font-weight: bold;
}

/* News Single */
.time-tag {
  display: inline;
  font-size: .75rem;
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  padding: .25rem .5rem;
}
.post-contents {
  margin-top: 1rem;
}

/* Columns Single Page */
main.columns-main {
  overflow: visible;
}
main.columns-main .post-last-updated {
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
  margin: 1rem 0;
}

/* Column Contents */
.column-contents {
  line-height: var(--line-height-base);
  margin-top: 2rem;
}
.column-contents h2,
.column-contents h3,
.column-contents h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Sidebar Layout */
.page-section .wrapper.sidebar-layout {
  display: block;
  padding-top: 0;
}
.wrapper.sidebar-layout .post-main {
  width: 100%;
}
.wrapper.sidebar-layout .post-main .images {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.wrapper.sidebar-layout .sidebar {
  width: 100%;
  margin-top: 2rem;
}
.wrapper.sidebar-layout .sidebar .wrapper {
  background: var(--color-primary-super-pale);
  padding: 1.5rem;
  writing-mode: horizontal-tb;
  direction: ltr;
  margin: 0;
}
.wrapper.sidebar-layout .sidebar .wrapper ul,
.wrapper.sidebar-layout .sidebar .wrapper ol {
  list-style: none;
  padding-left: 0;
}
.wrapper.sidebar-layout .sidebar .wrapper li {
  list-style: none;
}
.wrapper.sidebar-layout .sidebar .wrapper li::before,
.wrapper.sidebar-layout .sidebar .wrapper li::after {
  content: none;
}

/* Section Style */
.section-style {
  margin-bottom: 1.5rem;
}
.section-style h2 {
  font-size: var(--font-size-xl);
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  border-left: 4px solid var(--color-primary);
  padding-left: 0.75rem;
}

/* Post List */
.post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.post-list li {
  margin-bottom: 0.75rem;
}
.post-list li a {
  display: flex;
  align-items: flex-start;
  text-decoration: none;
  color: var(--color-on-background);
  padding: 0.75rem;
  background-color: var(--color-white);
  width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.post-list li a .bg-img {
  margin-right: 0.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.post-list-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1;
  min-width: 0;
}
.post-item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.post-item-last-updated {
  font-size: var(--font-size-xs);
  color: var(--color-gray-500);
  margin-bottom: 0.25rem;
}
.post-item-title {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Sitemap Section */
.sitemap-section .list li {
  border: none;
}

/* Category List */
.category-list li a {
  padding: 0.5rem 0.75rem;
}

/* Services List Button */
.services-list-button {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Sitemap Page */
.sitemap-list li {
  list-style: none;
}
.sitemap-list li + li {
  margin-top: 1rem;
}
.sitemap-list li:before {
  content: '';
  display: inline-block;
  width: .5rem;
  height: .5rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  margin-right: .5rem;
}
.sitemap-list li a {
  color: var(--color-primary);
  text-decoration: none;
}
.sitemap-list li .sitemap-child-list {
  margin-left: 1rem;
}
.sitemap-list li .sitemap-child-list li {
  margin-top: .5rem;
}
.sitemap-list li .sitemap-child-list li::before {
  content: '-';
  width: 0;
  height: 0;
  padding-right: .25rem;
  color: var(--color-primary);
}

/* Contact Form */
.content.form {
  margin-top: 2rem;
}

/* Form Error */
.error-info {
  padding: 1rem;
  margin-bottom: 1.5rem;
  background-color: var(--color-error-light);
  border: 2px solid var(--color-error);
}
.error-info p {
  color: var(--color-error);
  margin: 0;
  font-weight: bold;
}

/* Form */
#contact-form {
  margin-top: 1.5rem;
}
.form-block {
  margin-bottom: 1.5rem;
}
.form-block:last-child {
  margin-bottom: 0;
}

/* Form Label */
.form-block label.title {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-weight: 600;
  font-size: var(--font-size-base);
  color: var(--color-primary-dark);
  margin-bottom: var(--spacing-xs);
  line-height: var(--line-height-tight);
}
.form-block label.title .required {
  color: var(--color-error);
  font-size: var(--font-size-sm);
  font-weight: 700;
}

/* Form Input */
.form-block input:not([type="submit"]):not([type="button"]):not([type="reset"]),
.form-block select,
.form-block textarea {
  width: 100%;
  padding: .5rem .75rem;
  font-size: var(--font-size-base);
  font-family: var(--font-family);
  line-height: var(--line-height-base);
  color: var(--color-on-background);
  background-color: var(--color-white);
  border: 2px solid var(--color-gray-300);
  transition: all 0.2s ease;
  box-sizing: border-box;
  appearance: none;
}
.form-block input::placeholder,
.form-block textarea::placeholder {
  color: var(--color-gray-400);
  opacity: 1;
}
.form-block input:not([type="submit"]):not([type="button"]):not([type="reset"]):focus,
.form-block select:focus,
.form-block textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-super-pale);
  background-color: var(--color-white);
}
.form-block input:not([type="submit"]):not([type="button"]):not([type="reset"]).error,
.form-block select.error,
.form-block textarea.error {
  border-color: var(--color-error);
  background-color: var(--color-error-light);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}
.form-block input:not([type="submit"]):not([type="button"]):not([type="reset"]).error:focus,
.form-block select.error:focus,
.form-block textarea.error:focus {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}
.form-block input:not([type="submit"]):not([type="button"]):not([type="reset"]).success,
.form-block select.success,
.form-block textarea.success {
  border-color: var(--color-success);
  background-color: var(--color-success-light);
}
.form-block .error-message {
  display: block;
  margin-top: var(--spacing-xs);
  font-size: var(--font-size-sm);
  color: var(--color-error);
  font-weight: 500;
}
.form-block input:not([type="submit"]):not([type="button"]):not([type="reset"]):disabled,
.form-block select:disabled,
.form-block textarea:disabled {
  background-color: var(--color-gray-100);
  color: var(--color-gray-500);
  cursor: not-allowed;
  opacity: var(--opacity-disabled);
}
.form-block textarea {
  min-height: 8rem;
  resize: vertical;
}
.form-block select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231d7ebf' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

/* Form Note */
.form-block .note {
  margin-top: var(--spacing-xs);
  font-size: var(--font-size-sm);
  color: var(--color-gray-600);
  background-color: var(--color-gray-100);
  line-height: var(--line-height-base);
  padding: 0.5rem 0.75rem;
}

/* Form Confirm (確認画面) */
.form-block .form-input-value {
  padding: 0.75rem;
  margin-top: 0.5rem;
  background-color: var(--color-primary-super-pale);
  border: 2px solid var(--color-primary-pale);
  color: var(--color-on-background);
  line-height: 1.6;
  word-break: break-word;
}

/* Form Bottom Block */
.form-bottom-block {
  margin-bottom: 1.5rem;
}
.form-bottom-block .note {
  padding: 1rem;
  background-color: var(--color-primary-super-pale);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-on-background);
}
.form-bottom-block .note a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Form Button - .buttonに統一 */
.button[data-action="edit"] a {
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.button[data-action="edit"] a:focus {
  background-color: var(--color-primary-super-pale);
}
.button[data-action="send"] a,
.button[data-action="confirm"] a {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
  border: 2px solid var(--color-primary);
}
.button[data-action="send"] a:focus,
.button[data-action="confirm"] a:focus {
  background-color: var(--color-primary-darker);
  border-color: var(--color-primary-darker);
}
.button .icon-align-right {
  margin-left: auto;
}

/* CTA */
#cta {
  position: relative;
  background-image: url(./assets/images/common/cta-bg.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: var(--color-white);
  margin-top: 4rem;
}
#cta h2 {
  position: relative;
  color: var(--color-white);
  border: none;
  text-align: center;
  margin-bottom: 3rem
}
#cta h2 .ja {
  font-size: 1.25rem;
  display: block;
  letter-spacing: .2em;
  font-weight: bold;
  margin-bottom: 0;
}
#cta h2 .en {
  font-size: .825em;
  margin-bottom: .75rem;
}
#cta .cta-desc {
  text-align: center;
}
#cta .cta-buttons {
  margin: 4rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
}
#cta .cta-buttons .button {
  flex: 1;
  min-width: 280px;
  display: flex;
}
#cta .cta-buttons .button a {
  width: 100%;
  background-color: var(--color-white);
  color: var(--color-primary);
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0.875rem 1rem;
  box-sizing: border-box;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 0.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
#cta .cta-buttons .button a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(29, 126, 191, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1), height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
#cta .cta-buttons .button a p,
#cta .cta-buttons .button a span {
  position: relative;
  z-index: 1;
}
#cta .cta-buttons .button a p {
  margin: 0;
  padding: 0;
  line-height: 1.3;
}
#cta .cta-buttons .button a p:first-child {
  font-size: 1.0625rem;
  font-weight: 700;
}
#cta .cta-buttons .button a p small {
  font-size: 1em;
  font-weight: 700;
}
#cta .cta-buttons .button a .tel-time {
  font-size: 0.6875rem;
  color: var(--color-gray-600);
  font-weight: 400;
  letter-spacing: 0.02em;
}
#cta .cta-buttons .button a span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}
#cta .cta-buttons .button a span i {
  font-size: 1.0625rem;
}
#cta .cta-buttons .button:last-child a {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
#cta .cta-buttons .button:last-child a::before {
  background: rgba(255, 255, 255, 0.2);
}
#cta .cta-buttons .button a:active {
  transform: translateY(-1px) scale(1);
}

.select-buttons {
  display: flex;
  gap: 1rem;
}
.select-buttons .select-button {
  flex: 1;
  text-align: center;
  padding: 0.5rem 1rem;
  border: 2px solid var(--color-primary);
  border-radius: var(--round-small);
  background-color: var(--color-primary-super-pale);
  color: var(--color-primary);
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Author Box */
.author-box {
  margin-top: 2rem;
}
.author-info {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
}
.author-info .author-images {
  max-width: clamp(80px, 20%, 140px);
}
.author-info .author-images img {
  width: 100%;
}
.author-info .author-desc {
  width: auto;
}
.author-info .author-desc .desc {
  margin-top: .5rem;
}

/* sns share */
.sns-share-box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  font-size: 0;
  background-color: var(--color-secondary-light);
  border-radius: var(--round-medium);
  margin: 0.5rem auto;
}
.sns-share-box span {
  display: inline-block;
  vertical-align: middle;
}
.sns-share-box span.bg-img {
  width: 1.6rem;
  height: 1.6rem;
}
.sns-share-box span.sns-title {
  font-size: 1rem;
  color: var(--color-on-background);
  margin-left: 0.5rem;
  display: none;
}
.sns-share-box > a {
  display: inline-block;
  border-style: solid;
  border-width: 1px;
  border-radius: 50%;
  background-color: var(--color-white);
  padding: 0 .6rem;
  cursor: pointer;
  white-space: nowrap;
  margin: 0.5rem;
  text-decoration: none;
}
.sns-share-box a i[class|="lf21"] {
  font-size: 1.5rem;
}
.sns-share-box a.sns-twitter {
  border-color: rgb(0, 0, 0);
}
.sns-share-box a.sns-facebook {
  border-color: rgb(23,120,242);
}
.sns-share-box a.sns-hatena {
  border-color: rgb(5,163,222);
}
.sns-share-box a.sns-line {
  border-color: rgb(6,199,85);
}
.sns-share-box a.sns-copy {
  border-color: rgb(115,115,115);
}
.sns-share-box a.sns-copy i[class|="lf21"] {
  color: var(--color-gray-500);
}

/* 404 */
#not-found {
  padding-top: var(--header-height);
  text-align: center;
}
#not-found .wrapper {
  margin: 3rem auto;
}
#not-found .wrapper p {
  margin: 1rem auto;
}

/* footer */
footer {
  position: relative;
  background: var(--color-primary);
  padding-top: 3rem;
  color: var(--color-on-primary);
}
footer::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  background: var(--color-primary-light);
  opacity: .5;
  clip-path: polygon(100% 0, 30% 100%, 100% 100%);
}
footer::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 8rem;
  background: var(--color-primary-light);
  opacity: .5;
  clip-path: polygon(70% 0, 0 0, 0 100%);
}
footer .footer-information {
  position: relative;
  padding: 1rem;
}
footer .footer-information .footer-logo {
  position: relative;
  width: 160px;
  margin: auto;
  z-index: 1;
}
footer .footer-information .footer-logo a img {
  width: 100%;
}
footer .footer-information .footer-address {
  margin-top: 2rem;
  font-size: .75rem;
}
footer .footer-information .footer-address p {
  margin: .5rem 0;
}
footer .footer-menu-list {
  position: relative;
}
footer .footer-menu {
  padding: 1rem;
}
footer .footer-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
footer .footer-menu ul li {
  list-style-type: none;
}
footer .footer-menu ul li a {
  font-weight: bold;
  text-decoration: none;
  color: var(--color-on-primary);
}
footer .footer-sub-menu {
  padding: 0 1rem 1rem 1rem;
}
footer .footer-sub-menu ul {
  display: flex;
  gap: 1rem;
}
footer .footer-sub-menu ul li {
  list-style: none;
}
footer .footer-sub-menu ul li a {
  text-decoration: none;
  font-size: .75em;
  color: var(--color-on-primary);
}
footer .copyright {
  position: relative;
  padding: 2rem .5rem;
  text-align: center;
}
footer .copyright p {
  font-size: .75em;
  color: var(--color-on-primary);
}

/* to Top */
a.to-top-button {
  display: block;
  position: fixed;
  right: -60px;
  z-index: 5;
  transition-property: right, bottom;
  transition-timing-function: ease;
  transition-duration: .3s;
  cursor: pointer;
  text-decoration: none;
  width: 3rem;
  height: 3rem;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: all .5s;
  box-shadow: var(--box-shadow-default);
}
a.to-top-button.show {
  right: 32px;
}
a.to-top-button span {
  color: var(--color-on-primary);
  font-size: .65rem;
  font-weight: 600;
  line-height: 1.4;
}
a.to-top-button.over-footer {
  background: var(--color-background) !important;
}
a.to-top-button.over-footer span {
  color: var(--color-primary) !important;
}

/* For Tablet */
@media screen and (min-width:768px) {

  /* #mv */
  #mv .mv-lead h1.h1-top {
    font-size: 2rem;
  }
  #mv .mv-lead p.name {
    font-size: 1.5rem;
  }

  /* #greeting */
  #greeting .flex .images img {
    min-width: 300px;
  }
  #greeting .greeting-images {
    max-height: 620px;
    overflow: hidden;
  }
  #greeting .greeting-contet {
    width: 90%;
  }

  /* .service-list */
  .service-list {
    grid-template-columns: 1fr 1fr;
  }

  /* section common */
  section {
    padding: 4rem 0;
  }
  .wrapper {
    max-width: 700px;
    width: 100%;
    padding: 0 var(--spacing-md);
    margin: 0 auto;
  }

  /* Page */
  .page-section {
    padding: 1.5rem 0;
  }

  /* Breadcrumb */
  .breadcrumbs.block {
    padding: var(--spacing-sm) 0 0;
    max-width: 700px;
    width: 100%;
    margin: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }

  /* Lawyers */
  .lawyer-list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .lawyer-list ul li {
    width: calc(50% - 1rem);
  }
  .lawyer-list ul li + li {
    margin: 0;
  }

  /* map-section */
  .map-section .wrapper {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
  }
  .map-section .wrapper .images {
    margin-top: 0;
    width: 60%;
  }

  /* Contact Form */

  /* CTA */
  #cta .cta-buttons {
    flex-wrap: nowrap;
    max-width: min(var(--max-content-width), 90%);
    margin-left: auto;
    margin-right: auto;
  }
  #cta .cta-buttons .button {
    min-width: auto;
  }

  /* Sidebar Layout */
  .wrapper.sidebar-layout .post-main {
    width: 100%;
  }
  .wrapper.sidebar-layout .sidebar {
    width: 100%;
  }

  /* Lawyer Page Person */
  .page-section .wrapper:has(.lawyer-images) {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    text-align: left;
    justify-content: center;
  }
  .lawyer-images {
    flex-shrink: 0;
    width: 50%;
    margin: 0;
  }
  .lawyer-title {
    flex: 0 1 auto;
    align-items: flex-start;
    text-align: left;
    padding-top: 0;
    gap: 0.25rem;
  }
  .lawyer-title .post {
    margin-bottom: 0;
  }
  .lawyer-title .name {
    align-items: flex-start;
    gap: 0.125rem;
    margin-bottom: 0;
  }
  .lawyer-title .name ruby {
    font-size: 2rem;
    line-height: 1.5;
  }
  .lawyer-title .name-en {
    margin-top: 0.125rem;
  }

  /* footer */
  footer .footer-information {
    padding: 0;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
  footer .footer-menu {
    padding: 1rem 0;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
  footer .footer-sub-menu {
    padding: 0 0 1rem 0;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }

  /* sec-ttl */
  #greeting .sec-ttl {
    top: -4rem;
    left: -2rem;
  }
  #services .sec-ttl {
    top: -4rem;
    right: -2rem;
  }
  #columns .sec-ttl {
    top: -6rem;
    left: -2rem;
  }
  #news .sec-ttl {
    top: -6rem;
    right: -1rem;
  }
}

/* WP login */
body.admin-bar header,
body.admin-bar header #hamburger {
  top: 32px;
}

/* For PC */
@media screen and (min-width:1024px) {
  :root {
    /* font */
    --font-size-default: 16px;
    --header-height: 80px;
  }

  html {
    font-size: clamp(1.125rem, 1.8vw, 1.25rem);
  }
  body {
    font-size: 1em;
  }
  h1 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  }
  h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
  }
  h3 {
    font-size: clamp(1.375rem, 2.5vw, 1.625rem);
  }
  h4 {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  }
  /* 文字サイズ変更によるはみ出し防止 */
  table {
    table-layout: fixed;
    width: 100%;
  }
  td,
  th {
    word-break: break-word;
    overflow-wrap: break-word;
  }
  /* 長いテキストが含まれる可能性のある要素 */
  p,
  li,
  dd,
  .content,
  .desc {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Button */
  .button a::before {
    transition: width 0.6s ease, height 0.6s ease;
  }
  .button a:hover {
    background-color: var(--color-primary-darker);
    color: var(--color-on-primary);
    transform: translateY(-1px);
    opacity: .85;
  }
  .button a:hover::before {
    width: 300px;
    height: 300px;
  }
  .services-list-button a {
    transition: all 0.2s ease;
  }
  .services-list-button a:hover {
    background-color: var(--color-primary-darker);
    transform: translateY(-2px);
  }
  #cta .cta-buttons .button a:hover {
    transform: translateY(-3px) scale(1.02);
    background-color: var(--color-primary-super-pale);
  }
  #cta .cta-buttons .button a:hover::before {
    width: 600px;
    height: 600px;
  }
  #cta .cta-buttons .button:last-child a:hover {
    background-color: var(--color-primary-darker);
    border-color: var(--color-white);
  }

  /* header */
  header {
    padding: 1rem;
  }
  header .header-logo {
    flex-grow: 1;
  }
  header .header-logo a {
    transition: all .2s;
  }
  header .header-logo a:hover {
    opacity: .5;
  }
  header .global-menu,
  header .global-block-menu {
    display: block;
    margin-right: 1rem;
  }
  header .global-block-menu {
    margin-right: calc(var(--header-height) - .75rem);
  }
  header .global-menu ul,
  header .global-block-menu ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
  }
  header .global-block-menu ul {
    gap: .5rem;
  }
  header .global-menu ul li,
  header .global-block-menu ul li {
    list-style: none;
  }
  header .global-menu li a,
  header .global-block-menu li a {
    position: relative;
    font-size: .8125rem;
    text-decoration: none;
    color: var(--color-primary);
    display: block;
  }
  header .global-block-menu ul li a {
    padding: .425rem .75rem;
    background-color: var(--color-primary);
    color: var(--color-on-primary);
    font-weight: bold;
    transition: all .2s;
  }
  header .global-block-menu ul li:last-child a {
    background-color: var(--color-secondary);
    color: var(--color-primary);
  }
  header .global-block-menu ul li a:hover {
    opacity: .8;
    transform: translateY(-2px);
  }
  header .global-menu li a:before {
    content: '';
    position: absolute;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background-color: var(--color-primary);
    transition: all .5s;
    transform: rotateY(90deg);
  }
  header .global-menu li a:hover:before {
    transform: rotateY(0deg);
  }
  header .global-menu li a span.en {
    display: block;
    text-align: center;
    font-size: .75em;
  }
  header #hamburger {
    top: auto;
  }

  /* Drawer Menu */
  #drawer-menu ul li a {
    position: relative;
    transition: all .2s;
    overflow: hidden;
  }
  #drawer-menu ul li a:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-primary);
    transition: all .2s;
    transform: translateX(-100%);
  }
  #drawer-menu ul li a:hover:before {
    transform: translateX(0);
  }

  /* #hamburger */
  header #hamburger span:first-child {
    top: 35px;
  }
  header #hamburger span:last-child {
    top: 45px;
  }
  header #hamburger.open span:first-child {
    top: 33px;
  }
  header #hamburger.open span:last-child {
    top: 45px;
  }

  /* #mv */
  #mv {
    max-width: 2400px;
    margin: 0 auto;
    height: auto;
  }
  #mv .mv-img {
    width: 100%;
    color: var(--color-white);
  }
  #mv .mv-img img.pc {
    width: 80%;
    display: block;
    object-fit: cover;
  }
  #mv .mv-img img.sp {
    display: none;
  }
  #mv #mv-slider {
    width: auto;
    height: calc(100vh - var(--header-height));
  }
  #mv .mv-lead {
    margin: 0;
    top: auto;
    bottom: 0;
    transform: translateY(0);
    width: auto;
    text-align: left;
    padding: 4rem;
  }
  #mv .mv-lead h1.h1-top {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    margin-bottom: 1.5rem;
    padding-top: 1.25rem;
  }
  #mv .mv-lead p.name {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  }
  #mv .mv-lead .sp {
    display: none;
  }

  /* scrolldown */
  .scrolldown {
    right: auto;
    left: 3rem;
  }

  /* section common */
  .wrapper {
    max-width: min(var(--max-content-width), 90%);
    width: 100%;
    padding: 0 var(--spacing-md);
  }
  .page-section .wrapper {
    max-width: min(var(--max-content-width), 85%);
  }

  /* #greeting */
  #greeting .greeting-images {
    max-height: 100%;
    width: 70%;
  }
  .greeting-images.pc-greeting-images {
    display: block;
  }
  .greeting-images.sp-greeting-images {
    display: none;
  }
  #greeting .greeting-contet {
    width: 70%;
    margin-top: -10rem;
  }

  /* Columns */
  .columns-list {
    gap: 2rem;
  }
  .columns-list li {
    width: calc(33.333% - 1.35rem);
  }
  .columns-list li a {
    transition: all .5s;
  }
  .columns-list li a:hover {
    opacity: .6;
  }

  /* Swiper navigation buttons - PC用の位置調整 */
  .swiper-button-prev {
    left: -20px;
  }
  .swiper-button-next {
    right: -20px;
  }

  /* News */
  #news .news-list .news-content a {
    transition: ease .2s;
  }
  #news .news-list .news-content a:hover {
    opacity: .75;
  }
  #news .news-list .news-content a dl {
    padding-bottom: 1rem;
  }

  /* Page */
  #page-header {
    height: 240px;
  }

  /* Breadcrumb */
  .breadcrumbs.block {
    max-width: min(var(--max-content-width), 85%);
    width: 100%;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
  }

  /* Lawyers */
  .lawyer-list ul li {
    width: calc(33.33333% - 1.35rem);
  }
  .lawyer-list ul li a .lawyer-box .name .name-en {
    font-size: .65em;
  }
  .lawyer-list ul li a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .lawyer-list ul li a::before {
    transition: transform 0.3s ease;
  }
  .lawyer-list ul li a:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
  }
  .lawyer-list ul li a:hover::before {
    transform: scaleX(1);
  }
  .lawyer-list ul li a:active {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
  }

  /* Access */
  .map-section .wrapper .images {
    width: 70%;
  }

  /* Lawyer Page Person */
  .page-section .wrapper:has(.lawyer-images) {
    gap: 3rem;
    justify-content: center;
  }
  .lawyer-images {
    width: 30%;
  }
  .lawyer-title {
    padding-top: 0;
    max-width: none;
    gap: 0.25rem;
  }
  .lawyer-title .post {
    font-size: 0.875rem;
    margin-bottom: 0;
  }
  .lawyer-title .name {
    gap: 0.125rem;
    margin-bottom: 0;
  }
  .lawyer-title .name ruby {
    font-size: 2.125rem;
    line-height: 1.5;
  }
  .lawyer-title .name-en {
    font-size: 0.875rem;
    margin-top: 0.125rem;
  }

  /* Sidebar Layout */
  .page-section .wrapper.sidebar-layout {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 0;
    max-width: min(var(--max-content-width), 90%);
    margin: 0 auto;
  }
  .wrapper.sidebar-layout .post-main {
    flex: 1;
    min-width: 0;
  }
  .wrapper.sidebar-layout .sidebar {
    position: relative;
    min-width: 300px;
    max-width: 320px;
    margin-top: 0;
  }
  .wrapper.sidebar-layout .sidebar .wrapper {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
  }
  .wrapper.sidebar-layout .sidebar .post-list-item {
    flex-direction: column;
  }
  .wrapper.sidebar-layout .sidebar .post-list li a {
    transition: all 0.2s ease;
  }
  .wrapper.sidebar-layout .sidebar .post-list li a:hover {
    background-color: var(--color-primary-super-pale);
    transform: translateX(4px);
  }
  .wrapper.sidebar-layout .sidebar .post-list li a .post-item-title {
    font-size: var(--font-size-sm);
  }

  .select-buttons .select-button:hover {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
    transform: translateY(-2px);
  }
  .select-buttons .select-button:active {
    background-color: var(--color-primary);
    color: var(--color-on-primary);
    transform: translateY(-2px);
  }

  /* Pagination */
  nav.pagination .nav-links a.page-numbers:hover {
    background-color: var(--color-primary-pale);
  }

  /* Contact Form */
  .form-block input:not([type="submit"]):not([type="button"]):not([type="reset"]):hover:not(:disabled):not(:focus),
  .form-block select:hover:not(:disabled):not(:focus),
  .form-block textarea:hover:not(:disabled):not(:focus) {
    border-color: var(--color-gray-400);
  }
  .form-bottom-block .note a:hover {
    opacity: var(--opacity-hover);
  }
  .button[data-action="edit"] a:hover {
    background-color: var(--color-primary-super-pale);
  }
  .button[data-action="send"] a:hover,
  .button[data-action="confirm"] a:hover {
    background-color: var(--color-primary-darker);
    border-color: var(--color-primary-darker);
  }

  /* footer */
  footer::before {
    clip-path: polygon(100% 0, 60% 100%, 100% 100%);
  }
  footer::after {
    clip-path: polygon(40% 0, 0 0, 0 100%);
  }
  footer .footer-flex {
    display: flex;
    gap: 2rem;
  }
  footer .footer-information .footer-logo {
    width: 180px;
    margin: 0;
  }
  footer .footer-information .footer-logo a {
    transition: all .2s;
  }
  footer .footer-information .footer-logo a:hover {
    opacity: .5;
  }
  footer .footer-information {
    margin: 0 auto 0 0;
  }
  footer .footer-information,
  footer .footer-menu,
  footer .footer-sub-menu {
    width: auto;
  }
  footer .footer-menu ul li a {
    transition: background-color 0.3s ease;
    padding: .25rem;
  }
  footer .footer-menu ul li a:hover {
    background-color: var(--color-primary-super-pale);
    color: var(--color-primary);
  }
  footer .footer-sub-menu ul {
    justify-content: flex-end;
  }

  a.to-top-button:hover {
    background-color: var(--color-primary-darker);
    transform: scale(1.05);
  }

  /* sec-ttl */
  #greeting .sec-ttl {
    top: -9rem;
    left: clamp(-2rem, -5vw, -4rem);
  }
  #services .sec-ttl {
    top: -9rem;
    right: clamp(-2rem, -5vw, -4rem);
  }
  #columns .sec-ttl {
    top: -11rem;
    left: clamp(-2rem, -5vw, -4rem);
  }
  #news .sec-ttl {
    top: -11rem;
    right: clamp(-2rem, -5vw, -4rem);
  }
}

/* Animation */
@keyframes scrolldown {
  0% {
      bottom: 10px;
  }
  50% {
      bottom: 5px;
  }
  100% {
      bottom: 10px;
  }
}
@keyframes scrollbar {
  0% {
      height: 0;
      top: 10px;
      opacity: 0;
  }
  50% {
      height: 15px;
      opacity: 1;
  }
  100% {
      height: 0;
      top: 30px;
      opacity: 0;
  }
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: var(--color-on-primary);
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 10000;
  border-radius: 0 0 var(--round-medium) 0;
}
.skip-link:focus {
  top: 0;
}

/* Focus visible */
*:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--round-small);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --color-primary: #005a9c;
    --color-on-background: #000000;
    --box-shadow-default: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  /* Button */
  .button a {
    border-width: 3px;
  }
}
