@import '01_font-sizes.css';
/* common.css */

h1, h2, h3 {
    color: #333;
}

h1 {
    text-align: center;
    padding: 20px;
    background-color: #0DC97F;
    color: black;
    margin: 0px;
    font-size: calc(var(--font-size-lg) + 26px);
    background-image: url(./images/背景画像/058.webp);
    background-size: 210px;
}

h2 {
    line-height: 1.6em;
    color: black;
    padding: 10px 0 10px 0.2em;
    font-size: calc(var(--font-size-lg) + 14px);
    margin-left: 1em;
    position: relative;
    z-index: 1; /* 文字を前面に */
}

h2::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0;
    width: 30px;
    height: 100%;
    background-image: url(./images/背景画像/070.webp);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
}

h3{
    padding-left: 30px;
}

h3 {
    margin-left: 1em;
    font-size: calc(var(--font-size-lg) + 10px);
}

h4 {
    padding-left: 50px;
    margin-left: 1em;
    font-size: calc(var(--font-size-lg) + 2px);
}

p {
    padding-left: 2em;
}

.container1 p {
    /* font-weight: 200; */
    font-size: calc(var(--font-size-lg) + 10px);
}

.orangeBG {
    font-size: 40px;
    text-align: center;
    margin-top: 1em;
    margin-bottom: 18px;
    background-image: url(./images/背景画像/016.webp);
    background-size: 210px;
    padding: 8px;
}

.rightblueBG {
    font-size: 40px;
    text-align: center;
    margin-top: 1em;
    margin-bottom: 18px;
    background-image: url(./images/背景画像/008.webp);
    background-size: 210px;
    padding: 8px;
}

.blueBG {
    background-image: url(./images/背景画像/007.webp);
    background-size: 210px;
    /* background-color: #d0e7fb; */
    margin: 0px 90px;
}

.blueBG > p {
    padding-left: 30px;
}

.greenBG {
    /* spanタグ */
    font-size: calc(var(--font-size-base) + 14px)!important;
    font-weight: 200;
    background-image: url(./images/背景画像/002.webp);
    background-size: 200px;
    padding: 24px;
    /* border: 1px solid black; */
}

.note-box {
    background-image: url(./images/背景画像/002.webp);
    background-size: 210px;
    margin: 0 80px 0 110px;
}

.note-box h3::before {
    content: "\f05a"; /* Font Awesome info-circle アイコンのコード */
    font-family: "Font Awesome 5 Free"; /* Font Awesome を使用 */
    font-weight: 900;
    margin: 5px;
}

.note-box h3 {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: calc(1em - 10px);
    font-size: calc(var(--font-size-base) + 4px);
}

.note-box p, .note-box span {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    font-size: calc(var(--font-size-base) + 4px);
}

body {
    margin: 0;
    padding: 0;
    background-color: #f1f1f1;
    /* background-image: url("./images/header_bg03.webp"); */
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 100%;
    max-width: 100%;
}

.main {
    display: flex;
    width: 100%;
    margin: 0 auto;
    padding-top: 2em;
    padding-left: 250px;
    padding-right: 250px;
    padding-bottom: 10em;
}

.container1 {
    /* border-left: 4px solid black;
    border-right: 4px solid black; */

    flex: 1;
    background-color: rgba(255, 255, 255, 0.94);
    margin-bottom: 20px;
}

.container1 span{
    font-size: var(--font-size-lg);
}

.container1 img {
    max-width: 670px;
}

/* lineと名前のつくやつ（正確にはfooterと会社案内の表内アイコン）以外のimgに適用 */
.container1 img:not([alt="LINE"]) {
    width: 100%;
}

.container1 ul {
    font-size: calc(var(--font-size-lg) + 10px);
    font-weight: 200;
}

.container1 ul p {
    padding-left: 2em;
    color: #000;
    line-height: 38px;
}

.container1 ul li, .promise ul li {
    list-style: none;
    position: relative;
    padding-left: 2%;
}

.container1 ul li:before, .promise ul li:before {
    color: #50dd4b;
    content: "・";
    font-size: calc(var(--font-size-lg) + 50px);
    position: absolute;
    top: -41px;
    left: 40px;
}

/* .container1 h3:before{
    color: #50dd4b;
    content: "・";
    font-size: calc(var(--font-size-lg) + 26px);
    position: absolute;
    top: -18px;
    left: -10px;
}

.container1 h3{
    font-size: var(--font-size-lg);
    list-style: none;
    position: relative;
    padding-left: 4%;
} */

/* .container1 th:last-child, .container1 td:last-child {
    width: 200px;
} */

ul {
    line-height: 1.6;
    list-style-type: disc;
}



/* h2#top {
    font-size: var(--font-size-lg);
    margin-top: 1em;
    padding-left: 2%;
    font-weight: normal;
} */

.center_img{
    text-align: center;
}

.achievement_img_BOX {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement_img_BOX img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* ボタン */

/* html {
    scroll-behavior: smooth;
} */
.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 20px;
    background: #fff;
    border: solid 2px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
} 


/* 会話風装飾 */
/*吹き出し(バルーン)のアウトライン*/
.bln {
    width: 70%;
    margin: 2px auto;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
	align-items: center;
    overflow: hidden;
}

/* 左右アイコンのイメージサイズと配置 */
.bln:before {
    content: "";
    width: 132px;
    height: 120px;
    background: no-repeat left center / 110px;
    /* display: inline-block; */
}

/* 左アイコンのイメージ配置 画像100~200pxくらいでok */
.bln.dare-san:before {
    background-image: url(images/あごる_正面.webp) ;
    background-size: 100%;
}

/* 右アイコンのイメージ配置 画像*/
.bln.wan-san:before {
    background-image: url(images/くーすけ_電球.webp) ;
    background-size: 100%;
}

/* 吹き出し中の文章アウトライン */
.says {
    position: relative;
    margin: 1rem;
    max-width: calc(100% - 240px);
    padding: .6rem 1.2rem;
    border: solid 2px #eee;
    border-radius: 1.2rem;
    font-size: var(--font-size-lg);
    font-weight: 200;
}

.says_lcol{
    /* background-color: #a4c2f4; */
    background-image: url(./images/背景画像/008.webp);
    background-size: 210px;
}

.says_rcol{
    /* background-color: #b6d7a8; */
    background-image: url(./images/背景画像/002.webp);
    background-size: 210px;
}

@media (max-width:480px) {
	.says {
		margin: 0;
		max-width: calc(100% - 125px);
	}
}

/* 吹き出し口 尖ってるところのあしらい */
.says::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -16px;
    margin-top: -8px;
    border: 8px solid transparent;
    border-right: 10px solid #fff;
    z-index: 1;
}
.says::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -21px;
    margin-top: -9px;
    border: 9px solid transparent;
    border-right: 12px solid #eee;
    /* z-index: 1; */
}

.says_lcol::before{
    border-right: 10px solid #a4c2f4;
}

.says_rcol::before{
    border-right: 10px solid #b6d7a8;
}

/* 右のアイコン配置指定 吹き出し反転など */
.bln.fxd--rr .says:before,
.bln.fxd--rr .says:after {
	transform: scale(-1, 1);
	
}

/* 右のアイコンから 吹き出し反転 */
.bln.fxd--rr .says:before {
	left: inherit;
	right: -16px;
}
.bln.fxd--rr .says:after {
	left: inherit;
    right: -21px;	
}

/*吹き出内の調整用*/
.says p {
  margin: 0;
  padding: 0;
}

/* 右の人にする時につける flex要素 */
.fxd--rr {
	flex-direction: row-reverse;
}

.attention{
    background-color: #fdf9e2;
}

.attention h2{
    text-align: center;
    padding: 106px 0px;
    font-size: calc(var(--font-size-lg) + 30px);
}

.attention h2 a{
    color: #2196f3;
}

/* タブ要素 */

.area {
    /* width: 500px; */
    border-left: 4px solid black;
    border-right: 4px solid black;
    margin: auto;
    flex-wrap: wrap;
    display: flex;
    background-color: white;
}

.a_tab:hover{
    cursor: pointer;
}

.a_tab:visited{
    color: black;
}

.a_tab {
    height: 50px;
    background-color: darkgrey;
    line-height: 50px;
    font-size: calc(var(--font-size-lg) - 5px);
    text-align: center;
    display: block;
    order: -1;
    text-decoration: none;
    border-radius: 24px;
    /* width: 300px; */
    min-width: 300px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.6);
}

.tab_div {
    display: grid;
    grid-template-columns: repeat(4,auto);
    border: 0px;
    padding: 6px 150px;
    letter-spacing: 10px;
    /* max-width: 1900px; */
    margin: 0 auto;
    /* gap: 10px; */
    padding-top: 14px;
}

/* a.click{
    background-color: white;
    background-image: url(./images/背景画像/067.webp);
    background-size: 210px;
} */

/* 秋 秋以外は上のclickの部分を解除するだけでいい htmlはそのまま */
a.click_aki_tab1{
    background-color: white;
    background-image: url(./images/icon/aki/aki_001_002.webp);
    background-size: 52px;
    background-repeat: no-repeat;
    background-position: center;
}

a.click_aki_tab2{
    background-color: white;
    background-image: url(./images/icon/aki/aki_005.webp);
    background-size: 64px;
    background-repeat: no-repeat;
    background-position: center;
}

a.click_aki_tab3{
    background-color: white;
    background-image: url(./images/icon/aki/aki_001_002.webp);
    background-size: 52px;
    background-repeat: no-repeat;
    background-position: center;
}

/* 四はない */

a.click_aki_tab5{
    background-color: white;
    background-image: url(./images/icon/aki/aki_005.webp);
    background-size: 64px;
    background-repeat: no-repeat;
    background-position: center;
}

a.click_aki_tab6{
    background-color: white;
    background-image: url(./images/icon/aki/aki_001_002.webp);
    background-size: 52px;
    background-repeat: no-repeat;
    background-position: center;
}

a.tab1{
    background-color: #809bce;
    background-image: url(./images/背景画像/067.webp);
    background-size: 210px;
}

a.tab2{
    background-color: #95b8d1;
    background-image: url(./images/背景画像/065.webp);
    background-size: 210px;
}

a.tab3{
    background-color: #b8e0d2;
    background-image: url(./images/背景画像/058.webp);
    background-size: 210px;
}

a.tab4{
    background-color: #d6eadf;
    background-image: url(./images/背景画像/057.webp);
    background-size: 210px;
}

a.tab5{
    background-color: #eac4d5;
    background-image: url(./images/背景画像/070.webp);
    background-size: 210px;
}

a.tab6{
    background-color: #f1ef8f;
    background-image: url(./images/背景画像/072.webp);
    background-size: 210px;
}

a.tab7{
    background-color: #e0ac78;
    background-image: url(./images/背景画像/071.webp);
    background-size: 210px;
}

a.tab8{
    background-color: #82e9dd;
}

a.tab9{
    background-color: #93cff8;
}

a.tab10{
    background-color: #b0aaff;
}

a.tab99{
    background-color: white;
    cursor: default!important;
}

.a_tab span{
    font-size: calc(var(--font-size-lg) + 4px);
    font-weight: 200;
    color: black;
    line-height: 50px;
    text-shadow: 
    0.7px 0 0 currentColor,
    -0.7px 0 0 currentColor,
    0 0.7px 0 currentColor,
    0 -0.7px 0 currentColor;
    padding-left: 16px;
}

/* 番号リスト */

ol {
    counter-reset:number; /*数字をリセット*/
    list-style-type: none!important; /*数字を一旦消す*/
    padding:0.5em;
    padding-left: 1em;
    border: dashed 1px gray;
    margin-left: 5em;
    margin-right: 5em;
}
  
ol li {
    position: relative;
    line-height: 1.5em;
    padding: 0.5em 0.5em 0.5em 30px;
    font-size: calc(var(--font-size-lg) + 8px);
    font-weight: 200;
}
  
ol li:before {
    position: absolute;
    counter-increment: number;
    content: counter(number);
    display: flex;
    background: #0DC97F;
    color: white;
    font-weight: 200;
    font-size: calc(var(--font-size-lg) + 2px);
    left: -4px;
    width: 28px;
    height: 44px;
    text-align: center;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    justify-content: center;
    align-items: center;
}

.container1 ol p {
    font-weight: 200;
    font-size: calc(var(--font-size-lg) + 10px);
}

/* 帯 */
.container1 .obi-001 {
    font-size: calc(var(--font-size-lg) + 20px);
    text-align: left;
    margin-top: 0em;
    margin-bottom: 18px;
    /* background-color: #f4d4e2; */
    background-image: url(./images/背景画像/013.webp);
    background-size: 210px;
    padding: 20px;
    line-height: 44px;
}

/* トグルメニュー */
.toggle {
    cursor: pointer;
    background: #f0f0f0;
    margin-bottom: 0px;
    margin-left: 80px;
    margin-right: 80px;
    background-image: url(./images/背景画像/003.webp);
    background-size: 210px;
}

.toggle p {
    padding: 20px;
    margin: 0px;
}

.toggle:hover {
    background: #e8e8e8;
    background-image: url(./images/背景画像/002.webp);
    background-size: 210px;
}

.content {
    display: none;
}

.toggle.active + .content {
    display: block;
}

