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

/* import */
@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPMincho&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Monomakh&family=Noto+Serif+JP:wght@200..900&display=swap');

/* Variables */
:root {
  /* color */
  --color-theme1: #08548f;
  /* background */
  --color-background: #f7fbfd;
  --color-on-background: #333333;
  --color-surface: #f0fafe;
  --color-surface-dark: #fdfaf1;
  --color-on-surface: #0065b2;
  /* primary */
  --color-primary: var(--color-theme1);
  --color-on-primary: #ffffff;
  --color-primary-darker: #014980;
  --color-on-primary-darker: var(--color-on-primary);
  --color-primary-dark: #003054;
  --color-on-primary-dark: var(--color-on-primary);
  --color-primary-light: #3994da;
  --color-primary-pale: #a2d5f3;
  --color-on-primary-pale: var(--color-primary-darker);
  --color-primary-super-pale: #daedf8;
  /* secondary */
  --color-secondary: #cfa94a;
  --color-on-secondary: #ffffff;
  --color-secondary-dark: #d2a536;
  --color-secondary-light: #f9df9f;
  --color-secondary-pale: #f5e1af;
  --color-secondary-super-pale: #fff7e2;
  /* other color */
  --color-effect: #b73375;
  --color-error: #ff3737;
  --color-focus: var(--color-effect);
  --color-separator: rgba(0, 0, 0, 0.1);
  --color-gray: #7f7f7f;
  --color-gray-light: #aaaaaa;
  --color-black: #333333;
  --color-white: #ffffff;
  /* font */
  --font-size-default: 16px;
  --font-family: "Noto Serif JP", sans-serif;
  --font-family-title: "BIZ UDPMincho", sans-serif;
  --font-family-en: "Monomakh", sans-serif;
  /* size */
  --header-height: 60px;
  --max-content-width: 1280px;
  --drawer-menu-width: 300px;
  /* round */
  --round-large: 10px;
  --round-medium: 6px;
  --round-small: 4px;
  /* others */
  --opacity-hover: 0.75;
  --opacity-disabled: 0.5;
  --box-shadow-default: 0 2px 3px 3px rgba(94, 20, 20, 0.15);
  --box-shadow-hover: 0 4px 6px 6px rgba(94, 20, 20, 0.15);
  --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;
}
body {
  font-size: 1rem;
  letter-spacing: 2px;
  line-height: 2em;
}
body.fixed {
  overflow: hidden;
}

/* DOM */
main {
  padding-bottom: 3rem;
}
main#top-main {
  margin-top: var(--header-height);
  padding-bottom: 0;
}
section {
  padding: 3rem 0;
}
section .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: 2rem;
  color: var(--color-primary);
  font-family: var(--font-family-title);
}
h2 {
  font-size: 1.625rem;
  color: var(--color-primary);
  font-family: var(--font-family-title);
}
h3 {
  font-size: 1.325rem;
  color: var(--color-primary-light);
  font-family: var(--font-family-title);
}
p + p {
  margin-top: 1.5rem;
}
.en {
  font-family: var(--font-family-en);
}


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

/* Button */
.button a,
.form-button {
  display: inline-block;
  text-decoration: none;
  padding: .75rem 3rem;
  user-select: none;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
  color: var(--color-on-primary);
  transition: all .5s ease-in-out;
  border: none;
  cursor: pointer;
}
.view-more-button {
  margin-top: 1rem;
}


/* header */
header {
  width: 100%;
  background-color: rgb(255 255 255 / 90%);
  display: flex;
  position: fixed;
  flex-wrap: nowrap;
  align-items: center;
  z-index: 999;
  left: 0;
  top: 0;
  font-size: 0;
  height: var(--header-height);
  line-height: 1;
  padding: .5rem;
}
header .header-logo a img {
  max-height: 30px;
  height: calc(var(--header-height) - 1rem);
  width: auto;
}
header .global-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;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  background-color: rgb(255 255 255 / 90%);
  opacity: 0;
  visibility: hidden;
  transition: .5s;
  z-index: 998;
}
#drawer-menu ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  height: 100%;
}
#drawer-menu ul li {
  list-style: none;
  border-bottom: 2px solid var(--color-primary);
}
#drawer-menu ul li a {
  text-decoration: none;
  display: block;
  font-weight: bold;
  color: var(--color-primary-dark);
  font-size: 1rem;
  line-height: 1.25rem;
  padding: .5rem;
}
#drawer-menu ul li a .ja {
  display: block;
}
#drawer-menu ul li a .en {
  font-size: .75em;
}
#drawer-menu.open {
  opacity: 1;
  visibility: visible;
}

/* #mv */
#mv {
  position: relative;
  width: 100%;
}
#mv .mv-img {
  position: relative;
  width: 100%;
  margin-left: auto;
}
#mv .mv-img::after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255, 50%);
}
#mv #mv-slider {
  position: relative;
  width: 85%;
  height: 80vh;
  object-fit: cover;
}
#mv #mv-slider {
  width: 100%;
}
#mv #mv-slider .vegas-timer-progress {
  background: var(--color-primary-darker);
}
#mv .mv-lead {
  width: 87.5%;
  position: relative;
  text-align: center;
  margin: -4.25rem auto 0;
}
#mv .mv-lead h1.h1-top {
  font-size: 2rem;
  margin-bottom: .5rem;
  color: var(--color-primary-dark);
  padding-top: .75rem;
}
#mv .mv-lead p {
  color: var(--color-primary);
}

/* #news */
#news .news-list .news-content {
  margin-bottom: 1rem;
}
#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;
  font-size: .75rem;
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: .25rem .5rem;
}
#news .news-list .news-content a dd {
  margin-left: 1rem;
}

/* 固定ページ */
#page-header {
  background-image: url(./assets/images/common/page-bg.webp?v=2025060603);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 250px;
  margin: var(--header-height) 0 0;
}
#page-header.about-page {
  background-image: url(./assets/images/common/page-bg-about.webp?v=2025060603);
}
#page-header.lawyers-page {
  background-image: url(./assets/images/common/page-bg-lawyers.webp?v=2025060603);
}
#page-header.services-page {
  background-image: url(./assets/images/common/page-bg-services.webp?v=2025060603);
}
#page-header.access-page {
  background-image: url(./assets/images/common/page-bg-access.webp?v=2025060603);
}
#page-header.recruit-page {
  background-image: url(./assets/images/common/page-bg-recruit.webp?v=2025060603);
}
#page-header.news-page {
  background-image: url(./assets/images/common/page-bg-news.webp?v=2025060603);
}
#page-header .wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
#page-header .wrapper h1 {
  color: var(--color-primary-dark);
  text-align: center;
  line-height: 1rem;
}
#page-header .wrapper h1 .ja {
  font-size: 1.5rem;
  display: block;
  letter-spacing: .2em;
  font-weight: bold;
}
#page-header .wrapper h1 .en {
  font-size: .5em;
  color: var(--color-primary);
}
.page-section {
  padding: 1rem 0 2rem;
}
.page-section .wrapper {
  padding: 0 1rem;
}
.page-section .wrapper h2,
.page-section .wrapper h3 {
  margin-bottom: 1rem;
  line-height: 1.5em;
}

/* 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;
}
.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);
  line-height: 1.4;
}

 /* 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: .25rem;
  border-bottom: 2px solid var(--color-primary);
}
.history dl dd {
  width: 100%;
  padding: .25rem;
  border-bottom: 2px solid var(--color-gray-light);
}

/* oficce-image */
.oficce-image {
  width: 100%;
  height: auto;
}
.swiper-wrapper {
  overflow: hidden;
}
.swiper-pagination {
  position: relative;
}
.swiper-button-next,
.swiper-button-prev {
  background: var(--color-primary);
  border-radius: 50%;
  width: 2.75rem;
  height: 2.75rem;
}
.swiper-button-next {
  right: -2%;
}
.swiper-button-prev {
  left: -2%;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  color: var(--color-on-primary-darker);
  font-size: 1rem;
}
.swiper-pagination-bullet-active {
  background: var(--color-primary);
}

/* list */
.list li {
  list-style: none;
  border-bottom: 1px solid var(--color-gray-light);
  padding: .25rem .25rem .5rem .25rem;
}
.list li + li {
  margin-top: .75rem;
}

/* 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: 1rem;
  border: 2px solid var(--color-primary-light);
  transition: all .5s;
}
.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 ruby {
  font-size: 1.25rem;
}
.lawyer-list ul li a .lawyer-box .name .name-en {
  display: block;
  font-size: .75em;
  color: var(--color-secondary);
}

/* Lawyer Page Person */
.lawyer-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  font-size: 1rem;
}
.lawyer-title .post {
  min-width: 5rem;
}
.lawyer-title .name ruby {
  font-size: 1.5rem;
}
.lawyer-title .name-en {
  display: block;
  font-size: .75em;
  color: var(--color-secondary);
}

/* .access-info */
.access-info dl dt {
  max-width: 12rem;
  width: 50%;
  background-repeat: no-repeat;
  background-position: left 8px;
  background-size: 1.5rem;
  padding-left: 1.75rem;
}
.access-info dl:first-child dt {
  background-image: url(./assets/images/access/h05.webp);
}
.access-info dl:nth-child(2) dt {
  background-image: url(./assets/images/access/h06.webp);
}
.access-info dl:nth-child(3) dt {
  background-image: url(./assets/images/access/g07.webp);
}
.access-info dl:nth-child(4) dt {
  background-image: url(./assets/images/access/i06.webp);
}
.access-info dl:nth-child(5) dt {
  background-image: url(./assets/images/access/i07.webp);
}
.access-info dl:last-child dt {
  background-image: url(./assets/images/access/jr.webp);
}

/* 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: block;
  width: 2.5rem;
  height: 2.5rem;
  line-height: 2.5rem;
  text-align: center;
  /* border-radius: 50%; */
  text-decoration: none;
  font-size: 1rem;
  overflow: hidden;
  margin: 0 0.25rem;
  color: var(--color-primary-darker);
}
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-white);
  box-shadow: none;
}
nav.pagination .nav-links span.dots {
  box-shadow: none;
}

/* News Single */
.time-tag {
  display: inline;
  font-size: .75rem;
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: .25rem .5rem;
}
.post-contents {
  margin-top: 1rem;
}
.button-2 {
  text-align: center;
}
.button-2 a {
  display: inline-block;
  padding: .5rem 1rem;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
  transition: all .5s;
  cursor: pointer;
}

/* 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);
}

/* 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 {
  /* margin-top: 2rem; */
  padding-top: 2rem;
  border-top: 1px solid var(--color-gray-light);
}
footer .footer-information {
  padding: 1rem;
}
footer .footer-information .footer-logo {
  width: 220px;
  margin: auto;
}
footer .footer-information .footer-logo a img {
  width: 100%;
}
footer .footer-information .footer-address {
  color: var(--color-primary-dark);
  margin-top: .5rem;
  font-size: .75rem;
}
footer .footer-information .footer-address p {
  margin: .5rem 0;
}
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-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;
  color: var(--color-primary);
  font-size: .75em;
}
footer .copyright {
  padding: .5rem;
  text-align: center;
  background-color: var(--color-primary);
}
footer .copyright p {
  font-size: .75em;
  color: var(--color-white);
}

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

  /* #mv */
  #mv .mv-img img {
    height: 580px;
  }
  #mv .mv-lead .en {
    font-size: 8vw;
    line-height: 9vw;
  }
  #mv .mv-lead {
    margin-top: -8rem;
  }

  /* #greeting */
  #greeting .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
  }
  #greeting .flex .images {
    margin-top: 0;
  }
  #greeting .flex .images img {
    min-width: 300px;
  }

  /* section common */
  section {
    padding: 4rem 0;
  }
  section .wrapper {
    padding: 0;
    width: 700px;
    margin: 0 auto;
  }

  /* Page */
  .page-section {
    padding: 1.5rem 0;
  }
  .page-section .wrapper {
    padding: 0;
    width: 700px;
    margin: auto;
  }

  /* Breadcrumb */
  .breadcrumbs.block {
    padding: 1rem 0 0;
    width: 700px;
    margin: auto;
  }

  /* 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%;
  }

  /* footer */
  footer .footer-information {
    padding: 0;
    width: 700px;
    margin: 0 auto 0;
  }
  footer .footer-menu {
    padding: 1rem 0;
    width: 700px;
    margin: 0 auto;
  }
  footer .footer-sub-menu {
    padding: 0 0 1rem 0;
    width: 700px;
    margin: 0 auto;
  }
}

/* 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: 1.1vw;
    --header-height: 80px;
  }

  /* text title */
  h2 {
    font-size: 2rem;
  }

  /* Button */
  .button a:hover,
  .form-button:hover {
    opacity: .5;
  }

  /* header */
  header {
    padding: 1rem;
  }
  header .header-logo {
    flex-grow: 1;
  }
  header .global-menu {
    display: block;
    margin-right: var(--header-height);
  }
  header .global-menu ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
  }
  header .global-menu ul li {
    list-style: none;
  }
  header .global-menu li a {
    font-size: .875rem;
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s ease;
  }
  header .global-menu li a:hover {
    color: var(--color-secondary);
  }
  header .global-menu li a span.en {
    display: block;
    text-align: center;
    font-size: .75em;
    padding-top: .25rem;
  }

  /* #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;
  }

  /* Drawer Menu */
  #drawer-menu ul {
    min-width: 514px;
    width: 60%;
    margin: auto;
  }

  /* #mv */
  #mv .mv-img {
    width: 65%;
    max-width: clamp(1000px, 60vw, 1980px);
    color: var(--color-white);
    background-color: var(--color-primary-pale);
    box-shadow: 0px 0px 20px 20px
  }
  #mv #mv-slider {
    width: auto;
  }
  #mv .mv-img::after {
    width: 100%;
  }
  #mv #mv-slider {
    height: calc(100vh - var(--header-height));
  }
  #mv .mv-lead {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: auto;
    text-align: left;
  }
  #mv .mv-lead .en {
    font-size: 5rem;
    line-height: normal;
  }
  #mv .mv-lead h1.h1-top {
    font-size: clamp(2rem, 10vw, 4rem);
    line-height: normal;
    margin-bottom: 1.5rem;
    padding-top: 1.25rem;
  }
  #mv .mv-lead p {
    font-size: 1.75rem;
  }
  #mv .mv-lead .sp {
    display: none;
  }

  /* section common */
  section .wrapper {
    min-width: 800px;
    width: 65%;
  }

  /* News */
  #news .news-list .news-content a dl {
    padding-bottom: 1rem;
  }
  #news .news-list .news-content a dt {
    padding: .5rem .75rem;
  }
  #news .news-list .news-content a dd {
    padding-top: .5rem;
  }

  /* Page */
  #page-header {
    height: 440px;
  }
  .page-section .wrapper {
    min-width: 800px;
    width: 60%;
  }

  /* Breadcrumb */
  .breadcrumbs.block {
    min-width: 800px;
    width: 60%;
  }

  /* Lawyers */
  .lawyer-list ul li {
    width: calc(33.33333% - 1.35rem);
  }
  .lawyer-list ul li a:hover {
    opacity: .5;
  }
  .lawyer-list ul li a .lawyer-box .name .name-en {
    font-size: .65em;
  }

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

  /* footer */
  footer .footer-flex {
    min-width: 800px;
    width: 70%;
    display: flex;
    margin: 0 auto 2rem;
    gap: 2rem;
  }
  footer .footer-information .footer-logo {
    margin: 0;
  }
  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);
  }
  footer .footer-sub-menu ul {
    justify-content: flex-end;
  }
}