/*
Theme Name: Taniguchi Clinic
Theme URI: https://example.com/
Author: あなたの名前
Author URI: https://example.com/
Description: 谷口クリニック用のオリジナルWordPressテーマ
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: taniguchi-clinic
*/

:root {
  --wide-width: 1430px;
  --thin-width: 1430px;
}

html {
  margin-top: 0px !important;
}

.br-pc {
  display: block;
}
.br-sp {
  display: none;
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
}

h1 {
  font-size: 4vw;
  color: #fff;
  margin-bottom: 40px;
  text-align: left;
}

/* access-section */
.access-section {
  background-color: #fff;
  padding: 0;
}

.access-bg {
  margin: 0 auto;
  text-align: center;
  background-color: #f4f1ef;
}

.access-title {
  font-size: 28px;
  color: #828282;
  letter-spacing: 0.1em;
  margin: 60px 0 25px;
}

.access-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 1200px;
  margin: auto;
}

.access-map-wrapper {
  background-color: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.06);
  width: 100%;
  height: 320px;
  max-width: 840px;
}

.access-map-embed {
  width: 100%;
  height: inherit;
}

.access-map-embed iframe {
  width: 100%;
  height: inherit;
}

.access-text-grid {
  display: flex;
  flex-wrap: wrap;
  width: 70%;
  margin: 0px 0 80px;
  gap: 200px;
}
.access-text-item {
  max-width: 300px;
  margin: 0px 0 30px;
  width: 100%;
  text-align: justify;
}

.access-text-heading {
  font-size: min(1vw, 20px);
  color: #b58c5b;
  margin: 10px 0 0 !important;
  text-align: justify;
}

.access-text-paragraph {
  font-size: min(0.8vw, 18px);
  color: #6f7373;
  margin: 0;
}

/* SP Clinic-access-st*/

/* END SP Clinic-access-st*/
/* END Clinic-access-st*/
.icon-box {
  width: 10px;
  height: 10px;
  background-color: #61c1bc;
  /* 写真のような淡いグリーン系 */
  border-radius: 2px;
  /* 少し丸みをつける（なければ0でもOK） */
  margin-right: 10px;
  flex-shrink: 0;
}

/* Clinic_access_st*/

@media screen and (max-width: 1023px) {
  .br-pc {
    display: none !important;
  }

  .br-sp {
    display: block !important;
  }
  .access-inner {
    padding: 10px 20px 20px;
  }

  .access-title {
    font-size: 26px;
    color: #646868;
    margin: 14px 0 16px;
  }

  .access-map-wrapper {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .access-map-embed {
    width: 100%;
    height: 200px;
  }

  .access-text-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    gap: 0;
  }

  .access-text-item {
    max-width: 100%;
    width: 100%;
    text-align: justify;
  }

  .access-text-heading {
    font-size: 4vw;
  }

  .access-text-paragraph {
    font-size: 3.8vw;
    margin: 0;
  }
  .access-inner {
    width: 100%;
  }
}

@media screen and (max-width: 479px) {
  .access-inner {
    padding-inline: 16px;
  }
  .access-title {
    font-size: 1.5rem;
  }
  .access-text-heading {
    font-size: 1.125rem;
  }
  .access-text-paragraph {
    font-size: 1rem;
  }
  .access-map-embed {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}
