@charset "UTF-8";

/*
 * トップページ専用レスポンシブ補正
 * 既存のPC表示を維持するため、すべての指定を899px以下に限定する。
 */
@media screen and (max-width: 959px) {
  body#hpb-template-03-03b-03 {
    min-width: 0;
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
  }

  body#hpb-template-03-03b-03 *,
  body#hpb-template-03-03b-03 *:before,
  body#hpb-template-03-03b-03 *:after {
    box-sizing: border-box;
  }

  body#hpb-template-03-03b-03 #hpb-container,
  body#hpb-template-03-03b-03 #hpb-header,
  body#hpb-template-03-03b-03 #hpb-inner,
  body#hpb-template-03-03b-03 #hpb-footer {
    width: 100%;
    max-width: 100%;
  }

  body#hpb-template-03-03b-03 #hpb-container {
    margin-top: 0;
  }

  body#hpb-template-03-03b-03 #hpb-header {
    height: auto;
    padding: 0 12px 12px;
  }

  body#hpb-template-03-03b-03 #hpb-header:after {
    content: "";
    display: block;
    clear: both;
  }

  body#hpb-template-03-03b-03 #hpb-headerMain {
    height: auto;
    min-height: 24px;
    overflow: visible;
  }

  body#hpb-template-03-03b-03 #hpb-headerMain h1 {
    padding-left: 0;
    overflow-wrap: anywhere;
  }

  body#hpb-template-03-03b-03 #hpb-headerLogo,
  body#hpb-template-03-03b-03 #hpb-headerExtra1 {
    width: auto;
    max-width: 100%;
    float: none;
    margin-right: 0;
  }

  body#hpb-template-03-03b-03 #hpb-headerLogo a {
    width: 100%;
    max-width: 400px;
    height: 52px;
    margin: 0 auto;
    background-position: center center;
    background-size: contain;
  }

  body#hpb-template-03-03b-03 #hpb-headerExtra1 {
    padding-top: 8px;
    text-align: center !important;
    overflow-wrap: anywhere;
  }

  body#hpb-template-03-03b-03 #hpb-inner {
    padding: 5px 12px 30px;
  }

  body#hpb-template-03-03b-03 #hpb-wrapper,
  body#hpb-template-03-03b-03 #hpb-main,
  body#hpb-template-03-03b-03 #hpb-nav,
  body#hpb-template-03-03b-03 #hpb-aside {
    width: 100%;
    max-width: 100%;
    float: none;
    margin-right: 0;
    margin-left: 0;
  }

  body#hpb-template-03-03b-03 #hpb-wrapper,
  body#hpb-template-03-03b-03 #hpb-main {
    min-height: 0;
  }

  body#hpb-template-03-03b-03 #hpb-title,
  body#hpb-template-03-03b-03.hpb-layoutset-01 #hpb-title {
    width: 100%;
    height: auto;
  }

  body#hpb-template-03-03b-03 #hpb-main {
    padding-top: 12px;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  body#hpb-template-03-03b-03 img {
    max-width: 100%;
    height: auto;
  }

  body#hpb-template-03-03b-03 #hpb-main img[align="right"] {
    display: block;
    float: none;
    margin: 0 auto 12px;
  }

  body#hpb-template-03-03b-03 iframe {
    width: 100%;
    max-width: 600px;
    height: min(450px, 75vw);
  }

  body#hpb-template-03-03b-03 #toppage-text > #toppage-news > table {
    width: 100%;
    max-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
  }

  body#hpb-template-03-03b-03 #toppage-text > #toppage-news > table th,
  body#hpb-template-03-03b-03 #toppage-text > #toppage-news > table td {
    width: auto !important;
    padding: 4px 2px;
    text-align: center;
    vertical-align: middle;
  }

  body#hpb-template-03-03b-03 #toppage-text > #toppage-news > table tr > :first-child {
    width: 126px !important;
  }

  body#hpb-template-03-03b-03 #toppage-text > #toppage-news > table tr > :not(:first-child) {
    width: calc((100% - 126px) / 7) !important;
  }

  body#hpb-template-03-03b-03 #toppage-text > #toppage-news > table tr:nth-child(2) > th:first-child,
  body#hpb-template-03-03b-03 #toppage-text > #toppage-news > table tr:nth-child(2) > th:first-child > font {
    font-size: 16px !important;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap;
  }

  body#hpb-template-03-03b-03 #hpb-nav {
    height: auto;
    overflow: visible;
    margin-top: 24px;
  }

  body#hpb-template-03-03b-03 #hpb-nav ul {
    height: auto;
    overflow: visible;
  }

  body#hpb-template-03-03b-03 #hpb-nav li {
    height: auto;
  }

  body#hpb-template-03-03b-03 #hpb-nav li a {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 8px;
    height: auto;
    min-height: 44px;
    line-height: 1.4;
    padding: 11px 12px 11px 36px;
    overflow: visible;
    background-color: #f7f7fa !important;
    background-image: none !important;
    background-size: auto;
    border-bottom: 1px solid #d9ddea;
  }

  body#hpb-template-03-03b-03 #hpb-nav li a:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #8b99d9;
    transform: translateY(-50%);
  }

  body#hpb-template-03-03b-03 #hpb-nav li span.ja {
    padding-right: 0;
    padding-left: 0;
  }

  body#hpb-template-03-03b-03 #hpb-nav li span.en {
    display: inline-block;
    margin-left: 0;
  }

  body#hpb-template-03-03b-03 #hpb-nav li a:hover,
  body#hpb-template-03-03b-03 #hpb-nav li a:active {
    background-color: #526bc5 !important;
  }

  body#hpb-template-03-03b-03 #hpb-nav li a:hover:before,
  body#hpb-template-03-03b-03 #hpb-nav li a:active:before {
    border-left-color: #ffffff;
  }

  body#hpb-template-03-03b-03 #hpb-nav #nav-access {
    margin-bottom: 0 !important;
  }

  body#hpb-template-03-03b-03 #hpb-aside {
    height: auto;
    margin-top: 24px !important;
    overflow: visible;
    padding: 12px;
  }

  body#hpb-template-03-03b-03 #banner,
  body#hpb-template-03-03b-03 #banner ul,
  body#hpb-template-03-03b-03 #banner li,
  body#hpb-template-03-03b-03 #banner li a {
    height: auto;
    overflow: visible;
  }

  body#hpb-template-03-03b-03 #banner li {
    width: 205px;
    max-width: 100%;
  }

  body#hpb-template-03-03b-03 #banner li a {
    min-height: 115px;
  }

  body#hpb-template-03-03b-03 #hpb-headerExtra1 a,
  body#hpb-template-03-03b-03 #hpb-aside > a,
  body#hpb-template-03-03b-03 #shopinfo a {
    display: inline-block;
    min-height: 44px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  body#hpb-template-03-03b-03 #hpb-aside a[href^="mailto:"],
  body#hpb-template-03-03b-03 #hpb-aside a[href^="tel:"] {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body#hpb-template-03-03b-03 #shopinfo a[style*="margin-left"] {
    margin-left: 0 !important;
  }

  body#hpb-template-03-03b-03 h1,
  body#hpb-template-03-03b-03 h2,
  body#hpb-template-03-03b-03 h3 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body#hpb-template-03-03b-03.hpb-layoutset-01 {
    background-image: none;
  }

  body#hpb-template-03-03b-03 #hpb-header {
    padding: 0 12px;
    background-color: #fff;
    background-image: none;
  }

  body#hpb-template-03-03b-03 #hpb-headerMain,
  body#hpb-template-03-03b-03 #hpb-headerLogo {
    background-color: #fff;
    background-image: none;
  }

  body#hpb-template-03-03b-03 #hpb-headerExtra1 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    padding: 8px 8px 0 0;
    box-sizing: border-box;
    border: 12px solid #8b99d9;
    box-shadow: -12px 0 #8b99d9, 12px 0 #8b99d9;
    background-color: #fff;
    background-image: none;
    text-align: right !important;
    line-height: 1.4;
  }

  body#hpb-template-03-03b-03 #hpb-headerExtra1 > span,
  body#hpb-template-03-03b-03 #hpb-headerExtra1 > font {
    display: block;
    max-width: 100%;
    margin: 0;
    background-color: #fff;
    background-image: none;
    text-align: right;
  }

  body#hpb-template-03-03b-03 #hpb-headerExtra1 > span:first-child {
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
  }

  body#hpb-template-03-03b-03 #hpb-headerExtra1 > span:first-child > b > font {
    font-size: 24px !important;
    white-space: nowrap;
  }

  body#hpb-template-03-03b-03 #hpb-headerExtra1 > font + font {
    margin-top: 2px;
  }

  body#hpb-template-03-03b-03 #hpb-headerExtra1 > font > br {
    display: none;
  }

  body#hpb-template-03-03b-03 #hpb-headerExtra1 a {
    max-width: 100%;
  }

  body#hpb-template-03-03b-03 #hpb-inner {
    padding: 0 12px 30px;
    background-color: #fff;
    background-image: none;
  }

  body#hpb-template-03-03b-03 #hpb-title {
    box-shadow: -12px 0 #8b99d9, 12px 0 #8b99d9;
    background-color: #8b99d9;
    background-image: none;
    line-height: 0;
  }

  body#hpb-template-03-03b-03 #hpb-title,
  body#hpb-template-03-03b-03 #hpb-main > p:first-of-type {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0;
    padding-left: 0;
  }
}

@media screen and (max-width: 480px) {
  body#hpb-template-03-03b-03 .director-request-mobile-break {
    display: block !important;
  }

  body#hpb-template-03-03b-03 #hpb-headerExtra1 > span:first-child > b > font {
    font-size: clamp(21px, 5.5vw, 24px) !important;
    letter-spacing: -0.04em;
  }

  body#hpb-template-03-03b-03 #hpb-main {
    padding-top: 8px;
  }

  body#hpb-template-03-03b-03 #hpb-main > p:first-of-type {
    margin-top: 0;
    margin-bottom: 16px;
  }

  body#hpb-template-03-03b-03 #toppage-text > #toppage-news > h3:first-child > span.ja {
    padding-top: 8px;
  }

  body#hpb-template-03-03b-03 #toppage-text > #toppage-news > h3.hpb-parts-hl-02 {
    margin-bottom: 12px;
    line-height: 1.25;
  }

  body#hpb-template-03-03b-03 #toppage-text > #toppage-news > h3.hpb-parts-hl-02 font {
    font-size: 23px !important;
    line-height: 1.25;
    white-space: nowrap;
  }

  body#hpb-template-03-03b-03 #toppage-text > #toppage-news > h3.hpb-parts-hl-02 + br {
    display: none;
  }

  body#hpb-template-03-03b-03 #toppage-text > #toppage-news > font[size="+3"] {
    font-size: 160% !important;
  }

  body#hpb-template-03-03b-03 #toppage-text > h3.hpb-parts-hl-02 {
    margin-bottom: 10px;
    line-height: 1.25;
  }

  body#hpb-template-03-03b-03 #toppage-text > h3.hpb-parts-hl-02 > font {
    font-size: 25px !important;
    line-height: 1.25;
  }

  body#hpb-template-03-03b-03 #shopinfo > p:first-of-type > img[src="P50500761.jpg"] + br,
  body#hpb-template-03-03b-03 #shopinfo > p:first-of-type > img[src="P50500761.jpg"] + br + br {
    display: none;
  }

  body#hpb-template-03-03b-03 #shopinfo > p:first-of-type > font[color="#8b99d9"][size="+1"] {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  body#hpb-template-03-03b-03 #shopinfo > p:first-of-type > b > font[color="#8b99d9"][size="+1"] {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  body#hpb-template-03-03b-03 #shopinfo > p:first-of-type > font[color="#8b99d9"][size="+1"] {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-left: 0;
    text-align: center;
  }

  body#hpb-template-03-03b-03 #shopinfo > p:first-of-type > font[color="#8b99d9"][size="+1"] > b {
    position: relative;
    left: -27px;
    display: block;
    width: 100%;
    padding-left: 0;
    text-align: center;
    text-indent: 12px;
  }

  body#hpb-template-03-03b-03 #shopinfo > p:first-of-type > b > font[size="+1"]:not([color]) {
    position: relative;
    left: -12px;
    display: block;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-left: 0;
    text-align: center;
    text-indent: 24px;
  }

  body#hpb-template-03-03b-03 #shopinfo > p:first-of-type > b > font[color="#8b99d9"][size="+1"] {
    position: relative;
    left: -33px;
    display: block;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-left: 0;
    text-align: center;
    text-indent: 0;
  }

  body#hpb-template-03-03b-03 #shopinfo > p:first-of-type > b[style*="font-size : medium"] {
    display: block;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-left: 0;
    text-align: center;
    text-indent: 0;
  }

  body#hpb-template-03-03b-03 #shopinfo > p:nth-of-type(2) > font[color="#333333"][size="+1"] {
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
  }

  body#hpb-template-03-03b-03 #shopinfo > p:nth-of-type(2) > font[color="#333333"][size="+1"] > br {
    display: none;
  }

  body#hpb-template-03-03b-03 #toppage-text > h3[class="#304496"] {
    margin-bottom: 10px;
    line-height: 1.25;
  }

  body#hpb-template-03-03b-03 #toppage-text > h3[class="#304496"] > font {
    font-size: 27px !important;
    line-height: 1.25;
  }

  body#hpb-template-03-03b-03 #toppage-text > h3[class="#304496"] > font > br {
    display: none;
  }

  body#hpb-template-03-03b-03 #toppage-text > h3[class="#304496"] + p,
  body#hpb-template-03-03b-03 #toppage-text > h3[class="#304496"] + p > span {
    line-height: 1.65 !important;
  }
}

/* Director request phase 2: minimal rebuild */

.director-request-mobile-catch-break {
  display: none;
}

@media screen and (max-width: 959px) {
  body#hpb-template-03-03b-03 #hpb-headerExtra1 {
    border: 0 !important;
    border-width: 0 !important;
    box-shadow: none !important;
    background-color: #fff !important;
    background-image: none !important;
  }

  .director-request-mobile-decoration {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  #hpb-headerMain h1 {
    padding-top: 20px;
  }
}

/* TOP mobile navigation relocation */

@media screen and (max-width: 959px) {
  body#hpb-template-03-03b-03 #hpb-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "nav"
      "main"
      "aside";
  }

  body#hpb-template-03-03b-03 #hpb-wrapper {
    display: contents;
  }

  body#hpb-template-03-03b-03 #hpb-title {
    grid-area: title;
    min-width: 0;
  }

  body#hpb-template-03-03b-03 #hpb-nav {
    grid-area: nav;
    min-width: 0;
    margin-top: 8px;
  }

  body#hpb-template-03-03b-03 #hpb-main {
    grid-area: main;
    min-width: 0;
  }

  body#hpb-template-03-03b-03 #hpb-aside {
    grid-area: aside;
    min-width: 0;
  }
}

/* TOP responsive display adjustments */

@media screen and (max-width: 959px) {
  body#hpb-template-03-03b-03 .director-request-mobile-access-line {
    display: block;
    white-space: nowrap;
  }

  body#hpb-template-03-03b-03 #shopinfo {
    padding-right: 12px;
    padding-left: 12px;
  }

  body#hpb-template-03-03b-03 #shopinfo > p {
    margin: 0 auto 20px;
    padding-right: 8px;
    padding-left: 8px;
    text-align: center !important;
    line-height: 1.65;
  }

  body#hpb-template-03-03b-03 #shopinfo > p:first-of-type > img[src="P50500761.jpg"] {
    display: block;
    margin: 0 auto 20px;
  }
}

@media screen and (max-width: 481px) {
  body#hpb-template-03-03b-03 .director-request-mobile-catch-break {
    display: block;
  }
}

@media screen and (min-width: 481px) and (max-width: 959px) {
  body#hpb-template-03-03b-03 #toppage-text > h3[class="#304496"] {
    line-height: 1.25;
    padding-bottom: 6px;
  }
}

@media screen and (min-width: 481px) {
  body#hpb-template-03-03b-03 #toppage-text > #toppage-news > h3:first-child > span.en {
    margin-bottom: 6px;
  }
}
