
/* ========================================
   Common CSS
   Theme: ak-design
   Mobile First
======================================== */

/* ----------------------------------------
   Variables
---------------------------------------- */

:root {
  --font-main: "Zen Kaku Gothic New", sans-serif;

  --font-weight-regular: 400;
  --font-weight-medium: 500;

  --color-text: #222;
  --color-background: #fff;

  --content-width: 1300px;
  --shop-width: 1500px;
  --text-width: 800px;

  --side-padding: 20px;
}

/* ----------------------------------------
   Base
---------------------------------------- */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  line-height: 1.8;
  overflow-wrap: anywhere;
}

main{
	position:relative;
	width:100%;
	padding:0;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
}
.main-content{
	position: relative;
	width: 100%;
	height: auto;
	margin:0;
	padding:0;
}


p {
 padding-bottom:20px;
}
@media screen and (min-width: 768px) {
p {
 padding-bottom:30px;
}
}

a {
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  a:hover {
    opacity: 0.7;
  }
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

button {
  border: 0;
  background: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ----------------------------------------
   Layout
---------------------------------------- */

.l-container {
  width: 100%;
  max-width: calc(
    var(--content-width) + var(--side-padding) * 2
  );
  margin-inline: auto;
  padding-inline: var(--side-padding);
}

.l-container--shop {
  max-width: calc(
    var(--shop-width) + var(--side-padding) * 2
  );
}

.l-container--text {
  max-width: calc(
    var(--text-width) + var(--side-padding) * 2
  );
}

/* ----------------------------------------
   Utility
---------------------------------------- */

.u-sp-only {
  display: block;
}

.u-tb-only,
.u-pc-only {
  display: none;
}

/* ----------------------------------------
   Tablet: 768px - 1299px
---------------------------------------- */

@media screen and (min-width: 768px) {

  :root {
    --side-padding: 40px;
  }

  body {
    font-size: 15px;
  }

  .u-sp-only {
    display: none;
  }

  .u-tb-only {
    display: block;
  }
}

/* ----------------------------------------
   PC: 1300px and above
---------------------------------------- */

@media screen and (min-width: 1300px) {

  :root {
    --side-padding: 40px;
  }

  body {
    font-size: 16px;
  }

  .u-tb-only {
    display: none;
  }

  .u-pc-only {
    display: block;
  }
}

/* ----------------------------------------
   Reduced Motion
---------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  a {
    transition: none;
  }
}


/* ========================================
   background-color
======================================== */

.back-wt{
	background-color: #ffffff;
}
.back-bk{
	background-color: #2A2B2B;
}
.back-beige{
	background-color: #f8f6f2;
}
.back-gray{
	background-color: #fbf8f9;	
}
.back-green{
	background-color: #caded8;	
}

.back-beige-wt{
	background-color: #f8f6f2;
}
.back-wt-beige{
	background-color: #ffffff;
}
@media screen and (min-width: 768px) {
.back-beige-wt{
	background-color: #ffffff;
}
.back-wt-beige{
	background-color: #f8f6f2;
}
}



/* ========================================
   LINE
======================================== */

.line-bk{
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #000;
	margin-left: auto;
	margin-right: auto;
}
.line-gray{
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #999;
	margin-left: auto;
	margin-right: auto;
}
.line-wt{
	border-top-width: 2px;
	border-top-style: solid;
	border-top-color: #fff;
	margin-left: auto;
	margin-right: auto;
}
.line-ten{
	border-top-width: 1px;
	border-top-style: dashed;
	border-top-color: #666666;
	margin-left: auto;
	margin-right: auto;
}
/*************************************
/* SPACE
*************************************/

.space-big{
	height:50px;
}
.space{
	height:30px;
}
.space-small{
	height:15px;
}
.space-mini{
	height:10px;
}
.space-puti{
	height:5px;
}

@media screen and (min-width: 1300px) {
.space-big{
	height:100px;
}
.space{
	height:40px;
}
.space-small{
	height:20px;
}
.space-mini{
	height:15px;
}
.space-puti{
	height:7px;
}
}

/*************************************
/* 幅
*************************************/

.back-max-full{
	padding-left:25px;
	padding-right:25px;
}
@media screen and (min-width: 768px) {
.back-max-full{
	padding-left:40px;
	padding-right:40px;
}
}
@media screen and (min-width: 1300px) {
.back-max-full{
	padding-left:50px;
	padding-right:50px;
}
}

.back-max-full-right {
  margin-left: max(20px, calc((100% - 1300px) / 2));
  margin-right: 0;
}

.back-max-md{
	max-width:1350px;
	margin-left:auto;
	margin-right:auto;
	padding-left:25px;
	padding-right:25px;
}
@media screen and (min-width: 768px) {
.back-max-md{
	max-width:1380px;
	margin-left:auto;
	margin-right:auto;
	padding-left:40px;
	padding-right:40px;
}
}
@media screen and (min-width: 1300px) {
.back-max-md{
	max-width:1400px;
	margin-left:auto;
	margin-right:auto;
	padding-left:50px;
	padding-right:50px;
}
}

.back-max-small{
	max-width:600px;
	margin-left:auto;
	margin-right:auto;
	padding-left:30px;
	padding-right:30px;
}
@media screen and (min-width: 768px) {
.back-max-small{
	max-width:800px;
	margin-left:auto;
	margin-right:auto;
	padding-left:50px;
	padding-right:50px;
}
}
@media screen and (min-width: 1300px) {
.back-max-small{
	max-width:1000px;
	margin-left:auto;
	margin-right:auto;
	padding-left:50px;
	padding-right:50px;
}
}
.back-max1300{
	max-width:1300px;
	margin-left:auto;
	margin-right:auto;
}
@media screen and (min-width: 768px) {
.back-max1300{
	max-width:1300px;
	margin-left:auto;
	margin-right:auto;
}
}
@media screen and (min-width: 1300px) {
.back-max1300{
	max-width:1300px;
	margin-left:auto;
	margin-right:auto;
}
}

/*************************************
/* 余白
*************************************/

.outline{
	padding-top: 15px;
	padding-right: 30px;
	padding-bottom: 15px;
	padding-left: 30px;
	flex-grow:1;
}
.outline p{
	flex-grow:1;
}
.outline-big{
	padding-top: 25px;
	padding-right: 25px;
	padding-bottom: 25px;
	padding-left: 25px;
	flex-grow:1;
}
.outline-big-pc{
	padding-top: 25px;
	padding-right: 0px;
	padding-bottom: 25px;
	padding-left: 0px;
	flex-grow:1;
}
.outline-small{
	padding-top: 15px;
	padding-right: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
	flex-grow:1;
}
.outline-breadcrumb{
	padding-top: 15px;
	padding-right: 30px;
	padding-bottom: 15px;
	padding-left: 30px;
	flex-grow:1;
}
.outline-info{
	padding-right: 30px;
	padding-left: 30px;
	flex-grow:1;
}
.outline-pc{
	padding-top: 15px;
	padding-right: 0px;
	padding-bottom: 15px;
	padding-left: 0px;
	flex-grow:1;
}
.outline-line{
	border: 1px solid #6d323e;	
}

@media screen and (min-width: 768px) {
.outline{
	padding:30px;
	flex-grow:1;
}
.outline-info{
	padding-top: 0px;
	padding-right: 30px;
	padding-bottom: 0px;
	padding-left: 30px;
	flex-grow:1;
}
.outline-big{
	padding-top: 40px;
	padding-right: 40px;
	padding-bottom: 40px;
	padding-left: 40px;
	flex-grow:1;
}
.outline-big-pc{
	padding-top: 40px;
	padding-right: 0px;
	padding-bottom: 40px;
	padding-left: 0px;
	flex-grow:1;
}
.outline-small{
	padding-top: 15px;
	padding-right: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
}
.outline-breadcrumb{
	padding-top: 0px;
	padding-right: 30px;
	padding-bottom: 0px;
	padding-left: 30px;
	flex-grow:1;
}
.outline-pc{
	padding:30px;
	flex-grow:1;
}
}

@media screen and (min-width: 1300px) {

.outline-info{
	padding-top: 0px;
	padding-right: 30px;
	padding-bottom: 0px;
	padding-left: 30px;
	flex-grow:1;
}
.outline-big{
	padding-top: 100px;
	padding-right: 100px;
	padding-bottom: 100px;
	padding-left: 100px;
	flex-grow:1;
}
.outline-big-pc{
	padding-top: 100px;
	padding-right: 100px;
	padding-bottom: 100px;
	padding-left: 100px;
	flex-grow:1;
}
.outline-breadcrumb{
	padding-top: 0px;
	padding-right: 60px;
	padding-bottom: 0px;
	padding-left: 60px;
	flex-grow:1;
}
}

/* ========================================
  fade
======================================== */

.fade {
	filter:alpha(opacity=0); /* IE 6,7*/
	-ms-filter: "alpha(opacity=0)"; /* IE 8,9 */
	-moz-opacity:0; /* FF , Netscape */
	-khtml-opacity: 0; /* Safari 1.x */
	opacity:0;
	zoom:1; /*IE*/
	-webkit-transform: translateY(30px);
	transform: translateY(30px);
	-webkit-transition: opacity 1.2s, transform 1.2s;
	transition: opacity 1.2s, transform 1.2s;
}
.fade.active {
	filter:alpha(opacity=100); /* IE 6,7*/
	-ms-filter: "alpha(opacity=100)"; /* IE 8,9 */
	-moz-opacity:1; /* FF , Netscape */
	-khtml-opacity: 1; /* Safari 1.x */
	opacity:1;
	zoom:1; /*IE*/
	-webkit-transform: translateY(0px);
	transform: translateY(0px);
}
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.fade {
	opacity:1;
}
}

/* ========================================
   ボタン
======================================== */

.btn01 {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 350px;
  margin: auto auto 0;
  padding: 9px 35px;
  background-color:#FFF;
  border: 1px solid #222;
  border-radius: 50px;
  transform: translateY(10px);
}
.btn01 span {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}
/* ========================================
   Button Variation
======================================== */

.btn01--dark {
  background-color: #231815;
  border-color: #231815;
  color: #fff;
}

@media (hover: hover) {

  .btn01--dark:hover {
    background-color: #444;
    border-color: #444;
  }

}


/* ========================================
   Header - Mobile First
======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: transparent;
  color: #222;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.site-header--visual {
  background: transparent;
  color: #fff;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	min-height: 76px;
	padding-top: 15px;
	padding-right: 20px;
	padding-bottom: 15px;
	padding-left: 20px;
}

.site-header__logo {
  display: block;
  flex-shrink: 0;
  width: 130px;
}

.site-header__logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0);
}

.site-header--visual .site-header__logo img {
  filter: none;
}

/* PC navigation */

.header-nav {
  display: none;
}

.header-nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.header-nav__list a {

  white-space: nowrap;
}

.header-nav__separator {
  width: 1px;
  height: 15px;
  background: currentColor;
  opacity: 0.7;
  margin-inline: 5px;
}

/* Header buttons */

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header-button {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid currentColor;
  border-radius: 100px;

  line-height: 1.2;
  white-space: nowrap;
}

.header-button span {
  font-size: 16px;
}

/* SVG icons in header buttons */
.header-button img {
  display: block;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.menu-toggle__icon {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.site-header.is-menu-open .menu-toggle__icon {

  transform: rotate(45deg);

}

.site-header:not(.site-header--visual) .header-button img,
.site-header.is-menu-open .header-button img,
.site-header--visual.is-scrolled .header-button img {
  filter: brightness(0);
}

/* Menu button */

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: #fff;
  color: #222;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.08);

  line-height: 1;
  white-space: nowrap;
  transition: background 0.3s ease;
}

.menu-toggle__symbol {
  display: inline-block;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s ease;
}

.site-header.is-menu-open .menu-toggle__symbol {
  transform: rotate(45deg);
}

/* ========================================
   Full Menu
======================================== */

.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: calc(100dvh - 76px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  background: #fff;
  color: #222;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 15px 30px rgb(0 0 0 / 0.08);
}

.site-header.is-menu-open .site-nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__inner {
  max-width: 1300px;
  margin-inline: auto;
  padding: 30px 20px 45px;
}

.site-nav__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.site-nav__list a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}

.site-nav__en {

  line-height: 1.5;
}

.site-nav__ja {

  line-height: 1.5;
}

/* Header while menu is open */

.site-header.is-menu-open {
  background: #fff;
  color: #222;
}

.site-header.is-menu-open .site-header__logo img {
  filter: brightness(0);
}


/* ========================================
   Header - Scroll
======================================== */

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.4);
  color: #222;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.site-header.is-scrolled .site-header__logo img {
  filter: brightness(0);
}

.site-header.is-menu-open {
  background: #fff;
  color: #222;
}


/* ========================================
   Tablet: 768px -
======================================== */

@media screen and (min-width: 768px) {

  .site-header__inner {
    padding-inline: 40px;
  }

  .site-header__logo {
    width: 150px;
  }

  .site-nav__inner {
    padding: 45px 40px 60px;
  }

  .site-nav__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 35px;
  }
}

/* ========================================
   Header: 1300px -
   ボタンだけ表示
======================================== */

@media screen and (min-width: 1300px) {

  .site-header__inner {
    min-height: 95px;
	padding-top: 20px;
	padding-right: 35px;
	padding-bottom: 20px;
	padding-left: 47px;
  }

  .site-header__logo {
    width: 180px;
  }

  .site-header__actions {
    gap: 12px;
  }

  .header-nav {
    display: none;
  }

  .header-button {
    display: none;
  }

  .menu-toggle {
    display: flex;
    padding-inline: 20px;

  }

  .site-nav__inner {
    padding: 55px 60px 70px;
  }

  .site-nav__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 0 45px;
  }
}

/* ========================================
   Header: 1500px -
   PCフルナビゲーション
======================================== */

@media screen and (min-width: 1500px) {

  .header-nav {
    display: block;
    margin-left: auto;
  }

  .header-nav__list {
    gap: clamp(12px, 1.3vw, 26px);
  }

  .site-header__actions {
    gap: 12px;
    margin-left: 15px;
  }

  .header-button {
    display: inline-flex;
    padding-inline: 17px;

  }

  .menu-toggle {
    display: flex;
  }
}


@media (prefers-reduced-motion: reduce) {
  .site-nav,
  .menu-toggle__symbol {
    transition: none;
  }
}


/* ========================================
   Footer
======================================== */

.site-footer {
	padding-top: 55px;
	border-top-width: 3px;
	border-top-style: solid;
	border-top-color: #FFFFFF;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.site-footer__logo {
  display: block;
  width: 200px;
}

.site-footer__logo img {
  width: 100%;
  height: auto;
  filter: brightness(0);
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.site-footer__social img {
  max-width: 20px;
  max-height: 20px;
  object-fit: contain;
}

.site-footer__details {
  margin-top: 25px;

  line-height: 1.8;
}

.footer-nav__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.footer-nav__list a {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #bbb;
}

.site-footer__store {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 18px;
    border: 1px solid #222;
    border-radius: 50px;
    background-color: #fff;
}

.site-footer__store-label {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
}

.site-footer__store .nav-en {
    white-space: nowrap;
}

.site-footer__bottom {
  margin-top: 55px;
  padding-bottom: 20px;
}

.footer-policy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}

.footer-policy a {
  font-size: 12px;
}

.site-footer__copyright {
  margin-top: 30px;
  font-size: 9px;
  text-align: center;
}



/* ========================================
   Tablet: 768px -
======================================== */

@media screen and (min-width: 768px) {

  .site-footer__inner {
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
  }
  .site-footer__brand {
    align-items: flex-start;
    text-align: left;
}

  .site-footer__right {
    grid-column: 2;
  }
}

/* ========================================
   PC: 1300px -
======================================== */

@media screen and (min-width: 1300px) {

  .site-footer {
    padding-top: 70px;
  }

  .site-footer__inner {
    grid-template-columns: 1.2fr 1.4fr 1fr;
    gap: 70px;
  }

  .site-footer__right {
    grid-column: auto;
  }

  .footer-nav__list {
    grid-template-columns: 1fr;
  }

  .footer-nav__list a {
  	grid-template-columns: 140px 1fr;
    padding: 7px 0;
  }

  .site-footer__bottom {
    margin-top: 65px;
  }
  .site-footer__store {
    padding: 18px 25px;
}
}
/* フッターナビ：TB・SPは英語と日本語を縦に配置 */

@media screen and (max-width: 1299px) {

    .footer-nav a {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .footer-nav .nav-ja {
        white-space: nowrap;
    }

}

/* ========================================
   Page Top
======================================== */

.page-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 90;
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-top img {
    display: block;
    width: 100%;
    height: auto;
}

.page-top.is-visible {
    opacity: 1;
    visibility: visible;
}

@media (hover: hover) {
    .page-top.is-visible:hover {
        opacity: 0.7;
    }
}

/* TB */

@media screen and (min-width: 768px) {
    .page-top {
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
}

/* PC */

@media screen and (min-width: 1300px) {
    .page-top {
        right: 25px;
        bottom: 25px;
        width: 50px;
        height: 50px;
    }
}

/* ========================================
   Shared Section Heading
   Typography is managed in typography.css.
======================================== */
.section-heading {
  position: relative;
  width: 100%;
}

.section-heading__title {
  position: relative;
  z-index: 2;
  width: max-content;
  max-width: 100%;
  top:25px;
  left:25px;
  padding-bottom:30px;
}

.section-heading__en {
  margin: 0;
}

.section-heading__ja {
	writing-mode: horizontal-tb;
	margin-top: 0px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
}
@media screen and (min-width: 768px) {
.section-heading__title {
  position: relative;
  z-index: 2;
  width: max-content;
  max-width: 100%;
  top:30px;
  left:40px;
  padding-bottom:30px;
}
}

@media screen and (min-width: 1300px) {
.section-heading__title {
  position: relative;
  z-index: 2;
  width: max-content;
  max-width: 100%;
  top:30px;
  left:50px;
  padding-bottom:0px;
}
}


@media screen and (min-width: 1500px) {
  .section-heading__title {
    position: absolute;
    top: 30px;
    left: 35px;
    margin: 0;
  }

  .section-heading__en {

    padding-left: 12px;

  }

  .section-heading__ja {
    margin-top: 19px;
    writing-mode: vertical-rl;
  }
}

/* ========================================
   上下ライン付き見出し
======================================== */

.heading-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid #888;
  border-bottom: 1px solid #888;
  text-align: center;
}

.heading-line__icon {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.heading-line__text {
  display: inline-block;
}

/* ========================================
   Contact Section
======================================== */

.contact-section {
	position: relative;
	background-image: url('../images/common/contact_back.jpg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	padding-right: 0;
	padding-left: 0;
}


/* コンテンツ */

.contact-section__inner {
  position: relative;
  z-index: 1;
}

/* リード文 */

.contact-section__intro {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.contact-section__intro h3 {
  margin-bottom: 20px;
}

.contact-section__intro p {
  line-height: 2;
}


/* お問い合わせカード一覧：SPは1列 */
.contact-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1300px;
  margin: 0 auto;
}

/* TB・PCは3列 */
@media screen and (min-width: 768px) {

  .contact-section__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

/* カード */

.contact-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px;
  background-color: #fff;
}

.contact-card__image {
  width: 100%;
  aspect-ratio: 760 / 411;
  overflow: hidden;
}

.contact-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 10px 15px;
}
.contact-card__body p{
padding-bottom:5px;}
.contact-card__en {
  margin: 0 0 0px;
  font-size: 14px;
  font-weight: 500;
}

.contact-card__title {
  margin: 0 0 10px;
}

.contact-card__description {
  margin: 0 0 5px;
  line-height: 1.8;
}

.contact-card__button {
  margin-top: auto;
  font-size: 14px;
}

/* ========================================
   TB 768px〜1299px
======================================== */

@media screen and (min-width: 768px) {

  .contact-section__intro {
    margin-bottom: 50px;
  }

}

/* ========================================
   PC 1300px〜
======================================== */

@media screen and (min-width: 1300px) {


  .contact-section__intro {
    margin-bottom: 60px;
  }

}

/* ========================================
   Header - Button Color
======================================== */

.site-header:not(.site-header--visual) .header-button,
.site-header.is-scrolled .header-button,
.site-header.is-menu-open .header-button {
  background-color: rgba(255, 255, 255, 0.3);
  color: #222;
}

.site-header:not(.site-header--visual) .menu-toggle,
.site-header.is-scrolled .menu-toggle,
.site-header.is-menu-open .menu-toggle {
  background-color: #222;
  color: #fff;
  box-shadow: none;
}

.site-header:not(.site-header--visual) .menu-toggle__icon,
.site-header.is-scrolled .menu-toggle__icon,
.site-header.is-menu-open .menu-toggle__icon {
  filter: brightness(0) invert(1);
}


/* WordPress キャプション付き画像のレスポンシブ対応
---------------------------------------- */
.wp-caption {
    max-width: 100%;
    box-sizing: border-box;
}

.wp-caption img {
    max-width: 100%;
    height: auto;
}

.wp-caption-text {
    max-width: 100%;
    overflow-wrap: break-word;
}


/* Breadcrumb
---------------------------------------- */

.blog-breadcrumb,
.works-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
    font-size: 12px;
}

.blog-breadcrumb a,
.works-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-breadcrumb .blog-folder,
.works-breadcrumb .blog-folder {
    width: 11px;
    height: 9px;
}

/* ========================================
   404 Page
======================================== */

.error-404-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 100px 20px;
    text-align: center;
}

.error-404-label {
    font-size: 14px;
    margin-bottom: 24px;
}

.error-404-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 20px;
}

.error-404-text {
    font-size: 14px;
    line-height: 1.8;
}

.error-404-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-top: 40px;
    padding: 12px 28px;
    border: 1px solid currentColor;
    border-radius: 50px;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.error-404-link:hover {
    opacity: 0.6;
}

/* TB */
@media screen and (min-width: 768px) {
    .error-404-inner {
        padding: 140px 40px;
    }

    .error-404-title {
        font-size: 26px;
    }
}

/* PC */
@media screen and (min-width: 1300px) {
    .error-404-inner {
        padding: 180px 40px;
    }
}


/* ==========================================================
   杢にゃん 吹き出し（ak-design story 用）
   - ak-d-story.com（SWELL）の吹き出しの見た目に合わせています
   - テーマの style.css の末尾、または「追加CSS」に貼り付けてください
   - クラス名はすべて moku- で始まるので、既存のCSSとはぶつかりません
   ========================================================== */

.moku-balloon {
  display: flex;
  align-items: flex-start;
  margin: 2em 0;
}

/* --- アイコン（左側） --- */
.moku-balloon__icon {
  flex: 0 0 80px;
  width: 80px;
  text-align: center;
}

.moku-balloon__icon img {
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  border: 2px solid #ececec;
  border-radius: 50%;
  object-fit: cover;
}

.moku-balloon__name {
  display: block;
  padding-top: 4px;
  font-size: 10px;
  line-height: 1;
  color: #1f1f1f;
}

/* --- 吹き出し本体 --- */
.moku-balloon__body {
  flex: 0 1 auto;
  min-width: 0;
  padding: 8px 24px;
}
.moku-balloon__text {
  position: relative;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  padding: 17px;
  border: 1px solid #cdbfaf;
  border-radius: 8px;
  background: #f8f5e6;
  color: #333;
  overflow-wrap: anywhere;
}


.moku-balloon__text p {
  margin: 0;
}

.moku-balloon__text p + p {
  margin-top: 0.8em;
}

/* しっぽ（外側の線） */
.moku-balloon__text::after {
  content: "";
  position: absolute;
  top: 16px;
  left: -10px;
  border-style: solid;
  border-width: 8px 10px 8px 0;
  border-color: transparent #cdbfaf transparent transparent;
}

/* しっぽ（内側の塗り） */
.moku-balloon__text::before {
  content: "";
  position: absolute;
  top: 16px;
  left: -8px;
  z-index: 1;
  border-style: solid;
  border-width: 8px 10px 8px 0;
  border-color: transparent #f8f5e6 transparent transparent;
}

/* --- 右向き（アイコンを右側に置く場合） --- */
.moku-balloon--right {
  flex-direction: row;
  justify-content: flex-end;
}

.moku-balloon--right .moku-balloon__text::after {
  left: auto;
  right: -10px;
  border-width: 8px 0 8px 10px;
  border-color: transparent transparent transparent #cdbfaf;
}

.moku-balloon--right .moku-balloon__text::before {
  left: auto;
  right: -8px;
  border-width: 8px 0 8px 10px;
  border-color: transparent transparent transparent #f8f5e6;
}

/* --- スマートフォン --- */
@media (max-width: 600px) {
  .moku-balloon__icon {
    flex-basis: 60px;
    width: 60px;
  }

  .moku-balloon__icon img {
    width: 60px;
    height: 60px;
  }

  .moku-balloon__body {
    padding: 4px 0 4px 16px;
  }

  .moku-balloon--right .moku-balloon__body {
    padding: 4px 16px 4px 0;
  }

  .moku-balloon__text {
    padding: 12px 14px;
  }
}



/*************************************
/* PC/SP切り替え
*************************************/
/* ========================================
   Responsive Visibility
   PC・TB・SP切り替え
======================================== */

/* SPのみ表示 */
@media screen and (min-width: 768px) {
  .sp-only {
    display: none !important;
  }
}

/* TBのみ表示 */
@media screen and (max-width: 767px),
       screen and (min-width: 1300px) {
  .tb-only {
    display: none !important;
  }
}

/* PCのみ表示 */
@media screen and (max-width: 1299px) {
  .pc-only {
    display: none !important;
  }
}

/* SP・TBのみ表示 */
@media screen and (min-width: 1300px) {
  .sptb-only {
    display: none !important;
  }
}

/* TB・PCのみ表示 */
@media screen and (max-width: 767px) {
  .tbpc-only {
    display: none !important;
  }
}

/* SP・PCのみ表示 */
@media screen and (min-width: 768px) and (max-width: 1299px) {
  .sppc-only {
    display: none !important;
  }
}