Commit 973669b6 by o.kimura

UDページリンク修正

parent a5151857
...@@ -1003,7 +1003,7 @@ body#clean04 div#container div#contents div#main_contents div.content div.right0 ...@@ -1003,7 +1003,7 @@ body#clean04 div#container div#contents div#main_contents div.content div.right0
font-size: 1.4rem; font-size: 1.4rem;
line-height: 1.68; line-height: 1.68;
border-radius: 20px; border-radius: 20px;
box-shadow:0 2px 4px rgb(51 51 51 / 15%) !important; box-shadow: 0 2px 4px rgb(51 51 51 / 15%) !important;
} }
.font_conditioned .section .flex_wrapper div a.btn-primary { .font_conditioned .section .flex_wrapper div a.btn-primary {
...@@ -1015,3 +1015,13 @@ body#clean04 div#container div#contents div#main_contents div.content div.right0 ...@@ -1015,3 +1015,13 @@ body#clean04 div#container div#contents div#main_contents div.content div.right0
position: absolute; position: absolute;
bottom: 0; bottom: 0;
} }
.font_conditioned .section .flex_wrapper div.video-wrapper {
width: 100% !important;
height: auto;
padding: 0!important;
}
.font_conditioned .section .flex_wrapper div.side-video {
width: auto!important;
}
\ No newline at end of file
...@@ -401,6 +401,14 @@ a:visited { ...@@ -401,6 +401,14 @@ a:visited {
padding-top: 50px !important; padding-top: 50px !important;
} }
.pt55 {
padding-top: 55px !important;
}
.pt60 {
padding-top: 60px !important;
}
.pr00 { .pr00 {
padding-right: 0 !important; padding-right: 0 !important;
} }
......
...@@ -5,9 +5,9 @@ var hlength = host.length + 7; ...@@ -5,9 +5,9 @@ var hlength = host.length + 7;
var path = href.substr( hlength ); var path = href.substr( hlength );
var pathname = window.location.pathname; var pathname = window.location.pathname;
*/ */
$(function(){ $(function () {
/* toggle menu */ /* toggle menu */
$('#menuLink').click(function() { $('#menuLink').click(function () {
if ($('#global_nav').css('display') == 'block') { if ($('#global_nav').css('display') == 'block') {
$('#global_nav').slideUp("fast"); $('#global_nav').slideUp("fast");
$('#menuLink').removeClass('active'); $('#menuLink').removeClass('active');
...@@ -33,7 +33,7 @@ $(function(){ ...@@ -33,7 +33,7 @@ $(function(){
var header_height = 0; var header_height = 0;
$('.pc_site').click(function() { $('.pc_site').click(function () {
header_height = 85; header_height = 85;
$('#global_nav').slideUp("fast"); $('#global_nav').slideUp("fast");
$('#menuLink').removeClass('active'); $('#menuLink').removeClass('active');
...@@ -43,17 +43,21 @@ $(function(){ ...@@ -43,17 +43,21 @@ $(function(){
}); });
/* smooth scroll */ /* smooth scroll */
$('a[href^=#]').click(function() { $('a[href^=#]').click(function () {
header_height = 85;
console.log("hit");
var speed = 400; var speed = 400;
var href= $(this).attr("href"); var href = $(this).attr("href");
var target = $(href == "#" || href == "" ? 'html' : href); var target = $(href == "#" || href == "" ? 'html' : href);
var position = target.offset().top - header_height; var position = target.offset().top - header_height;
$('body,html').animate({scrollTop:position}, speed, 'swing'); $('body,html').animate({
scrollTop: position
}, speed, 'swing');
//return false; //return false;
}); });
/* Q&A */ /* Q&A */
$('.qa .section h4').click(function() { $('.qa .section h4').click(function () {
if ($(this).next().css('display') == 'block') { if ($(this).next().css('display') == 'block') {
$(this).next().slideUp("fast"); $(this).next().slideUp("fast");
$(this).removeClass('active'); $(this).removeClass('active');
...@@ -66,7 +70,7 @@ $(function(){ ...@@ -66,7 +70,7 @@ $(function(){
}); });
}); });
(function() { (function () {
var cx = '002492979778199743801:oaprkry4gm4'; var cx = '002492979778199743801:oaprkry4gm4';
var gcse = document.createElement('script'); var gcse = document.createElement('script');
gcse.type = 'text/javascript'; gcse.type = 'text/javascript';
...@@ -75,14 +79,21 @@ $(function(){ ...@@ -75,14 +79,21 @@ $(function(){
'//cse.google.com/cse.js?cx=' + cx; '//cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0]; var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s); s.parentNode.insertBefore(gcse, s);
})(); })();
// ユニバーサルアナリティクス // ユニバーサルアナリティクス
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (function (i, s, o, g, r, a, m) {
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), i['GoogleAnalyticsObject'] = r;
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) i[r] = i[r] || function () {
})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); (i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-50037685-1', 'sanitary-net.com'); ga('create', 'UA-50037685-1', 'sanitary-net.com');
ga('require', 'displayfeatures'); ga('require', 'displayfeatures');
ga('send', 'pageview'); ga('send', 'pageview');
...@@ -74,8 +74,8 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> ...@@ -74,8 +74,8 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
</div> </div>
</div> </div>
</section> </section>
<section id="hyograph"> <section id="hyograph" class="pt25">
<div class="section"> <div class="section pt60">
<div class="content"> <div class="content">
<div class="box"> <div class="box">
<strong>■温水洗浄便座使用と早産の関連</strong> <strong>■温水洗浄便座使用と早産の関連</strong>
......
...@@ -77,8 +77,8 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> ...@@ -77,8 +77,8 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
</div> </div>
</div> </div>
</section> </section>
<section id="graph"> <section id="graph" class="pt25">
<div class="section"> <div class="section pt60">
<div class="content"> <div class="content">
<div class="box"> <div class="box">
<strong>■温水洗浄便座の使用と痔症、泌尿生殖器感染症との関連</strong> <strong>■温水洗浄便座の使用と痔症、泌尿生殖器感染症との関連</strong>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment