@charset "utf-8";

/* 
 * **************************************************
 * 見出し　デザイン
 * **************************************************
 */

 .midashi067 {
  position: relative;
  padding: 1.5rem 0 1rem 0;
  text-align: center;
  border-top: 2px solid #01ACDC;
  border-bottom: 2px dotted #01ACDC;
  background: #fff;
  margin-top: 2.5em;
  margin-bottom: 1em;
  color: #01ACDC;
}

.midashi067:before,
.midashi067:after {
  position: absolute;
  content: '';
}

.midashi067:before {
  top: -35px;
  left: calc(50% - 40px);
  width: 80px;
  height: 80px;
  border: 2px solid #01ACDC;
  border-radius: 50%;
  background: #fff;
}

.midashi067:after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
}

.midashi067 i {
  font-size: 2.3rem;
  line-height: 60px;
  position: absolute;
  z-index: 1;
  top: -35px;
  left: calc(50% - 38px);
  width: 80px;
  height: 60px;
  text-align: center;
}

.midashi067 span {
  position: relative;
  z-index: 1;
}


.heading-16 {
  text-align: center;
  margin-bottom: 0.8em;
  font-weight: bold;
  color: #01ACDC;
  font-size: 1.3em;
  position: relative;
  font-family: "Lucida Grande", "segoe UI", "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", Meiryo, Arial, sans-serif;
}

.heading-16::before,
.heading-16::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 4.5%;
  height: 2px;
  background-color: #01ACDC;
}

.heading-16::before {
  left: 280px;
  margin-right: 15px;
  transform: rotate(55deg);
}

.heading-16::after {
  right: 280px;
  margin-left: 15px;
  transform: rotate(-55deg);
}

/*sp*/@media (max-width: 640px)  {
  .heading-16::before,
  .heading-16::after {
  width: 8%;

}
  .heading-16::before {
    left: 15px;
  }
  
  .heading-16::after {
    right: 15px;
  }

}





/* 
 * **************************************************
 * 共通
 * **************************************************
 */

 /*　テーブル　*/

 .styled-table {
  font-size: 1.5em;
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}
.styled-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  width: 25%;;
}
.styled-table th {
  border: 1px solid #ddd;
  padding: 8px;
  background-color: #e7f3fe;
  text-align: center;
}


/*　ボタン　*/
.button-048 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 200px;
    margin: 2em auto 2em;
    padding: .9em 2em;
    border: none;
    border-radius: 25px;
    background-color: #2589d0;
    color: #fff;
    font-weight: 600;
    font-size: 1.5em;
}
.button-048 a {
	text-decoration: none;
	color: #FFFFFF!important;
}

.button-048::before {
    position: absolute;
    right: calc(2em + 2.5px);
    transform: translateX(50%);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #fff;
    content: '';
}

.button-048::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 3px solid #2589d0;
    border-right: 3px solid #2589d0;
    content: '';
}


/*sp*/@media (max-width: 640px)  {
  .spT001 {
    padding-top: 50px !important;
  }
}


.box-kansyu {
  display: flex;
  align-items: center;
  background: #EEF9F9;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.kansyu {
  width: 62px;
  height: 62px;
  background-color: #00b7c4;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  color: #ffffff;
  font-weight: bold;
}

.name {
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  font-size: 10px;
}

.name p {
  margin: 0;
}


.two-col-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.column {
  flex: 1;
  min-width: 200px;
  background-color: #EEF9F9; 
  padding: 20px;
  border-radius: 8px;
}

.column h5 {
  text-align: center;
  font-weight: bold;
  color: #3A509B;
}
.column img {
  display: block;
  margin: 0 auto 10px;
  width: 300px;
}


/*sp*/@media (max-width: 640px) {
  div.two-col-container {
    flex-direction: column;
  }
  div.two-col-container .column {
    width: calc(100% - 20px); /* Adjust width to leave space on the right side */
    margin-right: 20px; /* Add margin to create space on the right side */
  }
}

.point {
  background-color: #e7f3fe;
  padding: 15px;
  margin: 10px 0;
  border-radius: 20px;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  text-align: center;
}
.grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  background-color: #fff;
  border-radius: 15px;
  font-weight: bold;
  color: #01ACDC;
}
.grid-item img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
}
@media (max-width: 768px) {
  .grid-container {
      grid-template-columns: 1fr;
  }
  .grid-item img {
    width: 80%;
  }
}

.styled-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  font-size: 1.5em;
}

.styled-list > li {
  background-color: #fff;
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.styled-list > li > ul {
  list-style-type: disc;
  margin-left: 0;
  padding: 0;
}

.styled-list > li > ul > li {
  display: inline-block; /* Display items in a single line */
  margin: 5px 10px; /* Adjust the margin as needed */
}

.large-text {
  font-size: 1.2em; /* Adjust the size as needed */
  font-weight: bold;
}


h4.ttl-E {
  position: relative;
  margin-left: 150px;
  padding: 0.5em 0;
  font-family: "Kaisei Opti", serif !important;
  font-weight: 400;
  font-style: normal;
  font-size: 4em !important;
  color: #3A509B;
  line-height: 1.2em !important;
  text-align: left; /* Center align text */
}

h4.ttl-E span {
  position: absolute;
  top: 20px;
  left: -5px;
  width: 6em;
  padding: 0.3em 0;
  text-align: center;
  color: #fff;
  background: #00C2CB;
  margin-left: -7em;
  border-radius: 15px;
  font-size: 20px;
  font-family: "Lucida Grande", "segoe UI", "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", Meiryo, Arial, sans-serif;
}

h4.ttl-E span:after {
  content: '';
  position: absolute;
  top: 50%;
  right: -20px; /* Adjust as needed */
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-left-color: #00C2CB; /* Match the background color of the span */
  transform: translateY(-50%);
}

h5.ttl-D {
  font-family: "Lucida Grande", "segoe UI", "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", Meiryo, Arial, sans-serif;
  font-size: 1.8em !important;
  text-align: center;
  margin: 1.5em 0 0.5em;
  color: #2589d0;
  font-weight: bold;
}

/*sp*/@media (max-width: 640px) {
  h4.ttl-E {
    margin-left: 0; /* Reset margin for mobile */
    padding-top: 90px; /* Add padding to create space above the text */
    font-size: 3em !important;
    text-align: center; /* Center align text */
  }
  h4.ttl-E span {
    display: block; /* Ensure span takes up full width */
    top: 40px; /* Position span above the text */
    left: 0; /* Align to the left */
    width: 100%; /* Span the full width */
    transform: none; /* Remove translation */
    margin-left: 0; /* Reset margin for mobile */
    z-index: -1; /* Ensure the span is behind the text */
    padding: 0em 0; /* Add space above and below the span */
    margin-top: 0; /* Remove margin-top */
  }
  h4.ttl-E span:after {
    display: none; /* Remove the after pseudo-element */
  }
}

hr {
	border: 0;
	height: 8px;
	background-image: repeating-linear-gradient(135deg, #777 0px, #777 1px, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%);
	background-size: 8px 8px;
}

div.kazarikei {
  background: url(images/kazari.png);
}

.text-with-image {
  text-align: left; /* Ensure text is left-aligned */
}
.text-with-image img {
  display: block;
  margin: 20px auto 0; /* Center the image and add margin at the top */
  width: 300px;
}


/*　薬の表　*/
.kusuri-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.kusuri-container table {
  font-size: 1.5em;
  border-collapse: collapse;
  margin: 0 20px;
  border: 1px solid #ddd;
}
.kusuri-left {
  width: 60%;
}
.kusuri-right {
  width: 40%;
}
.kusuri-container th, td {
border: 1px solid #ddd;
padding: 10px;
text-align: center;
width: 50%; /* Add this line to make columns equal width */
}
.kusuri-container th {
  background-color: #2589d0;
  color: #fff;
}
.kusuri-container td {
  background-color: #fff;
}
.kusuri-container .kusuri-arrow {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.kusuri-container .kusuri-arrow-clippath {
  width: 48px;
  height: 48px;
  background-color: #00C2CB;
  clip-path: polygon(0 33%, 50% 33%, 50% 15%, 100% 50%, 50% 85%, 50% 67%, 0 67%);
}

.image-container img {
  width: 100%;
  height: auto;
}
.figure-image001 {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

