@charset "UTF-8";
/*--------------------------------------共通部分-------------------------------------------------------*/
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}
html{
  font-size: 100%;
  width: 100%;
  overflow-x: hidden;
}
body{
  font-family: 'Sawarabi Gothic';
  line-height: 1.7;
  color: #000;
  padding-top: 94px;
}
a{
  text-decoration: none;
}
img{
  max-width: 100%;
}

/* ハンバーガーボタン全体 */
.hamburger-menu {
  position: absolute;
  top: 17px;
  right: 30px;
  width: 48px;
  height: 48px;
  margin-top: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

/* 通常の3本線 */
.hamburger-menu span {
  position: absolute;
  width: 28px;
  height: 3px;
  background-color: #333;
  transition: 0.3s ease;
}

/* 線の位置（上下中央固定） */
.hamburger-menu span:nth-child(1) { transform: translateY(-9px); }
.hamburger-menu span:nth-child(2) { transform: translateY(0); }
.hamburger-menu span:nth-child(3) { transform: translateY(9px); }

/* ✕ 変形（ズレない・中心綺麗） */
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg);
}
/* オーバーレイ */
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
/* サイドメニュー */
.side-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background-color: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 60px 20px 20px;
}
/* オープン時 */
.menu-overlay.active .side-menu {
  right: 0;
}
/* リスト */
.side-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.side-menu li {
  margin-bottom: 15px;
}
.side-menu a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  display: block;
  padding: 10px;
  transition: background-color 0.3s;
}
.side-menu a:hover {
  background-color: #f5f5f5;
}
/*ハンバーガーここまで---------------------------------------*/
/*ハンバーガーアンカーリンク*/
#hours,
#insurance,
#tel {
  scroll-margin-top: 95px;
}
/* ヘッダー ----------------*/
.page-header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #0081D1;
  display: flex;
  justify-content: space-between;
  padding-top: 1.5rem;
  padding-bottom: 1rem;
  padding-right: clamp(30px, 2.5vw, 10%);
}

.logo{
    width:200px;
    padding-left: 2rem;
}
/*デスクトップ用メニュー*/
.desktop-nav{
  display: none;
}
/*　ページタイトルの文字　*/
.page-title{
  font-family: 'Sawarabi Gothic';
  background-color: #cccccc70;
  padding: .5rem 100%;
  font-size: 1.3rem;
  font-weight: 550;
  letter-spacing: .1rem;
  text-align: center;
  white-space: nowrap;
}

/*フッター---------------------------------*/
.page-footer{
  background-color: #37607A;
  background-size: cover;
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
  font-family: 'Sawarabi Gothic', sans-serif;
  font-size: .9rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}
.footer-nav li {
  margin: 0;
  padding: 0;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: opacity 0.3s;
}

.footer-nav a:hover {
  opacity: 0.8;
}

/* コピーライト */
.copyright {
  font-size: 0.8rem;
  color: #e5e7eb;
}
/*重要なお知らせのとこ*/
.important-news {
  background-color: #7BADCD;
  font-family: 'Sawarabi Gothic';
  padding: 0.5rem 1.8rem 0.5rem;
  text-align: center;
}

.news-title{
  color: #fff;
  display: inline-block;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  border-radius: 15px;
  letter-spacing: 0.05rem;
} 
.news-title:hover{
  color: #0081D1;
}

.news-box li{
  background-color: #E5F2F4 ;
  text-align: center;
  list-style-type: none;
}
/*アクセスマップ*/
.access{
  background-color: #7BADCD;
  padding: 1rem 1rem 2rem;
  text-align: center;
}
.access-button{
  color: #fff;
  margin: 0 1rem;
  background-color: #0081D1;
  background-size: auto;
  text-align: center;
  font-family: 'Sawarabi Gothic';
  font-weight: 500;
  font-size: 1rem;
  border-radius: 15px;
  white-space: nowrap;
  font-size: clamp(14px, 2.5vw, 18px); 
  max-width: 95%;
  overflow: hidden;
  text-overflow: ellipsis; 
  box-sizing: border-box;
  text-decoration: none;
  padding: 0.8rem 2rem;
  transition: .2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.access-button:hover {
  color: #aaa;
  background-color: #37607A;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.access-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
/*-------------------------------共通部分ここまで-------------------------------------------*/

/*トップメニュー--------------------------------*/
/*見出し*/
.font-english{
  font-family: 'Sawarabi Gothic';
}
.home,.home-top{
  width: 100%;
}
.home-top{
  aspect-ratio: 3 / 4;
  background-image: url(../images/home-top-image-s.png);
  background-size: cover;
  background-position: right top;
  margin-bottom: 0;
  padding-bottom: 0;
  display: flex;
  justify-content: right;
  align-items: center;
}
.home-top-item{
  font-size: 150%;
  font-weight: 500;
  text-align: right;
  text-decoration:underline;
  margin-right: 5%;
  color: #000;
  -webkit-text-stroke: .01px #fff;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff;
}
/*目指すものゾーン*/
article{
  font-family: 'Sawarabi Gothic';
}
.vision-title{
  padding: 4rem 3rem 2rem;
  text-align: center;
  font-weight: 500;
  font-size: 1.3rem;
}
.vision-image{
  display: none;
}
.vision-text{
  max-width: 736px;
  padding: 1rem;
  margin: 0 auto 5rem;
  text-align: center;
  line-height: 1.7;
  letter-spacing: 0.1em;
}
/*主な提供サービス*/
.service-section{
  background-color: #7BADCD;
  padding: 1rem;
}
.service-heading {
  background-color: #0081D1;
  border-radius: 12px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  width: 250px;
  margin: 1rem auto 1.5rem;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.service-list {
  background-color: #E5F2F4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  padding: 1rem;
}
.service-list-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
}
.service-list-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #AED9F4; 
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.service-list-icon img {
  width: 50px;
  height: auto;
  border-radius: 0;
  object-fit: contain;
}
.service-list-item p {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: #000;
  white-space: nowrap;
}
.otc-link {
  background-color: #0081D1;
  color: #fff;
  text-decoration: none; 
  display: block;
  width: fit-content;
  text-align: center;
  margin: 1rem 0 0 auto;
  font-size: clamp(14px, 2.5vw, 16px);
  padding: 0.4rem 1.2rem;
  border-radius: 12px;
  transition: .2s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.otc-link:hover {
  color: #aaa;
  background-color: #37607A;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.otc-link:active{
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
/*homeのインフォ*/
.home-info{
  font-family: 'Sawarabi Gothic';
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 5rem 1rem 5rem;
}
.info-card{
  background-color: #fff;
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: 0.3s;
}
.info-card h3{
  color: #0081D1;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.info-card p{
  color: #333;
  font-size: 0.9rem;
  line-height: 1.7;
  letter-spacing: 0.03em;
  margin: 0;
}
/* info箱-------------------------- */
aside.shop-info {
  border-top: 2px dashed #7BADCD;
  background-color: #fff;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 1200px;
  font-family: "Sawarabi Gothic", sans-serif;
}

.shop-info-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.09);
}

.shop-info-item h4 {
  color: #0081D1;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  padding-left: 1.2rem;
}

.shop-info-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  color: #333;
  text-align: center;
}
.shop-address p{
  text-align: left;
  padding-left: 25%;
}
.shop-hours table {
  border-collapse: collapse;
  width: 100%;
}
.shop-hours th, .shop-hours td {
  padding: 4px 8px;
  font-size: 0.9rem;
  border-bottom: 1px solid #d0e1eb;
}
.shop-hours td{
  text-align: center;
}
.saturday{
  color: blue;
}
.sunday{
  color: red;
}
/*contact------------------------------------------------------------*/
/*ホーム*/
.contact-top{
  aspect-ratio: 16/9;
  background-image: url(../images/contact-top-image-s.png);
  background-size: cover;
  background-position: right top;
  margin-bottom: 0;
  padding-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
/*地図ゾーン------*/
article{
  margin: auto 2rem;
}
.location-map{
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem auto 2rem;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  max-width: 1200px;
}
.location-map-text{
  display: flex;
  justify-content: center;
  font-weight: 500;
  letter-spacing: .1rem;
  margin: auto auto 1rem;
  width: 120px;
  border-radius: 12px;
  color: #fff;
  background-color: #0081D1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.location-map-wrap{
  display: flex;
  flex-direction: column;
  width: 100%;
}
.train h4,.bus h4{
  color: #0081D1;
  font-weight: 500;
  font-size: 1.2rem;
}
.train ul,.bus ul{
  font-size: clamp(9px, 2vw, 16px);
  list-style-type: none;
  text-align: center;
}
.train li,.bus li{
  font-size: 0.95rem;
}
.train,.bus{
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  padding: 1rem 2rem;
  margin-bottom: .5rem;
}
.bus{
  margin-left: .5rem;
}
/*地図*/
.google-map{
  padding-bottom: 2rem;
}
iframe{
  aspect-ratio: 1 / 1;
  width: 100%;
}
/*基本情報・体制*/
.insurance-table{
  background-color:#639FC6;
  margin: 1rem -2rem 0;
  padding: 1rem 2rem;
  font-family: 'Sawarabi Gothic',sans-serif;
}
.insurance-table h3{
  color: #fff;
  background-color: #0081D1;
  display: flex;
  justify-content: center;
  font-weight: 500;
  width: fit-content;
  letter-spacing: .1rem;
  margin: auto auto 1rem;
  padding: 0 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.insurance-box{
  background-color: #E5F2F4;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: .3rem;
}
.insurance-row{
  background-color: #E5F2F4;
  border-radius: 12px;
  display: flex;
  margin: .5rem;
  padding: 1rem;
  font-weight: clamp(12px 2.5vw 16px);
  font-size: .5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.insurance-row dt{
  flex-basis: 35%;
  color: #0081D1;
  padding-right: 1rem;
}
.insurance-row dd{
  flex: 1;
  margin: 0;
  color: #000;
  line-height: 1.6;
}
.pharmacy-notices{
  color: #fff;
  background-color: #0081D1;
  display: block;
  max-width: fit-content;
  margin: 1rem 0 auto auto;
  padding: 0 2rem;
  font-weight: 500;
  border-radius: 12px;
  font-size: clamp(14px, 2.5vw, 16px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: .2s;
}
.pharmacy-notices:hover{
  color: #aaa;
  background-color: #37607A;
  transform: translateY(-1px);
}
.pharmacy-notices:active{
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
/*-------------------------------------NEWS--------------------------------------*/
.news-top{
  aspect-ratio: 16/9;
  background: 
    linear-gradient(rgba(217, 217, 217, 0.6), rgba(217, 217, 217, 0.6)),
    url(../images/news-top-image-s.png) right top / cover no-repeat;
  margin-bottom: 0;
  padding-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
/*最新のお知らせ*/
.latest-news{
  background-color: #7BADCD;
  height: 12rem;
  margin: 1rem 2rem;
  padding: 0 1rem 1rem;
  font-family: 'Sawarabi Gothic',sans-serif;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.latest-news-title{
  background-color: #0081D1;
  color: #fff;
  font-weight: 500;
  display: inline-block;
  margin: 1rem;
  padding: 0 2rem;
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  white-space: nowrap; 
}
.news-list{
  background-color: #E5F2F4;
  padding: .5rem 0 3rem;
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.news-item a{
  color: #000;
  display: flex;
  border-width: 2px;
  border-style: none none solid none;
  border-color: #507789;
  white-space: nowrap; 
  max-width: 100%;
  box-sizing: border-box;
}
.news-item:hover{
  color: #eee;
  background-color: #7BADCD;
  transform: translateY(-1px);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: .2s;
}
.news-item:active{
  background-color: #37607A;
  transform: translateY(1px);
}
.news-item time{
  width: 30%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-item h4{
  font-weight: 500;
  font-size: clamp(12px 2vw 14px);
  width: 70%;
  overflow: hidden;
  text-overflow: ellipsis;
}
/*記事カレンダー*/
.news-archive{
  text-align: center;
  font-family: 'Sawarabi Gothic',sans-serif;
  padding: 2rem .5rem;
}
.news-filter button{
  background-color: #E5F2F4;
  border: none;
  padding: .2rem;
  margin: .3rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  color: #37607A;
}
.news-filter button.active{
  background-color: #7BADCD;
  color: #fff;
}
.news-year{
  margin: 1rem 0;
  font-size: 1.2rem;
  font-weight: 500;
}
.month-table-box{
  display: flex;
  justify-content: center;
  border-collapse: collapse;
}
.month-table{
  margin: 0 3rem 1.5rem;
  padding: 0 3rem;
  max-width: min-content;
}
.month-table td{
  padding: 0 1.2rem;
  border: 1px solid #bdd4df;
  cursor: default;
}
.month-table td.active{
  background-color: #7BADCD;
  color: #fff;
  font-weight: 500;
}
.news-table-box{
  margin: 0 1.5rem;
  padding: .5rem 1rem;
  background-color: #E5F2F4;
  border-radius: 8px;
  height: 15rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  overflow-y: scroll;
}
.news-table{
  margin: 1rem auto;
  border-collapse: collapse;
  overflow: hidden;
  max-width: 600px;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-table td{
  padding: .8rem 1rem;
  border-bottom: 2px solid #507789;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-table a{
  color: #000;
  width: 70%;
}
.news-table a:hover{
  color: #0081D1;
}
.news-table td.date{
  width: 30%;
  text-align: center;
  font-weight: 500;
  color: #507789;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/*プロフ*/
.profile-card{
  margin: 0 2rem;
  padding: 2rem 1rem;
  background-color: #fff;
  font-family: "Sawarabi Gothic", sans-serif;
}
.profile-title-box{
  text-align: center; 
}
.profile-title {
  background-color: #0081D1;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1rem;
  padding: .2rem 1rem;
  display: inline-block;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.profile-content {
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem;
  margin-bottom: 3rem;
  gap: 1rem;
  border-radius: 16px;
  box-shadow: 0px 2px 8px rgba(0,0,0,0.08);
}

.profile-text {
  line-height: 1.8;
  font-size: 1rem;
  border-width: 1px;
}
.profile-text p{
  margin: .5rem;
  padding: 0 1rem;
}
.profile-label {
  font-weight: 600;
}
.profile-photo-box{
  text-align: center;
}
.profile-photo{
  padding: 1rem;
}
.profile-photo img {
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 270px;/*270*/
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}
/*----------------------プライバシーポリシー------------------------------*/
.privacy-top{
  aspect-ratio: 16 / 9;
  background-image: url(../images/privacy-top-image-s.png);
  background-size: cover;
  background-position: right top;
  margin-bottom: 0;
  padding-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.privacypolicy-box{
  font-family: 'Sawarabi Gothic',sans-serif;
  display: flex;
  flex-direction: column;
  margin: 2rem 1rem 5rem;
}
.privacypolicy-tite{
  margin: 1rem auto;
}
.privacypolicy-text p{
  margin-bottom: 1rem;
}
.privacypolicy-text li{
  margin: 0 0 0 1.5rem;
}
.privacypolicy-text ul{
  margin-bottom: 2rem;
}
.privacypolicy-text h5{
  font-size:medium;
  margin-bottom: 1rem;
  margin-top: -1rem;
}
/*---東門真薬局について-------------------------------------------------*/
.introduction-top{
  aspect-ratio: 16/9;
  background-image:url(../images/introduction-top-image.png);
  background-size: cover;
  background-position: right top;
  margin-bottom: 0;
  margin-top: -10px;
  padding-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.introduction-vision{
  margin: 2rem;
  font-family: 'Sawarabi Gothic',sans-serif;
}
.introduction-vision-title-box{
  display: flex;
  justify-content: center;
  padding-bottom: 1rem;
}
.introduction-vision-title{
  color: #0081D1;
  font-weight: 500;
  font-size: clamp(17px, 5vw, 25px);
}
.introduction-vision-content{
  display: flex;
  align-items: center;
  justify-content: flex-end; 
  background-image: url(../images/introduction-vision-image.png);
  aspect-ratio: 3/2;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.introduction-vision-image{
  display: none;
}
.introduction-vision-text{
  display: flex;
  width: clamp(300px, 50vw, 100%);
  font-size: auto;
  font-size: 90%;
  
}
.introduction-vision-text p{
  color: #333;
  background:linear-gradient(to right, rgba(255, 255, 255, 0.32), rgb(255, 255, 255));
  border-radius: 10px;
  padding: 1rem;
  font-size: clamp(10px, 3vw, 18px);
}
/*画像3個のとこ*/
.images-block{
  padding: 1rem 2rem;
  background-color: #AED9F4;
  display: flex;
  flex-direction: column;
  align-content: center;
  font-family: 'Sawarabi Gothic'sans-serif;
}
.images-wraper{
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.images-item{
  margin: 1rem .2rem 0;
  min-width: 70px;
}
.images-item img{
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.images-title{
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.images-title-text{
  padding-top: .2rem;
}
.images-title-text h5{
  font-weight: 500;
  color: #0081D1;
}
.images-detail{
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}
.images-detail-item p{
  font-size: .8rem;
  padding-left: 1rem;
}
.introduction-ultimate{
  background:linear-gradient(to bottom, #AED9F4,#aed9f44b,rgb(255, 255, 255));
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 50rem;
  padding-bottom: 3rem;
}
.introduction-ultimate-item h2{
  font-weight: 500;
  font-size: clamp(12px, 4vw, 20px);
  white-space: nowrap;
  padding: 0 2rem;
}
/*newsの個別ページ*/
.news-detail {
  margin: 0 auto;
  font-family: 'Sawarabi Gothic', sans-serif;
  line-height: 1.8;
}
.news-article{
  padding: 1rem 2rem;
}

.news-article h2 {
  color: #0081D1;
  font-weight: 500;
  margin-bottom: .5rem;
}

.news-article time {
  display: block;
  color: #777;
  font-size: .9rem;
  margin-bottom: 2rem;
}

.news-article p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.back-top {
  text-align: center;
  margin-top: 3rem;
}
/*-------------------------------------デスクトップ用---------------------------------*/
@media(min-width: 768px){

/* ヘッダー */
.page-header{
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem 1rem;
    padding-bottom: 1rem;
    padding-left: clamp(30px, 2.5vw, 10%);
    padding-right: clamp(30px, 2.5vw, 10%);
    background-color: #0081D1;
}
.logo{
  max-width:200px;
  margin-right: 2rem;
}
/*ヘッダーメニュー変更*/
.desktop-nav{
  display: flex;
}
.desktop-nav-box{
  display:flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  padding-bottom: .8rem;
}
.desktop-nav ul{
  list-style: none;
}
.desktop-nav li {
  position: relative;
  padding-right: .5rem;
}
.desktop-nav li::after{
  content: "";
  width: 2px;
  height: 1rem;
  background-color: #37607A;
  position: absolute;
  right: -0.3rem;
  top: 50%;
  transform: translateY(-50%);
}
.desktop-nav li:last-child::after {
  content: none;
}
.desktop-nav li a{
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(10px, 2vw, 14px);
  transition:0.3s;
  white-space: nowrap;
}
.desktop-nav li a:hover{
  color: #aaa;
}
.desktop-nav li a:active{
  color: #37607A;
}
/*ハンバーガー消し*/
.hamburger-menu,
.menu-overlay {
  display: none;
}
/*見出し*/
.home,.home-top{
  width: 100%;
}
.home-top{
  aspect-ratio: 1721 / 710;
  background-image: url(../images/home-topimage.png);
  background-size: cover;
  background-position: right top;
  margin-bottom: 0;
  padding-bottom: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.home-top-item{
  font-size: 150%;
  font-weight: 500;
  text-align: right;
  text-decoration: underline;
  margin-right: 8%;
  color: #000;
  -webkit-text-stroke: .01px #fff;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff;
}
/*重要なお知らせ*/
.important-news{
  padding: 1rem 1.8rem 0.5rem;
}
.news-box li{
  height: 5rem;
  padding: 1.5rem;
  margin: .5rem 4rem 1rem;
}
/*アクセスマップは変更なし*/
/*目指すものゾーン*/
article{
  font-family: 'Sawarabi Gothic';
  margin-bottom: 2rem;
}
.vision {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.vision-image {
  flex: 1 1 50%;
  display: flex;
  align-items: stretch;
}
.vision-image img {
  width: 100%;
  height: auto; 
  object-fit: contain;
  display: block;
}
.vision-text {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  line-height: 1.8;
  font-size: 1rem;
  padding: 0 1rem;
}
/*主な提供サービス*/
.service-list {
  gap: 6rem;
  margin: 0 4rem;
}
.service-list-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
}
.service-list-icon {
  width: 100px;
  height: 100px;
}
.service-list-icon img {
  width: 60px;
}
.service-list-item p {
  font-size: 1rem;
  margin-top:0.3rem
}
.otc-link {
  margin: 1rem 4rem 0 auto;
}
/*homeのインフォ*/
.home-info{
  margin: 5rem 5rem 5rem;
}
/*インフォ箱*/
.shop-info-box{
  margin: auto 3rem;
}
.shop-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #fff;
  border-top: 2px dashed #7BADCD;
}

/* 各カード共通 */
.shop-info-item {
  background-color: #fff;
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

/* タイトル */
.shop-info-item h4 {
  color: #0081D1;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

/* テキスト */
.shop-info-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}
.shop-address p{
  text-align: left;
  padding-left: 3rem;
}

.payment-methods img {
  max-width: 80%;
  height: auto;
  margin: 0.5rem 0 0 1rem;
}

/* 営業時間の表デザイン */
.shop-hours{
  grid-column: span 2;
}
.shop-hours table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}
.shop-hours th,
.shop-hours td {
  border-bottom: 1px solid #507789;
  padding: 4px 100px;
  font-size: 0.95rem;
  white-space: nowrap;
}
.shop-hours td {
  letter-spacing: .2em;
  text-align: center;
}
.shop-hours th {
  width: 3rem;
  font-weight: 600;
  text-align: center;
}
/* --------------アクセスページ----------------------- */
.contact-top{
  aspect-ratio: 2/1;
  background-image: url(../images/contact-top-image.png);
}
.location-map{
  margin: 1rem auto 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(100% - 8rem);
}
.location-map-content{
  display: flex;
  gap: 1rem;
  width: 100%;
}
.location-map-wrap{
  width: 32%;
  gap: 1rem;
}
.google-map{
  width: 70%;
}
.ifram{
  max-width: 720px;
}
.insurance-box{
  margin: 1rem 4rem;
}
.insurance-row{
  font-size: clamp(10px, 2.5vw, 12px);
}
.pharmacy-notices{
  margin-right: 4rem;
}
.insurance-table{
  margin-bottom: -2rem;
}
/*----------------------お知らせ----------------------*/
.news-top{
  aspect-ratio: 2/1;
  background: 
    linear-gradient(rgba(217, 217, 217, 0.6), rgba(217, 217, 217, 0.6)),
    url(../images/news-top-image-s.png) right top / cover no-repeat;
}
.latest-news{
  margin: 1rem 5rem 0;
  padding-bottom: 16rem;
}
.news-table-box{
  margin: 1rem 5rem 0;
}
.news-content-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px; 
  margin: 2rem auto; 
  padding: 0 5rem; 
  box-sizing: border-box; 
  overflow: hidden; 
}

.news-content-wrap-item {
  flex: 0 0 65%;
  min-width: 0; /* 消すな */
}

.news-content-wrap-item2 {
  flex: 0 0 40%;
  min-width: 0; /* 消すな */
}

.profile-card {
  margin-left: -.8rem;
  margin-right: -.8rem;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.profile-content {
  flex-direction: column;
  align-items: center;
}
.profile-photo img {
  max-width: 150px;
  margin: 0 auto;
  text-align: center;
}
.news-table-box{
  margin: auto;
}
/*-------------プライバシーポリシー-----------*/
.privacypolicy-box{
  margin: 2rem 5rem 5rem;
}
/*東門真薬局について*/
.introduction-vision{
  padding: 0 4rem;
}
.images-block{
  padding: 2rem 5.5rem;
}
.images-title{
  padding-top: 1rem;
  padding-bottom: 2rem;
}
.images-title-text{
  font-size: clamp(18px, 4vw, 22px);
}
.images-detail-item{
  padding: auto;
  font-size: clamp(16px, 3.5vw, 20px);
  letter-spacing: .1rem;
}
.introduction-ultimate-item{
  letter-spacing: .1rem;
  font-size: clamp(20px, 3.5vw, 36px);
}
.news-detail {
  width: 100%;
}
}
